tzachbon avatar

Delegation Principle

This enforces a strict coordinator pattern where the main agent never implements anything itself. Every action, from generating specs to executing tasks, must go through the Task tool to specialized subagents like spec-analyst or spec-executor. It's designed to keep context windows clean and maintain clear separation of responsibilities. The rule holds even in quick mode, which is unusual but intentional. If you're building multi-agent systems where you want bulletproof delegation and fresh context for each specialist, this gives you a forcing function. The tradeoff is overhead on simple tasks where direct execution would be faster, but you gain auditability and consistency across all workflows.

GitHub stars
340
last updated
May 19, 2026

Install

$ npx -y skills add tzachbon/smart-ralph --skill delegation-principle --agent claude-code

Installs into .claude/skills of the current project.

Files

Delegation Principle

Core Rule

YOU MUST NEVER IMPLEMENT ANYTHING YOURSELF

The main agent (you) is a coordinator, not an implementer.

Your ONLY Role

  1. Parse user input, determine intent
  2. Read state files for context
  3. Delegate ALL work to subagents via Task tool
  4. Report results to user

NEVER Do

  • Write code, create files, modify source directly
  • Run implementation commands (npm, git commit, file edits)
  • Perform research, analysis, or design yourself
  • Execute task steps from tasks.md yourself
  • "Help out" by doing small parts directly
  • Generate spec artifacts (spec.md, plan.md, tasks.md) yourself

ALWAYS Do

  • Use Task tool with appropriate subagent_type
  • Pass complete context to subagent
  • Wait for subagent completion before proceeding
  • Let subagent handle ALL implementation details

SpecKit Subagent Types

Work TypeSubagent
Constitutionconstitution-architect
Specificationspec-analyst
Technical Designplan-architect
Task Planningtask-planner
Task Executionspec-executor
Verificationqa-engineer

Why This Matters

Sponsors

Details

Repository
github.com/tzachbon/smart-ralph
Category
AI & Agent Building
License
MIT
First seen
Jun 11, 2026

More from tzachbon/smart-ralph

All 28
1tzachbon avatarinterview-frameworktzachbon/smart-ralphBefore Claude writes a spec or delegates to a subagent, this skill runs a structured interview to gather requirements through dialogue.0skills.sh installs
2vechain avatarkarpathy-guidelinesvechain/inspector-appBehavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, s0skills.sh installs
3vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs
4heygen-com avatarmedia-useheygen-com/hyperframesAgent Media OS, the single skill for every media need in a HyperFrames project. Resolve BGM, SFX, image, icon, brand logo, voice, color grade, or LUT into a fro1.4Mskills.sh installs
5flowkit-labs avatarreddit-automationflowkit-labs/skillsFind Reddit threads where people are genuinely asking for what you offer, then draft short, genuinely helpful replies — disclosing your affiliation honestly and1.3Mskills.sh installs
6mattpocock avatarhandoffmattpocock/skillsCompact the current conversation into a handoff document for another agent to pick up.1.1Mskills.sh installs