spec-multi

spec-multi is a skill for Claude Code, Codex from zzusp/doc-first-dev. It costs 0 tokens per session (559 once invoked), scanned A, original, MIT.

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

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it for multi-service feature development, dependency-ordered implementation, service startup, end-to-end checks, and delivery audits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zzusp/doc-first-dev/spec-multi
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.

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.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for spec-multi

README.md
[![agentmods](https://agentmods.dev/badge/skills/zzusp/doc-first-dev/spec-multi/github.svg)](https://agentmods.dev/skills/zzusp/doc-first-dev/spec-multi)
Your own site
<a href="https://agentmods.dev/skills/zzusp/doc-first-dev/spec-multi"><img src="https://agentmods.dev/badge/skills/zzusp/doc-first-dev/spec-multi/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for spec-multi

Your own site · 80×15
<a href="https://agentmods.dev/skills/zzusp/doc-first-dev/spec-multi"><img src="https://agentmods.dev/badge/skills/zzusp/doc-first-dev/spec-multi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.00559
Opus 5.5 $0.00000 $0.00224
Sonnet 5.5 $0.00000 $0.00112
Haiku 4.5 $0.00000 $0.00056

Measured 2mo ago against content hash 79f689d3fa91, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo ago.

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. 2mo ago 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 (6 stars, last pushed 6mo 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.