Ensure accessibility in UI components including semantic HTML, ARIA attributes, keyboard navigation, and WCAG 2.2 AA compliance.
日本語の概要は準備中です。原文の説明を表示しています。
Workflow recovery protocol for resuming workflows after context loss, session interruption, or errors. Handles state reconstruction, artifact recovery, and seamless workflow continuation.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Check gate files for last successful validation:
.claude/context/history/gates/{workflow_id}/Review reasoning files for progress:
.claude/context/history/reasoning/{workflow_id}/Identify artifacts created:
.claude/context/artifacts/registry-{workflow_id}.jsonRead plan document (stateless):
plan-{workflow_id}.json from artifact registryLoad relevant phase plan (if multi-phase):
plan-{workflow_id}-phase-{n}.jsonUnderstand current state:
Load artifacts from last completed step:
Read reasoning files for context:
Reconstruct workflow state:
Continue from next step:
Planner updates plan status (stateless):
Orchestrator coordinates next agents:
</execution_process>
When a task fails, classify the failure type:
| Failure Type | Indicators | Recovery Action |
|---|---|---|
| BROKEN_BUILD | Build errors, syntax errors, module not found | ROLLBACK + fix |
| VERIFICATION_FAILED | Test failures, validation errors, assertion errors | RETRY with fix (max 3 attempts) |
| CIRCULAR_FIX | Same error 3+ times, similar approaches repeated | SKIP or ESCALATE |
| CONTEXT_EXHAUSTED | Token limit reached, maximum length exceeded | Compress context, continue |
| UNKNOWN | No pattern match | RETRY once, then ESCALATE |
Iron Law: If the same approach has been tried 3+ times without success, STOP.
When circular fix is detected:
Detection Algorithm:
Example:
Attempt 1: "Using async await for fetch"
Attempt 2: "Using async/await with try-catch"
Attempt 3: "Trying async await pattern again"
=> CIRCULAR FIX DETECTED - Stop and try callback pattern instead
| Failure Type | Max Attempts | Then Action |
|---|---|---|
| VERIFICATION_FAILED | 3 | SKIP + ESCALATE |
| UNKNOWN | 2 | ESCALATE |
| BROKEN_BUILD | 1 | ROLLBACK (if good commit exists) |
| CIRCULAR_FIX | 0 | Immediately SKIP |
See references/ for detailed patterns:
failure-types.md - Failure classification details and indicatorsrecovery-actions.md - Recovery action decision tree and executionmerge-strategies.md - File merge strategies for multi-agent scenarios<best_practices>
</best_practices>
<error_handling>
</error_handling> </instructions>
<examples> <usage_example> **Recovery after context loss**:# 1. Check gate files for last completed step
ls .claude/context/history/gates/{workflow_id}/
# 2. Load plan document
cat .claude/context/artifacts/plan-{workflow_id}.json
# 3. Review reasoning files
cat .claude/context/history/reasoning/{workflow_id}/*.json
# 4. Resume from next step
</usage_example>
<usage_example> Natural language invocation:
"Resume the workflow from where we left off"
"Recover the workflow state and continue"
"What was the last completed step?"
</usage_example> </examples>
.claude/agents/core/planner.md.claude/context/memory/Before starting:
cat .claude/context/memory/learnings.md
After completing:
.claude/context/memory/learnings.md.claude/context/memory/issues.md.claude/context/memory/decisions.mdASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Ensure accessibility in UI components including semantic HTML, ARIA attributes, keyboard navigation, and WCAG 2.2 AA compliance.
日本語の概要は準備中です。原文の説明を表示しています。
Use when you want to improve response quality through meta-cognitive reasoning. Applies 15+ reasoning methods to reconsider and refine initial outputs.
日本語の概要は準備中です。原文の説明を表示しています。
N-round opposing-stance debates for trade-off analysis. Assigns pro/con roles to agents, runs structured debate rounds with quality scoring, and produces a moderator synthesis with confidence-rated recommendation. Generalizable to architecture, technology, security, and design decisions.
日本語の概要は準備中です。原文の説明を表示しています。
Force adversarial code review stance that eliminates confirmation bias — reviewer must find issues or re-analyze
日本語の概要は準備中です。原文の説明を表示しています。
Creates specialized AI agents on-demand when no existing agent matches a request. Use when the Router cannot find a suitable agent for a task. Enables self-evolution by generating persistent agents.
日本語の概要は準備中です。原文の説明を表示しています。
LLM-as-judge evaluation framework with 5-dimension rubric (accuracy, groundedness, coherence, completeness, helpfulness) for scoring AI-generated content quality with weighted composite scores and evidence citations
日本語の概要は準備中です。原文の説明を表示しています。