What problem does it solve?
When validation fails (due to style, tests, or logic errors), manually identifying the right agent and re-invoking them with specific fix requirements is complex and time-consuming. This Skill automates that delegation, ensuring issues are fixed efficiently without manual intervention.
Core Features & Use Cases
- Analyzes Validation Failures: Categorizes issues (e.g., Checkstyle, test failures, logic errors) to determine the responsible agent.
- Determines Responsible Agent: Routes fix requests to the correct agent (formatter, tester, architect, engineer) based on failure type.
- Creates Scoped Fix Requirements: Generates precise, focused instructions for the agent, ensuring efficient and targeted fixes.
- Re-invokes Agent: Automatically triggers the appropriate agent with the scoped requirements, streamlining the fix process.
- Use Case: After a build fails due to Checkstyle violations, this Skill automatically identifies the style issues, creates a fix scope, and re-invokes the formatter agent to correct them, ensuring a clean codebase without manual intervention.
Quick Start
After validation finds style violations, use the reinvoke-agent-fixes skill to delegate the fix.
Example:
TASK_NAME="implement-formatter-api"
FAILURE_TYPE="style"
VIOLATIONS="$(cat checkstyle-violations.txt)"
/workspace/main/.claude/scripts/reinvoke-agent-fixes.sh
--task "$TASK_NAME"
--failure-type "$FAILURE_TYPE"
--violations "$VIOLATIONS"