Master directory of all instruction files in agent-homebase. Instructions are governance rules that agents read to maintain consistent behavior.
New to agent-homebase? Read these 3 instructions first:
- severity-levels.instructions.md — How agents classify issues (CRITICAL/WARNING/SUGGESTION)
- commit-conventions.instructions.md — Git commit format all agents follow
- subagent-return-schemas.instructions.md — How agents communicate (Tier 1/2/3 responses)
These three cover 80% of what you need to understand agent behavior.
| Category | Count | Purpose |
|---|---|---|
| Generic | 10 | Cross-project standards — apply to all projects |
| Configurable | 14 | Project-specific behavior — use {{tokens}} from config |
| Total | 24 |
Located in instructions/generic/. These enforce cross-project standards and don't require configuration.
| File | Required | Purpose | Used By |
|---|---|---|---|
askquestions-contract.instructions.md |
✅ | Defines #tool:askQuestions usage patterns for interactive decisions |
All skills |
batch-report.instructions.md |
○ | Format for multi-item status reports | @sprint-lead, @qa |
commit-conventions.instructions.md |
✅ | Git commit message format and approval markers | All skills |
contract-change-checklist.instructions.md |
○ | Process for modifying contracts/schemas | @architect |
determinism-guarantees.instructions.md |
○ | Reproducibility requirements for replay | Phase 4 components |
fsm-orchestration.instructions.md |
✅ | State machine workflow and transitions | @sprint-lead |
observability.instructions.md |
○ | Logging, tracing, and metrics standards | All skills |
security-model.instructions.md |
✅ | Security assessment, secret handling, audit | @reviewer, @security, init.py |
state-management.instructions.md |
○ | State handling patterns and persistence | @sprint-lead |
subagent-return-schemas.instructions.md |
✅ | Agent return value contracts (Tier 1/2/3) | All skills |
Legend: ✅ = Required for core functionality, ○ = Optional / phase-specific
Located in instructions/configurable/. These instructions contain template variables (e.g., {{paths.backlog_ledger}}, {{quality.coverage_threshold}}) that init.py replaces with project-specific values from your project.config.yml. This allows instructions to reference your actual file paths, commands, and thresholds without modification.
| File | Required | Purpose | Key Tokens Used |
|---|---|---|---|
backlog-ledger.instructions.md |
✅ | Backlog schema, governance, escalation rules | paths.backlog_ledger, escalation.* |
bug-backlog-format.instructions.md |
✅ | Bug entry format and categorization | paths.bug_backlog, ids.bug_prefix |
composition-rules.instructions.md |
✅ | Sprint composition constraints (feature/bug balance) | escalation.feature_cap_percent |
engagement-format.instructions.md |
○ | Engagement tracking structure | paths.engagements, ids.engagement_prefix |
engagement-gates.instructions.md |
○ | Stage gates and approval criteria | (none) |
handoff-rejection-format.instructions.md |
○ | Rejection entry format | paths.rejections, ids.rejection_prefix |
non-goals-governance.instructions.md |
○ | Non-goal tracking and rationale | paths.non_goals, team.cto_name |
planning-compliance.instructions.md |
✅ | Sprint planning rules and validation | paths.sprints, commands.* |
planning-preflight.instructions.md |
✅ | Pre-sprint validation checklist | quality.*, platform.* |
retro-report.instructions.md |
✅ | Retrospective format, metrics, process ledger | paths.sprints |
severity-levels.instructions.md |
✅ | Severity definitions (CRITICAL/WARNING/SUGGESTION) | (none) |
security-audit.instructions.md |
○ | Security audit scheduling, changelog governance, hash registry, SBOM governance, license compliance, remediation decision tree, git history baseline | paths.security_*, paths.sbom_output, security.*, commands.sbom_generate, commands.sast, commands.secret_scan_history, commands.license_check, commands.container_scan, commands.iac_scan |
sprint-docs-format.instructions.md |
✅ | PLAN.md structure and quality gates | paths.sprints, paths.sprints_doc |
validation-framework.instructions.md |
○ | Quality validation rules and thresholds | quality.* |
Instructions that govern sprint planning and backlog management:
backlog-ledger.instructions.md— Single source of truth for all backlog itemsbug-backlog-format.instructions.md— Bug reproduction context and categorizationcomposition-rules.instructions.md— Feature/bug balance, priority orderingplanning-compliance.instructions.md— Sprint planning validationplanning-preflight.instructions.md— Pre-sprint checklistsprint-docs-format.instructions.md— PLAN.md and RETRO.md structure
Instructions that govern quality gates and validation:
severity-levels.instructions.md— CRITICAL/WARNING/SUGGESTION definitionsvalidation-framework.instructions.md— Quality thresholds and gatessubagent-return-schemas.instructions.md— Agent return contracts
Instructions that govern execution flow:
fsm-orchestration.instructions.md— State machine workflowaskquestions-contract.instructions.md— Interactive decision UIengagement-format.instructions.md— Engagement trackingengagement-gates.instructions.md— Approval gates
Instructions that govern documentation:
retro-report.instructions.md— Retrospective formatbatch-report.instructions.md— Multi-item reportscommit-conventions.instructions.md— Commit messageshandoff-rejection-format.instructions.md— Rejection trackingnon-goals-governance.instructions.md— Non-goal rationale
Instructions that govern technical implementation:
security-model.instructions.md— Security requirementssecurity-audit.instructions.md— Security audit procedures, scheduling, changelog governancestate-management.instructions.md— State persistencedeterminism-guarantees.instructions.md— Replay requirementsobservability.instructions.md— Logging and tracingcontract-change-checklist.instructions.md— Schema changes
- Skill frontmatter lists which instructions the skill reads under "Shared Rules"
- When the skill runs, it follows all listed instruction files
- Instructions enforce consistent behavior across skills
Example from @sprint-lead:
Shared Rules:
- {{paths.instructions_dir}}/severity-levels.instructions.md
- {{paths.instructions_dir}}/sprint-docs-format.instructions.md
- {{paths.instructions_dir}}/backlog-ledger.instructions.mdSee CONTRIBUTING.md for the instruction creation guide. Custom instructions should:
- Use YAML frontmatter:
name,description,when_to_use,applyTo - Be placed in
instructions/configurable/if using tokens - Be placed in
instructions/generic/if project-agnostic - Be listed in skill frontmatter to take effect
- SKILL_FLOW.md — How skills use these instructions
- ARCHITECTURE.md — Why this structure exists
- ONBOARDING.md — How to set up instructions in your project