Standardize approval/rejection decisions across all reviewer agents (plan-reviewer, code-reviewer, documentation-reviewer, test-reviewer) using consistent criteria.
Standardizes all reviewer agents' approval decisions using a consistent 4-tier system (APPROVED, APPROVED_WITH_CONDITIONS, NEEDS_REVISION, REJECTED). Triggers when any reviewer evaluates work, enabling the conductor to automate workflow progression, conditional verification, or user escalation based on clear, verifiable criteria.
/plugin marketplace add binee108/nine-step-workflow-plugin/plugin install nine-step-workflow@lilylab-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Standardize approval/rejection decisions across all reviewer agents (plan-reviewer, code-reviewer, documentation-reviewer, test-reviewer) using consistent criteria.
<!-- CUSTOMIZE: Adjust language based on project conventions -->Definition: Meets all required criteria, ready to proceed to next step immediately
Criteria:
Output Format:
## Overall Assessment
✅ **APPROVED** - Ready for next step
## Critical Issues
None
## Important Improvements
None
## Suggestions
- [Optional improvement 1]
- [Optional improvement 2]
Conductor Action: Immediately proceed to next step
Definition: Mostly passed but requires specific conditions to be met before proceeding
Criteria:
Condition Examples:
Output Format:
## Overall Assessment
⚠️ **APPROVED_WITH_CONDITIONS**
## Conditions for Approval
1. [Condition 1]: [Verification method]
2. [Condition 2]: [Verification method]
## Critical Issues
None
## Important Improvements
- [Issue requiring condition]
Conductor Action:
Definition: Required criteria not met, rework needed
Criteria:
Output Format:
## Overall Assessment
🔄 **NEEDS_REVISION**
## Critical Issues (Must Fix)
1. [Issue 1]: [Why critical] → [Required action]
2. [Issue 2]: [Why critical] → [Required action]
## Important Improvements (Should Fix)
- [Improvement 1]
## Recommended Actions
1. [Step to take 1]
2. [Step to take 2]
Conductor Action:
Definition: Fundamental problems requiring workflow stop and user decision
Criteria:
Output Format:
## Overall Assessment
🚫 **REJECTED** - Workflow requires user decision
## Blocking Issues
1. [Fundamental problem 1]: [Why blocking] → [Alternative approach needed]
2. [Fundamental problem 2]: [Why blocking] → [Alternative approach needed]
## Recommended Next Steps
1. [User decision needed on X]
2. [Consider alternative approach Y]
3. [Escalate to senior architect]
Conductor Action:
APPROVED:
APPROVED_WITH_CONDITIONS:
NEEDS_REVISION:
REJECTED:
APPROVED:
APPROVED_WITH_CONDITIONS:
NEEDS_REVISION:
REJECTED:
APPROVED:
APPROVED_WITH_CONDITIONS:
NEEDS_REVISION:
REJECTED:
APPROVED:
APPROVED_WITH_CONDITIONS:
NEEDS_REVISION:
REJECTED:
All reviewers must include this structure:
# [Agent Name] Review Summary
## Overall Assessment
[✅ APPROVED | ⚠️ APPROVED_WITH_CONDITIONS | 🔄 NEEDS_REVISION | 🚫 REJECTED]
[Additional sections based on selected status]
## [Status-Specific Required Sections]
[Follow output format for that status]
## Next Steps
[Actions conductor should take]
<!-- CUSTOMIZE: Adapt to your tech stack -->
def handle_review_result(review_output):
status = extract_status(review_output)
if status == "APPROVED":
proceed_to_next_step()
elif status == "APPROVED_WITH_CONDITIONS":
conditions = extract_conditions(review_output)
verify_conditions(conditions)
if all_conditions_met():
proceed_to_next_step()
else:
return_to_previous_step()
elif status == "NEEDS_REVISION":
critical_issues = extract_critical_issues(review_output)
if revision_count >= 3:
escalate_to_user() # Prevent infinite loop
else:
return_to_previous_step(issues=critical_issues)
elif status == "REJECTED":
stop_workflow()
report_to_user(blocking_issues)
wait_for_user_decision()
Reviewer self-check before submitting review:
Ambiguous situations:
| Situation | Choice |
|---|---|
| 5 minor issues vs 1 critical issue | NEEDS_REVISION (critical takes priority) |
| 90% complete, 10% missing | NEEDS_REVISION (100% completion required) |
| Cannot choose between alternatives A/B | REJECTED (user decision needed) |
| 1 test fails, rest pass | NEEDS_REVISION (all tests must pass) |
| Document {{MAX_DOC_LINES + 10}} lines (standard: {{MAX_DOC_LINES}}) | NEEDS_REVISION (clear criteria violation) |
Remember: Consistency is key to automation. When all reviewers apply the same criteria, the conductor can manage workflows predictably.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.