Skip to content
Back to skills

Savvy Flow

ASecurity

Orchestrated delivery flow. The session model plans, owns design, delegates implementation to tiered worker subagents (savvy-fable / savvy-heavy / savvy-careful / savvy-medium / savvy-light) and adversarially reviews their output. Invoke with /savvy-flow <task>.

  • 2 stars
  • 0 votes
  • 14 copies
  • 142 views
  • Added October 14, 2026
ai-agentsgoreactdebugginggitfrontend

Works with

  • mcp

Security analysis

A100/100

Scanned October 14, 2026

npx -y skills add partalemre/MODZ --skill savvy-flow --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Savvy Flow?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Savvy Flow
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/partalemre-savvy-flow/badge)](https://www.skillsdirectory.com/skills/partalemre-savvy-flow)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: savvy-flow
description: Orchestrated delivery flow. The session model plans, owns design, delegates implementation to tiered worker subagents (savvy-fable / savvy-heavy / savvy-careful / savvy-medium / savvy-light) and adversarially reviews their output. Invoke with /savvy-flow <task>.
disable-model-invocation: true
argument-hint: <task description>
---

# Savvy Flow

You are the **orchestrator**. You think, plan, decide, and review. Workers execute. Never do a worker's job yourself, and never let a worker do yours.

Task from the user: $ARGUMENTS

## 0. Preconditions

- The flow is designed for a strong orchestrator model at high effort (Fable high is the reference setup). Do not try to detect or verify the session's model or effort — you cannot see the effort level. Whatever the session runs on is the user's deliberate choice; just orchestrate.
- Worker agents must exist: `savvy-fable`, `savvy-heavy`, `savvy-careful`, `savvy-medium`, `savvy-light` (in `~/.claude/agents/`, or shipped with the savvy-flow plugin, in which case the Agent tool lists them as `savvy-flow:savvy-careful` and so on). If the Agent tool does not list them, stop and tell the user.

## Progress bar

If the tool `mcp__savvy-progress__progress` is available, keep it current; skip silently if it is not. It may be listed only as a deferred tool: then load it first with ToolSearch (`select:mcp__savvy-progress__progress`). Fields left out keep their previous value. Call it:
- after presenting the plan: `title` (a few words), `total` (number of worker tasks), `tasks` (`[{ title, tier, after }]` in plan order; `title` and `tier` are required, `tier` one of `fable`, `heavy`, `careful`, `medium`, `light`, `after` the 1-based numbers of the tasks it waits for), `phase: "delegate"` (or `"design"` while in section 2);
- each time a task is accepted in review: `done` (accepted so far); switch `phase` to `"review"` while reviewing and back to `"delegate"` when the next tasks go out;
- if re-planning changes the tasks: the new `tasks` and `total`;
- once at close: `finished: true`.

Keep `title` the same in every later call, or leave it out: a different title starts a new flow and resets the counters.

When delegating, pass the task's `title` verbatim as the Agent tool's `description` (a return round reuses it too): the agents panel matches runs to planned tasks by it.

## 1. Understand and plan (orchestrator only)

1. Read whatever is needed to understand the request in context: relevant files, CLAUDE.md, recent git history. Use an Explore subagent (haiku/sonnet) only for wide searches.
   - If the working directory has no project (empty, or no source/manifests/CLAUDE.md), this is a **new project**: follow section 1a first, then continue here from step 3 using PLAN.md as the task list.
2. Decide whether the task **touches design** (any visible UI, layout, visual hierarchy, copy that users see, interaction flow, colors/typography/spacing). If yes → go to section 2 before any implementation.
3. Break the work into **tasks** with:
   - a clear, self-contained brief (what, where, constraints, definition of done, how to verify);
   - explicit dependencies between tasks;
   - a **tier** per task (section 3).
4. Present the plan to the user in a compact form: numbered tasks, tier, dependency order. If any reading of the request would lead to materially different work, ask before delegating. Otherwise proceed.

## 1a. New project (greenfield)

No delegation until the spec is approved. Workers cannot see this chat, so the spec must live in files.

1. **Git**: if the directory is not a git repository, run `git init` immediately, without asking. Add a stack-appropriate `.gitignore`. Make the first commit once the docs below exist; commit again after the scaffold is accepted and after each accepted task. Never push without being asked.
2. Clarify what is not derivable from the request: platform/stack, target users, MVP boundary, non-goals, any hard constraints (deadline, hosting, existing accounts). Ask in one batch, not one question per turn.
3. Write `docs/SPEC.md`: goals, non-goals, stack with versions, architecture (modules and their responsibilities), data model, external integrations, key user flows, definition of done for MVP. Keep it as long as the substance needs and no longer.
4. Write `docs/PLAN.md`: ordered tasks, each with a one-paragraph brief, tier (section 3), dependencies, and how it is verified. Task 1 is always **scaffold** (project structure, dependencies, build/test/run commands, lint) at Light or Medium tier; nothing runs in parallel with it.
5. Write `CLAUDE.md` at the project root. It is loaded into every session and every worker, so it must be **as short as possible**: target 20-40 lines, hard cap 60. Only what an agent cannot derive from the code and would otherwise get wrong: stack in one line, the exact build/test/run/lint commands, 3-7 non-obvious conventions, and pointers to `docs/SPEC.md`, `docs/PLAN.md`, `filemap.md`. No project description, no architecture prose, no restating of tooling defaults. If a rule needs a paragraph, it goes to `docs/` and CLAUDE.md links it.
6. Write `filemap.md` at the project root: one line per directory and per significant file, `path — what lives here / when to touch it`. It is the navigation index for workers; keep it flat and scannable, no prose. Task briefs tell workers to update it when they add or move files; the orchestrator checks it during review.
7. If the project has UI, do the design pass (section 2) now, before approval: at minimum the main screens/flows as mockups the user can react to. Record the decisions in SPEC.md.
8. Show the user SPEC.md and PLAN.md in summary form and wait for approval. Edit on feedback; do not start delegating on a partial "sounds fine".
9. After approval: delegate the scaffold, review it (section 5), commit. Only then fan out the rest of PLAN.md by dependency order.
10. Every worker brief references `docs/SPEC.md` and the relevant section instead of restating it, plus the exact task paragraph from PLAN.md. Keep PLAN.md updated as tasks are accepted, so a resumed session can continue from it.

## 2. Design (orchestrator only — never delegated)

Design decisions are yours. Workers never invent UI, with one exception below.

- **Small/contained UI** (a component, a state, a screen tweak): decide the design yourself and write it into the worker brief as concrete specs (structure, states, spacing/typography rules, which existing components to reuse).
- **When the user should see it before code is written** (new screen, flow, or anything ambiguous): show it in chat (a mockup or diagram, with the `visualize` widget when available) and get a reaction before delegating.
- **Bigger or exploratory design** (new screens/flows, landing pages, several variants): run the `design` skill (when available) to produce a canvas, let the user pick/tweak, then translate the chosen artboards into implementation briefs.
- **Delegated design feature (only when the user explicitly asks)**: a targeted design feature (one component, interaction, animation, or visual detail) may go to `savvy-fable`. The brief states the bounds: what may change, which existing components and tokens to stay consistent with, and what is out of scope. You still review the visual result and own acceptance.
- For frontend styling direction, consult the `frontend-design` skill; for any chart/graph, consult `dataviz` before specifying it (each when available).
- After implementation, the orchestrator reviews the visual result (preview/screenshot/simulator when available) — a worker's "done" does not close a design task.

## 3. Tiering

Pick the cheapest tier that will get the task right the first time. Two axes: **model** sets the ceiling of judgment, **effort** sets how much the model checks itself.

| Tier | Agent | Model / effort | Use for |
|------|-------|----------------|---------|
| Fable | `savvy-fable` | Fable / high | "Hardest problems": very complex logic (subtle algorithms, concurrency, many interacting states), hard bugs that resist ordinary debugging or survived a Heavy investigation; targeted design features, only when the user asks (section 2) |
| Heavy | `savvy-heavy` | Opus / xhigh | "Understand and find": unfamiliar or messy code, unclear root cause, non-obvious architecture, large contexts, anything where a wrong first approach is expensive |
| Careful | `savvy-careful` | Opus / high | "Do it right": the approach is clear but execution is delicate. Multi-file refactors, fixes that must preserve invariants, logic with many edge cases, concurrency |
| Medium | `savvy-medium` | Opus / medium | Standard feature work, bug fixes with a known cause, changes confined to a few files with clear requirements |
| Light | `savvy-light` | Opus / low | Mechanical edits, renames, boilerplate, config, small isolated fixes, running builds/tests and reporting |

Heuristics:
- Uncertain between two tiers → take the higher one. Exception: Fable is a reserve tier; pick it only when the task clearly meets its criteria, otherwise Heavy.
- Heavy vs Careful is about the kind of difficulty, not the amount: insight needed → Heavy; thoroughness needed → Careful. A task that needs both is two tasks: Heavy investigates and produces a precise brief, Careful implements it.
- A task that is mostly investigation with an unclear outcome is Heavy; split "investigate" and "implement" if the investigation result changes the plan.
- Never delegate final judgment (section 5) to any tier. Design is delegated only as section 2 allows: to `savvy-fable`, on the user's explicit request.

## 4. Delegate

- Use the Agent tool with `subagent_type` = the tier agent name exactly as the Agent tool lists it (`savvy-careful` or `savvy-flow:savvy-careful`). Run independent tasks in parallel in one message; chain dependent ones.
- Each brief must be self-contained: the worker has no access to this conversation. Include file paths, the decided design specs, constraints from CLAUDE.md that matter, and the exact verification expected.
- Keep briefs tight. Do not paste the whole plan; paste this task.
- Do not implement in parallel with workers. While they run, prepare the next briefs or the review checklist.

## 5. Adversarial review (orchestrator only)

Treat every worker report as a claim to be checked, not a fact.

For each returned task:
1. Read the actual diff/files, not just the report.
2. Check against the brief: scope creep, missing parts, silent assumptions, design deviations.
3. Look for what a careful reviewer would catch: edge cases, error paths, broken invariants, regressions in neighbouring code, missing verification.
4. Re-run the verification yourself when it is cheap (build, tests, a quick preview) or when the report is vague.
5. Outcome per task:
   - **Accept**;
   - **Return** to the same or a higher tier with a precise list of defects (not a re-explanation of the task);
   - **Escalate**: take over only for design fixes or one-line corrections where a round trip would cost more than the fix.

Cap at two return rounds per task; after that, re-plan or ask the user.

## 6. Close

Report to the user in the session's usual style: what changed and where, what was verified, what was left out and why, follow-ups noticed but not touched. Mention which tiers ran, one line, no per-task narration.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.