ワンクリックで
workflow-revision
Iterate on implementation fixes surfaced by review until all claims are verified. Stage 6 of the development workflow.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Iterate on implementation fixes surfaced by review until all claims are verified. Stage 6 of the development workflow.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
A-Mem thought evolution — check which prior thoughts should be updated when a significant new insight arrives. Spawns a lightweight subagent to classify prior thoughts as UPDATE or NO_UPDATE, then applies revisions. Use during long reasoning sessions when you reach a synthesis, make a decision, or discover something that changes earlier assumptions. Triggers on "this changes what I thought earlier", "update prior reasoning", "evolve thoughts", or automatically on conclusion/synthesis thoughts in sessions >10 thoughts.
Cross-session knowledge retrieval from the Thoughtbox knowledge graph. Searches entities, traverses relations, retrieves observations, and synthesizes findings from past sessions. Use when you need to recall prior decisions, check what's already known about a topic, find related insights, or build on past work. Triggers on "what do we know about", "have we seen this before", "recall", "prior decisions about", "knowledge graph", or when starting work that might have prior context.
Capture significant learnings from the current work session. Structures insights for future sessions and updates agent memory.
Write or improve prompts for Codex using Anthropic's official best practices. Creates system prompts, agent prompts, tool descriptions, and MCP resource templates. Pass an existing prompt to improve it, or describe what you need to create one from scratch.
Generate architecture diagrams for a codebase subsystem or module. Explores source files and produces Mermaid diagrams in docs/.
Extract reusable principles and decision frameworks from accumulated experience. Use after significant work sessions, project milestones, or when you notice recurring patterns worth codifying.
| name | workflow-revision |
| description | Iterate on implementation fixes surfaced by review until all claims are verified. Stage 6 of the development workflow. |
| argument-hint | [review findings summary or path] |
| user-invocable | true |
Execute revision based on review findings: $ARGUMENTS
You are executing Stage 6 (Revision) of the development workflow. Review found issues with the implementation. Your job is to dispatch sub-agents to fix them, then re-run review until it passes — or escalate after 3 iterations.
Before starting, verify:
.workflow/state.json exists and currentStage is "revision"stages.review.artifacts.findings)Read the review findings and classify each into:
| Category | Action | Example |
|---|---|---|
| Claim failure | Re-dispatch sub-agent for the specific claim | "Function X does not handle case Y" |
| Test gap | Add missing test coverage | "No test for edge case Z" |
| Spec divergence | Fix code OR update spec (with justification) | "Implementation differs from spec section 3.2" |
| ADR conflict | Flag for user decision | "This contradicts accepted ADR-005" |
| Style/quality | Fix inline (no sub-agent needed) | "Missing error handling on line 42" |
For each finding that requires a sub-agent:
For findings that can be fixed inline (style/quality):
For ADR conflicts:
If any finding reveals that the spec was wrong (not the implementation), update the spec:
Spec updates go in the same commit as the code fix.
After all fixes are applied:
stages.revision.iterations in the state file/workflows-review on the fixed codeIf review passes (all claims verified, no blocking findings):
Update state: set stages.revision.status to "completed", currentStage to "compound"
Hand off to the conductor
If review still has findings:
maxIterations (default: 3)If 3 revision iterations have not resolved all findings:
REVISION ESCALATION
====================
Iterations completed: 3/3
Remaining findings: N
Unresolved:
1. [finding]: Attempted [approach], result: [what happened]
2. [finding]: Attempted [approach], result: [what happened]
Options:
A. Accept current state (acknowledge known gaps, proceed to Compound)
B. Re-enter at Planning stage (re-plan the approach)
C. Re-enter at Dev-Docs stage (revise spec/ADR)
D. Abandon workflow (delete branch)
Recommendation: [A/B/C/D] because [reason]
Wait for user decision. Update state accordingly.
Throughout this stage, keep the state file current:
{
"stages": {
"revision": {
"status": "in_progress",
"iterations": 1,
"maxIterations": 3,
"findings": [
{ "id": 1, "category": "claim_failure", "description": "...", "status": "fixed|open|escalated" }
]
}
}
}
maxIterations beyond 3 without user approval