Skip to content

docs: streamline repository agent instructions - #734

Merged
wan9chi merged 1 commit into
mainfrom
streamline-agent-instructions
Sep 19, 2026
Merged

wan9chi merged 1 commit into
mainfrom
streamline-agent-instructions

Conversation

@wan9chi

@wan9chi wan9chi commented Sep 19, 2026 •

Copy link
Copy Markdown
Member

Motivation

AGENTS.md is loaded for every repository task, so duplicated reference material adds context even when it is unrelated to the work. Apply OpenAI's guidance on skills and prompts while keeping the instructions useful to any model or agent.

Replace the full repository map, configuration example, and repeated platform rules with task-specific references. Preserve the naming, coding, test-failure, cross-platform, and contribution requirements; clarify CI's role in platform verification and make changelog guidance independent of a slash-command interface.

## Motivation

Keep AGENTS.md focused on repository-specific guidance that helps the current task. Replace duplicated reference material with contextual pointers while retaining coding, testing, platform, and contribution requirements.

Co-authored-by: GPT-6 Astra <[email protected]>
@github-actions

Copy link
Copy Markdown

fspy benchmark

linux

dynamic/launch             change  -2.47%  [-20.64% .. +24.04%]  overhead  +283.16%
dynamic/access             change  +0.81%  [ -4.13% ..  +5.59%]  overhead   +18.81%
dynamic/access-relative    change  +0.00%  [ -2.49% ..  +2.73%]  overhead   +67.74%
dynamic/access-contended   change  +0.00%  [ -8.79% ..  +6.01%]  overhead   +53.22%
static/launch              change  -0.35%  [-10.71% .. +12.08%]  overhead  +706.86%
static/access              change  +0.07%  [ -0.72% ..  +0.99%]  overhead +1448.73%
static/access-relative     change  -0.05%  [ -0.81% ..  +1.07%]  overhead +1952.81%
static/access-contended    change  +0.18%  [ -0.79% ..  +0.99%]  overhead +1937.23%

macos

dynamic/launch             change  +0.71%  [ -2.28% ..  +3.31%]  overhead  +211.16%
dynamic/access             change  +0.00%  [ -2.16% ..  +2.20%]  overhead    +5.36%
dynamic/access-relative    change  +0.34%  [ -2.55% ..  +3.91%]  overhead  +275.00%
dynamic/access-contended   change  +2.16%  [ -1.99% ..  +4.74%]  overhead    +3.27%

windows

dynamic/launch             change  -0.48%  [ -5.11% ..  +5.11%]  overhead   +25.57%
dynamic/access             change  +0.00%  [ -1.12% ..  +0.95%]  overhead    +0.95%
dynamic/access-relative    change  +0.18%  [ -0.91% ..  +0.93%]  overhead    +1.29%
dynamic/access-contended   change  +0.36%  [ -0.89% ..  +2.01%]  overhead    +1.65%

@wan9chi
wan9chi marked this pull request as ready for review September 19, 2026 08:38
@wan9chi
wan9chi merged commit 13aa80a into main Sep 19, 2026
15 checks passed
@wan9chi
wan9chi deleted the streamline-agent-instructions branch September 19, 2026 08:39
fengmk2 added a commit to voidzero-dev/vite-plus that referenced this pull request Sep 19, 2026
`AGENTS.md` repeats repository maps, command examples, and test guidance
that agents load for each task. This adds context that many tasks do not
need.

Use references for each task, following [Vite Task PR
#734](voidzero-dev/vite-task#734). Keep the
repository constraints, CLI routing references, and validation
requirements.

Documentation-only PRs can merge before `docs-fmt` completes because
`done` does not depend on it. Add `docs-fmt` to `done.needs` so
formatting failures and cancellations block merging.

---------

Co-authored-by: Charles Wang <[email protected]>
fengmk2 added a commit to voidzero-dev/setup-vp that referenced this pull request Sep 21, 2026
`AGENTS.md` repeats repository details that agents can read from source
files and `CONTRIBUTING.md`. This adds context to every task.

Replace these details with references for specific tasks, following
[vite-task#734](voidzero-dev/vite-task#734).
Keep the rules for interfaces, bundles, Windows support, tests, commits,
and documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant