try-works/rlm-workflow-acp/rlm-subagent
Claude Code and agent skill by try-works/rlm-workflow-acp
- community
Checking that the SKILL.md file is still in the repository.
Master skill for parallel subagent-driven execution with automatic fallback to single-agent sequential mode. Use when implementing plans with multiple independent sub-phases (SP1, SP2...) to dispatch parallel subagents, or when requiring code review between implementation and testing. Trigger phrases: "parallelize", "dispatch subagent", "split into sub-phases", "code review subagent", "parallel testing".
Install
npx vskill@latest install try-works/rlm-workflow-acp/rlm-subagentSKILL.md
Subagent-Driven Execution with Fallback
This skill provides parallel subagent execution for RLM Phase 3 (Implementation), Phase 3.5 (Code Review), and Phase 4 (Testing) with automatic fallback to sequential mode when subagents are unavailable.
Trigger examples
Parallelize Phase 3 across independent sub-phasesDispatch an implementer subagent for each SPRun a separate code-reviewer subagent before Phase 4Subagents aren't available; fall back to sequential mode
Quick Reference
| Scenario | Action | |
|---|---|---|
| Multiple independent sub-phases | Use Parallel Mode (subagents) | |
| Single sub-phase or subagents unavailable | Use Sequential Mode (fallback) | |
| Code review needed | Use Phase 3.5 (subagent or self-review) | |
| Parallel testing | Use Phase 4 parallel dispatch |
TODO Discipline for Subagents
The Iron Law: NO SUBAGENT COMPLETION REPORT WITHOUT ALL TODOS CHECKED.
Subagent TODO Requirements
Each subagent (implementer, code-reviewer) MUST:
- Include
## TODOsection in their work output - Check off items as work progresses
- Verify ALL items checked before reporting completion
Implementer Subagent TODO Template
Code Reviewer Subagent TODO Template
Controller TODO Management
The controller MUST:
- Verify subagent outputs include completed TODOs
- NOT accept completion reports with unchecked items
- Request subagent to complete remaining items
Capability Detection
At start of Phase 3, detect subagent availability:
Detection rule: If the platform provides a subagent/task primitive, use parallel mode; otherwise fallback to sequential.
Parallel Mode (Subagents Available)
Phase 3: Parallel Sub-Phase Implementation
Controller responsibilities:
- Read locked Phase 2 TO-BE plan once
- Extract all sub-phases (SP1, SP2, SP3...)
- Determine dependencies (independent vs sequential)
- Dispatch implementer subagent per independent SP
- Two-stage review after each SP completion
- Integration testing after all approved
Dispatch pattern:
Two-stage review:
- Spec Review: Verify SP requirements met (plan alignment)
- Code Quality Review: Assess code quality, TDD compliance, standards
Phase 3.5: Code Review Subagent
Trigger: After Phase 3 implementation Action: Dispatch agents/code-reviewer.md subagent with:
- BASE_SHA and HEAD_SHA of changes
- Phase 2 TO-BE plan for alignment check
- Severity classification (Critical/Important/Minor)
Review loop: Issues found -> implementer fixes -> re-review
Phase 4: Parallel Testing
Required before dispatching tests:
- Audit
03-implementation-summary.mdagainst00-requirements.mdand02-to-be-plan.md - Document mismatches and remediation/addenda in Phase 4 artifact
Dispatch pattern:
Result aggregation:
- Collect results from all subagents
- Summarize pass/fail counts
- Identify any critical failures
Sequential Fallback Mode (No Subagents)
Trigger: Subagent capability check fails
Characteristics:
- Execute sub-phases sequentially in main agent context
- Extended self-review checklist per sub-phase
- Integration testing between each sub-phase
- Full context preservation
Fallback trigger flow:
Sequential Execution Pattern
Sequential Review Pattern
Phase 3.5 equivalent:
- Main agent performs extended self-review
- Use comprehensive checklist from
agents/code-reviewer.md - Document findings in Phase 3.5 artifact
Subagent Prompts
Implementer Subagent
File: agents/implementer.md
Key requirements:
- Self-contained context (full SP text provided)
- TDD discipline enforcement
- Question-before-work protocol
- Self-review checklist before completion
Usage:
Code Reviewer Subagent
File: agents/code-reviewer.md
Key requirements:
- Plan alignment verification
- Code quality assessment
- Severity classification (Critical/Important/Minor)
- Clear verdict (Approved / Changes Required)
Usage:
Artifact Documentation
Phase 4 artifact must include:
Phase 3.5 artifact (if used):
Phase 4 artifact must include:
Decision Tree
Quality Maintenance
Both modes enforce:
- TDD discipline
- Artifact locking
- Gate compliance
- Integration testing
Parallel Mode advantages:
- Fresh context per sub-phase
- Independent verification
- Faster execution (3-5x)
Sequential Mode advantages:
- No subagent dependency
- Simpler coordination
- Full context accumulation
Common Patterns
Pattern 1: Multi-Domain Feature
Scenario: Feature touches API, UI, and database
Phase 2 TO-BE plan:
Phase 4 execution:
- SP1, SP2, SP3 dispatched in parallel (independent domains)
- Each implementer works on isolated files
- Integration testing after all complete
Pattern 2: Sequential Dependencies
Scenario: SP2 depends on SP1 output
Phase 3 execution:
- Dispatch SP1 -> wait -> review -> approve
- Dispatch SP2 (with SP1 context) -> wait -> review -> approve
- Sequential, not parallel
Pattern 3: High-Risk Change
Scenario: Critical auth system change
Phase 3: Implement with TDD Phase 3.5: Mandatory code review Phase 4: Parallel testing (unit + integration + E2E)
Troubleshooting
Subagent fails to complete
- Check if prompt was self-contained
- Verify BASE_SHA was provided
- Review logs for errors
- Retry with clearer instructions
Integration tests fail after parallel SPs
- Check for file conflicts between SPs
- Verify no shared mutable state
- Review commit history for ordering issues
Sequential mode too slow
- Consider breaking into more granular SPs
- Check if platform supports subagents
- Verify tool detection is working
References
- Main workflow:
SKILL.md - Implementer subagent:
agents/implementer.md - Code reviewer subagent:
agents/code-reviewer.md - Artifact templates:
references/artifact-template.md
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/rlm-subagent/SKILL.md
Popularity
- Repository stars
- 3
- 7-day trend score
- 7
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/try-works/rlm-workflow-acp/rlm-subagent)