spec-kit-memory-hub
Copilot instructions16 starsChanged 7 months agoMITView on GitHub
This repository is built to work with VS Code Copilot agents memory. For any non-trivial task, memory is part of the workflow, not optional documentation. - Governance Layer (.specify/memory/): Stable operating rules, project constitution, architecture standards, and governance-level decisions. * .specify/memory/constitution.md (project-level principles) * .specify/memory/architecture_constitution.md (authoritative tech standards) * .specify/memory/DECISIONS.md (governance decisions) * .specify/memory/BUGS.md (systemic or high-risk patterns) - Durable Project Memory (docs/memory/): The historical record of technical choices, architecture boundaries, and recurring bug patterns. * docs/memory/INDEX.md (the compact routing…
In this repository2 other files it gives its agents.
- templates/AGENTS.mdAGENTS.md
- templates/CLAUDE.mdCLAUDE.md
The file
We split this copilot-instructions.md into the rules it gives an agent
11 rules. About 0 are common, 7 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Read constitution, durable project memory, and any closely related bug or decision entries.
- Very specific: line 36
Use /speckit.memory-md.specify if Spec Kit commands are available.
- Very specific: line 38
Before /plan and /tasks:
- Very specific: line 39
Read the active spec plus memory.md and memory-synthesis.md.
- Distinctive: line 40
Do not proceed if there is an unresolved hard conflict with project memory or architecture boundaries.
- Distinctive: line 44
Treat implementation and verification watchpoints as requirements, not suggestions.
- Very specific: line 46
After /implement and after /verify:
- Distinctive: line 48
Update durable memory only when the lesson is durable, evidenced, reusable, and non-obvious.
- Distinctive: line 51
Treat docs/memory as the repository memory layer.
- Distinctive: line 52
Keep entries concise, durable, and reviewable in Git.
- Distinctive: line 53
Do not assume hidden state outside the repository.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions 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
Copilot Instructions
This repository is built to work with VS Code Copilot agents memory.
For any non-trivial task, memory is part of the workflow, not optional documentation.
Memory Layers (Source of Truth)
- Governance Layer (
.specify/memory/): Stable operating rules, project constitution, architecture standards, and governance-level decisions..specify/memory/constitution.md(project-level principles).specify/memory/architecture_constitution.md(authoritative tech standards).specify/memory/DECISIONS.md(governance decisions).specify/memory/BUGS.md(systemic or high-risk patterns)
- Durable Project Memory (
docs/memory/): The historical record of technical choices, architecture boundaries, and recurring bug patterns.docs/memory/INDEX.md(the compact routing map for this layer)docs/memory/PROJECT_CONTEXT.md(system purpose and high-level shape)docs/memory/ARCHITECTURE.md(detailed boundaries and integrations)docs/memory/DECISIONS.md(technical and implementation decisions)docs/memory/BUGS.md(recurring bugs and mitigation patterns)docs/memory/WORKLOG.md(sequential ledger of durable changes)
- Active Feature Memory (
specs/<feature>/memory.md): Feature-local constraints, open questions, and watchpoints for the current feature. - Ephemeral Run Context: The current prompt, diff, terminal output, and temporary notes. Do not commit these to durable memory.
Required Workflow
These requirements are enforced in this repository by prompts, shared instructions, and review expectations.
They are not yet backed by separate /tasks or /verify extension commands.
Before /specify:
- Read constitution, durable project memory, and any closely related bug or decision entries.
- Produce or refresh a compact
memory-synthesis.mdsection for constraints, reused decisions, bug patterns, boundaries, conflicts, assumptions, and watchpoints. - Use
/speckit.memory-md.specifyif Spec Kit commands are available; otherwise follow the markdown-first fallback in.specify/memory/workflow.md.
Before /plan and /tasks:
- Read the active spec plus
memory.mdandmemory-synthesis.md. - Do not proceed if there is an unresolved hard conflict with project memory or architecture boundaries.
Before /implement:
- Re-read
memory-synthesis.md. - Treat implementation and verification watchpoints as requirements, not suggestions.
After /implement and after /verify:
- Review the diff, task completion, tests, and findings.
- Update durable memory only when the lesson is durable, evidenced, reusable, and non-obvious.
- Refuse changelog-style or speculative memory updates.
Treat docs/memory as the repository memory layer. Keep entries concise, durable, and reviewable in Git. Do not assume hidden state outside the repository.
A task is not fully complete until memory has been reviewed.
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.

