Registry / smallnest

smallnest/pigo/code-to-spec

Reverse-engineer a SPEC document from an existing project. Analyzes code, config, tests, and structure to produce a comprehensive specification. Triggers on: code-to-spec, reverse spec, generate spec, 逆向规格, 生成规格文档, 生成设计文档, 生成设计方案, extract spec, document this project, what does this project do.

Agent skill · version 0.0.0-master.1794521307.g891d1f3 · from smallnest/pigo

Install

npx yarkr-cli add skill:smallnest/pigo/code-to-spec

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:smallnest/pigo/code-to-spec
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:smallnest/pigo/code-to-spec

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:smallnest/pigo/code-to-spec

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.