원클릭으로
docs-audit-fix
Fixes documentation issues on isolated worktrees with PRs. Processes issues from docs-audit-scan in parallel where possible.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Fixes documentation issues on isolated worktrees with PRs. Processes issues from docs-audit-scan in parallel where possible.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Verifies features and decisions align with project constitution. Use when evaluating new features, resolving design conflicts, or ensuring constitutional compliance.
For use when a new issue/task has been identified and needs to be formally captured using the Wingman MCP issue management system. Use this skill to create new issues via the issues_create MCP tool with appropriate metadata and structured content.
Develops project constitutional principles through Socratic questioning. Use when establishing design values, creating project governance, or resolving ambiguous design decisions.
Reviews documentation fix PRs for completeness and accuracy against their source issues. Acts as a quality gate before merge.
Parallelized documentation audit that scans for completeness, accuracy, consistency, and staleness, then creates implementation-ready fix issues.
Perform comprehensive project housekeeping - update roadmap, reconcile issues with implementation reality, organize completed work, and identify drift. This is a workflow skill that coordinates multiple parallel subagents for efficiency. Use when user says something like "run housekeeping", "do your housekeeping" or "clean up project state".
| name | docs-audit-fix |
| description | Fixes documentation issues on isolated worktrees with PRs. Processes issues from docs-audit-scan in parallel where possible. |
<required_context>
gh CLI installed and authenticatedissues_get (with include_body: true), issues_update, issues_link_pr</required_context>
<available_agent_types>
This is a workflow skill -- it coordinates fix subagents dispatched to isolated worktrees.
</available_agent_types>
Why sequential: Need to understand issue contents and determine parallelism before dispatching.
Task: Read all scan issues, group by independence, and determine batching strategy.
Approach:
1.1 Fetch Issues
issue_ids input to get the list of issue IDsissues_get MCP tool (with include_body: true)1.2 Analyze Independence
Determine which issues can be fixed in parallel:
Build a dependency graph:
Issue A: touches docs/01-architecture/overview.md -> Batch 1
Issue B: touches packages/gateway/README.md -> Batch 2
Issue C: touches docs/01-architecture/overview.md -> Batch 1 (same file as A)
Issue D: touches packages/tui/AGENTS.md -> Batch 3
1.3 Create Batches
Group issues into batches where:
Output: Ordered list of batches, each containing issue IDs and affected file paths.
Why parallel: Independent batches have no file conflicts and can safely run on separate worktrees.
Task: Dispatch fix agents for independent batches simultaneously.
For each batch of independent issues, dispatch a fix subagent via the Task tool. All independent batch dispatches should be in a single message for true parallelism.
Each fix agent receives these instructions:
Fix Agent Instructions:
Create isolated worktree:
git worktree add ../worktree-batch-<batch_number> -b docs/fix-batch-<batch_number>-<short_description>
All subsequent steps (edits, commits, pushes) are performed inside the worktree directory (../worktree-batch-<batch_number>).
For each issue in the batch:
Validate changes:
Commit with conventional message (from within the worktree):
git commit -m "docs: [concise description of changes]"
Use a single commit per batch. If a batch has diverse changes, use a commit body:
docs: fix documentation issues from audit
- Fix broken paths in architecture overview
- Update API parameter docs for MCP tools
- Add missing README for gateway package
Push and create PR (from within the worktree):
git push -u origin docs/fix-batch-<batch_number>-<short_description>
gh pr create --title "docs: fix [description]" --body "Fixes documentation issues found by docs-audit-scan.
## Issues Addressed
- #<issue_1> - <title>
- #<issue_2> - <title>
## Changes
- <change 1>
- <change 2>
Closes #<issue_1>, closes #<issue_2>"
Link PR to issues:
issues_link_pr MCP tool to associate the PRClean up worktree:
git worktree remove ../worktree-batch-<batch_number>
Return result:
Sequential Batches:
If batches have file conflicts and cannot be parallelized, run them sequentially. Each sequential batch waits for the previous batch's PR to be created before starting.
Why sequential: Needs results from all fix agents.
Task: Collect results and produce a summary for the review phase.
Approach:
DOCS_AUDIT_FIX_COMPLETE
PRs created: [count]
Issues addressed: [count]
Issues skipped: [count] (with reasons)
PR list:
#<pr_number> - <title> (fixes #<issue_1>, #<issue_2>)
#<pr_number> - <title> (fixes #<issue_3>)
Skipped issues:
#<issue_id> - <reason>
Output: The fix result object containing:
prNumbers: array of created PR numbersissuesAddressed: array of issue IDs that were fixedissuesSkipped: array of { issueId, reason } for any issues that could not be fixedsummary: the summary report text<success_criteria>
<error_handling>
Fix agent encounters merge conflict:
issuesSkipped with reason "merge conflict"Issue requirements are ambiguous:
Worktree creation fails (git worktree add errors):
git worktree remove --force-retry1)git checkout -b, fix, commit, git checkout -) and note reduced parallelism in the status reportToo many batches (10+):
</error_handling>