Skip to main content

Component instructions

Instruction scope​

Apply this file to [component path] according to the selected host's instruction-scoping rules. Read applicable root instructions first; this file adds component-specific detail. Check the host's precedence/import behavior rather than assuming every tool loads nested files. Inherit the root's binding process and any explicitly adopted policy revision. A component technique/reference link does not silently replace that process.

Component sources​

Responsibility and exclusions: [component contract or knowledge source]. Owner and consumers: [actual accountable role and consumer map]. Project process and work/review tools: [applicable root source entries]. Project locations: [component source/test paths and repository map]. Tool integrations and access: [applicable project tooling source]. Current knowledge: [component knowledge index or contract]. Applicable decisions: [decision index or relevant records]. Setup and affected checks: [actual runbook/CI source and verified commands]. Shared interfaces and generated files: [ownership and editing boundaries].

Changes and coordination​

Preserve public contracts and the component's dependency direction. Resolve consequential interface changes with the contract owner and affected consumers. Keep bounded writer scopes; isolate parallel work and coordinate overlapping files through the shared claim mechanism. Reread before updates and preserve other contributors' changes.

Use the parent work item and project process. Verify component behavior, consumer compatibility and the integrated result. Record actual checks and tested revisions; report unrun checks and limitations. Follow existing review and action permissions.

Knowledge and handoff​

Update affected component knowledge and preserve significant rationale at its decision home. Follow the parent policy for private working notes; use an unsaved session plan if the configured home is unavailable. Keep shared progress and handoff in the assigned work item: result, revisions, evidence, blockers, pending writes and one next action. Share an execution plan only when collaborators need one.


Canonical source: templates/agent-instructions/component/AGENTS.md.