ワンクリックで
agents-md
Create and update AGENTS.md project rules. Use when authoring or amending the cross-tool conventions agents must follow.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Create and update AGENTS.md project rules. Use when authoring or amending the cross-tool conventions agents must follow.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Write forward-looking startup instructions for the next session, then reset context to save costs. Use when the context is getting long or before switching focus.
Run pre-release checks, pick the version bump, and cut the release. Use when ready to tag and release.
Create and maintain a specification that states what to build, not how. Use when writing a spec, editing requirements, or defining acceptance criteria.
Run all review dimensions against a diff or a path. Use when reviewing a feature branch before merge, reviewing someone else's PR, or auditing a file path.
Create or update project documentation. Use when creating architecture docs, runtime docs, reference docs, or design documents that explain what the system does.
Review architecture, boundaries, and design consistency. Use when reviewing module boundaries, extension seams, or contract drift.
| name | agents-md |
| description | Create and update AGENTS.md project rules. Use when authoring or amending the cross-tool conventions agents must follow. |
AGENTS.md holds the cross-tool project rules — the conventions any coding agent must follow in this repo. Two modes, detected by whether one already exists at the target: Create (none exists) infers rules from evidence; Update (one exists) merges a new rule into the right section and trims what it duplicates. Updating is the harder half: never blind-append.
Not the same as adjacent artifacts — keep them distinct:
CLAUDE.md and /init are Claude Code's own memory, not the cross-tool rulebook.settings.json is harness config (the update-config skill), not project conventions.When a rule belongs in AGENTS.md, put it there — don't scatter the same rule across these files.
SPEC.md exists, the opening line must reference it as the source of truth for requirements and require keeping it current in the same change that changes behavior — the spec never lags the code. Invariants may cite spec IDs (e.g. FR-15) to make them traceable, but code, comments, and test names must not — describe behavior in plain terms; the spec is the reference for why.A menu of common dimensions, not a required skeleton. Shape the actual sections from the project's evidence — draw from these, rename them, add what this project needs, and drop what it doesn't. Use only sections with something concrete to say; an empty section is noise. Order so the load-bearing rules come first. The useful taxonomy differs per project and shifts as tools change — that structure is your call, not a fixed recipe.
vX.Y.Z tag). The executable it names (a release script, a CI workflow) owns the procedure and any pre-release gates; keep this section to commands, and put development-process rules under Process, not here.git skill's Conventional Commits unless the repo overrides).No AGENTS.md exists. Infer the project's real conventions from evidence — never invent aspirational rules the code doesn't follow.
biome.json, .eslintrc*, .prettierrc*, rustfmt.toml, ruff.toml) — the style section writes itself from these.package.json scripts, test dirs, CI config).git log --oneline -30 — copy the format actually in use.CLAUDE.md or .cursorrules — migrate real rules, drop tool-specific memory.AGENTS.md exists and you're adding a rule or change. This is a merge, not an append.
Concrete target behavior: adding a "comments" rule should absorb a pre-existing "no banner comments" bullet into it, not sit beside it; a rule that appears in both Style and Code should end up in one section only.
AGENTS.md is the hub that gives the other skills their project-specific grounding. Each skill reads it to understand what the project considers non-negotiable.
spec — if SPEC.md exists, reference it in the opening line; defer all requirement details there. Invariants cite spec IDs; code does not.git — the Commits section defers to the git skill's Conventional Commits format unless the repo overrides it.build — the Workflow section names the verify command the build skill runs after every slice.tdd — the Testing section describes the surface the tdd skill drives against: test layout, run command, boundary mocking policy.pr — the Pull requests section states the review gate and title/body rules the pr skill fills in.review / code-review — the Invariants section is the checklist these skills verify. An invariant with no test and no review coverage is incomplete.doc-review — the Docs section states when to update canonical docs; the doc-review skill enforces it.ship — the Workflow section's release command is the entry point the ship skill invokes to cut a release; the script it names owns the pre-release gates.update-config — settings.json harness config belongs there, not here.settings.json config into AGENTS.md.