project-memorial
Skill1 starsChanged 3 months agoMITView on GitHub
Create or revamp project AGENTS.md instructions for new and existing repositories while preserving detailed requirements in referenced project documentation. Use when creating AGENTS.md, revising AGENTS.md, defining a project contract, reducing an oversized instruction file, or setting up project guidance.
In this repository28 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- ai-sdkSkill
- anti-slopSkill
- architecture-auditSkill
- browseSkill
- cavemanSkill
- context-budgetSkill
- design-mdSkill
- e2e-testingSkill
- error-handlingSkill
- find-skillsSkill
- fresh-context-reviewSkill
- frontend-designSkill
- graph-memorySkill
- grill-meSkill
- listenSkill
- manual-qa-planSkill
- next-best-practicesSkill
- nextjs-app-router-patternsSkill
- prd-to-issuesSkill
- project-feedbackSkill
- scrollcraftSkill
- sequential-afk-runnerSkill
- shadcnSkill
- tddSkill
- vercel-react-best-practicesSkill
- write-prdSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. About 0 are common, 22 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈22
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
- Distinctive: line 8
Create a durable, concise project contract that helps coding agents work safely and consistently.
- Distinctive: line 17
Ask before editing an existing instruction file unless the user explicitly requested the edit.
- Very specific: line 22
Prefer the smallest correct change and use apply_patch for manual edits.
- Distinctive: line 23
Do not install dependencies, modify application code, create commits, push, deploy, or change system configuration unless explicitly …
- Distinctive: line 25
Never place secrets, tokens, private credentials, or sensitive personal paths in tracked project instructions.
- Distinctive: line 27
Do not invent commands, frameworks, architecture, integrations, or project facts.
- Distinctive: line 48
Ask only the questions needed to complete the contract.
- Distinctive: line 61
Do not ask for commands that can be confirmed from manifests, scripts, or docs.
- Distinctive: line 65
Create or revise the root AGENTS.md as the concise, always-relevant contract.
- Distinctive: line 78
Write concrete, verifiable rules.
- Distinctive: line 83
Never throw away information only because the root file is too long.
- Distinctive: line 85
Prefer these documents when applicable:
- Distinctive: line 108
Ask only the necessary discovery questions.
- Distinctive: line 111
Create the root contract and only the supporting documents that preserve meaningful detail.
- Distinctive: line 113
Do not scaffold code, install dependencies, or alter tooling unless asked.
- Distinctive: line 117
Before revising an existing contract:
- Distinctive: line 119
Read it completely and inspect Git status and relevant docs.
- Distinctive: line 123
Do not silently change product scope, technology, security posture, or release criteria.
- Distinctive: line 126
If the user asks for review only, report findings and propose a patch without editing.
- Distinctive: line 134
Check the root AGENTS.md line count.
- Distinctive: line 136
Verify every referenced supporting document exists.
- Distinctive: line 137
Check relative paths and headings for obvious mistakes.
- Distinctive: line 142
Do not create a commit unless explicitly requested.
≈ “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
Project Memorial
Create a durable, concise project contract that helps coding agents work safely and consistently. Treat the contract as maintained project memory: preserve decisions and requirements, remove repetition, and move details to documents consulted when relevant.
Operating Rules
- Act only when the user requests creation, revision, review, or planning for project instructions.
- Ask before editing an existing instruction file unless the user explicitly requested the edit.
- Inspect the repository and existing instruction files before making changes.
- Preserve user requirements and useful existing information; never delete information merely to meet a line target.
- Prefer the smallest correct change and use
apply_patchfor manual edits. - Do not install dependencies, modify application code, create commits, push, deploy, or change system configuration unless explicitly requested.
- Never place secrets, tokens, private credentials, or sensitive personal paths in tracked project instructions.
- Do not invent commands, frameworks, architecture, integrations, or project facts. Mark unknowns as unknown or ask the user.
Discovery
Before drafting, determine:
- Whether the repository is new, existing, empty, or a monorepo.
- Which instruction files exist:
AGENTS.md,CLAUDE.md,.claude/,CONTRIBUTING.md, and relevant project documentation. - The project name, purpose, users, platforms, and maturity.
- The actual or intended language, framework, package manager, and services.
- Existing run, test, lint, type-check, build, migration, and release commands.
- Architecture boundaries, sensitive data, integrations, and approval limits.
- Design, accessibility, performance, compliance, and domain-specific rules.
For an existing project, derive facts from the repository before asking about them. For a new or empty project, ask focused questions for unknown decisions.
Interview
Ask only the questions needed to complete the contract. Combine related questions where possible:
- What is the project name, purpose, and primary user?
- What product type and platforms are targeted?
- Which technology choices are fixed, preferred, or unknown?
- What features or outcomes belong in the first release?
- Are accounts, databases, sync, payments, notifications, or external APIs required?
- What design direction, references, accessibility, or content rules matter?
- Which actions always require approval?
- What must be true for a feature or release to be complete?
Do not ask for commands that can be confirmed from manifests, scripts, or docs.
Root Contract
Create or revise the root AGENTS.md as the concise, always-relevant contract.
Target 100-160 lines and keep it under 200 lines by default. Include:
- Goal, users, platforms, and product identity.
- Required supporting-document references.
- Confirmed technology stack.
- Core product and security constraints.
- Essential architecture rules.
- Confirmed commands, or an explicit statement that commands are not known yet.
- Development workflow.
- Approval-required actions and Git rules.
- Definition of done.
Write concrete, verifiable rules. Avoid essays, duplicate requirements, and facts that the repository already makes obvious.
Preserve Detail
Never throw away information only because the root file is too long. Move
detailed content into project-local documents and link them from AGENTS.md.
Prefer these documents when applicable:
docs/product-requirements.md: features, user flows, accounts, sync, monetization, and domain rules.docs/design-and-ux.md: visual direction, design system, responsive states, accessibility, and interaction requirements.docs/engineering-and-quality.md: architecture, privacy, security, testing, project structure, and quality gates.docs/testing.md: detailed test matrix and verification procedures.docs/security.md: threat model, data handling, and operational controls.
Reuse existing documentation instead of duplicating it. Create a new document
only when the information has no suitable home. Supporting documents should be
focused, named clearly, and referenced by relative path from AGENTS.md.
For large repositories, use nested AGENTS.md files or path-scoped rules for
genuinely local subsystem guidance. Do not create nested files merely to split
an otherwise small contract.
New Projects
For an empty repository:
- Ask only the necessary discovery questions.
- Mark unconfirmed commands as unknown; do not list imagined scripts as facts.
- Record chosen stack and constraints as provisional when appropriate.
- Create the root contract and only the supporting documents that preserve meaningful detail.
- Do not scaffold code, install dependencies, or alter tooling unless asked.
Existing Projects and Revamps
Before revising an existing contract:
- Read it completely and inspect Git status and relevant docs.
- Preserve useful requirements and user-authored decisions.
- Identify duplicate, stale, vague, and repository-derivable content.
- Move details to supporting docs, updating references in the root contract.
- Do not silently change product scope, technology, security posture, or release criteria.
If the user asks for review only, report findings and propose a patch without editing. If the user asks to make the change, edit only instruction documents unless they explicitly request broader work.
Verification
After editing:
- Check the root
AGENTS.mdline count; report it and confirm it is below 200 unless the user approved an exception. - Verify every referenced supporting document exists.
- Check relative paths and headings for obvious mistakes.
- Run
git diff --check. - Inspect
git diffand confirm only intended instruction files changed. - Report moved information, unresolved assumptions, and unconfirmed commands.
Do not create a commit unless explicitly requested. After creating or changing a global OpenCode skill, tell the user to restart OpenCode so it is discovered.
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.

