spec-multi

A workflow for changing several services or projects together, such as a website, backend, and Python service. It tracks their dependencies from planning through integration testing.

In plain words
What is it for?
Use it for multi-service feature development, dependency-ordered implementation, service startup, end-to-end checks, and delivery audits.
Why use it?
It helps prevent mismatched changes between services and makes cross-service work easier to coordinate. It also checks that the services work together after implementation.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/zzusp/doc-first-dev/spec-multi
Any agent
npx skills add zzusp/doc-first-dev --skill spec-multi
Clone the repo
git clone --depth 1 https://github.com/zzusp/doc-first-dev

Made for: Claude Code, Codex.

Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 559 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00559
Opus 5 $0.00000 $0.00280
Sonnet 5 $0.00000 $0.00112
Haiku 4.5 $0.00000 $0.00056

Measured yesterday against content hash 79f689d3fa91, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

spec-multi scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/spec-multi/SKILL.md · 47 lines

What it actually says

spec-multi — 多服务并行开发

处理跨多个服务/项目的需求开发。单服务日常迭代用 /spec-first;跨服务协调用本 skill。

触发条件

用户描述的需求涉及多个服务同时变更(如前端+后端、后端+Python服务、全栈+微服务等)。

前置检查

检查 docs/plans/SERVICES.md 是否存在(相对于 workspace root):

  • 不存在 → 读取 init.md,完成服务注册后返回本流程
  • 存在 → 展示服务清单摘要(服务名、路径、端口),继续

流程

Step0(需求接收)→ Phase A(分析)→ Phase B(开发)→ Phase C(集成验收)→ Phase D(收尾)

用户指定从某个 Phase 开始时,从该 Phase 直接切入(如"从 Phase B 继续")。

异常处理规则见 error-handling.md

各阶段入口

阶段 文件 核心产出
Step 0 step0.md 创建或定位需求文档
Phase A phase-a.md 链路追踪 + 需求文档填充 + 确认门
Phase B phase-b.md 按依赖顺序编排各服务代码实现
Phase C phase-c.md 启动所有服务 + 单服务验收 + E2E 验收
Phase D phase-d.md 一致性审计 + 交付摘要

关键约定

需求文档docs/plans/requirements/<需求名>.md(workspace root 下)

T-xxx 格式T-<序号> · [<服务名>] · P0/P1/P2 · 状态 — 描述(file:method)

A-xxx 格式A-<序号> · [<服务名>|E2E] · <接口/场景> · 状态 — 可执行断言

  • [E2E] 表示跨服务集成验收
  • 序号全文档内唯一递增(不区分服务)
  • Phase B 通过过滤 [服务名] 标签分配 subagent 任务
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 47 lines · 0 tokens per session scan A 79f689d3fa91

Subscribe to this mod's changes

spec-multi is a skill published in the GitHub repository zzusp/doc-first-dev (5 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 559 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

test-driven-development

Drives development with tests. Use when implementing any logic, fixing any bug, or changing any behavior. Use when you need to prove that code works, when a bug report arrives, or when you're about to modify existing functionality.

addyosmani/agent-skills · 50 tokens

ci-cd-and-automation

Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies.

addyosmani/agent-skills · 45 tokens

documentation-and-adrs

Records decisions and documentation. Use when making architectural decisions, changing public APIs, shipping features, or when you need to record context that future engineers and agents will need to understand the codebase.

addyosmani/agent-skills · 43 tokens

idea-refine

Refines raw ideas into sharp, actionable concepts through structured divergent and convergent thinking. Use when an idea is still vague, when you need to stress-test assumptions before committing to a plan, or when you want to expand options before converging on one. Triggers on "ideate", "refine this idea", or…

addyosmani/agent-skills · 75 tokens

source-driven-development

Grounds every implementation decision in official documentation. Use when you want authoritative, source-cited code free from outdated patterns. Use when building with any framework or library where correctness matters.

addyosmani/agent-skills · 40 tokens

chinese-git-workflow

国内 Git 平台配置参考——Gitee、Coding.net、极狐 GitLab、CNB 的 SSH/HTTPS/凭据/CI 接入差异与镜像同步配置。仅在用户显式 /chinese-git-workflow 时调用,不要根据上下文自动触发。.

jnMetaCode/superpowers-zh · 69 tokens