什麼是 spec-doc?
從原始碼產生或同步「生活規範」(docs/spec.md),以消除文件代碼偏差。在建立、更新或檢視目錄或模組的體系結構文件時使用。在「產生規格」、「建立規格.md」、「同步文件」、「更新架構文件」、「/spec.doc」等請求或要求記錄程式碼庫目錄時觸發。 來源:ymd38/dev-skills。
從原始碼產生或同步「生活規範」(docs/spec.md),以消除文件代碼偏差。在建立、更新或檢視目錄或模組的體系結構文件時使用。在「產生規格」、「建立規格.md」、「同步文件」、「更新架構文件」、「/spec.doc」等請求或要求記錄程式碼庫目錄時觸發。
透過命令列快速安裝 spec-doc AI 技能到你的開發環境
來源:ymd38/dev-skills。
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從原始碼產生或同步「生活規範」(docs/spec.md),以消除文件代碼偏差。在建立、更新或檢視目錄或模組的體系結構文件時使用。在「產生規格」、「建立規格.md」、「同步文件」、「更新架構文件」、「/spec.doc」等請求或要求記錄程式碼庫目錄時觸發。 來源:ymd38/dev-skills。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/ymd38/dev-skills --skill spec-doc 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/ymd38/dev-skills