ワンクリックで
uw-complete
Use after uw-verify to fix all gaps found. Reads gaps.md and adds missing documentation.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use after uw-verify to fix all gaps found. Reads gaps.md and adds missing documentation.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use after unwind:uw-plan to EXECUTE the rebuild — interview the user about scope/order/target, dispatch technology-agnostic per-layer builder agents that reproduce the [MUST] contracts in the target stack, hold rebuild state in a local file, and maintain a source→target verification graph that measures completeness. Supports a loop-until-verified mode.
Use to visually explore the rebuild knowledge graph. Builds and launches the Unwind dashboard (React + React Flow + ELK) pointed at docs/unwind/rebuild-graph.json with coverage, priority, and contract views.
Optional. Publish the Unwind dashboard to the scanned project's GitHub Pages gh-pages branch so it's viewable at https://<owner>.github.io/<repo>/unwind/. Builds the dashboard at the correct sub-path and commits it into an `unwind/` subdir — never blatting an existing gh-pages branch. Confirms the target, then pushes.
Use when dispatched by unwind:uw-build to rebuild ONE layer/slice of a codebase in the target stack. Technology-agnostic builder that reproduces the layer's [MUST] contracts (API surface, data model, business rules) as idiomatic target-stack code and records the source→target mapping for verification.
Use when starting any reverse engineering task - establishes how to find and use Unwind skills for codebase analysis, service mapping, and documentation
Use after layer analysis is complete to interview the user about the rebuild strategy (target stack, what to keep vs rebuild, phasing, risk) and generate a data-grounded REBUILD-PLAN.md that records those decisions.
| name | uw-complete |
| description | Use after uw-verify to fix all gaps found. Reads gaps.md and adds missing documentation. |
| allowed-tools | ["Read","Grep","Glob","Bash(mkdir:*, ls:*)","Write(docs/unwind/**)","Edit(docs/unwind/**)","Task"] |
Purpose: Process gaps.md files and add all missing documentation to layer files.
Input: docs/unwind/layers/{layer}/gaps.md from verification step
Output: Updated section files with gaps filled
Anchor ids matter.
gaps.md(when generated by the deterministic verifier) lists an Id for each missing item. Document it with the anchor-id heading format so re-verification matches and the coverage loop converges:### <name> [MUST|SHOULD|DON'T] <!-- id: <Id from gaps.md> -->If an item should NOT be in the rebuild, move it to an
## Excludedsection with a one-line reason instead of documenting it (see analysis-principles.md 16).
For each layer, read docs/unwind/layers/{layer}/gaps.md to get:
For each layer with gaps, dispatch an agent to fix them:
Task(subagent_type="general-purpose")
description: "Complete [layer] documentation gaps"
prompt: |
Read docs/unwind/layers/{layer}/gaps.md for the work list.
For each MISSING item:
1. Read the source file at the specified location
2. Document the item following analysis-principles.md
3. Add to the specified section file using the anchor-id heading:
### <name> [MUST/SHOULD/DON'T] <!-- id: <Id from gaps.md> -->
4. Copy the gaps.md Id verbatim so re-verification matches
For each INACCURACY:
1. Read the source file
2. Fix the documentation to match actual code
For each UNCATEGORIZED item:
1. Add appropriate [MUST/SHOULD/DON'T] tag
Link format: [from architecture.md]
After completion:
- Update index.md with correct counts
- Delete gaps.md (work complete)
After agents complete, check that:
Complete the documentation gaps for the {LAYER} layer.
## Work List
Read: docs/unwind/layers/{layer}/gaps.md
## Source Linking
Use this format: {link_format from architecture.md}
## For Each Missing Item
1. Read source at the specified location
2. Document following the layer's format (see uw-analyze-{layer} skill)
3. Add to the correct section file
4. Include [MUST/SHOULD/DON'T] tag as specified
## For Each Inaccuracy
1. Read source at the specified location
2. Edit the documentation to match actual code
## For Each Uncategorized Item
1. Find the item in the section file
2. Add the appropriate tag based on:
- MUST: Core functionality, business logic, external contracts
- SHOULD: Valuable patterns, good practices
- DON'T: Tech-specific implementation details
## When Complete
1. Update index.md with accurate counts
2. Delete gaps.md to signal completion
Layers can be completed in parallel - no dependencies between layer completions:
Task(subagent_type="general-purpose", description="Complete database gaps")
Task(subagent_type="general-purpose", description="Complete service-layer gaps")
Task(subagent_type="general-purpose", description="Complete api gaps")
... (all in parallel)
Input gaps.md:
# Database Documentation Gaps
## Missing Items
### audit_logs table
- **Type:** table
- **Location:** src/schema.ts:412-445
- **Category:** SHOULD
- **Section:** schema.md
Agent actions:
src/schema.ts:412-445schema.md:### audit_logs [SHOULD]
```sql
CREATE TABLE audit_logs (
id SERIAL PRIMARY KEY,
...
);
| Column | Type | Nullable | Default | Constraints |
|---|---|---|---|---|
| id | SERIAL | NO | auto | PRIMARY KEY |
| ... |
4. Update index.md table count
5. Delete gaps.md
## Handling Large Gap Lists
If a layer has many gaps (20+):
- Process incrementally - write after each item
- Don't buffer all changes
- This prevents token exhaustion
## After Completion — continue or pause?
When all gaps are filled (every `gaps.md` deleted), re-verify to prove the coverage
loop converged before moving on.
**Use AskUserQuestion** to ask whether to continue:
- **Re-verify coverage** *(recommended)* — confirm 100%, then proceed to planning.
- **Pause here** — stop and resume later.
Act in the same turn:
- **Continue** → invoke `unwind:uw-verify` (and, once 100%, `unwind:uw-plan`).
- **Pause** → tell them how to resume: *"Run `unwind:uw-verify` (type `/uw-verify`) to re-check coverage."*
> **Pipeline:** scan → analyze → verify → **complete ✓** → plan → dashboard.