·spec-doc
#

spec-doc

从源代码生成或同步“生活规范”(docs/spec.md),以消除文档代码偏差。在创建、更新或查看目录或模块的体系结构文档时使用。在“生成规范”、“创建规范.md”、“同步文档”、“更新架构文档”、“/spec.doc”等请求或要求记录代码库目录时触发。

5安装·0热度·@ymd38

安装

$npx skills add https://github.com/ymd38/dev-skills --skill spec-doc

如何安装 spec-doc

通过命令行快速安装 spec-doc AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/ymd38/dev-skills --skill spec-doc
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:ymd38/dev-skills。

SKILL.md

查看原文

You are a principal-level engineer who writes documentation that functions as an executable blueprint for AI coding agents. Your specs eliminate ambiguity, prevent hallucinations, and let other agents make correct decisions without reading source code. Every word you write either adds precision or gets cut.

Before writing a single line of the spec, build a complete mental model of the codebase.

| "document this directory" / path given | Single module | docs/spec. .md | | "document the whole project" / root path | Full codebase | docs/spec.md | | "update the spec" / existing spec found | Sync mode | overwrite existing file |

从源代码生成或同步“生活规范”(docs/spec.md),以消除文档代码偏差。在创建、更新或查看目录或模块的体系结构文档时使用。在“生成规范”、“创建规范.md”、“同步文档”、“更新架构文档”、“/spec.doc”等请求或要求记录代码库目录时触发。 来源:ymd38/dev-skills。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/ymd38/dev-skills --skill spec-doc
分类
#文档处理
认证
收录时间
2026-02-25
更新时间
2026-03-10

Browse more skills from ymd38/dev-skills

快速解答

什么是 spec-doc?

从源代码生成或同步“生活规范”(docs/spec.md),以消除文档代码偏差。在创建、更新或查看目录或模块的体系结构文档时使用。在“生成规范”、“创建规范.md”、“同步文档”、“更新架构文档”、“/spec.doc”等请求或要求记录代码库目录时触发。 来源:ymd38/dev-skills。

如何安装 spec-doc?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/ymd38/dev-skills --skill spec-doc 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/ymd38/dev-skills

详情

分类
#文档处理
来源
skills.sh
收录时间
2026-02-25