spec-init SKILL.md skillA

spec-init from legeling/prompthub is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add legeling/prompthub/spec-init@git:20260924.815ad2f

Pins git:20260924.815ad2f in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
legeling/prompthub
Path
.agents/skills/spec-init/SKILL.md
Versions recorded
5
Latest version
git:20260924.815ad2f, committed Sep 24, 2026
First version recorded
May 30, 2026
Size
6,689 bytes
Repository stars
1,829
License
AGPL-3.0

按风险编写和维护项目规范,保留有效功能约定与关键决策。用于明确要求整理 spec、补齐项目文档、更新需求设计或迁移旧文档流程;普通代码修改不自动启动完整文档流程。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# spec-init

帮助项目保留足以指导开发的有效约定,让文档投入与当前任务的风险相称。
用户要求实施时,推进到实现和验证;用户只要求分析或方案时,交付分析或方案。

## 先确定本轮需要多少文档

| 请求 | 最小准备 | 文档投入 |
|---|---|---|
| 小修复、局部调整、普通重构 | 问题、范围、验证办法已明确 | 不新建需求、计划或 change;已有说明失真时原位更新 |
| 普通功能 | 目标、非目标、验收条件清楚 | 更新已有功能文档;独立新主题才新建一份 |
| 跨会话或多人实施 | 上述内容和剩余工作可交接 | 按需保留一份活动计划,同一目标继续更新原计划 |
| 权限、数据迁移、公共契约、不可逆操作等高风险变化 | 关键决策、失败路径、兼容和恢复办法清楚 | 在相关文档补必要设计与验证;重大取舍才独立记录 |
| 明确要求完整需求或设计 | 覆盖用户指定范围 | 按需要展开角色、异常流、契约和质量目标,不自动铺满目录 |

小改动也可能高风险,按影响判断,不按代码行数判断。
若没有需要改变的约定,零文档改动是正常结果。

## 执行流程

1. **定向读取。** 先看项目指令、README、相关代码与测试;有文档入口就据此定位本任务的有效约定。没有入口时按功能搜索,确认文件状态,不补全项目文档目录。参考资料按下方触发条件读取,不默认全部加载。
2. **明确必要信息。** 回答“要改成什么、影响什么、如何验证”。从现有代码、测试和已确认决策解决常规选择;只澄清会实质影响范围、安全、数据或兼容性的未知项。未确定方案不能写成已确认事实。
3. **进入实施。** 上述信息充分且无关键阻塞就开工。缺编号、历史索引、无关文档或一般格式不阻塞实现。源码、测试、配置、迁移与受影响文档形成一个完整批次,再统一执行必要检查。
4. **校准结果。** 核实行为与约定,记录实际验证和剩余风险;仅同步本次主题的权威文档、相关引用和实施状态。未跑测试、未上线或未完成迁移不能写成通过或已交付。

停止扩写的条件:当前任务能够安全实施、能够验收,必要约定已经明确。
不要为“更完整”补无关背景、示例、测试矩阵或未来功能;不要在每个局部修改后扫描所有文档。

## 需求文档是唯一真源

每个主题指定一份权威文档,保存最新确认的需求、边界和验收;沿用原路径,由已有文档入口指向它。唯一真源不等于全项目只能有一个文件。
用户确认需求变化后,立即原位替换权威文档中的旧要求与验收,不只追加补充说明,不等实现完成才更新,也不另建“新版需求”。尚未确认的提议不能替换已确认需求。
需求与交付状态分开:新需求立即生效,未完成的实现标注“待实施”;必要时注明当前实现差距,不能把旧实现描述成仍然有效的要求,也不能把新需求写成已交付。
…

Read the whole file at its exact version.

How to install

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_rptlvl3vshb34ojz/7d9f8649ce1c6d349219e04606adac3205256f35794c903a3e83a942e94fff4a.json

Then /plugin install spec-init@markdownregistry-rptlvl3vshb34ojz in Claude Code. It installs git:20260924.815ad2f, the one graded A here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add legeling/prompthub/spec-init@sha256:7d9f8649ce1c6d34

The line at the top of this page pins the label git:20260924.815ad2f, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_rptlvl3vshb34ojz.svg)](https://markdownregistry.com/a/art_rptlvl3vshb34ojz)

3 badge image fetches in 30 days. What the badge shows.

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in legeling/prompthub/spec-init since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of spec-init from somewhere else? Ask it: where did my spec-init come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 5 versions of this file, between May 30, 2026 and Sep 24, 2026, about one every 29 days.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20260924.815ad2f latest2026-09-24 815ad2f 6,689 BA view · diff
git:20260710.ebd67d02026-07-10 ebd67d0 20,976 BA view · diff
git:20260710.7970b1e2026-07-10 7970b1e 18,830 BA view · diff
git:20260626.ca6460b2026-06-26 ca6460b 18,350 BA view · diff
git:20260530.9ccac932026-05-30 9ccac93 15,877 BA view
Keep it current by itself, install once

Committed this skill to a repository? Install the markdownregistry skill updates app on it, or on all of them. When the registry saves a newer version, a pull request brings your copy to it within minutes, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

Install on GitHub

It asks to read and write contents and pull requests, and to read metadata. No workflow file, no Actions setting, nothing runs on your runners. Uninstall it and everything the registry kept about your repository is deleted.

Keep it current by itself

Committed this skill to a repository? Add one workflow file, and when a newer version is saved, a pull request brings your copy to it, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

mkdir -p .github/workflows && curl -fsSL https://markdownregistry.com/ci/skill-updates.yml -o .github/workflows/skill-updates.yml

It runs daily on GitHub Actions, no key and no account. Read the workflow before you add it.

Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6689 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

legeling/prompthub · 1,829 stars · license AGPL-3.0 · pushed 2026-11-12 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_rptlvl3vshb34ojz
GET https://markdownregistry.com/api/v1/resolve?ref=legeling/prompthub/spec-init
GET https://markdownregistry.com/api/v1/blob/7d9f8649ce1c6d349219e04606adac3205256f35794c903a3e83a942e94fff4a
GET https://markdownregistry.com/api/v1/list?kind=skill

Every file of this kind listed here, most starred first, in pages: send each page's next back as cursor. JSON, no key.

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from legeling/prompthub

release-sync SKILL.md skill
legeling/prompthub · .agents/skills/release-sync/SKILL.md · PromptHub release update skill. Use for `/update-readme`, version bumps, changelog updates, website sync, GUI…
git:20261019.95de2ba · audit A · 1,829 stars
AGENTS.md@.agents/skills/spec-init/examples/demo-app AGENTS.md file
legeling/prompthub · .agents/skills/spec-init/examples/demo-app/AGENTS.md
git:20260924.815ad2f · audit A · 1,829 stars
AGENTS.md AGENTS.md file
legeling/prompthub · AGENTS.md
git:20261027.e1bb031 · audit A · 1,829 stars

Every file in legeling/prompthub

Other files named spec-init

spec-init SKILL.md skill
hhu3637kr/skills · spec-init/SKILL.md · 当项目首次接入 Spec 驱动开发 / R&K Flow,需要创建 AGENTS.md、.agents/rules/、 .agents/skills/、spec/ 目录、记忆系统和 HTML 报告资产时使用。…
git:20261121.57cb592 · audit B · 148 stars

Browse by kind, by grade A, or by owner.

Kept in .agents/skills, the folder Codex reads. More agent skills for Codex.