[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6E0NKAM06ZMM6SKYVQAM87Z":3,"skill-same:01M6E0NKAM06ZMM6SKYVQAM87Z":79},{"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":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":14,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":52,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M6E0NKAM06ZMM6SKYVQAM87Z","parallel-phases",null,"Execute phased plans with multiple independent tasks per phase by fanning out one agent per task,\nreconciling outcomes per wave, gating between phases with verify commands, and emitting a phase × outcome report.\nTriggers include \"execute this plan\", \"work through these phases\", \"swarm over this backlog\", \"parallelize this plan\".","LucasSantana-Dev\u002Fforgekit","LucasSantana-Dev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F98131142?v=4","01M6E038X8H7VE9GCEJP9PT5CA","Lucas Santana","01M6E0391WB0JYZTWXEBR9WSXA",1,"MIT","https:\u002F\u002Fgithub.com\u002FLucasSantana-Dev\u002Fforgekit\u002Fblob\u002Fmain\u002Fpackages\u002Fcatalog\u002Fcatalog\u002Fskills\u002Fparallel-phases\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"parallel","parallel phases","tasks","report","verify","plan","swarm","work","execute","outcome","outcomes","task","backlog","commands","plans","triggers","2026-11-10 10:12:30",false,"---\nname: parallel-phases\ndescription: |\n  Execute phased plans with multiple independent tasks per phase by fanning out one agent per task,\n  reconciling outcomes per wave, gating between phases with verify commands, and emitting a phase × outcome report.\n  Triggers include \"execute this plan\", \"work through these phases\", \"swarm over this backlog\", \"parallelize this plan\".\ntriggers:\n  - execute this plan\n  - work through these phases\n  - swarm over this backlog\n  - parallelize this plan\n  - fan out per task\n---\n\n# Parallel Phases\n\n## What It Does\n\nComposite skill that executes a multi-phase plan with ≥3 total tasks or ≥2 per-phase tasks by dispatching one agent per task per wave, reconciling outcomes after each wave, enforcing phase gates (type-check, test, build), and emitting a final phase × task × result report.\n\nReplaces: sequential walk-throughs of markdown plans, manual `parallel-investigate` + write loops, hand-rolled reconciliation tables.\n\n## When to Use\n\n- Plans with ≥3 independent tasks total OR ≥2 tasks in a single phase\n- Tasks involve write-work (code edits, issue closure, releases, PR merges) — not read-only investigation\n- You want to avoid sequential execution bottleneck + manual outcome tracking\n- Source: `.claude\u002Fplans\u002F*.md` (markdown with phases + tasks), GitHub issues (via `--from-issues \"\u003Cquery>\"`), or inline prompt with structured tasks\n\n## When NOT to Use\n\n- Pure read-only investigation → use `parallel-investigate`\n- Single task per phase → use sequential workflow or `loop`\n- Task dependencies are complex, tightly coupled, or unknown → use `orchestrate` for routing\n\n## Core Patterns\n\n**Wave-based fan-out & reconciliation:**\n1. **Phase 0** — RAG pre-flight: query knowledge graph for cached similar runs (skip if fresh run confirmed)\n2. **Phase 1** — Ingest: parse plan source into structured `phases[]` with task metadata (id, scope, dependencies, specialist, model tier)\n3. **Phase 2** — DAG analysis: assign tasks to waves using Kahn's algorithm; conflict-guard demotes tasks overlapping file scope to later waves\n4. **Phase 2.5** — Critic gate: adversarial read-only review of wave assignments for deadlocks, missed file overlaps, underestimated scope\n5. **Phase 3** — Pre-snapshot: capture repo state baseline (SHA, branch, issue\u002FPR counts, release tags)\n6. **Phase 4** — Per-phase execution: for each wave, dispatch ALL agents concurrently, reconcile per-wave (status map), run phase gate (typecheck\u002Ftest\u002Fbuild), advance or stop\n7. **Phase 5** — Post-snapshot: capture end state, compute deltas\n8. **Phase 6** — Reconciliation: emit phase × task × result table, state changes, deferred\u002Fblocked tasks, gate pass rate, handoff\n\n**Per-wave reconciliation status:**\n- `DONE` → advance\n- `DONE_WITH_CONCERNS` → advance unless correctness concerns\n- `NEEDS_CONTEXT` → re-dispatch ONCE with context; if repeats, mark `BLOCKED`\n- `BLOCKED` → stop phase, write handoff\n\n**Conflict resolution:** If two agents in same wave touch same file, keep smaller-task-id change; demote other to fix-wave at phase end.\n\n## Rules\n\n1. Do NOT fan out write-agents over the same file\u002Fbranch in one wave without `--worktrees` (use conflict-guard + worktrees to isolate)\n2. Do NOT skip per-wave reconciliation — all agents must return before next wave dispatches\n3. Do NOT advance past a failed phase gate (red typecheck\u002Ftest\u002Fbuild halts the phase)\n4. Do NOT inherit parent chat history into sub-agent prompts (context isolation enforced)\n5. Phase gates auto-detect: `package.json` → npm run typecheck && npm test; `Cargo.toml` → cargo check && cargo test; `pyproject.toml` + pytest → pytest -q\n\n## Related Skills\n\n- `parallel-investigate` — read-only fan-out (use when no writes)\n- `orchestrate` — meta-router; chains to this skill when ≥3 independent tasks\n- `loop` — sequential when tasks share state\n- `three-man-team` — single feature (architect\u002Fbuilder\u002Freviewer)\n- `subagent-driven-development` — sequential same-session execution\n- `repo-state-snapshot` — integrated into phases 3 & 5\n- `verify-before-done` — optional stricter post-phase gate\n","# Parallel Phases\n\n## What It Does\n\nComposite skill that executes a multi-phase plan with ≥3 total tasks or ≥2 per-phase tasks by dispatching one agent per task per wave, reconciling outcomes after each wave, enforcing phase gates (type-check, test, build), and emitting a final phase × task × result report.\n\nReplaces: sequential walk-throughs of markdown plans, manual `parallel-investigate` + write loops, hand-rolled reconciliation tables.\n\n## When to Use\n\n- Plans with ≥3 independent tasks total OR ≥2 tasks in a single phase\n- Tasks involve write-work (code edits, issue closure, releases, PR merges) — not read-only investigation\n- You want to avoid sequential execution bottleneck + manual outcome tracking\n- Source: `.claude\u002Fplans\u002F*.md` (markdown with phases + tasks), GitHub issues (via `--from-issues \"\u003Cquery>\"`), or inline prompt with structured tasks\n\n## When NOT to Use\n\n- Pure read-only investigation → use `parallel-investigate`\n- Single task per phase → use sequential workflow or `loop`\n- Task dependencies are complex, tightly coupled, or unknown → use `orchestrate` for routing\n\n## Core Patterns\n\n**Wave-based fan-out & reconciliation:**\n1. **Phase 0** — RAG pre-flight: query knowledge graph for cached similar runs (skip if fresh run confirmed)\n2. **Phase 1** — Ingest: parse plan source into structured `phases[]` with task metadata (id, scope, dependencies, specialist, model tier)\n3. **Phase 2** — DAG analysis: assign tasks to waves using Kahn's algorithm; conflict-guard demotes tasks overlapping file scope to later waves\n4. **Phase 2.5** — Critic gate: adversarial read-only review of wave assignments for deadlocks, missed file overlaps, underestimated scope\n5. **Phase 3** — Pre-snapshot: capture repo state baseline (SHA, branch, issue\u002FPR counts, release tags)\n6. **Phase 4** — Per-phase execution: for each wave, dispatch ALL agents concurrently, reconcile per-wave (status map), run phase gate (typecheck\u002Ftest\u002Fbuild), advance or stop\n7. **Phase 5** — Post-snapshot: capture end state, compute deltas\n8. **Phase 6** — Reconciliation: emit phase × task × result table, state changes, deferred\u002Fblocked tasks, gate pass rate, handoff\n\n**Per-wave reconciliation status:**\n- `DONE` → advance\n- `DONE_WITH_CONCERNS` → advance unless correctness concerns\n- `NEEDS_CONTEXT` → re-dispatch ONCE with context; if repeats, mark `BLOCKED`\n- `BLOCKED` → stop phase, write handoff\n\n**Conflict resolution:** If two agents in same wave touch same file, keep smaller-task-id change; demote other to fix-wave at phase end.\n\n## Rules\n\n1. Do NOT fan out write-agents over the same file\u002Fbranch in one wave without `--worktrees` (use conflict-guard + worktrees to isolate)\n2. Do NOT skip per-wave reconciliation — all agents must return before next wave dispatches\n3. Do NOT advance past a failed phase gate (red typecheck\u002Ftest\u002Fbuild halts the phase)\n4. Do NOT inherit parent chat history into sub-agent prompts (context isolation enforced)\n5. Phase gates auto-detect: `package.json` → npm run typecheck && npm test; `Cargo.toml` → cargo check && cargo test; `pyproject.toml` + pytest → pytest -q\n\n## Related Skills\n\n- `parallel-investigate` — read-only fan-out (use when no writes)\n- `orchestrate` — meta-router; chains to this skill when ≥3 independent tasks\n- `loop` — sequential when tasks share state\n- `three-man-team` — single feature (architect\u002Fbuilder\u002Freviewer)\n- `subagent-driven-development` — sequential same-session execution\n- `repo-state-snapshot` — integrated into phases 3 & 5\n- `verify-before-done` — optional stricter post-phase gate\n",{"name":5,"triggers":40,"description":46},[41,42,43,44,45],"execute this plan","work through these phases","swarm over this backlog","parallelize this plan","fan out per task","Execute phased plans with multiple independent tasks per phase by fanning out one agent per task,\nreconciling outcomes per wave, gating between phases with verify commands, and emitting a phase × outcome report.\nTriggers include \"execute this plan\", \"work through these phases\", \"swarm over this backlog\", \"parallelize this plan\".\n","main","4081c4af3adf7955205b04e1f4a7eb3cebaea9f6","packages\u002Fcatalog\u002Fcatalog\u002Fskills\u002Fparallel-phases","https:\u002F\u002Fgithub.com\u002FLucasSantana-Dev\u002Fforgekit","https:\u002F\u002Fgithub.com\u002FLucasSantana-Dev","https:\u002F\u002Flucassantana.tech","Senior engineer. AI agent tooling and evals on Node\u002FTS backends. Brazil, UTC-3.","2026-11-14 10:13:13",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add LucasSantana-Dev\u002Fforgekit --skill parallel-phases",{"tool":61,"command":62},"bunx","bunx skills add LucasSantana-Dev\u002Fforgekit --skill parallel-phases",{"tool":64,"command":65},"pnpm","pnpm dlx skills add LucasSantana-Dev\u002Fforgekit --skill parallel-phases","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLucasSantana-Dev\u002Fforgekit\u002Fblob\u002Fmain\u002Fpackages\u002Fcatalog\u002Fcatalog\u002Fskills\u002Fparallel-phases\u002FSKILL.md",true,[69,75],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"manifest.json","REFERENCE","参考文档",835,"https:\u002F\u002Fgithub.com\u002FLucasSantana-Dev\u002Fforgekit\u002Fblob\u002Fmain\u002Fpackages\u002Fcatalog\u002Fcatalog\u002Fskills\u002Fparallel-phases\u002Fmanifest.json",{"path":76,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":77,"sourceHtmlUrl":78},"SKILL.meta.json",143,"https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Farchive\u002Flegacy_pillars\u002F20_content_strategy\u002F08_media_production\u002Fimage_production\u002Fskills\u002Flighting-mood-systems\u002FSKILL.meta.json",[80,107,133,154,163,180],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":35},"01M6WR9SQGQ5WDEJY9HH3T93E8","token-audit","Audit historical Claude Code token usage from JSONL session files — shows total spend, cache hit rates, top costly sessions, weekly trends, and where tokens are going. Run after heavy sessions or weekly to measure optimization impact. Answers how many tokens a session used, how expensive was that session, session cost, and token usage report.","https:\u002F\u002Fgithub.com\u002FLucasSantana-Dev\u002Fforgekit\u002Fblob\u002Fmain\u002Fpackages\u002Fcatalog\u002Fcatalog\u002Fskills\u002Fadt-token-audit\u002FSKILL.md",[],[87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106],"audit","token","token audit","session","rate","weekly","top","usage","jsonl","usage report","impact","tokens","files","cost","how","Optimization","cache","code","run","sessions",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":35},"01M6WR919T3NGWMZ5R5XKWX9KN","smart-model-route","Auto-classify prompt complexity via Haiku (with heuristic fallback) and inject model routing hints for Agent tool calls. Wired as a UserPromptSubmit hook — fires on every prompt, routes low tasks to Haiku, standard to Sonnet, complex to Sonnet with thorough reasoning, and critical (security\u002Farch\u002Fmigrations) to Opus. Handles model selection, for example choose model by task complexity.","https:\u002F\u002Fgithub.com\u002FLucasSantana-Dev\u002Fforgekit\u002Fblob\u002Fmain\u002Fpackages\u002Fcatalog\u002Fcatalog\u002Fskills\u002Fadt-smart-model-route\u002FSKILL.md",[],[114,115,116,117,118,119,21,120,121,122,123,124,125,126,127,128,129,130,131,132],"smart model route","route","model route","model","security","model selection","critical","arch","classify","selection","fallback","complexity","auto","opus","haiku","choose","hook","agent tool","sonnet",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":35},"01M6WR8TMGS9G79DFTX0K1ZA8T","smart-commands","Decision guide for when to proactively use Claude Code slash commands — \u002Fthink, \u002Fmodel, \u002Fcompact, \u002Fclear. Use when choosing whether to invoke a command before or during a task, or when a complexity-classifier hook has flagged a task as high or critical. Pairs with the complexity-classifier UserPromptSubmit hook. Answers when to compact, should I switch models, and whether to use extended thinking. Use to pick the right \u002Fmodel command and switch model.","https:\u002F\u002Fgithub.com\u002FLucasSantana-Dev\u002Fforgekit\u002Fblob\u002Fmain\u002Fpackages\u002Fcatalog\u002Fcatalog\u002Fskills\u002Fadt-smart-commands\u002FSKILL.md",[],[140,32,141,142,143,144,130,120,145,146,147,148,125,149,150,151,152,153,117,104],"smart commands","when","as","use","for","compact","thinking","switch","classifier","invoke","guide","command","decision","pick",{"skillNo":155,"name":156,"nameZh":6,"description":6,"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":35},"01M6E0ZGQ78S4SE6X6RCN1PR9A","spec-ship","https:\u002F\u002Fgithub.com\u002FLucasSantana-Dev\u002Fforgekit\u002Fblob\u002Fmain\u002Fpackages\u002Fcore\u002Fkit\u002Fspecs\u002Fskills\u002Fspec-ship\u002FSKILL.md",[],[160,161,162],"spec","ship","spec ship",{"skillNo":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":167,"categories":168,"keywords":169,"publishedAt":35},"01M6E0ZD27S87Z954JTHECWG34","spec-new","Create a committed per-feature spec under `docs\u002Fspecs\u002FYYYY-MM-DD-\u003Cslug>\u002F{spec,tasks}.md` with frontmatter (status, created, owner, pr, tags). Promotes an ephemeral `.claude\u002Fplans\u002F\u003Cname>.md` into a persistent, searchable artifact. Use when starting a feature that's larger than a one-shot PR.","https:\u002F\u002Fgithub.com\u002FLucasSantana-Dev\u002Fforgekit\u002Fblob\u002Fmain\u002Fpackages\u002Fcore\u002Fkit\u002Fspecs\u002Fskills\u002Fspec-new\u002FSKILL.md",[],[170,160,171,143,172,173,21,174,175,176,177,178,179,33],"spec new","artifact","dd","create","pr","status","docs","feature","tags","name",{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":35},"01M6E0Z9B5YE1G4NM05JPNVWMK","roadmap-refresh","Regenerate `docs\u002Froadmap.md` for a repo from all specs under `docs\u002Fspecs\u002F` + their frontmatter (status, tags, pr). Produces Now\u002FNext\u002FRecently-shipped sections. Run after creating \u002F shipping a spec, or at the start of a new session for orientation.","https:\u002F\u002Fgithub.com\u002FLucasSantana-Dev\u002Fforgekit\u002Fblob\u002Fmain\u002Fpackages\u002Fcore\u002Fkit\u002Fspecs\u002Fskills\u002Froadmap-refresh\u002FSKILL.md",[],[187,188,189,190,178,191,90,192,193,194,195,105,174,175,176,160],"roadmap refresh","roadmap","refresh","next","now","repo","new session","start","shipping"]