OneLinersCommand workbench
AI
Back to instructions
AGENTS.md

Nested AGENTS.md for a monorepo service

Service-specific rules that refine the root contract without duplicating it.

Revision
1
Verified
2026-07-26
Save or explore
Save to collectionCreate a collection in the sidebar first.

Compatibility and paths

Codex{{servicePath}}/AGENTS.mdOne service or package subtree
GitHub Copilot{{servicePath}}/AGENTS.mdOne service or package subtree
VS Code{{servicePath}}/AGENTS.mdOne service or package subtree

Trust and provenance

Curated record reviewed 2026-07-26. Results still depend on the supplied context and target environment.

One service or package subtree

Fill variables

Values stay in this browser tab and are not stored.

Generated asset7 required field(s) must be completed
# {{serviceName}} instructions

- This service owns {{ownedCapability}}.
- Its public boundary is {{publicBoundary}}.
- Run `{{serviceTestCommand}}` for every change.
- Do not change sibling packages unless the root task explicitly requires it.

Real example

Input

Project uses {{servicePath}}/AGENTS.md with the required variables filled.

Expected result

# example-value instructions

- This service owns example-value.
- Its public boundary is example-value.
- Run `example-value` for every change.
- Do not change sibling packages unless the root task explicitly requires it.

Source evidence

AGENTS.md open formatofficial