instructions-management
Skill98 starsChanged 25 days agoMITView on GitHub
Manages the project instructions — a document of non-negotiable project principles and governance rules. Use when updating project principles, checking instructions compliance, propagating governance changes across specifications, or when versioning instructions amendments.
In this repository73 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- sddp-amendSkill
- sddp-analyzeSkill
- sddp-autopilotSkill
- sddp-checklistSkill
- sddp-clarifySkill
- sddp-devopsSkill
- sddp-devsetupSkill
- sddp-implement-qc-loopSkill
- sddp-implementSkill
- sddp-initSkill
- sddp-planSkill
- sddp-prdSkill
- sddp-projectplanSkill
- sddp-qcSkill
- sddp-regenSkill
- sddp-reverseengineerSkill
- sddp-specifySkill
- sddp-systemdesignSkill
- sddp-tasksSkill
- sddp-amendSkill
- sddp-analyzeSkill
- sddp-autopilotSkill
- sddp-checklistSkill
- sddp-clarifySkill
- sddp-devopsSkill
- sddp-devsetupSkill
- sddp-implement-qc-loopSkill
- sddp-implementSkill
- sddp-initSkill
- sddp-planSkill
- sddp-prdSkill
- sddp-projectplanSkill
- sddp-qcSkill
- sddp-regenSkill
- sddp-reverseengineerSkill
- sddp-specifySkill
- sddp-systemdesignSkill
- sddp-tasksSkill
- adr-authoringSkill
- artifact-conventionsSkill
- clarification-strategiesSkill
- compact-communicationSkill
- evidence-led-authoringSkill
- implementation-standardsSkill
- markdown-compressionSkill
- plan-authoringSkill
- quality-assuranceSkill
- sdd-methodologySkill
- sddp-amendSkill
- sddp-analyzeSkill
- sddp-autopilotSkill
- sddp-checklistSkill
- sddp-clarifySkill
- sddp-devopsSkill
- sddp-devsetupSkill
- sddp-implement-qc-loopSkill
- sddp-implementSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 31
Check template version: <!-- template-version: 2 --> present → v2.
- Distinctive: line 34
Use values from user input (conversation).
- Distinctive: line 49
After updating, check alignment in:
- Distinctive: line 68
No unexplained bracket tokens remaining.
- Distinctive: line 72
All mandatory sections present (Technology Stack, Testing & Quality Policy, Source Code Layout, Development Workflow, Governance).
- Distinctive: line 75
Use MUST/SHOULD with rationale.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Instructions Management Guide
What are the Project Instructions?
project-instructions.md contains non-negotiable project principles gating all downstream decisions. Highest authority in the SDD process.
Template Structure (v2)
The current template (v2) has these mandatory sections:
## Core Principles— 3–7 numbered non-negotiable principles with MUST/SHOULD rules and rationale## Technology Stack— Language/Runtime, Frameworks, Storage, Infrastructure## Testing & Quality Policy— Coverage Target, Required QC Categories, Test Strategy, Linting/Formatting. QC extracts enforcement rules from keywords in this section.## Source Code Layout— Policy (ENFORCE_SRC_ROOT or PRESERVE_EXISTING_LAYOUT) and Convention## Development Workflow— Branching, Commit Convention, CI Requirements## Governance— Pre-filled defaults plus project-specific additions
Template version is tracked via <!-- template-version: 2 --> on the first line. Legacy templates (v1) lack structured sections and use [PRINCIPLE_N_NAME] placeholders.
Update Process
1. Load Current Project Instructions
- Read
project-instructions.md. - Identify all placeholder tokens:
[ALL_CAPS_IDENTIFIER]. - Adapt section count to user needs — fewer or more principles than template provides.
- Check template version:
<!-- template-version: 2 -->present → v2; missing → v1 (offer migration).
2. Collect Values for Placeholders
- Use values from user input (conversation).
- Infer from repo context (README, docs, prior versions) if not provided.
- Auto-detect from manifest files (package.json, Cargo.toml, etc.) for Technology Stack and Testing & Quality Policy sections.
LAST_AMENDED_DATE: today if changes made.- Version: see references/versioning-rules.md.
3. Draft Updated Content
- Replace every placeholder with concrete text.
- Preserve heading hierarchy and
<!-- template-version: 2 -->comment. - Principles: succinct name, non-negotiable rules, explicit rationale.
- Technology Stack: at minimum Language/Runtime must be populated.
- Testing & Quality Policy: use QC-recognised keywords so automated enforcement activates correctly. Keywords:
lint,static analysis,code quality,coverage,security,vulnerability,OWASP,WCAG,accessibility,benchmark,performance. - Governance: amendment procedure, versioning policy, compliance expectations.
4. Consistency Propagation
After updating, check alignment in:
- Plan template: Instructions Check section references updated principles.
- Spec template: scope/requirements align with new constraints.
- Tasks template: task categories reflect principle-driven types.
- Agent instructions: no outdated references.
.github/sddp-config.md→## Derived QC Policy: update Coverage Target and Required Categories to match current Testing & Quality Policy.
5. Sync Impact Report
Present to user:
- Version change: old → new
- Modified principles
- Added/removed sections
- Template version migration (if applicable)
- QC Enforcement Preview (which categories will be enforced)
- Templates requiring updates (✅ updated / ⚠ pending)
- Follow-up TODOs
6. Validation
<!-- template-version: 2 -->present on first line.- No unexplained bracket tokens remaining.
- Version line matches report.
- Dates in ISO format (YYYY-MM-DD).
- Principles are declarative, testable, free of vague language.
- All mandatory sections present (Technology Stack, Testing & Quality Policy, Source Code Layout, Development Workflow, Governance).
Principles of Good Project Instructions Writing
- Use MUST/SHOULD with rationale.
- Each principle testable (can you tell if code violates it?).
- Declarative, not procedural.
- Limit to 3–7 core principles (focused > comprehensive).
- Include QC-relevant keywords in Testing & Quality Policy so automated enforcement activates.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

