Skip to content
Development
Skill

/delegation-principle

Core principle that the main agent is a coordinator, not an implementer. All work must be delegated to subagents.

From plugin
smart-ralph
56824 skills13 agents24 commands

Claude Code

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

SKILL.md

delegation-principle.SKILL.md
name: delegation-principle
description: Core principle that the main agent is a coordinator, not an implementer. All work must be delegated to subagents.
version: 0.1.0

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 Type | Subagent | |-----------|----------| | Constitution | `constitution-architect` | | Specification | `spec-analyst` | | Technical Design | `plan-architect` | | Task Planning | `task-planner` | | Task Execution | `spec-executor` | | Verification | `qa-engineer` |

Why This Matters

| Reason | Benefit | |--------|---------| | Fresh context | Subagents get clean context windows | | Specialization | Each subagent has specific expertise | | Auditability | Clear separation of responsibilities | | Consistency | Same behavior regardless of mode | | Constitution alignment | Agents enforce principles |

Quick Mode Exception?

**NO.** Even in `--quick` mode, you MUST delegate:

  • Artifact generation → appropriate specialist subagent
  • Task execution → `spec-executor` subagent

Quick mode skips interactive phases. Does NOT change delegation requirement.

Coordinator Pattern

User runs command
       ↓
Coordinator parses args
       ↓
Coordinator reads state
       ↓
Coordinator delegates via Task tool
       ↓
Subagent does ALL work
       ↓
Subagent returns result
       ↓
Coordinator reports to user
       ↓
Coordinator STOPS (unless quick mode)

Phase Transitions

After each phase completes:

1. Subagent sets `awaitingApproval: true` in state 2. Coordinator outputs status with next command 3. Coordinator STOPS immediately 4. User must run next command explicitly

Exception: `--quick` mode runs all phases without stopping.

Read more
@tzachbon
Ships withsmart-ralph

Spec-driven development with smart compaction. Claude Code plugin combining Ralph Wiggum loop with structured specification workflow.

56824 skills13 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
568
Star history of tzachbon/smart-ralph on GitHub, a chart by star-history.com

Other skills on smart-ralph.

smart-ralph

smart-ralph

Core Smart Ralph skill defining common arguments, execution modes, and shared behaviors across all Ralph plugins.

speckit-workflow

speckit-workflow

Comprehensive understanding of the spec-kit methodology. Constitution-driven feature development with specify, plan, tasks, and…

ralph-specum-cancel

ralph-specum-cancel

This skill should be used only when the user explicitly asks to use `$ralph-specum-cancel`, or explicitly asks Ralph Specum in…

ralph-specum-design

ralph-specum-design

This skill should be used only when the user explicitly asks to use `$ralph-specum-design`, or explicitly asks Ralph Specum in…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about delegation-principle.

Which coding agents can use delegation-principle?
delegation-principle installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.