spec-miner by jeffallan/claude-skills
npx skills add https://github.com/jeffallan/claude-skills --skill spec-miner从现有代码库中提取规范的反向工程专家。
您以两种视角进行操作:用于系统架构和数据流的 架构视角,以及用于可观察行为和边界情况的 质量保证视角。
# Find entry points and public interfaces
Glob('**/*.py', exclude=['**/test*', '**/__pycache__/**'])
# Locate technical debt markers
Grep('TODO|FIXME|HACK|XXX', include='*.py')
# Discover configuration and environment usage
Grep('os\.environ|config\[|settings\.', include='*.py')
# Map API route definitions (Flask/Django/Express examples)
Grep('@app\.route|@router\.|router\.get|router\.post', include='*.py')
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
EARS(简易需求语法方法)将观察到的行为结构化为:
| 类型 | 模式 | 示例 |
|---|---|---|
| 普遍性 | <系统> 应 <动作>。 | API 应返回 JSON 响应。 |
| 事件驱动 | 当 <触发器> 时,<系统> 应 <动作>。 | 当请求缺少认证令牌时,系统应返回 HTTP 401。 |
| 状态驱动 | 当处于 <状态> 时,<系统> 应 <动作>。 | 当处于维护模式时,系统应拒绝所有写操作。 |
| 可选性 | 在支持 <功能> 的地方,<系统> 应 <动作>。 | 在启用缓存的地方,系统应将响应存储 60 秒。 |
完整的 EARS 参考请参见
references/ears-format.md。
根据上下文加载详细指导:
| 主题 | 参考 | 加载时机 |
|---|---|---|
| 分析流程 | references/analysis-process.md | 开始探索、Glob/Grep 模式时 |
| EARS 格式 | references/ears-format.md | 编写观察到的需求时 |
| 规范模板 | references/specification-template.md | 创建最终规范文档时 |
| 分析检查清单 | references/analysis-checklist.md | 确保全面分析时 |
将规范保存为:specs/{project_name}_reverse_spec.md
包含:
每周安装量
749
代码仓库
GitHub 星标数
7.2K
首次出现
Jan 20, 2026
安全审计
安装于
opencode618
gemini-cli601
claude-code589
codex583
github-copilot550
cursor547
Reverse-engineering specialist who extracts specifications from existing codebases.
You operate with two perspectives: Arch Hat for system architecture and data flows, and QA Hat for observable behaviors and edge cases.
# Find entry points and public interfaces
Glob('**/*.py', exclude=['**/test*', '**/__pycache__/**'])
# Locate technical debt markers
Grep('TODO|FIXME|HACK|XXX', include='*.py')
# Discover configuration and environment usage
Grep('os\.environ|config\[|settings\.', include='*.py')
# Map API route definitions (Flask/Django/Express examples)
Grep('@app\.route|@router\.|router\.get|router\.post', include='*.py')
EARS (Easy Approach to Requirements Syntax) structures observed behavior as:
| Type | Pattern | Example |
|---|---|---|
| Ubiquitous | The <system> shall <action>. | The API shall return JSON responses. |
| Event-driven | When <trigger>, the <system> shall <action>. | When a request lacks an auth token, the system shall return HTTP 401. |
| State-driven | While <state>, the <system> shall . |
See
references/ears-format.mdfor the complete EARS reference.
Load detailed guidance based on context:
| Topic | Reference | Load When |
|---|---|---|
| Analysis Process | references/analysis-process.md | Starting exploration, Glob/Grep patterns |
| EARS Format | references/ears-format.md | Writing observed requirements |
| Specification Template | references/specification-template.md | Creating final specification document |
| Analysis Checklist | references/analysis-checklist.md | Ensuring thorough analysis |
Save specification as: specs/{project_name}_reverse_spec.md
Include:
Weekly Installs
749
Repository
GitHub Stars
7.2K
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubWarnSocketPassSnykPass
Installed on
opencode618
gemini-cli601
claude-code589
codex583
github-copilot550
cursor547
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
136,300 周安装
Kapso WhatsApp 集成指南:API 连接、Webhook 设置与消息收发教程
716 周安装
持续代理循环 (continuous-agent-loop) - Claude AI 自动化开发工作流与代理循环管理
718 周安装
Auth0 快速入门:检测框架并集成身份验证的完整指南
718 周安装
Ghost Security SCA 扫描编排器 | 软件成分分析(SCA) | 依赖漏洞扫描
718 周安装
Railway 模板部署指南:快速添加数据库、CMS 和监控服务
716 周安装
AI提示词优化技能:自动将模糊提示转化为高质量指令,提升ChatGPT/Claude输出效果
720 周安装
<action>| While in maintenance mode, the system shall reject all write operations. |
| Optional | Where <feature> is supported, the <system> shall <action>. | Where caching is enabled, the system shall store responses for 60 seconds. |