target-memory-bootstrap
Skill12 starsChanged 6 months agoApache-2.0View on GitHub
Create the target repository's local memory skeleton after repo init. Use from repo-init-scan during first substantial plugin use, when `memories/repo` is missing, or when MEDIUM/LARGE work needs persistent recovery state. Do not store active project memory in the plugin package.
In this repository41 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- brainstormingSkill
- change-verificationSkill
- context-packet-fastpathSkill
- core-workflow-contractSkill
- developer-workflowSkill
- development-branch-closeoutSkill
- dispatching-parallel-agentsSkill
- evolution-loopSkill
- executing-plansSkill
- frontend-designer-workflowSkill
- frontend-design-guardrailsSkill
- quality-assurance-workflowSkill
- repo-init-gateSkill
- repo-init-manual-fallbackSkill
- repo-init-officialSkill
- repo-init-scanSkill
- root-cause-fixer-workflowSkill
- root-cause-investigationSkill
- search-fastpathSkill
- security-reviewer-workflowSkill
- senior-project-expertSkill
- senior-project-expert-workflowSkill
- spec-execution-fastpathSkill
- specification-writer-workflowSkill
- spec-review-gauntletSkill
- structured-reviewSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- target-instructions-bootstrapSkill
- target-spec-bootstrapSkill
- td-java-coding-guidelinesSkill
- td-python-coding-guidelinesSkill
- technical-architect-workflowSkill
- test-driven-developmentSkill
- verification-before-completionSkill
- web-experience-auditSkill
- workspace-isolationSkill
- writing-plansSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Create durable target-local memory routing files.
- Distinctive: line 14
Write into the target repository, never into the installed plugin package or plugin cache.
- Distinctive: line 15
Create missing files only.
- Very specific: line 16
Do not copy this plugin repository's current work, decisions, examples, memories/, or spec/ as active target memory.
- Distinctive: line 53
Read existing memory files when present.
- Very specific: line 54
Create only absent files using references/templates.md.
- Distinctive: line 55
If existing files are present but lack resumable workstream fields, append a compatible recovery section instead of replacing …
- Distinctive: line 56
Verify every required path exists.
- Very specific: line 65
If invoked because memories/repo/ was missing and required files still do not exist, return BLOCKED target_memory_bootstrap_incomplete with …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Target Memory Bootstrap
Create durable target-local memory routing files. Generated memory starts empty and project-neutral; later tasks fill it with verified target repository facts and progress.
Load references/templates.md for exact file contents.
Boundary
- Write into the target repository, never into the installed plugin package or plugin cache.
- Create missing files only. Do not overwrite existing target memory.
- Do not copy this plugin repository's current work, decisions, examples,
memories/**, orspec/**as active target memory. - Memory stores recovery state, verified decisions, compact facts, last verification, and next resume action.
- Memory does not store long logs, secrets, PII, raw chat transcripts, or unverified guesses.
Files To Create
memories/README.mdmemories/repo/INDEX.mdmemories/repo/current-workstreams.mdmemories/repo/project-state.mdmemories/repo/workflow-rules.mdmemories/repo/decisions.mdmemories/repo/logs/README.mdmemories/repo/archive/deprecated-decisions.md
State Recovery Requirements
current-workstreams.md must be able to resume work without chat history. It must include fields for:
topicstatuslinked_speclinked_memorycurrent_focuscompleted_tasksblocked_tasksnext_resume_actionlast_verifiedlast_state_syncowner_laneresidual_risk
INDEX.md must route by load_tier, tags, use_for, linked_spec, last_updated, and a one-line summary.
Procedure
- Determine the target repository root from the active init flow or PM packet.
- Read existing memory files when present.
- Create only absent files using
references/templates.md. - If existing files are present but lack resumable workstream fields, append a compatible recovery section instead of replacing project-specific content.
- Verify every required path exists.
- Return created files, preserved files, repaired files, and missing paths.
Verification
- Confirm all missing files were created in the target repository.
- Confirm existing target memory files were preserved.
- Confirm placeholders are neutral (
unknownorNone yet) and do not describe the plugin repository as the target project. - Confirm
current-workstreams.mdhas the state recovery fields above. - If invoked because
memories/repo/**was missing and required files still do not exist, returnBLOCKED target_memory_bootstrap_incompletewith the missing paths. Do not let the caller continue the substantive task as if initialization succeeded.
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.

