agentleFS
DyanGalihDyanGalih/spec-kit-memory-hub/.github/copilot-instructions.md

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…

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
  1. Distinctive:

    Read constitution, durable project memory, and any closely related bug or decision entries.

    line 34
  2. Very specific:

    Use /speckit.memory-md.specify if Spec Kit commands are available.

    line 36
  3. Very specific:

    Before /plan and /tasks:

    line 38
  4. Very specific:

    Read the active spec plus memory.md and memory-synthesis.md.

    line 39
  5. Distinctive:

    Do not proceed if there is an unresolved hard conflict with project memory or architecture boundaries.

    line 40
  6. Distinctive:

    Treat implementation and verification watchpoints as requirements, not suggestions.

    line 44
  7. Very specific:

    After /implement and after /verify:

    line 46
  8. Distinctive:

    Update durable memory only when the lesson is durable, evidenced, reusable, and non-obvious.

    line 48
  9. Distinctive:

    Treat docs/memory as the repository memory layer.

    line 51
  10. Distinctive:

    Keep entries concise, durable, and reviewable in Git.

    line 52
  11. Distinctive:

    Do not assume hidden state outside the repository.

    line 53

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
copilot-instructions.md

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.md section for constraints, reused decisions, bug patterns, boundaries, conflicts, assumptions, and watchpoints.
  • Use /speckit.memory-md.specify if 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.md and memory-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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.