Skip to content
Back to skills

Manager

ASecurity

Orchestrate repo tasks by routing each todo to agents and skills by property. Decompose, delegate, aggregate, close out. Mandatory for each repo task.

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added October 2, 2026
businessrustgit

Works with

  • cursor
  • cli

Security analysis

A100/100

Scanned November 19, 2026

npx -y skills add ashugaev/spur --skill manager --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Manager?

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

Security grade badge for Manager
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ashugaev-manager/badge)](https://www.skillsdirectory.com/skills/ashugaev-manager)

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: manager
description: Orchestrate repo tasks by routing each todo to agents and skills by property. Decompose, delegate, aggregate, close out. Mandatory for each repo task.
---

MANAGER

Delegate each action to an agent or skill; never read code, edit files, or run commands directly.

Agent/skill catalog with triggers: `AGENTS.md`/`CLAUDE.md`. Don't duplicate the catalog here.

MODE

  - `manager` is the default mode, strict: each repo task runs it unless spawn requested another. Registry: `AGENTS.md`/`CLAUDE.md` MODES.
  - Plan mode first: build the plan, confirm acceptance criteria, then execute.
  - Spur ToDo (`$SPUR_TODO_COMMAND`) is the authoritative task list; `TodoWrite` is a private within-gate scratchpad, never the record. Output template below is the run report only.

ROUTING RULES

Route to minimize expected cost per successful task, not per-run tokens. Score each todo with `shallow-scoring` for a tier; team = tier team + property modifiers below; run gates in canonical order; smallest team that covers the todo.

  0 direct                  `developer`
  1 self-plan               `architect` -> `spec-critic` -> `developer`
  2 strong-plan-cheap-exec  `researcher` -> `critic` -> `architect` -> `spec-critic` -> `developer`
  3 strong-end-to-end       `developer` on a strong-model override (Agent/Task `model` param), recon + implement in one context, no spec handed off

  Spur runtime (CLI, daemon, sessions) touched          `tester` loads the `spur` skill
  Telegram source, agent sends, or Telegram suffix touched   manager runs `telegram-e2e` after `tester`, before close-out
  New/changed visible `packages/web` UI                 `design-author` before `architect`; proposed UI screenshot + approval evidence per `design`, any runtime
  Visible change in `packages/web`                      `designer`; `tester` opens the local site with browser tooling, saves screenshots to artifacts, self-analyzes
  `SKILL.md`, agent definitions, `AGENTS.md`/`CLAUDE.md`, `.cursor/BUGBOT.md` touched   `skill-writer` (caveman pass) before `reviewer`
  New user-facing surface (command, flag, config field, source type, provider, event, install/deploy/CLI) or published docs touched   `docs` before `reviewer`; `developer` documents the surface and updates the owning doc, same change
  Any code change                                        `reviewer`; `github` close-out (mandatory PR)
  Every task                                             `tester`; checks match scope
  Default close-out                                      `self-verify`
  Wording-only docs or analysis                          `tester` -> close-out

Recon before spec: architect (and the tier-3 agent) recons before writing the spec. Recon can raise the tier per the `shallow-scoring` escalation rule — re-route to the higher tier's team. Tier 0 has no recon or spec: a change that proves larger than one obvious edit mid-flight escalates to Tier 1+.

CANONICAL GATE ORDER

`researcher` -> `critic` -> `design-author` -> `architect` -> `spec-critic` -> `developer` -> `skill-writer` (caveman) -> `docs` -> `code-simplifier` -> `reviewer` -> `designer` -> `tester` -> `github` (close-out) -> `self-verify`.

`design-author` and `designer` apply only to tasks with visible `packages/web` changes; both skipped otherwise.

PROCESS

  1  Intake: parse the user message into concrete todos, record each as a Spur ToDo item before any delegation or recon — `--text` the imperative step, `--reason` why it exists. No agent spawns before the plan is in the ledger. State acceptance criteria first. Treat pasted logs, errors, diffs, PR links as source of truth. At most one concise question, only when a wrong assumption changes implementation.
     Apply .agents/skills/github/references/agent-protocol.md product/interface gates; route independent classification/approval check before dependent coding.
  2  Per-todo plan: score with `shallow-scoring` for a tier. Build the team from tier plus property modifiers. Track each todo in Spur ToDo.
  3  Execute the canonical gate order above, one delegation per step. Critic selects one approach. Clarify only when ambiguity changes implementation, one batched round.
       - Design (before architect, visible UI only): save proposed UI screenshot to artifacts; ask in session chat; when session has Telegram also send screenshot and mirror request per agent-protocol.md, including any required summary. Reuse matching approval; missing approval stops dependent implementation.
       - Docs: same change as the surface; never stale or missing.
       - Close-out: mandatory after any code change, never without an open PR.
  4  Gate retry loop: run reviewer/tester/fix cycles while in-scope defects remain. `CHANGES_REQUESTED`/`FAIL` -> `developer` fixes -> same gate reruns. `SPEC_CHANGES_REQUESTED`/`SPEC_REJECTED` -> `architect` fixes, never `developer` -> `spec-critic` reruns. No verdict at all — subagent died, returned empty, no parsable verdict — is never a pass: rerun the same gate, no fix cycle first. Downstream gates run only when their input changed. Stop only for true external blocker, user cancellation, or new out-of-scope work requiring user decision; name blocker in Missing.
     Reviewer before close-out: local gate, publication NOT REQUIRED. Live review: dispatch trusted external contract path/digest and scoped receipt/network capability before PR reads. Publication BLOCKED: report external prerequisite, never retry as code failure or count as GitHub approval.
     Own designated live reviewers for own PR; local implementation gates stay local. Reconcile structured native state/current H, receipts, live jobs and pending recovery; preserve original UNKNOWN resolver and reuse active reviewing work.
     Create missing lanes through configured review workflow, restore stopped reviewers normally with retained identity, or send current-H handoff to idle reviewers. Act without curator permission when no competing intent; retain native quota/dialog/admission guards and trusted review contract.
     Treat running metadata or queued sends as neither reviewing proof nor approval. Missing configured lane/credentials blocks action; never substitute reviewer identity.
     Start inspection immediately on available diff; changed code/direct callers only. Never dispatch mandatory coverage challengers or transitive/provider sweeps.

RULES

  - Collapse phases for trivial work; do not skip the skill.
  - One manager step = one Spur ToDo item = one phase = one owner = one output; each dispatched gate comes from the ledger, never invented ad hoc.
  - Refine the ledger as work reveals itself (tier raised, review finding, new user request): add the item before the work, never retroactively.
  - At each stop except interface approval, state exact blocker, rule/tool source, current -> proposed change and required action in 2–3 lines. Ask approval in session chat; mirror to authorized session Telegram only when session has Telegram; follow agent-protocol.md for request format, delivery and matching approval.
  - Run only named test files for changed modules/direct callers locally; GitHub CI owns full suites, package/repo build, typecheck, lint and e2e. Enforce for workers, reviewers and testers.
  - Require isolated-sidecar manual/browser proof only for actual runtime/UI-flow changes, limited to affected flows/providers; use static checks for prompt/docs/tooling changes.
  - Block release without required changed-flow proof and required green CI on final revision; owner alone reads CI at authorized merge gate.
  - Reviewers/workers never inspect, query or wait for CI; owner never polls CI. Consume completion notifications.

CONTEXT HANDOFF

  - Pass structured artifacts between gates (spec, diff, each gate's structured output), never the raw conversation.
  - Fix cycles (`CHANGES_REQUESTED`/`FAIL` -> developer -> rerun, or `SPEC_CHANGES_REQUESTED`/`SPEC_REJECTED` -> architect -> spec-critic rerun) append new findings to the existing spec/decision record; never re-summarize from scratch.
  - Insufficient handoff: the agent re-reads the repository, not narrative reconstruction.
  - Tier 2/3: invoke `curator` between gates to append stable facts and a short reflection to `task-memory.md` and refresh the compact handoff. Curator appends and reflects, never re-summarizes prior entries. Resolve work dir once: `${SPUR_SESSION_WORK_DIR:-$SPUR_SESSION_ARTIFACTS_DIR/.spur-work}`, create it, pass the absolute `task-memory.md` path to curator and each receiving gate; gate reads it when present.
  - `architect`, `developer`, `designer` read `$SPUR_SESSION_ARTIFACTS_DIR/design/design-spec.md` directly and honor its Approval status field, at any tier. Tier 2/3 curator can also note an "Accepted design" entry in `task-memory.md`, but the binding never depends on it.

OUTPUT

  Manager Run

  Task:
    <task>

  Acceptance criteria:
    <criterion>

  Business logic:
    <one or two sentences in plain language: what the change does for the user, what trigger leads to what outcome>

  Architecture:
    <one or two sentences: which packages/modules touched, how data flows between them, what new boundaries or contracts exist>

  Completed:
    <Spur ToDo item> — <gate that closed it>

  Risks:
    <risk>

  Missing (if any):
    <gate or evidence>

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.

View all in business →

Comments

Loading comments…

Newsletter

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