From aidd-context
Bootstraps the AIDD context layer for a project: initializes AI context files with memory block, scaffolds documentation structure, and generates memory bank files.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aidd-context:02-project-initopusThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Bootstraps the AIDD context layer for a project: AI context files with memory block, `aidd_docs/` documentation structure, and the memory bank files. Rule directories are created lazily by `aidd-context:03-context-generate` when the first rule is written; project-init does not pre-scaffold them.
README.mdactions/01-init-context-file.mdactions/02-scaffold-docs.mdactions/03-generate-memory.mdactions/04-review-memory.mdactions/05-sync-memory.mdassets/AGENTS.mdassets/CONTRIBUTING.mdassets/GUIDELINES.mdassets/README.mdassets/golden-principles.mdassets/templates/memory/README.mdassets/templates/memory/architecture.mdassets/templates/memory/backend/api-docs.mdassets/templates/memory/backend/backend-communication.mdassets/templates/memory/backend/database.mdassets/templates/memory/codebase-map.mdassets/templates/memory/coding-assertions.mdassets/templates/memory/deployment.mdassets/templates/memory/frontend/browsing.mdBootstraps the AIDD context layer for a project: AI context files with memory block, aidd_docs/ documentation structure, and the memory bank files. Rule directories are created lazily by aidd-context:03-context-generate when the first rule is written; project-init does not pre-scaffold them.
assets/ directory via @<relative-path> resolution. AI hosts that cannot resolve @ paths to actual files on disk cannot run this skill. The actions self-check asset reachability at their first step and FAIL with status: blocked_assets_unreachable if access is denied.| # | Action | Role | Input |
|---|---|---|---|
| 01 | init-context-file | Ensure AI context files contain the <aidd_project_memory> block | project root |
| 02 | scaffold-docs | Create aidd_docs/ structure with README and GUIDELINES | project root |
| 03 | generate-memory | Detect project type and generate memory files in parallel | aidd_docs/memory/ from 02 |
| 04 | review-memory | Cross-file consistency review of all generated memory files | aidd_docs/memory/ from 03 |
| 05 | sync-memory | Execute update_memory.js to fill <aidd_project_memory> blocks | context files from 01 |
The context files this skill writes are tool-specific. Detect, propose, and confirm the target tools ONCE at flow entry; the confirmed set drives action 01 (write context files) and, downstream, action 05 (sync the memory block into them). The memory steps (02, 03, 04) are tool-agnostic and do not depend on this gate.
@references/mapping-ai-context-file.md (one row per tool) at the project root. Only those paths qualify; any other file (*.agent.md, <vendor>-*.md, and lookalikes) is user project content, off-limits.<aidd_project_memory> block, this is a re-run on an initialized project: the confirmed set = the tools already present. Skip the prompt.@references/mapping-ai-context-file.md and ask which tools the user actively uses. Blocking: await an explicit pick; if none is received, FAIL with status: blocked_awaiting_user_tool_selection.
aidd init target, else claude alone. Never silently fan out to all three.Output of the gate: confirmed_tools. Actions consume this set; they do not re-derive it.
Run the Tool detection gate first, then 01 → 02 → 03 → 04 → 05. Run each action's ## Test before moving to the next.
aidd_docs/, AGENTS.md, CLAUDE.md, .github/copilot-instructions.md, .aidd/) is framework metadata, never project content, and MUST NOT appear in memory files as if it were architecture or features of the project.aidd_docs/memory/. aidd_docs/memory/internal/ is reserved for AIDD workflow traces (project-init audit notes, learn captures).React, not React 19).When this skill emits Mermaid diagrams, follow the project's Mermaid conventions.
@assets/AGENTS.md - canonical AI context file template@assets/README.md - aidd_docs/README.md template@assets/GUIDELINES.md - aidd_docs/GUIDELINES.md template@assets/templates/memory/ - memory file templates (scope: all | frontend | backend)@references/mapping-ai-context-file.md - mapping of AI context files across tools../../hooks/update_memory.js - syncs <aidd_project_memory> block content across all context filesnpx claudepluginhub ai-driven-dev/frameworkGenerates optimized project-context.md files for AI agent consistency. Activates when users mention 'project context' or 'generate context'.
Detects project state and opens a hub of actions: understand the project, set up/refresh memory bank, or continue the AIDD development journey. Adapts its menu based on installed AIDD plugins.
Creates minimal, high-signal CLAUDE.md and AGENTS.md context files for repos using empirical best practices. Triggers on /init, create/update requests, or missing context during brainstorming.