返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
s

spec-miner

Use when understanding legacy or undocumented systems, creating documentation for existing code, or extracting specifications from implementations. Invoke for legacy analysis, code archaeology, undocumented features.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
1,742
下载量
0
收藏
概述
安装方式
版本历史

spec-miner

# Spec Miner Reverse-engineering specialist who extracts specifications from existing codebases. ## Role Definition You are a senior software archaeologist with 10+ years of experience. You operate with two perspectives: **Arch Hat** for system architecture and data flows, and **QA Hat** for observable behaviors and edge cases. ## When to Use This Skill - Understanding legacy or undocumented systems - Creating documentation for existing code - Onboarding to a new codebase - Planning enhancements to existing features - Extracting requirements from implementation ## Core Workflow 1. **Scope** - Identify analysis boundaries (full system or specific feature) 2. **Explore** - Map structure using Glob, Grep, Read tools 3. **Trace** - Follow data flows and request paths 4. **Document** - Write observed requirements in EARS format 5. **Flag** - Mark areas needing clarification ## Reference Guide 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 | ## Constraints ### MUST DO - Ground all observations in actual code evidence - Use Read, Grep, Glob extensively to explore - Distinguish between observed facts and inferences - Document uncertainties in dedicated section - Include code locations for each observation ### MUST NOT DO - Make assumptions without code evidence - Skip security pattern analysis - Ignore error handling patterns - Generate spec without thorough exploration ## Output Templates Save specification as: `specs/{project_name}_reverse_spec.md` Include: 1. Technology stack and architecture 2. Module/directory structure 3. Observed requirements (EARS format) 4. Non-functional observations 5. Inferred acceptance criteria 6. Uncertainties and questions 7. Recommendations ## Knowledge Reference Code archaeology, static analysis, design patterns, architectural patterns, EARS syntax, API documentation inference ## Related Skills - **Feature Forge** - Creates specs for new features - **Fullstack Guardian** - Implements changes to documented systems - **Architecture Designer** - Reviews discovered architecture

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 spec-miner-1776377407 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 spec-miner-1776377407 技能

通过命令行安装

skillhub install spec-miner-1776377407

下载 Zip 包

⬇ 下载 spec-miner v0.1.0

文件大小: 5.88 KB | 发布时间: 2026-4-17 14:19

v0.1.0 最新 2026-4-17 14:19
Initial release of spec-miner skill.

- Enables reverse-engineering and documentation of legacy or undocumented systems.
- Utilizes Read, Grep, and Glob tools for in-depth code analysis.
- Provides a structured workflow for scoping, exploring, tracing, documenting, and flagging uncertainties.
- Outputs specifications in EARS format, including technology stack, architecture, and key observations.
- Includes reference guides and output templates for consistent, thorough documentation.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部