OpenParable
Skip to content
← Back to skills

02 Project Memory

Agent Building
02-project-memory

02 Project Memory is an Agent Skill for agent building published in the ai-driven-dev/framework repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Initialize or refresh the project memory bank. Use when the user wants to set up or regenerate the project's memory files. Not for updating one memory file after it exists or editing a single rule directly.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/ai-driven-dev/framework/blob/HEAD/plugins/aidd-context/skills/02-project-memory/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/02-project-memory, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Project Memory

Bootstraps the project's context layer: the AI context files with a memory block, the aidd_docs/ structure, and the memory bank.

Actions

#ActionRoleInput
01init-context-fileResolve the tools, then upsert the memory blockproject root
02scaffold-docsCreate the aidd_docs/ folder structureproject root
03generate-memoryDetect the capabilities, generate the memory filesthe memory dir
04review-memoryReview the memory files for consistencythe memory dir
05sync-memoryFill the memory block in every context filethe context files

Run the actions in order, 01 → 05, and run each action's ## Test before the next. Before running an action, read its file in actions/, not only the table or assets.

Memory rules

Govern the content of every memory file.

  • Capture the macro and the non-derivable: decisions, conventions, gotchas, the why. Never restate a schema or a file tree. Point to the code over a copy.
  • One fact, one file: define it in its home, elsewhere reference it. Naming a shared lib in its own concern is fine.
  • Keep each file small. Short bullets, code in backticks, no version in a tech name (React, not React 19).
  • Reflect the current state only. Drop an unused section, never leave a placeholder.

Action rules

Govern how every action runs.

  • Read an asset or reference relative to this skill. If one can't be read, stop and say so, never invent.
  • Ask before anything ambiguous. Never default silently.
  • End with a short report of what changed.

References

  • references/mapping-ai-context-file.md: the per-tool context-file path.
  • references/memory-block.md: the context-file memory block and its upsert cases.
  • references/capability-signals.md: the capabilities, their signals, and the concerns each gates.

Assets

  • assets/AGENTS.md: the context-file template.
  • assets/README.md, assets/GUIDELINES.md, assets/CONTRIBUTING.md: the aidd_docs/ doc templates.
  • assets/templates/memory/: the memory templates, one folder per capability (core always, the rest gated by signal).