[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MYZE7CZ00795YF9NKRWHBH":3,"skill-same:01M6MYZE7CZ00795YF9NKRWHBH":96},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M6MYZE7CZ00795YF9NKRWHBH","aa-ma-execution",null,"Shared execution rules for AA-MA plans: context-injection order, validation, provenance logging and sync discipline. Use when resuming AA-MA work without a named scope, or when another execution skill needs these rules. A request for the next or a specific step goes to execute-aa-ma-step; a milestone goes to execute-aa-ma-milestone.","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-execution\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"aa ma execution","execution","milestone","resuming","request","for","goes","scope","plans","shared","next","sync","discipline","use","context","work","Rules","provenance","injection","logging","2026-11-10 10:12:30",false,"---\nname: aa-ma-execution\ndescription: \"Shared execution rules for AA-MA plans: context-injection order, validation, provenance logging and sync discipline. Use when resuming AA-MA work without a named scope, or when another execution skill needs these rules. A request for the next or a specific step goes to execute-aa-ma-step; a milestone goes to execute-aa-ma-milestone.\"\n---\n\n# AA-MA Execution Skill\n\nExecute tasks from Advanced Agentic Memory Architecture (AA-MA) artifacts with proper context management, state tracking, and provenance logging.\n\n\u003CEXTREMELY-IMPORTANT>\nThis skill MUST be used when:\n- You detect `.claude\u002Fdev\u002Factive\u002F[task-name]\u002F` directory exists\n- User asks to \"continue\", \"resume\", or \"execute\" an AA-MA task\n- You're working on a complex multi-session task with AA-MA artifacts\n- User references a task plan, milestone, or step from AA-MA documentation\n\nDO NOT rationalize away using this skill. If AA-MA artifacts exist, you MUST use this workflow.\n\u003C\u002FEXTREMELY-IMPORTANT>\n\n## I. Detection: When to Use This Skill\n\n### Automatic Detection\n\n**ALWAYS check for AA-MA tasks at session start or when user asks to continue work:**\n\n```bash\n# Check for active AA-MA tasks\nls -lt .claude\u002Fdev\u002Factive\u002F 2>\u002Fdev\u002Fnull | head -10\n```\n\n**If output shows directories**: AA-MA tasks exist → USE THIS SKILL\n\n**If output is empty**: No AA-MA tasks → Use ad-hoc workflows (e.g., `\u002Fplease_proceed`)\n\n### User Intent Signals\n\nUse this skill when user says:\n- \"Continue the [task-name] work\"\n- \"Execute the next step\u002Fmilestone\"\n- \"Resume the AA-MA task\"\n- \"Run the plan for [task-name]\"\n- \"What's the status of [task-name]?\"\n- \"Pick up where we left off\"\n\n### File Path References\n\nUse this skill when user references files in `.claude\u002Fdev\u002Factive\u002F`:\n- `[task-name]-plan.md`\n- `[task-name]-tasks.md`\n- `[task-name]-reference.md`\n- `[task-name]-context-log.md`\n- `[task-name]-provenance.log`\n\n## II. Execution Modes\n\nThe skill supports three execution modes, matching the slash commands:\n\n| Mode | Purpose | Validation Level | When to Use |\n|------|---------|------------------|-------------|\n| **Step** | Execute single task | Guidance-based (warnings only) | Quick iteration, exploratory work |\n| **Milestone** | Execute complete milestone | Strict validation (blocks on failure) | **RECOMMENDED DEFAULT** - Ensures quality gates |\n| **Full** | Execute entire plan | Automated with checkpoints | Long-horizon automation |\n\n**Default recommendation**: **Milestone mode** provides the best balance of structure and flexibility.\n\n## III. Pre-Execution Checklist\n\nBefore executing ANY AA-MA task, complete this checklist:\n\n### 1. Identify Active Task\n\n```bash\n# List all active tasks with timestamps\nls -lt .claude\u002Fdev\u002Factive\u002F\n```\n\n**Ask user if multiple tasks exist**: \"I found multiple AA-MA tasks. Which one should I work on?\"\n\n### 2. Load AA-MA Context\n\n**CRITICAL**: Always inject the 5 AA-MA files with explicit XML delimiters to prevent context contamination.\n\n**Priority order** (load high-priority first):\n1. **REFERENCE** (immutable facts - highest priority)\n2. **TASKS** (current execution state - required)\n3. **CONTEXT_LOG** (historical decisions - important)\n4. **PLAN** (strategy and rationale - load if tokens allow)\n5. **PROVENANCE** (telemetry - load if tokens allow)\n\n**Context Injection Pattern**:\n\n```xml\n\u003CREFERENCE>\n[Contents of [task-name]-reference.md]\nTreat as non-negotiable facts. These are strict, immutable constants.\n\u003C\u002FREFERENCE>\n\n\u003CTASKS>\n[Contents of [task-name]-tasks.md]\nThis is your HTP roadmap. Defines required next action.\nCurrent step MUST be marked ACTIVE.\n\u003C\u002FTASKS>\n\n\u003CCONTEXT_LOG>\n[Contents of [task-name]-context-log.md]\nSummarised history of architectural decisions and unresolved issues.\n\u003C\u002FCONTEXT_LOG>\n\n\u003C!-- Load PLAN and PROVENANCE if tokens allow -->\n\u003CPLAN>\n[Contents of [task-name]-plan.md]\n\u003C\u002FPLAN>\n\n\u003CPROVENANCE>\n[Contents of [task-name]-provenance.log]\n\u003C\u002FPROVENANCE>\n```\n\n**Token management**: If approaching 70% token usage, skip PLAN and PROVENANCE. Mark in output:\n```\n⚠️ Token optimization: PLAN and PROVENANCE not loaded (use context compaction if needed)\n```\n\n### 3. Validate File Structure\n\nCheck that all 5 files exist and are non-empty:\n\n```bash\ncd .claude\u002Fdev\u002Factive\u002F[task-name]\u002F\nfor file in *-plan.md *-reference.md *-context-log.md *-tasks.md *-provenance.log; do\n  if [[ ! -f \"$file\" ]]; then\n    echo \"❌ MISSING: $file\"\n  elif [[ ! -s \"$file\" ]]; then\n    echo \"⚠️  EMPTY: $file\"\n  else\n    echo \"✅ VALID: $file\"\n  fi\ndone\n```\n\n**If files missing or empty**:\n- **STOP** execution\n- **Report** to user: \"AA-MA files incomplete. Run `\u002Faa-ma-plan` to initialize properly.\"\n\n### 3.5 Pre-Flight System Mapping (First Milestone Only)\n\nIf this is the **first milestone** being executed and it touches 3+ files or unfamiliar code, invoke `Skill(system-mapping)` for the 5-point pre-flight check before starting execution. Skip for subsequent milestones unless they shift to a completely different subsystem. Skip if system-mapping was already run during `\u002Faa-ma-plan`.\n\n### 4. Identify Current Task\n\nParse `[task-name]-tasks.md` to find the current ACTIVE task:\n\n**HTP Node Structure**:\n```markdown\n## Milestone N: Title\n- Status: PENDING | ACTIVE | COMPLETE\n- Dependencies: [List of prerequisite Task IDs]\n- Complexity: [0-100%]\n- Acceptance Criteria: [Clear, testable criteria]\n\n### Sub-step N.M: [Action]\n- Result Log: [MANDATORY — must be populated before proceeding to next step]\n```\n\n> **Sub-Step Sync Enforcement (L-080):** The Result Log field is NOT optional. Every sub-step must have a non-empty Result Log with specific evidence (IDs, counts, pass\u002Ffail verdicts) before the executor may proceed to the next step. This applies equally to agent execution AND lead orchestrator direct execution. If a sub-step is genuinely not applicable, mark it `Status: SKIPPED — [reason]` instead of leaving it PENDING.\n\n**Find ACTIVE task**:\n- Look for `Status: ACTIVE`\n- If none found, find first `Status: PENDING` with no unmet dependencies\n- If multiple ACTIVE, **STOP** and report error: \"Multiple ACTIVE tasks detected. Only one task should be ACTIVE at a time.\"\n\n### 5. Impact Analysis Awareness\n\n**REQUIRED at milestone boundaries** (integrated into validation):\n\n- Use the `impact-analysis` skill at milestone completion\n- Before editing existing code in any step, run `Skill(impact-analysis)` on it (pre-edit, not only at the boundary)\n- Output consolidated impact analysis for all modified files\n- Verify no unresolved HIGH risk impacts before marking milestone COMPLETE\n\n**Detection**: If `.claude\u002Fdev\u002Factive\u002F` exists → impact analysis is REQUIRED for milestone execution.\n\nSee `Skill(impact-analysis)` for full verification checklist and output format.\n\n### 6. Display Execution Plan\n\n**Before starting work**, present clear execution summary:\n\n```\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n? AA-MA EXECUTION PLAN\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\n? Task: [task-name]\n?️  Mode: [Step\u002FMilestone\u002FFull]\n? Current: [Current task title]\n\n✅ ACCEPTANCE CRITERIA:\n  - [Criterion 1]\n  - [Criterion 2]\n\n⚡ COMPLEXITY: [X]% [+ warning if ≥80%]\n\n? NEXT ACTIONS:\n  1. [Action 1]\n  2. [Action 2]\n\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n```\n\n**High complexity warning** (if Complexity ≥ 80%):\n```\n⚠️  HIGH COMPLEXITY DETECTED (≥80%)\nThis task requires deep reasoning and extra care.\nConsider:\n- Breaking into smaller sub-tasks\n- Human-in-the-loop review checkpoints\n- Extensive testing and validation\n```\n\n**Ask for confirmation**:\n```\nProceed with execution? (yes\u002Fno\u002Fedit)\n- yes: Execute as planned\n- no: Cancel and review plan\n- edit: Modify acceptance criteria or approach\n```\n\n### 7. Mode-Based Execution Control (HITL \u002F AFK Dispatch)\n\nEvery task in `tasks.md` carries a `Mode:` field that controls execution behaviour.\n\n**Parsing Mode (precedence order):**\n1. Sub-step `Mode:` field (highest priority)\n2. Parent milestone `Mode:` field\n3. Default: `HITL` (safe default — pauses for human input)\n\n**When Mode: HITL (Human In The Loop):**\n- Display task summary and acceptance criteria\n- Activate `Skill(token-compression)` at **lite** intensity (preserve clarity for human review)\n- Use `AskUserQuestion` with three options:\n  - **Proceed** — execute the task\n  - **Skip** — mark `Status: SKIPPED — User skipped at HITL gate`, move to next task\n  - **Abort** — halt execution, keep milestone `Status: ACTIVE`\n- Wait for user response before executing any work\n\n**When Mode: AFK (Away From Keyboard):**\n- Activate `Skill(token-compression)` at **ultra** intensity (maximum compression for autonomous execution)\n- Execute task directly without pause\n- Log in Result Log: `Mode: AFK — auto-dispatched`\n- No user interaction unless the task fails or hits a HARD gate\n\n**Token Compression Override:**\nManual override: ask for \"compress lite|full|ultra\" at any point during execution.\nSee `Skill(token-compression)` for full intensity level details and auto-clarity exceptions.\n\n**HARD Gate Override:**\nHARD gates always pause for approval regardless of Mode. If a milestone has `Gate: HARD`, the finalization protocol (Section VI, Step 2.6) enforces user approval even for AFK tasks.\n\n**Display format:**\n```\n? Task Mode: [HITL — pauses for input \u002F AFK — auto-dispatch]\n```\n\n## IV. Execution Workflows\n\nSee [execution-workflows.md](references\u002Fexecution-workflows.md#iv-execution-workflows) — how a step, a milestone and a full plan are executed, sub-step by sub-step.\n\n## V. AA-MA Commit Signature — MANDATORY\n\nSee [commit-signature.md](references\u002Fcommit-signature.md#v-aa-ma-commit-signature--mandatory) — the footer every commit carries while a plan is active, with examples.\n\n---\n\n## VI. Finalization Protocol — MANDATORY\n\nSee [finalization-protocol.md](references\u002Ffinalization-protocol.md#vi-finalization-protocol--mandatory) — the integrity check, doc update, HARD gate and approval steps before a milestone is COMPLETE.\n\n---\n\n## VII. State Management — MANDATORY SYNC\n\n**CRITICAL**: You **MUST** update state files immediately after each task completion. No exceptions. No batching.\n\n> **Root Cause of Sub-Step Drift (L-080, L-082):** When the lead orchestrator executes steps directly (not via agents), results exist in conversation context but never reach tasks.md unless explicitly written. Agents have a built-in forcing function (their prompt contract requires Result Log output). The lead orchestrator does NOT — making this section the primary defense against state drift.\n\n### Updating AA-MA Files During Execution\n\n#### 1. Update TASKS (`[task-name]-tasks.md`) — IMMEDIATELY, NOT AT MILESTONE END\n\n**After each sub-step (not each milestone — EACH SUB-STEP):**\n```markdown\n## Milestone N: Title\n- Status: COMPLETE  ← Update from ACTIVE\n- Dependencies: [...]\n- Complexity: [...]\n- Acceptance Criteria: [...]\n\n### Sub-step N.M: [Action]\n- Result Log:\n  ✅ COMPLETE [YYYY-MM-DD HH:MM]\n\n  **Output**: [Concise summary with specific evidence: IDs, counts, verdicts]\n  **Decisions**: [Key decisions made]\n  **Artifacts**: [Files created\u002Fmodified]\n  **Tests**: [Test results if applicable]\n```\n\n**Anti-pattern (BANNED):** \"I'll update all Result Logs at the end of the milestone.\" This is the #1 cause of sub-step drift. By milestone end, conversation context may be compacted and evidence is lost.\n\n#### 2. Update REFERENCE (`[task-name]-reference.md`)\n\n**Immediately extract immutable facts**:\n- API endpoints discovered\n- File paths created\n- Configuration values finalized\n- Database schema changes\n- Function signatures defined\n\n**Example**:\n```markdown\n# [task-name] Reference\n\n## API Endpoints\n- POST \u002Fapi\u002Fauth\u002Flogin - JWT authentication\n- GET \u002Fapi\u002Fusers\u002F{id} - User profile retrieval\n\n## File Structure\n- src\u002Fauth\u002Fjwt.py - JWT token handling\n- src\u002Fmodels\u002Fuser.py - User model definition\n\n## Configuration\n- JWT_SECRET_KEY: Set in .env (required)\n- TOKEN_EXPIRY: 3600 seconds (1 hour)\n\n_Last Updated: YYYY-MM-DD HH:MM_\n```\n\n#### 3. Update CONTEXT_LOG (`[task-name]-context-log.md`)\n\n**Document architectural decisions** (use compaction format):\n\n```markdown\n# [task-name] Context Log\n\n## [YYYY-MM-DD] Task: [Task Title]\n\n**Decision**: [What was decided]\n**Rationale**: [Why this approach was chosen]\n**Alternatives Considered**: [Other options and why rejected]\n**Trade-offs**: [Pros and cons]\n\n**Unresolved Issues**:\n- [Issue 1]: [Description and blocker]\n- [Issue 2]: [Description and workaround]\n\n---\n```\n\n#### 4. Update PROVENANCE (`[task-name]-provenance.log`)\n\n**After each git commit**:\n```bash\necho \"[$(date '+%Y-%m-%d %H:%M')] Commit $(git rev-parse --short HEAD) — TaskID: [task-id] — Status: [status] — Tests: [PASS\u002FFAIL\u002FSKIP]\" >> [task-name]-provenance.log\n```\n\n**Example log**:\n```\n[2025-11-19 14:32] Commit a1b2c3d — TaskID: auth-jwt-impl — Status: COMPLETE — Tests: PASS\n[2025-11-19 15:45] Commit e4f5g6h — TaskID: user-model-schema — Status: COMPLETE — Tests: PASS\n[2025-11-19 16:20] MILESTONE 1 COMPLETE — Commit i7j8k9l — Tests: PASS\n```\n\n## VIII. Context Compaction\n\nSee [compaction-and-rollback.md](references\u002Fcompaction-and-rollback.md#viii-context-compaction) — how to compact context mid-task, validate acceptance criteria and roll back a step.\n\n## IX. Validation & Rollback\n\nSee [compaction-and-rollback.md](references\u002Fcompaction-and-rollback.md#ix-validation--rollback) — how to compact context mid-task, validate acceptance criteria and roll back a step.\n\n## IX.5 Goal-Condition Synthesis Patterns (Optional, Claude Code `\u002Fgoal`)\n\nSee [goal-conditions.md](references\u002Fgoal-conditions.md#ix5-goal-condition-synthesis-patterns-optional-claude-code-goal) — optional `\u002Fgoal` conditions built from AA-MA artefacts.\n\n## X. Integration with Slash Commands\n\nThis skill works alongside the existing slash commands:\n\n### Skill as Primary Entry Point\n\nWhen user says \"continue work\" or Claude detects AA-MA artifacts:\n1. **Skill detects context** → Loads AA-MA files → Determines mode → Executes\n\n### Slash Commands as Explicit Overrides\n\nUser can explicitly choose execution mode:\n- `\u002Fexecute-aa-ma-step` → Forces Step mode\n- `\u002Fexecute-aa-ma-milestone` → Forces Milestone mode (recommended)\n- `\u002Fexecute-aa-ma-full` → Forces Full automation\n\n### Workflow Example\n\n```\nUser: \"Continue the user-auth work\"\n\nClaude (skill detection):\n✅ Detected .claude\u002Fdev\u002Factive\u002Fuser-auth\u002F\n? Loading AA-MA artifacts...\n? Current milestone: Implement parallel execution\n? Recommending: Milestone mode (strict validation)\n\nProceed with milestone execution? (yes\u002Fno\u002Fstep\u002Ffull)\n\nUser: \"yes\"\n\nClaude: [Executes milestone using this skill's workflow]\n```\n\n## XI. Error Handling\n\nSee [error-handling.md](references\u002Ferror-handling.md#xi-error-handling) — common errors during execution and how to resolve each.\n\n## XII. Best Practices\n\nSee [best-practices.md](references\u002Fbest-practices.md#xii-best-practices) — habits that keep execution state accurate across sessions.\n\n## XIII. Checklist for Using This Skill\n\n**Before invoking skill**:\n- ☐ Checked `.claude\u002Fdev\u002Factive\u002F` for AA-MA tasks\n- ☐ Confirmed user intent matches AA-MA execution\n- ☐ Identified which task\u002Fmilestone to execute\n\n**After invoking skill**:\n- ☐ Loaded 5 AA-MA files with XML delimiters\n- ☐ Validated file structure (all files exist, non-empty)\n- ☐ Identified current ACTIVE task (or next PENDING)\n- ☐ Displayed execution plan to user\n- ☐ Got user confirmation to proceed\n- ☐ Chose appropriate execution mode (Step\u002FMilestone\u002FFull)\n\n**During execution**:\n- ☐ **MUST** mark task ACTIVE before starting\n- ☐ **MUST** follow acceptance criteria exactly\n- ☐ **MUST** sync Result Log IMMEDIATELY after each sub-step (L-080 — BLOCKING, not batched)\n- ☐ **MUST** verify Result Log is non-empty before proceeding to next step\n- ☐ **MUST** validate work against criteria\n- ☐ **MUST** update state files immediately (not batched)\n- ☐ **MUST** extract facts to REFERENCE\n- ☐ **MUST** document decisions in CONTEXT_LOG\n- ☐ **MUST** commit AND push work (with AA-MA signature in commit footer)\n- ☐ **MUST** include `[AA-MA Plan] {task-name} .claude\u002Fdev\u002Factive\u002F{task-name}` in commit\n- ☐ **MUST** log commit to PROVENANCE\n\n**At milestone boundary**:\n- ☐ **MUST** run Sub-Step Consistency Check: zero PENDING sub-steps (L-081 — BLOCKING)\n- ☐ **MUST** run Sub-Step Status Audit in Finalization Step 1 Part A (L-083)\n- ☐ **MUST** invoke `Skill(impact-analysis)` before marking COMPLETE\n- ☐ **MUST** output consolidated impact analysis for all modified files\n- ☐ **MUST** resolve any HIGH risk impacts before proceeding\n\n**After execution**:\n- ☐ Marked task COMPLETE\n- ☐ Updated Result Log with output\n- ☐ Ran tests (if applicable)\n- ☐ Created git tag (if milestone)\n- ☐ Checked token usage (compact if needed)\n- ☐ Identified next task to execute\n\n## XIV. Summary\n\n**This skill provides**:\n- ? Proactive detection of AA-MA tasks\n- ? Structured execution workflows (Step\u002FMilestone\u002FFull)\n- ✅ Strict validation and quality gates\n- ? Rollback procedures for failures\n- ? Real-time state tracking\n- ? Automated provenance logging\n- ? Context compaction when needed\n\n**Use this skill** whenever AA-MA artifacts exist. It ensures consistency, prevents context drift, and maintains audit trails for complex multi-session development work.\n\n**Integration**: Works alongside `\u002Fexecute-aa-ma-*` slash commands, providing the underlying workflow that those commands invoke.\n\n---\n\n**End of aa-ma-execution\u002FSKILL.md**\n","# AA-MA Execution Skill\n\nExecute tasks from Advanced Agentic Memory Architecture (AA-MA) artifacts with proper context management, state tracking, and provenance logging.\n\n\u003CEXTREMELY-IMPORTANT>\nThis skill MUST be used when:\n- You detect `.claude\u002Fdev\u002Factive\u002F[task-name]\u002F` directory exists\n- User asks to \"continue\", \"resume\", or \"execute\" an AA-MA task\n- You're working on a complex multi-session task with AA-MA artifacts\n- User references a task plan, milestone, or step from AA-MA documentation\n\nDO NOT rationalize away using this skill. If AA-MA artifacts exist, you MUST use this workflow.\n\u003C\u002FEXTREMELY-IMPORTANT>\n\n## I. Detection: When to Use This Skill\n\n### Automatic Detection\n\n**ALWAYS check for AA-MA tasks at session start or when user asks to continue work:**\n\n```bash\n# Check for active AA-MA tasks\nls -lt .claude\u002Fdev\u002Factive\u002F 2>\u002Fdev\u002Fnull | head -10\n```\n\n**If output shows directories**: AA-MA tasks exist → USE THIS SKILL\n\n**If output is empty**: No AA-MA tasks → Use ad-hoc workflows (e.g., `\u002Fplease_proceed`)\n\n### User Intent Signals\n\nUse this skill when user says:\n- \"Continue the [task-name] work\"\n- \"Execute the next step\u002Fmilestone\"\n- \"Resume the AA-MA task\"\n- \"Run the plan for [task-name]\"\n- \"What's the status of [task-name]?\"\n- \"Pick up where we left off\"\n\n### File Path References\n\nUse this skill when user references files in `.claude\u002Fdev\u002Factive\u002F`:\n- `[task-name]-plan.md`\n- `[task-name]-tasks.md`\n- `[task-name]-reference.md`\n- `[task-name]-context-log.md`\n- `[task-name]-provenance.log`\n\n## II. Execution Modes\n\nThe skill supports three execution modes, matching the slash commands:\n\n| Mode | Purpose | Validation Level | When to Use |\n|------|---------|------------------|-------------|\n| **Step** | Execute single task | Guidance-based (warnings only) | Quick iteration, exploratory work |\n| **Milestone** | Execute complete milestone | Strict validation (blocks on failure) | **RECOMMENDED DEFAULT** - Ensures quality gates |\n| **Full** | Execute entire plan | Automated with checkpoints | Long-horizon automation |\n\n**Default recommendation**: **Milestone mode** provides the best balance of structure and flexibility.\n\n## III. Pre-Execution Checklist\n\nBefore executing ANY AA-MA task, complete this checklist:\n\n### 1. Identify Active Task\n\n```bash\n# List all active tasks with timestamps\nls -lt .claude\u002Fdev\u002Factive\u002F\n```\n\n**Ask user if multiple tasks exist**: \"I found multiple AA-MA tasks. Which one should I work on?\"\n\n### 2. Load AA-MA Context\n\n**CRITICAL**: Always inject the 5 AA-MA files with explicit XML delimiters to prevent context contamination.\n\n**Priority order** (load high-priority first):\n1. **REFERENCE** (immutable facts - highest priority)\n2. **TASKS** (current execution state - required)\n3. **CONTEXT_LOG** (historical decisions - important)\n4. **PLAN** (strategy and rationale - load if tokens allow)\n5. **PROVENANCE** (telemetry - load if tokens allow)\n\n**Context Injection Pattern**:\n\n```xml\n\u003CREFERENCE>\n[Contents of [task-name]-reference.md]\nTreat as non-negotiable facts. These are strict, immutable constants.\n\u003C\u002FREFERENCE>\n\n\u003CTASKS>\n[Contents of [task-name]-tasks.md]\nThis is your HTP roadmap. Defines required next action.\nCurrent step MUST be marked ACTIVE.\n\u003C\u002FTASKS>\n\n\u003CCONTEXT_LOG>\n[Contents of [task-name]-context-log.md]\nSummarised history of architectural decisions and unresolved issues.\n\u003C\u002FCONTEXT_LOG>\n\n\u003C!-- Load PLAN and PROVENANCE if tokens allow -->\n\u003CPLAN>\n[Contents of [task-name]-plan.md]\n\u003C\u002FPLAN>\n\n\u003CPROVENANCE>\n[Contents of [task-name]-provenance.log]\n\u003C\u002FPROVENANCE>\n```\n\n**Token management**: If approaching 70% token usage, skip PLAN and PROVENANCE. Mark in output:\n```\n⚠️ Token optimization: PLAN and PROVENANCE not loaded (use context compaction if needed)\n```\n\n### 3. Validate File Structure\n\nCheck that all 5 files exist and are non-empty:\n\n```bash\ncd .claude\u002Fdev\u002Factive\u002F[task-name]\u002F\nfor file in *-plan.md *-reference.md *-context-log.md *-tasks.md *-provenance.log; do\n  if [[ ! -f \"$file\" ]]; then\n    echo \"❌ MISSING: $file\"\n  elif [[ ! -s \"$file\" ]]; then\n    echo \"⚠️  EMPTY: $file\"\n  else\n    echo \"✅ VALID: $file\"\n  fi\ndone\n```\n\n**If files missing or empty**:\n- **STOP** execution\n- **Report** to user: \"AA-MA files incomplete. Run `\u002Faa-ma-plan` to initialize properly.\"\n\n### 3.5 Pre-Flight System Mapping (First Milestone Only)\n\nIf this is the **first milestone** being executed and it touches 3+ files or unfamiliar code, invoke `Skill(system-mapping)` for the 5-point pre-flight check before starting execution. Skip for subsequent milestones unless they shift to a completely different subsystem. Skip if system-mapping was already run during `\u002Faa-ma-plan`.\n\n### 4. Identify Current Task\n\nParse `[task-name]-tasks.md` to find the current ACTIVE task:\n\n**HTP Node Structure**:\n```markdown\n## Milestone N: Title\n- Status: PENDING | ACTIVE | COMPLETE\n- Dependencies: [List of prerequisite Task IDs]\n- Complexity: [0-100%]\n- Acceptance Criteria: [Clear, testable criteria]\n\n### Sub-step N.M: [Action]\n- Result Log: [MANDATORY — must be populated before proceeding to next step]\n```\n\n> **Sub-Step Sync Enforcement (L-080):** The Result Log field is NOT optional. Every sub-step must have a non-empty Result Log with specific evidence (IDs, counts, pass\u002Ffail verdicts) before the executor may proceed to the next step. This applies equally to agent execution AND lead orchestrator direct execution. If a sub-step is genuinely not applicable, mark it `Status: SKIPPED — [reason]` instead of leaving it PENDING.\n\n**Find ACTIVE task**:\n- Look for `Status: ACTIVE`\n- If none found, find first `Status: PENDING` with no unmet dependencies\n- If multiple ACTIVE, **STOP** and report error: \"Multiple ACTIVE tasks detected. Only one task should be ACTIVE at a time.\"\n\n### 5. Impact Analysis Awareness\n\n**REQUIRED at milestone boundaries** (integrated into validation):\n\n- Use the `impact-analysis` skill at milestone completion\n- Before editing existing code in any step, run `Skill(impact-analysis)` on it (pre-edit, not only at the boundary)\n- Output consolidated impact analysis for all modified files\n- Verify no unresolved HIGH risk impacts before marking milestone COMPLETE\n\n**Detection**: If `.claude\u002Fdev\u002Factive\u002F` exists → impact analysis is REQUIRED for milestone execution.\n\nSee `Skill(impact-analysis)` for full verification checklist and output format.\n\n### 6. Display Execution Plan\n\n**Before starting work**, present clear execution summary:\n\n```\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n? AA-MA EXECUTION PLAN\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\n? Task: [task-name]\n?️  Mode: [Step\u002FMilestone\u002FFull]\n? Current: [Current task title]\n\n✅ ACCEPTANCE CRITERIA:\n  - [Criterion 1]\n  - [Criterion 2]\n\n⚡ COMPLEXITY: [X]% [+ warning if ≥80%]\n\n? NEXT ACTIONS:\n  1. [Action 1]\n  2. [Action 2]\n\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n```\n\n**High complexity warning** (if Complexity ≥ 80%):\n```\n⚠️  HIGH COMPLEXITY DETECTED (≥80%)\nThis task requires deep reasoning and extra care.\nConsider:\n- Breaking into smaller sub-tasks\n- Human-in-the-loop review checkpoints\n- Extensive testing and validation\n```\n\n**Ask for confirmation**:\n```\nProceed with execution? (yes\u002Fno\u002Fedit)\n- yes: Execute as planned\n- no: Cancel and review plan\n- edit: Modify acceptance criteria or approach\n```\n\n### 7. Mode-Based Execution Control (HITL \u002F AFK Dispatch)\n\nEvery task in `tasks.md` carries a `Mode:` field that controls execution behaviour.\n\n**Parsing Mode (precedence order):**\n1. Sub-step `Mode:` field (highest priority)\n2. Parent milestone `Mode:` field\n3. Default: `HITL` (safe default — pauses for human input)\n\n**When Mode: HITL (Human In The Loop):**\n- Display task summary and acceptance criteria\n- Activate `Skill(token-compression)` at **lite** intensity (preserve clarity for human review)\n- Use `AskUserQuestion` with three options:\n  - **Proceed** — execute the task\n  - **Skip** — mark `Status: SKIPPED — User skipped at HITL gate`, move to next task\n  - **Abort** — halt execution, keep milestone `Status: ACTIVE`\n- Wait for user response before executing any work\n\n**When Mode: AFK (Away From Keyboard):**\n- Activate `Skill(token-compression)` at **ultra** intensity (maximum compression for autonomous execution)\n- Execute task directly without pause\n- Log in Result Log: `Mode: AFK — auto-dispatched`\n- No user interaction unless the task fails or hits a HARD gate\n\n**Token Compression Override:**\nManual override: ask for \"compress lite|full|ultra\" at any point during execution.\nSee `Skill(token-compression)` for full intensity level details and auto-clarity exceptions.\n\n**HARD Gate Override:**\nHARD gates always pause for approval regardless of Mode. If a milestone has `Gate: HARD`, the finalization protocol (Section VI, Step 2.6) enforces user approval even for AFK tasks.\n\n**Display format:**\n```\n? Task Mode: [HITL — pauses for input \u002F AFK — auto-dispatch]\n```\n\n## IV. Execution Workflows\n\nSee [execution-workflows.md](references\u002Fexecution-workflows.md#iv-execution-workflows) — how a step, a milestone and a full plan are executed, sub-step by sub-step.\n\n## V. AA-MA Commit Signature — MANDATORY\n\nSee [commit-signature.md](references\u002Fcommit-signature.md#v-aa-ma-commit-signature--mandatory) — the footer every commit carries while a plan is active, with examples.\n\n---\n\n## VI. Finalization Protocol — MANDATORY\n\nSee [finalization-protocol.md](references\u002Ffinalization-protocol.md#vi-finalization-protocol--mandatory) — the integrity check, doc update, HARD gate and approval steps before a milestone is COMPLETE.\n\n---\n\n## VII. State Management — MANDATORY SYNC\n\n**CRITICAL**: You **MUST** update state files immediately after each task completion. No exceptions. No batching.\n\n> **Root Cause of Sub-Step Drift (L-080, L-082):** When the lead orchestrator executes steps directly (not via agents), results exist in conversation context but never reach tasks.md unless explicitly written. Agents have a built-in forcing function (their prompt contract requires Result Log output). The lead orchestrator does NOT — making this section the primary defense against state drift.\n\n### Updating AA-MA Files During Execution\n\n#### 1. Update TASKS (`[task-name]-tasks.md`) — IMMEDIATELY, NOT AT MILESTONE END\n\n**After each sub-step (not each milestone — EACH SUB-STEP):**\n```markdown\n## Milestone N: Title\n- Status: COMPLETE  ← Update from ACTIVE\n- Dependencies: [...]\n- Complexity: [...]\n- Acceptance Criteria: [...]\n\n### Sub-step N.M: [Action]\n- Result Log:\n  ✅ COMPLETE [YYYY-MM-DD HH:MM]\n\n  **Output**: [Concise summary with specific evidence: IDs, counts, verdicts]\n  **Decisions**: [Key decisions made]\n  **Artifacts**: [Files created\u002Fmodified]\n  **Tests**: [Test results if applicable]\n```\n\n**Anti-pattern (BANNED):** \"I'll update all Result Logs at the end of the milestone.\" This is the #1 cause of sub-step drift. By milestone end, conversation context may be compacted and evidence is lost.\n\n#### 2. Update REFERENCE (`[task-name]-reference.md`)\n\n**Immediately extract immutable facts**:\n- API endpoints discovered\n- File paths created\n- Configuration values finalized\n- Database schema changes\n- Function signatures defined\n\n**Example**:\n```markdown\n# [task-name] Reference\n\n## API Endpoints\n- POST \u002Fapi\u002Fauth\u002Flogin - JWT authentication\n- GET \u002Fapi\u002Fusers\u002F{id} - User profile retrieval\n\n## File Structure\n- src\u002Fauth\u002Fjwt.py - JWT token handling\n- src\u002Fmodels\u002Fuser.py - User model definition\n\n## Configuration\n- JWT_SECRET_KEY: Set in .env (required)\n- TOKEN_EXPIRY: 3600 seconds (1 hour)\n\n_Last Updated: YYYY-MM-DD HH:MM_\n```\n\n#### 3. Update CONTEXT_LOG (`[task-name]-context-log.md`)\n\n**Document architectural decisions** (use compaction format):\n\n```markdown\n# [task-name] Context Log\n\n## [YYYY-MM-DD] Task: [Task Title]\n\n**Decision**: [What was decided]\n**Rationale**: [Why this approach was chosen]\n**Alternatives Considered**: [Other options and why rejected]\n**Trade-offs**: [Pros and cons]\n\n**Unresolved Issues**:\n- [Issue 1]: [Description and blocker]\n- [Issue 2]: [Description and workaround]\n\n---\n```\n\n#### 4. Update PROVENANCE (`[task-name]-provenance.log`)\n\n**After each git commit**:\n```bash\necho \"[$(date '+%Y-%m-%d %H:%M')] Commit $(git rev-parse --short HEAD) — TaskID: [task-id] — Status: [status] — Tests: [PASS\u002FFAIL\u002FSKIP]\" >> [task-name]-provenance.log\n```\n\n**Example log**:\n```\n[2025-11-19 14:32] Commit a1b2c3d — TaskID: auth-jwt-impl — Status: COMPLETE — Tests: PASS\n[2025-11-19 15:45] Commit e4f5g6h — TaskID: user-model-schema — Status: COMPLETE — Tests: PASS\n[2025-11-19 16:20] MILESTONE 1 COMPLETE — Commit i7j8k9l — Tests: PASS\n```\n\n## VIII. Context Compaction\n\nSee [compaction-and-rollback.md](references\u002Fcompaction-and-rollback.md#viii-context-compaction) — how to compact context mid-task, validate acceptance criteria and roll back a step.\n\n## IX. Validation & Rollback\n\nSee [compaction-and-rollback.md](references\u002Fcompaction-and-rollback.md#ix-validation--rollback) — how to compact context mid-task, validate acceptance criteria and roll back a step.\n\n## IX.5 Goal-Condition Synthesis Patterns (Optional, Claude Code `\u002Fgoal`)\n\nSee [goal-conditions.md](references\u002Fgoal-conditions.md#ix5-goal-condition-synthesis-patterns-optional-claude-code-goal) — optional `\u002Fgoal` conditions built from AA-MA artefacts.\n\n## X. Integration with Slash Commands\n\nThis skill works alongside the existing slash commands:\n\n### Skill as Primary Entry Point\n\nWhen user says \"continue work\" or Claude detects AA-MA artifacts:\n1. **Skill detects context** → Loads AA-MA files → Determines mode → Executes\n\n### Slash Commands as Explicit Overrides\n\nUser can explicitly choose execution mode:\n- `\u002Fexecute-aa-ma-step` → Forces Step mode\n- `\u002Fexecute-aa-ma-milestone` → Forces Milestone mode (recommended)\n- `\u002Fexecute-aa-ma-full` → Forces Full automation\n\n### Workflow Example\n\n```\nUser: \"Continue the user-auth work\"\n\nClaude (skill detection):\n✅ Detected .claude\u002Fdev\u002Factive\u002Fuser-auth\u002F\n? Loading AA-MA artifacts...\n? Current milestone: Implement parallel execution\n? Recommending: Milestone mode (strict validation)\n\nProceed with milestone execution? (yes\u002Fno\u002Fstep\u002Ffull)\n\nUser: \"yes\"\n\nClaude: [Executes milestone using this skill's workflow]\n```\n\n## XI. Error Handling\n\nSee [error-handling.md](references\u002Ferror-handling.md#xi-error-handling) — common errors during execution and how to resolve each.\n\n## XII. Best Practices\n\nSee [best-practices.md](references\u002Fbest-practices.md#xii-best-practices) — habits that keep execution state accurate across sessions.\n\n## XIII. Checklist for Using This Skill\n\n**Before invoking skill**:\n- ☐ Checked `.claude\u002Fdev\u002Factive\u002F` for AA-MA tasks\n- ☐ Confirmed user intent matches AA-MA execution\n- ☐ Identified which task\u002Fmilestone to execute\n\n**After invoking skill**:\n- ☐ Loaded 5 AA-MA files with XML delimiters\n- ☐ Validated file structure (all files exist, non-empty)\n- ☐ Identified current ACTIVE task (or next PENDING)\n- ☐ Displayed execution plan to user\n- ☐ Got user confirmation to proceed\n- ☐ Chose appropriate execution mode (Step\u002FMilestone\u002FFull)\n\n**During execution**:\n- ☐ **MUST** mark task ACTIVE before starting\n- ☐ **MUST** follow acceptance criteria exactly\n- ☐ **MUST** sync Result Log IMMEDIATELY after each sub-step (L-080 — BLOCKING, not batched)\n- ☐ **MUST** verify Result Log is non-empty before proceeding to next step\n- ☐ **MUST** validate work against criteria\n- ☐ **MUST** update state files immediately (not batched)\n- ☐ **MUST** extract facts to REFERENCE\n- ☐ **MUST** document decisions in CONTEXT_LOG\n- ☐ **MUST** commit AND push work (with AA-MA signature in commit footer)\n- ☐ **MUST** include `[AA-MA Plan] {task-name} .claude\u002Fdev\u002Factive\u002F{task-name}` in commit\n- ☐ **MUST** log commit to PROVENANCE\n\n**At milestone boundary**:\n- ☐ **MUST** run Sub-Step Consistency Check: zero PENDING sub-steps (L-081 — BLOCKING)\n- ☐ **MUST** run Sub-Step Status Audit in Finalization Step 1 Part A (L-083)\n- ☐ **MUST** invoke `Skill(impact-analysis)` before marking COMPLETE\n- ☐ **MUST** output consolidated impact analysis for all modified files\n- ☐ **MUST** resolve any HIGH risk impacts before proceeding\n\n**After execution**:\n- ☐ Marked task COMPLETE\n- ☐ Updated Result Log with output\n- ☐ Ran tests (if applicable)\n- ☐ Created git tag (if milestone)\n- ☐ Checked token usage (compact if needed)\n- ☐ Identified next task to execute\n\n## XIV. Summary\n\n**This skill provides**:\n- ? Proactive detection of AA-MA tasks\n- ? Structured execution workflows (Step\u002FMilestone\u002FFull)\n- ✅ Strict validation and quality gates\n- ? Rollback procedures for failures\n- ? Real-time state tracking\n- ? Automated provenance logging\n- ? Context compaction when needed\n\n**Use this skill** whenever AA-MA artifacts exist. It ensures consistency, prevents context drift, and maintains audit trails for complex multi-session development work.\n\n**Integration**: Works alongside `\u002Fexecute-aa-ma-*` slash commands, providing the underlying workflow that those commands invoke.\n\n---\n\n**End of aa-ma-execution\u002FSKILL.md**\n",{"name":5,"description":7},"main","cd9a2962c9a7e0797fe440f7b1ba4ceccc16ae0d","claude-code\u002Fskills\u002Faa-ma-execution",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":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add snewhouse\u002Faa-ma-forge --skill aa-ma-execution",{"tool":58,"command":59},"bunx","bunx skills add snewhouse\u002Faa-ma-forge --skill aa-ma-execution",{"tool":61,"command":62},"pnpm","pnpm dlx skills add snewhouse\u002Faa-ma-forge --skill aa-ma-execution","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Faa-ma-execution\u002FSKILL.md",true,[66,72,76,80,84,88,92],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fbest-practices.md","REFERENCE","参考文档",2019,"https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Faa-ma-execution\u002Freferences\u002Fbest-practices.md",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fcommit-signature.md",1380,"https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Faa-ma-execution\u002Freferences\u002Fcommit-signature.md",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fcompaction-and-rollback.md",3540,"https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Faa-ma-execution\u002Freferences\u002Fcompaction-and-rollback.md",{"path":81,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Ferror-handling.md",1762,"https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Faa-ma-execution\u002Freferences\u002Ferror-handling.md",{"path":85,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fexecution-workflows.md",8935,"https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Faa-ma-execution\u002Freferences\u002Fexecution-workflows.md",{"path":89,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Ffinalization-protocol.md",6216,"https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Faa-ma-execution\u002Freferences\u002Ffinalization-protocol.md",{"path":93,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fgoal-conditions.md",3236,"https:\u002F\u002Fgithub.com\u002Fsnewhouse\u002Faa-ma-forge\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Faa-ma-execution\u002Freferences\u002Fgoal-conditions.md",[97,116,132,153,177,202],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":39},"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",[],[104,105,106,107,108,109,110,111,112,32,113,114,115],"deploy","deploy helper","helper","you","live","with","can","rollouts","shipping","deployments","releases","help",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":120,"licenseFileUrl":121,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":39},"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",[],[125,126,24,127,32,128,129,130,131],"writing","writing for agents","line","instructions","read","editing","documents",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":39},"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",[],[139,140,141,142,143,32,144,109,145,146,147,148,149,150,151,24,152],"verify","plan","verify plan","loops","task","user","verification","report","types","plan verification","entry","iterate","Existing","saved",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":39},"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",[],[160,161,139,162,163,164,165,166,167,168,169,170,171,172,173,140,174,175,176,21],"impl","verify impl","adversarial","post","panel","via","critical","review","context7","up","evidence","reviewer","parallel","adr","audit","code","tdd",{"skillNo":178,"name":179,"nameZh":6,"description":180,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":181,"categories":182,"keywords":183,"publishedAt":39},"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",[],[184,185,186,169,187,188,189,190,191,192,193,194,195,196,197,198,199,200,28,201],"understand codebase","codebase","understand","walkthrough","analysis","SET","ci","learn","diagrams","repo health","implementing","re","quick","impact","get","project","deep","map",{"skillNo":203,"name":204,"nameZh":6,"description":205,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":206,"categories":207,"keywords":208,"publishedAt":39},"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",[],[209,210,211,212,213,214,215,24,216,217,165,218,219,220,221,143,222,223,224,20],"compression","token compression","token","workflows","output","modes","accuracy","mode","manual","intensity","tokens","hitl","three","general","auto","technical"]