[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MYZSWS1TXWC8MGZJY6KF7E":3,"skill-same:01M6MYZSWS1TXWC8MGZJY6KF7E":89},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M6MYZSWS1TXWC8MGZJY6KF7E","aa-ma-plan",null,"Plans a feature or change with the AA-MA method: brainstorm, research, a 13-element plan, then the five AA-MA files. Use when the user asks to plan a feature, design an implementation or create an AA-MA plan, or asks what such a plan must contain.","snewhouse\u002Faa-ma-forge","snewhouse","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6317143?v=4","01M6MYYWF28C4KBQHHWB9SC6TS","Stephen J Newhouse","01M6MYYWJWQMDN2ZPFMJ584SSM",6,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Faa-ma-plan\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35],"aa ma plan","plan","implementation","to plan","with","contain","element","plans","feature","files","design","use","user","brainstorm","create","change","research","2026-11-10 10:12:30",false,"---\nname: aa-ma-plan\ndescription: \"Plans a feature or change with the AA-MA method: brainstorm, research, a 13-element plan, then the five AA-MA files. Use when the user asks to plan a feature, design an implementation or create an AA-MA plan, or asks what such a plan must contain.\"\n---\n\n\u003C!-- Renamed from \u002Fultraplan to \u002Faa-ma-plan on 2026-04-06.\n     Reason: Anthropic shipped built-in \"ultraplan\" in Claude Code on 2026-04-04. -->\n\n# \u002Faa-ma-plan - AA-MA Planning Workflow\n\nComprehensive planning command that follows the Advanced Agentic Memory Architecture (AA-MA) methodology for complex software development tasks.\n\n## Purpose\n\nUse this command when you need to:\n- Plan complex features or architectural changes\n- Create structured, maintainable implementation roadmaps\n- Follow AA-MA methodology with proper artifact generation\n- Leverage superpowers skills for deep thinking and planning\n- Coordinate multi-agent workflows for parallel research\n- Optimize token usage while maintaining thorough documentation\n\n## Key Features\n\n- **Multi-input support:** Accepts selected text, inline description, or interactive prompts\n- **`--from-map \u003Ceffort> [--dry-run]`:** seed Phase 1 from a cleared `\u002Faa-ma-chart` map (ADR-0013) — Decisions so far + every Answer are pre-answered grill input; `--dry-run` prints the seed and creates nothing\n- **Structured thinking:** Uses `\u002Fsuperpowers:brainstorming` for requirement refinement\n- **Research integration:** Context7 MCP with automatic fallback, parallel agent dispatch\n- **AA-MA compliance:** Auto-generates 6 files (plan, reference, context-log, tasks, provenance, verification)\n- **Token optimized:** Concise screen output, verbose details saved to files\n- **KISS\u002FDRY\u002FSOLID:** Follows fundamental design principles from CLAUDE.md\n\n## Workflow Overview\n\n```\nPhase 1: Context Gathering    → Multi-method input + clarifications\nPhase 2: Structured Thinking  → \u002Fsuperpowers:brainstorming refinement\nPhase 3: Research & Docs      → Context7 MCP + parallel agents\nPhase 4: Plan Generation      → \u002Fsuperpowers:writing-plans\nPhase 4.5: Verification       → 6-angle adversarial plan check\nPhase 5: AA-MA Artifacts      → Create .claude\u002Fdev\u002Factive\u002F[task]\u002F\n```\n\n---\n\n## Instructions for AI\n\nRun the phases in order. Phases 0–3, 4.2 and 4.5 live in `references\u002F`: read each phase's reference before running that phase (Phase 0 writes the markers the plan-marker hook checks).\n\n### Phase 0: Runtime Log Initialization\n\nSee [phase-0-runtime-log.md](references\u002Fphase-0-runtime-log.md#phase-0-runtime-log-initialization) — derive the plan slug and write the phase markers the plan-marker hook checks.\n\n---\n\n### Phase 1: Context Gathering & Input Processing\n\nSee [phase-1-context.md](references\u002Fphase-1-context.md#phase-1-context-gathering--input-processing) — --from-map import, input detection, the grill protocol, clarifying questions and the lessons scan.\n\n---\n\n### Phase 2: Structured Thinking with Brainstorming\n\nSee [phase-2-brainstorm.md](references\u002Fphase-2-brainstorm.md#phase-2-structured-thinking-with-brainstorming) — the brainstorming pass that refines the request before research.\n\n---\n\n### Phase 3: Research & Documentation Gathering\n\nSee [phase-3-research.md](references\u002Fphase-3-research.md#phase-3-research--documentation-gathering) — Context7-first documentation research with its fallbacks, and parallel research agents.\n\n---\n\n### Phase 4: Plan Generation with AA-MA Standard\n\n**Step 4.1: Invoke Write-Plan Skill**\n\n```\nSkill: superpowers:writing-plans\n```\n\n**Step 4.2: Provide Complete Context**\n\nPass to skill:\n- Refined requirements from Phase 2\n- Research findings from Phase 3\n- AA-MA Planning Standard requirements (from CLAUDE.md)\n\nEnsure plan includes ALL 13 required elements:\n1. Executive summary (≤3 lines)\n2. Ordered stepwise implementation plan\n3. Milestones with measurable goals\n4. Acceptance criteria for each step\n5. Required artefacts for each step\n6. Tests to validate each milestone\n7. Rollback strategy for risky steps\n8. Dependencies and assumptions\n9. Effort estimate + Complexity (0-100%) per step\n10. Risks (top 3) and mitigations per milestone\n11. Next action (what to do first)\n12. Engineering Standards Declaration (which themes from `claude-code\u002Frules\u002Fengineering-standards.md` materially apply, with one-sentence rationale per theme — captured in Phase 2 Step 2.4)\n13. Architecture View (mermaid Component view; Flow view iff `Critical-Path:` present; or a canonical `Diagram-Waiver`) and a `#### Contract` block per milestone with `Audit-Profile ∈ {full, code-only, infra}`\n\n**Step 4.2b: Seed §13 from the code graph**\n\nThe Component view starts from the code, not from memory. Run one cut over every\n**existing** file the plan will `Modify` (Phase 3 found them) and paste its output under\n`### Component view` unchanged: node labels are repo paths and edges carry the quoted\n`@import` \u002F `@call` sigils, so `aa-ma-lint-views` checks each one (`PHANTOM_EDGE`). Then\nadd what does not exist yet — `(new)` nodes and the intended edges, with prose labels\n(`-->|will call|`), never a sigil. The seed is caption-free. A plan that only creates files\nskips the cut. Phase 4.5 check 8 (`aa-ma-lint-views --coverage`) flags any `Create` \u002F\n`Modify` path the view leaves undrawn.\n\n```bash\n# The aa-ma-forge checkout, from this command's installed symlink (scripts\u002Finstall.sh).\nAA_MA_ROOT=$(cd \"$(dirname \"$(readlink -f ~\u002F.claude\u002Fskills\u002Faa-ma-plan\u002FSKILL.md)\")\u002F..\u002F..\u002F..\" && pwd)\nif [[ ! -f \"${AA_MA_ROOT}\u002Fpackages\u002Fcodemem-mcp\u002Fpyproject.toml\" ]]; then\n  echo \"§13 seed unavailable: ${AA_MA_ROOT} is not an aa-ma-forge checkout (run scripts\u002Finstall.sh).\"\nelse\n  SCOPES=()\n  # One existing path per line. The quoted delimiter keeps every line literal: spaces,\n  # globs and $(...) in a file name are data, never shell.\n  while IFS= read -r f; do [[ -n \"${f}\" ]] && SCOPES+=(--scope \"${f}\"); done \u003C\u003C'PATHS'\n\u003Cone existing path per line>\nPATHS\n  if (( ${#SCOPES[@]} == 0 )); then\n    echo \"No existing path to Modify: seed skipped (a scope-less draw is the whole repo).\"\n  # Run from the project root: codemem reads the index dir it keys by this root (XDG cache).\n  elif ! uv run --project \"${AA_MA_ROOT}\" codemem draw --level L2 \"${SCOPES[@]}\" --hops 1 --direction both; then\n    # codemem has printed why (no index \u002F schema too old \u002F unreadable) on stderr.\n    echo \"§13 seed unavailable (reason above): run \\`codemem build\\` in the project root and re-seed.\"\n    echo \"An empty seed is not 'nothing to draw'.\"\n  fi\nfi\n```\n\n**Step 4.3: Validate Plan Completeness**\n\nCheck generated plan against AA-MA standard:\n- [ ] Contains all 13 required elements\n- [ ] Steps have clear acceptance criteria\n- [ ] Complexity ≥80% steps are flagged\n- [ ] Rollback strategy defined for risky changes\n- [ ] Next action is concrete and actionable\n\n**Fallback (if skill unavailable):**\n\nUse native planning prompt following the AA-MA template from CLAUDE.md:\n\n```\nYou MUST produce a thorough implementation plan following AA-MA Planning Standard.\n\nCONTEXT:\n- Feature: [refined requirements]\n- Research: [findings summary]\n- Constraints: [known limitations]\n\nProvide:\n1. Executive summary (≤3 lines)\n2. Ordered stepwise implementation plan\n3. Milestones with dates\u002Fdurations\n4. Acceptance criteria for each step\n5. Required artefacts\n6. Tests to validate\n7. Rollback strategy\n8. Dependencies and assumptions\n9. Effort (hours\u002Fdays) + Complexity (0-100%) per step\n10. Risks (top 3) + mitigations\n11. ONE Next action + which AA-MA file(s) to update\n12. Engineering Standards Declaration (themes from claude-code\u002Frules\u002Fengineering-standards.md that materially apply; one-sentence rationale each)\n13. Architecture View + Contract blocks (mermaid; spec §XI item 13; seed the Component view per Step 4.2b)\n\nFormat in Markdown for direct insertion into [task]-plan.md\n```\n\nDisplay summary:\n\n```\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nPHASE 4 COMPLETE: Plan Generated\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n✓ [N] implementation steps\n✓ [N] milestones defined\n✓ All acceptance criteria clear\n✓ Rollback strategies included\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n```\n\n---\n\n### Phase 4.2: Optional Plan Reviews (gstack integration)\n\nSee [phase-4-reviews-and-verification.md](references\u002Fphase-4-reviews-and-verification.md#phase-42-optional-plan-reviews-gstack-integration) — the optional gstack plan reviews and the adversarial verification of the generated plan.\n\n---\n\n### Phase 4.5: Adversarial Verification\n\nSee [phase-4-reviews-and-verification.md](references\u002Fphase-4-reviews-and-verification.md#phase-45-adversarial-verification) — the optional gstack plan reviews and the adversarial verification of the generated plan.\n\n---\n\n### Phase 5: AA-MA Artifact Creation\n\n**Step 5.1: Create Task Directory Structure**\n\n```bash\n# Determine task name (sanitize for filesystem)\nTASK_NAME=\"[user-provided-name-in-kebab-case]\"\nTASK_DIR=\".claude\u002Fdev\u002Factive\u002F${TASK_NAME}\"\n\n# Create directory and files\nmkdir -p \"${TASK_DIR}\"\ncd \"${TASK_DIR}\"\n\n# Create all 5 AA-MA files\ntouch \"${TASK_NAME}-plan.md\"\ntouch \"${TASK_NAME}-reference.md\"\ntouch \"${TASK_NAME}-context-log.md\"\ntouch \"${TASK_NAME}-tasks.md\"\ntouch \"${TASK_NAME}-provenance.log\"\ntouch \"${TASK_NAME}-verification.md\"\n```\n\n**`--from-map` only:** move the map in through the guard (git mv when tracked,\nmv + git add when not) and let it write the provenance line — the guard is\nthe only writer of `MAP_IMPORTED`:\n\n```bash\ncd - > \u002Fdev\u002Fnull   # back to the project root; the guard cds to the git toplevel itself\n\"$GUARD\" import \"$MAP\" \"${TASK_NAME}\" \"${TASK_DIR}\u002F${TASK_NAME}-provenance.log\" || exit 1\n# → .claude\u002Fdev\u002Factive\u002F\u003Ctask>\u002F\u003Ctask>-map.md ; provenance: [ts] MAP_IMPORTED effort=\u003Ceffort> tickets=\u003CN>\n```\n\n**Step 5.2: Populate [task]-plan.md**\n\nWrite the generated plan from Phase 4:\n\n```markdown\n# [task-name] Plan\n\n**Objective:** [1-line goal]\n**Owner:** [from git config or \"AI + User\"]\n**Created:** [current date]\n**Last Updated:** [current date]\n\n## Executive Summary\n[3-line overview from plan]\n\n## Implementation Steps\n[Full plan content with all 13 elements]\n\n## Next Action\n[Specific first step from plan]\n```\n\n**Step 5.3: Extract and Populate [task]-reference.md**\n\nParse the plan for immutable facts and write to reference:\n\n```markdown\n# [task-name] Reference\n\n## Immutable Facts and Constants\n\n[Extract from plan:]\n- API endpoints\n- File paths\n- Configuration values\n- Library versions\n- Database schemas\n- Model paths\n- Research files: one `docs\u002Fresearch\u002F\u003Cslug>-\u003Ctopic>.md — \u003Cquestion> (Valid-Through: \u003Cdate>)` line per Phase 3 file\n- `--from-map`: one line per RESOLVED ticket — `Ticket N: \u003Ctitle> — \u003CAnswer gist> [valid: \u003Cdate>]` (source: `[task]-map.md`)\n- Append the pointer line `Architecture View: see plan.md §13` (or `Architecture View: waived (\u003Cvalue>)`)\n\n_Last Updated: [date]_\n```\n\n**Index-enhanced (codemem by default; PROJECT_INDEX.json is codemem's fallback when present):**\nSupplement the reference with structural facts from the index:\n- Key symbols: codemem `layers()` core files + `file_summary` (fallback: `_meta.symbol_importance`, top 10)\n- File→dependency mappings for files in scope: codemem `diagram(level=\"L2\", scope=\u003Cfile>)` (fallback: `deps`)\n- Directory purposes for relevant directories: codemem `diagram(level=\"L1\")` (fallback: `dir_purposes`)\n- These provide implementing agents with architectural context they would otherwise need to discover via Grep\n\n**Step 5.4: Initialize [task]-context-log.md**\n\nCreate initial log entry:\n\n```markdown\n# [task-name] Context Log\n\n## [current-date] Initial Context\n\n**Feature Request:** [original user input]\n\n**Key Decisions:**\n- [Decision 1 from brainstorm phase]\n- [Decision 2 from research phase]\n\n**Research Findings:**\n- [Summary from Phase 3 — link each `docs\u002Fresearch\u002F\u003Cslug>-*.md` file it wrote]\n\n**Remaining Questions:**\n- [Any unresolved items]\n\n_This log will be updated via context compaction as the task progresses._\n```\n\n**Step 5.5: Create HTP Structure in [task]-tasks.md**\n\nConvert plan steps into Hierarchical Task Planning format:\n\n```markdown\n# [task-name] Tasks (HTP)\n\n## Milestone 1: [title]\n- Status: PENDING\n- Dependencies: None\n- Complexity: [%]\n- Acceptance Criteria: [from plan]\n\n### Sub-step 1.1: [action]\n- Status: PENDING\n- Result Log: [placeholder]\n\n### Sub-step 1.2: [action]\n- Status: PENDING\n- Result Log: [placeholder]\n\n## Milestone 2: [title]\n- Status: PENDING\n- Dependencies: Milestone 1\n- Complexity: [%]\n- Acceptance Criteria: [from plan]\n\n[Continue for all milestones\u002Fsteps from plan]\n```\n\nWrite `Dependencies:` in the canonical form only: `None`, `Milestone 2`,\n`Milestone 2, Milestone 3`, `Sub-step 1.1`; another plan's milestone is\n`\u003Ctask-slug> Milestone 5` (cross-plan, exempt). Then generate the **Milestone\ngraph** — derived from tasks.md, never hand-authored — append it to plan.md's\n`## 13. Architecture View`, and fix every `UNRESOLVED_DEPENDENCY` before Step 5.7:\n\n```bash\nfor _cand in \\\n  \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull)\u002Fclaude-code\u002Fhooks\u002Flib\u002Faa-ma-parse.sh\" \\\n  \"${CLAUDE_HOME:-${HOME}\u002F.claude}\u002Fhooks\u002Flib\u002Faa-ma-parse.sh\"; do\n  [[ -f \"${_cand}\" ]] && AA_MA_LIB=\"${_cand}\" && break\ndone\n# shellcheck source=\u002Fdev\u002Fnull\n. \"${AA_MA_LIB:?aa-ma-parse.sh not found — run scripts\u002Finstall.sh}\"\naa_ma_deps graph \"${TASK_DIR}\u002F${TASK_NAME}-tasks.md\"   # prints '### Milestone graph' + mermaid → append to §13\naa_ma_deps check \"${TASK_DIR}\u002F${TASK_NAME}-tasks.md\"   # UNRESOLVED_DEPENDENCY lines; exit 1 on any\n```\n\n**Step 5.6: Initialize [task]-provenance.log**\n\nCreate initial log entry:\n\n```text\n# [task-name] Provenance Log\n\n[current-timestamp] Task initialized via \u002Faa-ma-plan\n[current-timestamp] Commit: [git hash] — Phase: Planning\n[current-timestamp] AA-MA artifacts created\n```\n\n**Step 5.7: Validate Artifact Creation**\n\n```bash\n# Verify all files exist and have content\nls -lh \"${TASK_DIR}\u002F\"\nwc -l \"${TASK_DIR}\u002F\"*.md \"${TASK_DIR}\u002F\"*.log\n```\n\nCheck:\n- [ ] All 6 files present\n- [ ] plan.md has complete plan\n- [ ] reference.md has extracted facts\n- [ ] context-log.md has initial context\n- [ ] tasks.md has HTP structure\n- [ ] provenance.log has timestamps\n- [ ] verification.md present (if verification was run in Phase 4.5)\n\n**Step 5.8: Display Final Summary**\n\n```\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nPHASE 5 COMPLETE: AA-MA Artifacts Created\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nTask Directory: .claude\u002Fdev\u002Factive\u002F[task-name]\u002F\n\nFiles created:\n  ✓ [task]-plan.md         → Complete implementation plan\n  ✓ [task]-reference.md    → Immutable facts\u002Fconstants\n  ✓ [task]-context-log.md  → Decision history\n  ✓ [task]-tasks.md        → HTP roadmap\n  ✓ [task]-provenance.log  → Execution telemetry\n  ✓ [task]-verification.md  → Plan verification audit trail (if run)\n  ✓ [task]-map.md           → Charting map (only with --from-map)\n\nNext Action: [specific step from plan]\n\nTo begin implementation, load context with:\n  \u003CREFERENCE>\n  (Contents of [task]-reference.md)\n  \u003C\u002FREFERENCE>\n\n  \u003CTASKS>\n  (Contents of [task]-tasks.md)\n  \u003C\u002FTASKS>\n\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\u002Faa-ma-plan workflow complete — Ready to implement\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n```\n\n---\n\n## Error Handling & Fallbacks\n\nSee [operations.md](references\u002Foperations.md#error-handling--fallbacks) — error handling and fallbacks, token use, usage examples, related commands, time estimates and troubleshooting.\n","\u003C!-- Renamed from \u002Fultraplan to \u002Faa-ma-plan on 2026-04-06.\n     Reason: Anthropic shipped built-in \"ultraplan\" in Claude Code on 2026-04-04. -->\n\n# \u002Faa-ma-plan - AA-MA Planning Workflow\n\nComprehensive planning command that follows the Advanced Agentic Memory Architecture (AA-MA) methodology for complex software development tasks.\n\n## Purpose\n\nUse this command when you need to:\n- Plan complex features or architectural changes\n- Create structured, maintainable implementation roadmaps\n- Follow AA-MA methodology with proper artifact generation\n- Leverage superpowers skills for deep thinking and planning\n- Coordinate multi-agent workflows for parallel research\n- Optimize token usage while maintaining thorough documentation\n\n## Key Features\n\n- **Multi-input support:** Accepts selected text, inline description, or interactive prompts\n- **`--from-map \u003Ceffort> [--dry-run]`:** seed Phase 1 from a cleared `\u002Faa-ma-chart` map (ADR-0013) — Decisions so far + every Answer are pre-answered grill input; `--dry-run` prints the seed and creates nothing\n- **Structured thinking:** Uses `\u002Fsuperpowers:brainstorming` for requirement refinement\n- **Research integration:** Context7 MCP with automatic fallback, parallel agent dispatch\n- **AA-MA compliance:** Auto-generates 6 files (plan, reference, context-log, tasks, provenance, verification)\n- **Token optimized:** Concise screen output, verbose details saved to files\n- **KISS\u002FDRY\u002FSOLID:** Follows fundamental design principles from CLAUDE.md\n\n## Workflow Overview\n\n```\nPhase 1: Context Gathering    → Multi-method input + clarifications\nPhase 2: Structured Thinking  → \u002Fsuperpowers:brainstorming refinement\nPhase 3: Research & Docs      → Context7 MCP + parallel agents\nPhase 4: Plan Generation      → \u002Fsuperpowers:writing-plans\nPhase 4.5: Verification       → 6-angle adversarial plan check\nPhase 5: AA-MA Artifacts      → Create .claude\u002Fdev\u002Factive\u002F[task]\u002F\n```\n\n---\n\n## Instructions for AI\n\nRun the phases in order. Phases 0–3, 4.2 and 4.5 live in `references\u002F`: read each phase's reference before running that phase (Phase 0 writes the markers the plan-marker hook checks).\n\n### Phase 0: Runtime Log Initialization\n\nSee [phase-0-runtime-log.md](references\u002Fphase-0-runtime-log.md#phase-0-runtime-log-initialization) — derive the plan slug and write the phase markers the plan-marker hook checks.\n\n---\n\n### Phase 1: Context Gathering & Input Processing\n\nSee [phase-1-context.md](references\u002Fphase-1-context.md#phase-1-context-gathering--input-processing) — --from-map import, input detection, the grill protocol, clarifying questions and the lessons scan.\n\n---\n\n### Phase 2: Structured Thinking with Brainstorming\n\nSee [phase-2-brainstorm.md](references\u002Fphase-2-brainstorm.md#phase-2-structured-thinking-with-brainstorming) — the brainstorming pass that refines the request before research.\n\n---\n\n### Phase 3: Research & Documentation Gathering\n\nSee [phase-3-research.md](references\u002Fphase-3-research.md#phase-3-research--documentation-gathering) — Context7-first documentation research with its fallbacks, and parallel research agents.\n\n---\n\n### Phase 4: Plan Generation with AA-MA Standard\n\n**Step 4.1: Invoke Write-Plan Skill**\n\n```\nSkill: superpowers:writing-plans\n```\n\n**Step 4.2: Provide Complete Context**\n\nPass to skill:\n- Refined requirements from Phase 2\n- Research findings from Phase 3\n- AA-MA Planning Standard requirements (from CLAUDE.md)\n\nEnsure plan includes ALL 13 required elements:\n1. Executive summary (≤3 lines)\n2. Ordered stepwise implementation plan\n3. Milestones with measurable goals\n4. Acceptance criteria for each step\n5. Required artefacts for each step\n6. Tests to validate each milestone\n7. Rollback strategy for risky steps\n8. Dependencies and assumptions\n9. Effort estimate + Complexity (0-100%) per step\n10. Risks (top 3) and mitigations per milestone\n11. Next action (what to do first)\n12. Engineering Standards Declaration (which themes from `claude-code\u002Frules\u002Fengineering-standards.md` materially apply, with one-sentence rationale per theme — captured in Phase 2 Step 2.4)\n13. Architecture View (mermaid Component view; Flow view iff `Critical-Path:` present; or a canonical `Diagram-Waiver`) and a `#### Contract` block per milestone with `Audit-Profile ∈ {full, code-only, infra}`\n\n**Step 4.2b: Seed §13 from the code graph**\n\nThe Component view starts from the code, not from memory. Run one cut over every\n**existing** file the plan will `Modify` (Phase 3 found them) and paste its output under\n`### Component view` unchanged: node labels are repo paths and edges carry the quoted\n`@import` \u002F `@call` sigils, so `aa-ma-lint-views` checks each one (`PHANTOM_EDGE`). Then\nadd what does not exist yet — `(new)` nodes and the intended edges, with prose labels\n(`-->|will call|`), never a sigil. The seed is caption-free. A plan that only creates files\nskips the cut. Phase 4.5 check 8 (`aa-ma-lint-views --coverage`) flags any `Create` \u002F\n`Modify` path the view leaves undrawn.\n\n```bash\n# The aa-ma-forge checkout, from this command's installed symlink (scripts\u002Finstall.sh).\nAA_MA_ROOT=$(cd \"$(dirname \"$(readlink -f ~\u002F.claude\u002Fskills\u002Faa-ma-plan\u002FSKILL.md)\")\u002F..\u002F..\u002F..\" && pwd)\nif [[ ! -f \"${AA_MA_ROOT}\u002Fpackages\u002Fcodemem-mcp\u002Fpyproject.toml\" ]]; then\n  echo \"§13 seed unavailable: ${AA_MA_ROOT} is not an aa-ma-forge checkout (run scripts\u002Finstall.sh).\"\nelse\n  SCOPES=()\n  # One existing path per line. The quoted delimiter keeps every line literal: spaces,\n  # globs and $(...) in a file name are data, never shell.\n  while IFS= read -r f; do [[ -n \"${f}\" ]] && SCOPES+=(--scope \"${f}\"); done \u003C\u003C'PATHS'\n\u003Cone existing path per line>\nPATHS\n  if (( ${#SCOPES[@]} == 0 )); then\n    echo \"No existing path to Modify: seed skipped (a scope-less draw is the whole repo).\"\n  # Run from the project root: codemem reads the index dir it keys by this root (XDG cache).\n  elif ! uv run --project \"${AA_MA_ROOT}\" codemem draw --level L2 \"${SCOPES[@]}\" --hops 1 --direction both; then\n    # codemem has printed why (no index \u002F schema too old \u002F unreadable) on stderr.\n    echo \"§13 seed unavailable (reason above): run \\`codemem build\\` in the project root and re-seed.\"\n    echo \"An empty seed is not 'nothing to draw'.\"\n  fi\nfi\n```\n\n**Step 4.3: Validate Plan Completeness**\n\nCheck generated plan against AA-MA standard:\n- [ ] Contains all 13 required elements\n- [ ] Steps have clear acceptance criteria\n- [ ] Complexity ≥80% steps are flagged\n- [ ] Rollback strategy defined for risky changes\n- [ ] Next action is concrete and actionable\n\n**Fallback (if skill unavailable):**\n\nUse native planning prompt following the AA-MA template from CLAUDE.md:\n\n```\nYou MUST produce a thorough implementation plan following AA-MA Planning Standard.\n\nCONTEXT:\n- Feature: [refined requirements]\n- Research: [findings summary]\n- Constraints: [known limitations]\n\nProvide:\n1. Executive summary (≤3 lines)\n2. Ordered stepwise implementation plan\n3. Milestones with dates\u002Fdurations\n4. Acceptance criteria for each step\n5. Required artefacts\n6. Tests to validate\n7. Rollback strategy\n8. Dependencies and assumptions\n9. Effort (hours\u002Fdays) + Complexity (0-100%) per step\n10. Risks (top 3) + mitigations\n11. ONE Next action + which AA-MA file(s) to update\n12. Engineering Standards Declaration (themes from claude-code\u002Frules\u002Fengineering-standards.md that materially apply; one-sentence rationale each)\n13. Architecture View + Contract blocks (mermaid; spec §XI item 13; seed the Component view per Step 4.2b)\n\nFormat in Markdown for direct insertion into [task]-plan.md\n```\n\nDisplay summary:\n\n```\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nPHASE 4 COMPLETE: Plan Generated\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n✓ [N] implementation steps\n✓ [N] milestones defined\n✓ All acceptance criteria clear\n✓ Rollback strategies included\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n```\n\n---\n\n### Phase 4.2: Optional Plan Reviews (gstack integration)\n\nSee [phase-4-reviews-and-verification.md](references\u002Fphase-4-reviews-and-verification.md#phase-42-optional-plan-reviews-gstack-integration) — the optional gstack plan reviews and the adversarial verification of the generated plan.\n\n---\n\n### Phase 4.5: Adversarial Verification\n\nSee [phase-4-reviews-and-verification.md](references\u002Fphase-4-reviews-and-verification.md#phase-45-adversarial-verification) — the optional gstack plan reviews and the adversarial verification of the generated plan.\n\n---\n\n### Phase 5: AA-MA Artifact Creation\n\n**Step 5.1: Create Task Directory Structure**\n\n```bash\n# Determine task name (sanitize for filesystem)\nTASK_NAME=\"[user-provided-name-in-kebab-case]\"\nTASK_DIR=\".claude\u002Fdev\u002Factive\u002F${TASK_NAME}\"\n\n# Create directory and files\nmkdir -p \"${TASK_DIR}\"\ncd \"${TASK_DIR}\"\n\n# Create all 5 AA-MA files\ntouch \"${TASK_NAME}-plan.md\"\ntouch \"${TASK_NAME}-reference.md\"\ntouch \"${TASK_NAME}-context-log.md\"\ntouch \"${TASK_NAME}-tasks.md\"\ntouch \"${TASK_NAME}-provenance.log\"\ntouch \"${TASK_NAME}-verification.md\"\n```\n\n**`--from-map` only:** move the map in through the guard (git mv when tracked,\nmv + git add when not) and let it write the provenance line — the guard is\nthe only writer of `MAP_IMPORTED`:\n\n```bash\ncd - > \u002Fdev\u002Fnull   # back to the project root; the guard cds to the git toplevel itself\n\"$GUARD\" import \"$MAP\" \"${TASK_NAME}\" \"${TASK_DIR}\u002F${TASK_NAME}-provenance.log\" || exit 1\n# → .claude\u002Fdev\u002Factive\u002F\u003Ctask>\u002F\u003Ctask>-map.md ; provenance: [ts] MAP_IMPORTED effort=\u003Ceffort> tickets=\u003CN>\n```\n\n**Step 5.2: Populate [task]-plan.md**\n\nWrite the generated plan from Phase 4:\n\n```markdown\n# [task-name] Plan\n\n**Objective:** [1-line goal]\n**Owner:** [from git config or \"AI + User\"]\n**Created:** [current date]\n**Last Updated:** [current date]\n\n## Executive Summary\n[3-line overview from plan]\n\n## Implementation Steps\n[Full plan content with all 13 elements]\n\n## Next Action\n[Specific first step from plan]\n```\n\n**Step 5.3: Extract and Populate [task]-reference.md**\n\nParse the plan for immutable facts and write to reference:\n\n```markdown\n# [task-name] Reference\n\n## Immutable Facts and Constants\n\n[Extract from plan:]\n- API endpoints\n- File paths\n- Configuration values\n- Library versions\n- Database schemas\n- Model paths\n- Research files: one `docs\u002Fresearch\u002F\u003Cslug>-\u003Ctopic>.md — \u003Cquestion> (Valid-Through: \u003Cdate>)` line per Phase 3 file\n- `--from-map`: one line per RESOLVED ticket — `Ticket N: \u003Ctitle> — \u003CAnswer gist> [valid: \u003Cdate>]` (source: `[task]-map.md`)\n- Append the pointer line `Architecture View: see plan.md §13` (or `Architecture View: waived (\u003Cvalue>)`)\n\n_Last Updated: [date]_\n```\n\n**Index-enhanced (codemem by default; PROJECT_INDEX.json is codemem's fallback when present):**\nSupplement the reference with structural facts from the index:\n- Key symbols: codemem `layers()` core files + `file_summary` (fallback: `_meta.symbol_importance`, top 10)\n- File→dependency mappings for files in scope: codemem `diagram(level=\"L2\", scope=\u003Cfile>)` (fallback: `deps`)\n- Directory purposes for relevant directories: codemem `diagram(level=\"L1\")` (fallback: `dir_purposes`)\n- These provide implementing agents with architectural context they would otherwise need to discover via Grep\n\n**Step 5.4: Initialize [task]-context-log.md**\n\nCreate initial log entry:\n\n```markdown\n# [task-name] Context Log\n\n## [current-date] Initial Context\n\n**Feature Request:** [original user input]\n\n**Key Decisions:**\n- [Decision 1 from brainstorm phase]\n- [Decision 2 from research phase]\n\n**Research Findings:**\n- [Summary from Phase 3 — link each `docs\u002Fresearch\u002F\u003Cslug>-*.md` file it wrote]\n\n**Remaining Questions:**\n- [Any unresolved items]\n\n_This log will be updated via context compaction as the task progresses._\n```\n\n**Step 5.5: Create HTP Structure in [task]-tasks.md**\n\nConvert plan steps into Hierarchical Task Planning format:\n\n```markdown\n# [task-name] Tasks (HTP)\n\n## Milestone 1: [title]\n- Status: PENDING\n- Dependencies: None\n- Complexity: [%]\n- Acceptance Criteria: [from plan]\n\n### Sub-step 1.1: [action]\n- Status: PENDING\n- Result Log: [placeholder]\n\n### Sub-step 1.2: [action]\n- Status: PENDING\n- Result Log: [placeholder]\n\n## Milestone 2: [title]\n- Status: PENDING\n- Dependencies: Milestone 1\n- Complexity: [%]\n- Acceptance Criteria: [from plan]\n\n[Continue for all milestones\u002Fsteps from plan]\n```\n\nWrite `Dependencies:` in the canonical form only: `None`, `Milestone 2`,\n`Milestone 2, Milestone 3`, `Sub-step 1.1`; another plan's milestone is\n`\u003Ctask-slug> Milestone 5` (cross-plan, exempt). Then generate the **Milestone\ngraph** — derived from tasks.md, never hand-authored — append it to plan.md's\n`## 13. Architecture View`, and fix every `UNRESOLVED_DEPENDENCY` before Step 5.7:\n\n```bash\nfor _cand in \\\n  \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull)\u002Fclaude-code\u002Fhooks\u002Flib\u002Faa-ma-parse.sh\" \\\n  \"${CLAUDE_HOME:-${HOME}\u002F.claude}\u002Fhooks\u002Flib\u002Faa-ma-parse.sh\"; do\n  [[ -f \"${_cand}\" ]] && AA_MA_LIB=\"${_cand}\" && break\ndone\n# shellcheck source=\u002Fdev\u002Fnull\n. \"${AA_MA_LIB:?aa-ma-parse.sh not found — run scripts\u002Finstall.sh}\"\naa_ma_deps graph \"${TASK_DIR}\u002F${TASK_NAME}-tasks.md\"   # prints '### Milestone graph' + mermaid → append to §13\naa_ma_deps check \"${TASK_DIR}\u002F${TASK_NAME}-tasks.md\"   # UNRESOLVED_DEPENDENCY lines; exit 1 on any\n```\n\n**Step 5.6: Initialize [task]-provenance.log**\n\nCreate initial log entry:\n\n```text\n# [task-name] Provenance Log\n\n[current-timestamp] Task initialized via \u002Faa-ma-plan\n[current-timestamp] Commit: [git hash] — Phase: Planning\n[current-timestamp] AA-MA artifacts created\n```\n\n**Step 5.7: Validate Artifact Creation**\n\n```bash\n# Verify all files exist and have content\nls -lh \"${TASK_DIR}\u002F\"\nwc -l \"${TASK_DIR}\u002F\"*.md \"${TASK_DIR}\u002F\"*.log\n```\n\nCheck:\n- [ ] All 6 files present\n- [ ] plan.md has complete plan\n- [ ] reference.md has extracted facts\n- [ ] context-log.md has initial context\n- [ ] tasks.md has HTP structure\n- [ ] provenance.log has timestamps\n- [ ] verification.md present (if verification was run in Phase 4.5)\n\n**Step 5.8: Display Final Summary**\n\n```\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nPHASE 5 COMPLETE: AA-MA Artifacts Created\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nTask Directory: .claude\u002Fdev\u002Factive\u002F[task-name]\u002F\n\nFiles created:\n  ✓ [task]-plan.md         → Complete implementation plan\n  ✓ [task]-reference.md    → Immutable facts\u002Fconstants\n  ✓ [task]-context-log.md  → Decision history\n  ✓ [task]-tasks.md        → HTP roadmap\n  ✓ [task]-provenance.log  → Execution telemetry\n  ✓ [task]-verification.md  → Plan verification audit trail (if run)\n  ✓ [task]-map.md           → Charting map (only with --from-map)\n\nNext Action: [specific step from plan]\n\nTo begin implementation, load context with:\n  \u003CREFERENCE>\n  (Contents of [task]-reference.md)\n  \u003C\u002FREFERENCE>\n\n  \u003CTASKS>\n  (Contents of [task]-tasks.md)\n  \u003C\u002FTASKS>\n\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\u002Faa-ma-plan workflow complete — Ready to implement\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n```\n\n---\n\n## Error Handling & Fallbacks\n\nSee [operations.md](references\u002Foperations.md#error-handling--fallbacks) — error handling and fallbacks, token use, usage examples, related commands, time estimates and troubleshooting.\n",{"name":5,"description":7},"main","cd9a2962c9a7e0797fe440f7b1ba4ceccc16ae0d","claude-code\u002Fskills\u002Faa-ma-plan",1,"https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge","https:\u002F\u002Fgithub.com\u002Fsnewhouse","Data Scientist, Bioinformatician, Dad, Husband, MS warrior","2026-11-12 06:45:42",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add snewhouse\u002Faa-ma-forge --skill aa-ma-plan",{"tool":55,"command":56},"bunx","bunx skills add snewhouse\u002Faa-ma-forge --skill aa-ma-plan",{"tool":58,"command":59},"pnpm","pnpm dlx skills add snewhouse\u002Faa-ma-forge --skill aa-ma-plan","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Faa-ma-plan\u002FSKILL.md",true,[63,69,73,77,81,85],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Foperations.md","REFERENCE","参考文档",5058,"https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Faa-ma-plan\u002Freferences\u002Foperations.md",{"path":70,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fphase-0-runtime-log.md",2881,"https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Faa-ma-plan\u002Freferences\u002Fphase-0-runtime-log.md",{"path":74,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fphase-1-context.md",11088,"https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Faa-ma-plan\u002Freferences\u002Fphase-1-context.md",{"path":78,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fphase-2-brainstorm.md",4901,"https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Faa-ma-plan\u002Freferences\u002Fphase-2-brainstorm.md",{"path":82,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fphase-3-research.md",3049,"https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Faa-ma-plan\u002Freferences\u002Fphase-3-research.md",{"path":86,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fphase-4-reviews-and-verification.md",5035,"https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Faa-ma-plan\u002Freferences\u002Fphase-4-reviews-and-verification.md",[90,108,125,144,169,195],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":36},"01M6MZ588SD5DDH59H18PRNWEV","deploy-helper","You can use this to help with deploy stuff, deploying, deployments, releases, shipping, pushing to prod, going live, rollouts.","https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fevals\u002Fskill-draft\u002Fdraft\u002FSKILL.md",[],[97,98,99,100,101,23,102,103,104,30,105,106,107],"deploy","deploy helper","helper","you","live","can","rollouts","shipping","deployments","releases","help",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":112,"licenseFileUrl":113,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":36},"01M6MZ54NEKRYXGMJ1KJWYMKM7","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","MIT","https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Fwriting-for-agents\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[117,118,119,120,30,121,122,123,124],"writing","writing for agents","for","line","instructions","read","editing","documents",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":36},"01M6MZ500T0FH1G8TBSQV7G5G2","verify-plan","Slash entry for plan verification: runs plan-verification on an existing AA-MA plan, writes [task]-verification.md, and with --iterate loops until the plan converges. Use when the user types \u002Fverify-plan or wants the verification report saved.","https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Fverify-plan\u002FSKILL.md",[],[132,20,133,134,135,30,31,23,136,137,138,139,140,141,142,119,143],"verify","verify plan","loops","task","verification","report","types","plan verification","entry","iterate","Existing","saved",{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":36},"01M6MZ4V9ST4K54NT1SRBGCE7P","verify-impl","Post-impl adversarial review symmetric to \u002Fverify-plan. Dispatches up to 5 parallel audit agents (code-reviewer, security-auditor, tdd-sequence-auditor, context7-evidence-auditor, future-proofing-auditor) based on the milestone's plan-declared Audit-Profile. CRITICAL findings surface via AskUserQuestion accept\u002Fdispute\u002Fdefer panel before §7.3 user authorization. Introduced in v0.8.0 per ADR-0005. Invoked by Phase 6.8 of \u002Fexecute-aa-ma-milestone.","https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Fverify-impl\u002FSKILL.md",[],[151,152,132,153,154,155,156,157,158,159,160,161,162,163,164,20,165,166,167,168],"impl","verify impl","adversarial","post","panel","via","critical","review","context7","up","evidence","reviewer","parallel","adr","audit","code","tdd","milestone",{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":173,"categories":174,"keywords":175,"publishedAt":36},"01M6MZ4K7CC9PMJ1KEY3F53RS1","understand-codebase","Onboard to a new, inherited, or shared codebase. Read it, understand it, map it, and learn its conventions, versioning, tests, tech stack, rules (AGENTS.md \u002F CLAUDE.md \u002F .cursorrules \u002F etc.), build\u002Frun\u002FCI, integrations, security posture, and repo health — then produce an honest pros\u002Fcons verdict, a \"contribute safely\" playbook, and an \"add a feature\" playbook, written to ONBOARDING.md at the repo root plus a .claude\u002Fonboarding\u002F set of deep-dives — and optionally author an AGENTS.md if one is missing, or review and propose improvements to an existing one. Tiered (Quick \u002F Standard \u002F Deep). Reuses codemem (index + diagrams), gsd-map-codebase, system-mapping, code-intelligence, impact-analysis rather than re-implementing them; Deep tier runs a TeamCreate agent-team. Keywords: new codebase, shared codebase, inherited code, onboard, understand this repo, how do I contribute, how do I add a feature, ramp up, get oriented, ONBOARDING.md, AGENTS.md, codebase walkthrough, joining a project.","https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Funderstand-codebase\u002FSKILL.md",[],[176,177,178,160,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194],"understand codebase","codebase","understand","walkthrough","analysis","SET","ci","learn","diagrams","repo health","implementing","re","quick","impact","get","project","deep","shared","map",{"skillNo":196,"name":197,"nameZh":6,"description":198,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":199,"categories":200,"keywords":201,"publishedAt":36},"01M6MZ4D1ZC8MTW064QXY6WC76","token-compression","Output token compression for AA-MA workflows. Reduces response tokens by 40-75% while preserving full technical accuracy. Three intensity levels mapped to execution modes: lite (HITL), full (general), ultra (AFK). Auto-activates during AA-MA execution based on task Mode field. Manual activation via \u002Fcompress lite|full|ultra.","https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Ftoken-compression\u002FSKILL.md",[],[202,203,204,205,206,207,208,119,209,210,156,211,212,213,214,135,215,216,217,218],"compression","token compression","token","workflows","output","modes","accuracy","mode","manual","intensity","tokens","hitl","three","general","auto","technical","execution"]