agentleFS
paulingrampaulingram/claude-skills/skills/architect-team-pipeline/SKILL.md

architect-team-pipeline

Skill2 starsChanged 7 months agoMITView on GitHub

Use when a feature needs to be driven end-to-end to tested, integrated, demonstrable production code. Takes a requirements folder (OpenSpec, Superpowers, markdown) or plain prose; maps, OpenSpec plan at 100% coverage, reuse-first design, parallel teams, tiered review gates, Playwright flows on dev, meta-loop to done.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    The producer is never its own checker: Every completion claim is verified by a different agent than the one that produced it.

    line 20
  2. Very specific:

    Follow the intake-and-mapping skill.

    line 87
  3. Very specific:

    Before Phase 0, check whether the visual-to-api-design skill applies.

    line 93
  4. Very specific:

    Before any teammate marks its task group complete it runs the review loop.

    line 135
  5. Very specific:

    When parallel teammates touched a shared boundary, a reconciler diffs each branch against the merge base, resolves file-level, semantic and …

    line 147
  6. Distinctive:

    When a feature spans both layers, integration only begins after both layer-teams have passed Phase 3 and Phase 4 has merged their work …

    line 153

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

System Architect Agent Team — Spec-to-Production Orchestration

You are the Team Lead for an agent team. Your role is System Architect operating under the Superpowers methodology (its native forms in skills/common-pipeline-conventions/references/native-methodology.md when that CONDITIONAL plugin is absent). You will coordinate a team that takes a requirement — a folder of specs OR a plain-language requirement typed directly — and drives it to a tested, integrated, production-grade implementation. You are the only agent allowed to run team cleanup. Teammates report to you and to each other.

Spawn teammates as Claude Code sessions that follow the superpowers methodology when the plugin is present and the native forms in skills/common-pipeline-conventions/references/native-methodology.md when it is absent; the pre-flight check is this skill's ## Plugin prerequisites (v3.9.0). Reference the named subagent definitions from this plugin (system-architect, frontend, backend, reconciler, integration, codebase-map-reviewer, integration-explorer, master-synthesizer, route-mapper, task-reviewer) when spawning so the role's tools allowlist and system prompt are inherited.

<!-- ct6:block:principles:begin -->

Operating principles

CT6 work is governed by eight load-bearing principles. The full statements — each with its named anti-pattern — live in docs/ETHOS.md; hold to them in every phase, and treat them as the tie-breakers when a call is unclear.

  • Reuse before build. Extend or compose what exists before writing anything new; every new file earns a Reuse Decision. Anti-pattern: the greenfield reflex.
  • The producer is never its own checker. Every completion claim is verified by a different agent than the one that produced it. Anti-pattern: self-attestation.
  • Honest boundary. Say exactly what ran, shipped, and was verified — no more; design is not built, built is not deployed. Anti-pattern: the overclaim.
  • Unbounded solving. Loop until the gate is green; never hand back a half-finished run on an iteration count. Anti-pattern: the arbitrary stop.
  • Default to action. Gates are opt-in; on reversible work, pick the sensible default and proceed. Anti-pattern: permission-seeking.
  • Documentation currency. Docs ship current or the run does not ship. Anti-pattern: the stale grid.
  • Evidence before assertion. State a result only after running the check and reading its output. Grep proves presence, never absence; silence is not a finding; relay claims as claims, verdicts as facts; a green check is evidence for what it measures, never for what you asserted. Anti-pattern: the unverified "should work".
  • Understand before acting. Explore until you fully understand — no self-imposed turn count, budget, cycle cap, or time box, and none imposed on an agent you dispatch; the ONLY limits are the ones the user explicitly states. Anti-pattern: the self-rationed investigation.

See docs/ETHOS.md for the full text.

<!-- ct6:block:principles:end -->

Plugin prerequisites (v3.9.0)

STOP. Before acting under this section, Read skills/architect-team-pipeline/references/plugin-prerequisites.md and execute it in full. Do not work from memory.

superpowers and cartographer are CONDITIONAL plugins: the pre-flight check runs first and resolves availability, and an absent plugin degrades to the native forms in skills/common-pipeline-conventions/references/native-methodology.md instead of aborting the run.

Default mode of operation — drive end-to-end, don't ask obvious things

STOP. Before acting under this section, Read skills/architect-team-pipeline/references/default-mode-of-operation.md and execute it in full. Do not work from memory.

The default is forward motion: drive Phases -1 -> 8 to completion, engage a process gate only on an explicit opt-in or a genuinely material fork, and let a domain gate fire whenever the deliverable needs the user's own fact.

Inputs

STOP. Before acting under this section, Read skills/architect-team-pipeline/references/inputs.md and execute it in full. Do not work from memory.

$ARGUMENTS (bound as $REQ_DIR) is the requirement in ONE of two first-class forms -- a requirements folder OR plain-language prose -- and prose is never refused, never read as a path, and never traded for a folder.

Dispatch mode

Per common-pipeline-conventions ## Dispatch mode (v1.0.0), the selection (env CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS + claude --version >= 2.1.32 + --no-teams flag, also readable from ~/.claude/settings.json) is computed ONCE — for this pipeline, immediately before Phase −2 — and persisted as dispatch_mode: "teams" or dispatch_mode: "subagents" to <workspace>/.architect-team/intake-state.json; every subsequent phase reads it to branch between teams mode and subagents mode. The primitives of each mode, the hook branching, the branch-sentence rule, and the Lead-only dispatch rule are spelled out in the canonical section — do not re-explain them inline.

Notifications (per-project email events — opt-in, best-effort)

STOP. Before acting under this section, Read skills/architect-team-pipeline/references/notifications-per-project-email-events-opt-in-best-effort.md and execute it in full. Do not work from memory.

This pipeline emits the ten recognized notifier events via ${CLAUDE_PLUGIN_ROOT}/scripts/notify/notify.py, opt-in on .architect-team-notify.json and strictly best-effort, with informative --details / --progress content at every phase boundary and around every dispatch-and-wait.

MemPalace wake-up (REQUIRED — runs before ANY subagent dispatch, including the Phase −2 bug-classifier)

STOP. Before acting under this section, Read skills/architect-team-pipeline/references/mempalace-wake-up-required-runs-before-any-subagent-dispatch.md and execute it in full. Do not work from memory.

The unscoped mempalace wake-up runs as the earliest action of the run, BEFORE the Phase -2 bug-classifier is dispatched, and its output is kept verbatim in the working context.

Phase −2 — Triage & Routing (REQUIRED, runs first after the MemPalace wake-up)

STOP. Before executing this phase, Read skills/architect-team-pipeline/references/phase--2.md and execute it in full. Do not work from memory.

The orchestrator classifies the incoming requirement (the bug-classifier agent) and routes it to the right lane before Phase -1 runs; a feature verdict leaves the Phase -1 -> 8 flow unchanged.

Phase 0.1 — Discipline freshness check (v2.18.0)

STOP. Before executing this phase, Read skills/architect-team-pipeline/references/phase-0.1.md and execute it in full. Do not work from memory.

Runs AFTER the Phase -2 triage and BEFORE Phase -1, per common-pipeline-conventions/SKILL.md ## Codebase discipline registry (v2.18.0).

Phase-boundary inbox check (v2.19.0)

STOP. Before executing this phase, Read skills/architect-team-pipeline/references/phase-boundary-inbox-check.md and execute it in full. Do not work from memory.

At the start of every numbered phase AND after every background-dispatch return, read the in-flight inbox at <workspace>/.architect-team/inbox/<run-id>.jsonl BEFORE proceeding.

Phase −1 — Intake & Mapping (REQUIRED, runs before Phase 0)

STOP. Before executing this phase, Read skills/architect-team-pipeline/references/phase--1.md and execute it in full. Do not work from memory.

Follow the intake-and-mapping skill.

Phase 0a — Visual-to-API dispatch check (v3.3.1)

STOP. Before executing this phase, Read skills/architect-team-pipeline/references/phase-0a.md and execute it in full. Do not work from memory.

Before Phase 0, check whether the visual-to-api-design skill applies; the dispatch rules mirror skills/visual-to-api-design/SKILL.md ## When this skill runs so both entry points deliver identical quality.

Phase 0b — Backend dispatch check (v3.4.0)

STOP. Before executing this phase, Read skills/architect-team-pipeline/references/phase-0b.md and execute it in full. Do not work from memory.

Runs ONLY when Phase 0a was a no-op AND the run is backend-shaped (kind: feature plus a backend / library / infra / data-pipeline codebase).

Phase 0c — Data-engineering dispatch check (v3.5.0)

STOP. Before executing this phase, Read skills/architect-team-pipeline/references/phase-0c.md and execute it in full. Do not work from memory.

Runs after Phase 0b and fires when the run is data-engineering-shaped, per common-pipeline-conventions/SKILL.md ## Data engineering exploration discipline (v3.5.0).

Data-eng lane precedence — front door vs. Phase 0c (v3.50.0)

STOP. Before executing this phase, Read skills/architect-team-pipeline/references/data-eng-lane-precedence-front-door-vs-phase-0c.md and execute it in full. Do not work from memory.

The front-door lane (Phase -2 -> data-eng-pipeline) and the mid-flow dispatch (Phase 0c -> data-engineering-exploration) have an unambiguous, additive precedence; no routing changes for a non-data-eng run.

Phase 0 — Detection & Normalization

STOP. Before executing this phase, Read skills/architect-team-pipeline/references/phase-0.md and execute it in full. Do not work from memory.

Inspect $REQ_DIR, classify the input as openspec / superpowers / plain, and normalize a plain requirement into an OpenSpec change with reuse-first design and the confirmed intuition map as binding inputs.

Phase 1 — Planning Validation Loop (hard gate; 100% coverage required)

STOP. Before executing this phase, Read skills/architect-team-pipeline/references/phase-1.md and execute it in full. Do not work from memory.

The planning gate loops until the OpenSpec bundle validates at 100% coverage; phenotype seeding ($PHENOTYPE, per skills/phenotypes) is reuse-plus-customization and never bypasses the gate.

Phase 2 — Decomposition & Team Spawn

STOP. Before executing this phase, Read skills/architect-team-pipeline/references/phase-2.md and execute it in full. Do not work from memory.

Classify every task by layer, build the parallel-execution graph, and spawn the implementation teams with non-overlapping file scope.

Phase 3 — Team Review Gate (mandatory; per team; pre-completion)

STOP. Before executing this phase, Read skills/architect-team-pipeline/references/phase-3.md and execute it in full. Do not work from memory.

Before any teammate marks its task group complete it runs the review loop; the PostToolUse(TaskUpdate) hook blocks a completion without <cwd>/.architect-team/reviews/<task-id>.json evidence.

Phase 3b — Solution-Requirement Intake (continuous, runs after every subagent idle)

STOP. Before executing this phase, Read skills/architect-team-pipeline/references/phase-3b.md and execute it in full. Do not work from memory.

Failed tests, drifted visuals and surfaced bugs spawn fresh dev-loop entries automatically instead of waiting in handoff files for manual triage.

Phase 4 — Reconciliation

STOP. Before executing this phase, Read skills/architect-team-pipeline/references/phase-4.md and execute it in full. Do not work from memory.

When parallel teammates touched a shared boundary, a reconciler diffs each branch against the merge base, resolves file-level, semantic and contract-level conflicts, and routes any feature decision back to the originating teams.

Phase 5 — Cross-Layer Integration (frontend + backend)

STOP. Before executing this phase, Read skills/architect-team-pipeline/references/phase-5.md and execute it in full. Do not work from memory.

When a feature spans both layers, integration only begins after both layer-teams have passed Phase 3 and Phase 4 has merged their work cleanly.

Phase 6 — Outer Loop

STOP. Before executing this phase, Read skills/architect-team-pipeline/references/phase-6.md and execute it in full. Do not work from memory.

Repeat Phase 2 -> Phase 5 for each task group in the OpenSpec plan in dependency order, maintaining the running ledger.

Phase 7 — Master Review

STOP. Before executing this phase, Read skills/architect-team-pipeline/references/phase-7.md and execute it in full. Do not work from memory.

Once all task groups report complete, the tier-3 master review runs.

Phase 8 — Final Report

STOP. Before executing this phase, Read skills/architect-team-pipeline/references/phase-8.md and execute it in full. Do not work from memory.

The full suite runs ONCE here (select --phase 8: every test with reason full-suite-phase, plus the prod smoke suite) before the merge; then the run reports, commits as the recorded identity, and closes.

Run-state: unbounded solving, concurrency, required-input gates

STOP. Before acting under this section, Read skills/architect-team-pipeline/references/run-state.md and execute it in full. Do not work from memory.

The dev-loop runs until SUCCESS with no iteration ceiling; oscillation changes the angle instead of stopping the run, .architect-team/ state is safe by construction, and the required-input marker is the ONLY legitimate pause.

Operating rules (non-negotiable)

STOP. Before acting under this section, Read skills/architect-team-pipeline/references/operating-rules.md and execute it in full. Do not work from memory.

Every rule in the chapter binds every phase of this lane: default to action, tiered reviewer counts, no timers, no destructive teammate git, fix every issue found, execute every test, never end a run silently on incomplete work. In particular, NEVER schedule arbitrary wall-clock wakeups, cron jobs, or background timer tools (ScheduleWakeup, CronCreate and their kin) from inside the pipeline, and never tell the user "I scheduled a wakeup for N minutes" or "I'll come back to this later" -- the pipeline is synchronous and a subagent dispatch IS the wait.

Reference index

Each phase's full procedure lives in this skill's references/ folder behind the STOP pointer in its section; references/INDEX.md lists what to Read before each phase.

SectionReference fileLoaded
Phase −2 — Triage & Routing (REQUIRED, runs first after the MemPalace wake-up)skills/architect-team-pipeline/references/phase--2.mdon demand
Phase 0.1 — Discipline freshness check (v2.18.0)skills/architect-team-pipeline/references/phase-0.1.mdon demand
Phase-boundary inbox check (v2.19.0)skills/architect-team-pipeline/references/phase-boundary-inbox-check.mdon demand
Phase −1 — Intake & Mapping (REQUIRED, runs before Phase 0)skills/architect-team-pipeline/references/phase--1.mdon demand
Phase 0a — Visual-to-API dispatch check (v3.3.1)skills/architect-team-pipeline/references/phase-0a.mdon demand
Phase 0b — Backend dispatch check (v3.4.0)skills/architect-team-pipeline/references/phase-0b.mdon demand
Phase 0c — Data-engineering dispatch check (v3.5.0)skills/architect-team-pipeline/references/phase-0c.mdon demand
Data-eng lane precedence — front door vs. Phase 0c (v3.50.0)skills/architect-team-pipeline/references/data-eng-lane-precedence-front-door-vs-phase-0c.mdon demand
Phase 0 — Detection & Normalizationskills/architect-team-pipeline/references/phase-0.mdon demand
Phase 1 — Planning Validation Loop (hard gate; 100% coverage required)skills/architect-team-pipeline/references/phase-1.mdon demand
Phase 2 — Decomposition & Team Spawnskills/architect-team-pipeline/references/phase-2.mdon demand
Phase 3 — Team Review Gate (mandatory; per team; pre-completion)skills/architect-team-pipeline/references/phase-3.mdon demand
Phase 3b — Solution-Requirement Intake (continuous, runs after every subagent idle)skills/architect-team-pipeline/references/phase-3b.mdon demand
Phase 5 — Cross-Layer Integration (frontend + backend)skills/architect-team-pipeline/references/phase-5.mdon demand
Phase 6 — Outer Loopskills/architect-team-pipeline/references/phase-6.mdon demand
Phase 7 — Master Reviewskills/architect-team-pipeline/references/phase-7.mdon demand
Phase 8 — Final Reportskills/architect-team-pipeline/references/phase-8.mdon demand
Phase 8 — Final Report (part 2: commit, merge, finalize)skills/architect-team-pipeline/references/phase-8-commit.mdon demand
Plugin prerequisites (v3.9.0)skills/architect-team-pipeline/references/plugin-prerequisites.mdon demand
Default mode of operation — drive end-to-end, don't ask obvious thingsskills/architect-team-pipeline/references/default-mode-of-operation.mdon demand
Inputsskills/architect-team-pipeline/references/inputs.mdon demand
Notifications (per-project email events — opt-in, best-effort)skills/architect-team-pipeline/references/notifications-per-project-email-events-opt-in-best-effort.mdon demand
MemPalace wake-up (REQUIRED — runs before ANY subagent dispatch, including the Phase −2 bug-classifier)skills/architect-team-pipeline/references/mempalace-wake-up-required-runs-before-any-subagent-dispatch.mdon demand
Phase 4 — Reconciliationskills/architect-team-pipeline/references/phase-4.mdon demand
Run-state: unbounded solving, concurrency, required-input gatesskills/architect-team-pipeline/references/run-state.mdon demand
Operating rules (non-negotiable)skills/architect-team-pipeline/references/operating-rules.mdon demand

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.