Flow2Spec: Skill for Claude Code

.claude/skills/f2s-doc-milestone/SKILL.md

f2s-doc-milestone is a skill for Claude Code from double-coding-lab/Flow2Spec. It costs 92 tokens per session (3,292 once invoked), scanned A, original, MIT.

A project-documentation workflow that creates a milestone document from requirements documents, Git history, task files, and knowledge-base topics. A milestone document records important project stages and their supporting evidence.

In plain words
What is it for?
Use it to generate and verify a scoped project milestone document saved under `.Knowledge/stock-docs/`, using the project's milestone template.
Why use it?
It gathers information from several project sources and checks the generated draft against them. This reduces missing or inaccurate milestone descriptions.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

This is double-coding-lab/Flow2Spec's own configuration. It tells Claude Code how to work on Flow2Spec itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Flow2Spec configures →

Reuse

Borrowing it

Nothing to install: this file belongs to double-coding-lab/Flow2Spec. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/double-coding-lab/Flow2Spec/main/.claude/skills/f2s-doc-milestone/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/double-coding-lab/Flow2Spec

Made for: Claude Code.

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 f2s-doc-milestone

README.md
[![agentmods](https://agentmods.dev/badge/skills/double-coding-lab/flow2spec/f2s-doc-milestone/github.svg)](https://agentmods.dev/skills/double-coding-lab/flow2spec/f2s-doc-milestone)
Your own site
<a href="https://agentmods.dev/skills/double-coding-lab/flow2spec/f2s-doc-milestone"><img src="https://agentmods.dev/badge/skills/double-coding-lab/flow2spec/f2s-doc-milestone/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 f2s-doc-milestone

Your own site · 80×15
<a href="https://agentmods.dev/skills/double-coding-lab/flow2spec/f2s-doc-milestone"><img src="https://agentmods.dev/badge/skills/double-coding-lab/flow2spec/f2s-doc-milestone.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,292 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00092 $0.03292
Opus 5.5 $0.00037 $0.01317
Sonnet 5.5 $0.00018 $0.00658
Haiku 4.5 $0.00009 $0.00329

Measured 1mo ago against content hash 61e2a915bb7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

f2s-doc-milestone 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 1mo 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.

.claude/skills/f2s-doc-milestone/SKILL.md · 149 lines

How it starts

The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.

任务路径:凡 .task/ 落盘与续作,**必须以 rules/f2s-task 解析的 TASK_ROOT 为准(.task 或 .task/<developerId>;config → git → legacy)。下文若仍出现 .task/todo.json / .task/active/,均视为 TASK_ROOT/... 的简写。

执行口径:读 .Knowledge/template/项目里程碑模版.md;落盘 仅 .Knowledge/stock-docs/<范围名>里程碑.md(无第二路径参数)。

编排(固定,不受项目配置影响)

本技能不受 flow2spec.config.json 中 subAgent、switchAgentVerification(及旧键 subAgentVerification)影响:无论其为 true 或 false,一律按下述分工执行,禁止因配置改为「全主会话」或「子 agent 自验即结束」。

角色 步骤 职责
主 agent 0、3、4 读模版与知识库主题索引、解析范围、派子、验证、必要时修订、回复用户
子 agent 1、2 采集四源、套模版、Write 初稿
  1. 主 agent:步骤 0 → 下发「采集契约」→ 子 agent 步骤 1–2 落盘初稿。
  2. 主 agent:步骤 3 对照四源与「重要节点清单」验证(不全文重写;补缺、纠偏、「待确认」)→ 步骤 4 回复。
  3. 子 agent 禁止宣称「里程碑已验收完成」;终稿以主 agent 验证后为准。

步骤 0 仍 Read("flow2spec.config.json")(满足 f2s-config-check 前置),但不得用其中的 subAgent / switchAgentVerification 改变本技能编排。

子 agent 采集契约(主 agent 派子前写入 prompt)

字段 内容
scope 用户语义范围一句
outputPath stock-docs/<范围名>里程碑.md
sources 见下文「四源」;须含知识库主题语义
template .Knowledge/template/项目里程碑模版.md(不写模版顶部说明 blockquote)
delivery 完整 Markdown,可直接 Write 至 outputPath
stagePolicy 见下文「阶段粒度」;契约中须复述一句

阶段粒度(必须,写入契约)

里程碑 Mx 仅记录功能/能力变更:当前仓库(或用户指定范围内)已落地或可核验的交付,例如模块/接口/数据模型/领域行为/知识库路由等,且须在四源中有依据。

不得单独占一行总览或独立 ## Mx · 的阶段类型(无四源交付支撑时禁止臆造;有交付也不得拆成「纯测试/纯联调」阶段):

  • 联调、集成测试、UAT、回归、验收、提测、上线检查(仅过程、无功能 diff)
  • 仅环境/运维动作(执行 DDL、填配置、发版窗口、跨仓排期)且无本范围功能交付
  • 以「稳定化 / 工程化 / 收尾」为名、实质仅为上述过程性工作的阶段

合并规则:同一次能力迭代内的工程性改动(如 id 类型对齐、分页格式、锁与并发)并入对应功能阶段正文,不另起「联调 / 测试 / 验收」阶段。

缺口处理:四源仅提及待联调、待验收、环境待补齐而无本范围功能交付 → 不写对应 Mx;可在 待确认 列一句,禁止用「计划项」填充总览表。

四源(采集与验证均须覆盖)

源 读什么 里程碑里怎么用
req-docs 范围内 .Knowledge/req-docs/*.md 需求/方案节点、交付摘要
git git log --no-merges、git tag -l、package.json 版本 时间线、大版本/tag、提交锚点
.task todo.json、active/、completed/ 下 task.md 等 任务闭环、已交付步骤
知识库主题(语义) 见下「主题索源」 与 index/manifest 已登记能力对齐,避免漏写「库里已有语义」的阶段

Read the full file on GitHub · 149 lines

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. 1mo ago First seen · 149 lines · 92 tokens per session scan A 61e2a915bb7f

Subscribe to this mod's changes

f2s-doc-milestone is a skill published in the GitHub repository double-coding-lab/Flow2Spec (52 stars, last pushed 6d ago), licensed MIT. It adds 92 tokens to every session and 3,292 once invoked, about $0.0004 per session on Opus 5.5. 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-30.

Related

Other skills, from other repositories

story-readiness

Checks whether a story is ready to implement: clear acceptance criteria, no open questions, valid ADR and dependencies. Use when the user asks if a story, or the sprint's stories, are ready to start or build.

Donchitos/Claude-Code-Game-Studios · 48 tokens

recipe-create-meet-space

Create a Google Meet meeting space and share the join link.

googleworkspace/cli · 18 tokens

atmos-config

Atmos root configuration: atmos.yaml discovery, precedence, deep merging, basepath, imports, minimal bootstrap, and routing to narrower Atmos skills.

cloudposse/atmos · 31 tokens

workthreads

SpecStory Workthreads - a weekly work-thread rollup across a team's repos from SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more). It groups the window's sessions into threads of work per project and labels each new / open / recently closed, so a lead sees what shipped, what is still…

specstoryai/getspecstory · 126 tokens

qa-project-bootstrap

Onboard a new QA engineer to an existing codebase, or audit an existing test architecture. Produces a 30-day ramp plan: codebase orientation, framework walkthrough, test architecture audit, mentorship pairing, and first-test guidance. Use when: "QA onboarding," "new tester," "ramp up," "test architecture audit,"…

petrkindlmann/qa-skills · 124 tokens

handle-linkedin-connection-request-signal

Use this skill when someone sends a team member an inbound LinkedIn connection request. An inbound request is a deliberate, ACTIVE first-party intent signal — meaningfully stronger than a passive profile view — and it deserves different scoring rules. The skill resolves and enriches the requester, gates them through…

swan-gtm/gtm-skills · 160 tokens