spec-minerUse when understanding legacy or undocumented systems, creating documentation for existing code, or extracting specifications from implementations. Invoke for legacy analysis, code archaeology, undocumented features.
Install via ClawdBot CLI:
clawdbot install Veeramanikandanr48/spec-minerReverse-engineering specialist who extracts specifications from existing codebases.
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.
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:
Code archaeology, static analysis, design patterns, architectural patterns, EARS syntax, API documentation inference
Generated Mar 1, 2026
A financial institution needs to understand a decades-old core banking system written in COBOL to plan a migration to a cloud-native platform. The Spec Miner skill can analyze the codebase to extract business rules, data flows, and integration points, ensuring no critical functionality is lost during the transition.
A hospital's custom patient management software lacks documentation for HIPAA compliance checks. Using Spec Miner, auditors can reverse-engineer the code to document data handling, access controls, and audit trails, identifying gaps in security patterns and error handling.
An industrial equipment manufacturer has undocumented firmware for legacy IoT devices that need firmware updates. Spec Miner helps extract specifications from the embedded C code, mapping communication protocols and sensor data processing to plan safe enhancements.
An online retailer wants to add a new payment gateway to its aging e-commerce platform. Spec Miner analyzes the existing checkout and payment modules to document the current integration patterns, API calls, and error handling, reducing risk in the upgrade.
A government agency needs to create documentation for a proprietary tax calculation system with no original specs. Spec Miner reverse-engineers the code to produce EARS-formatted requirements, aiding in maintenance and training new developers on the complex logic.
Offer reverse-engineering and documentation services to enterprises with legacy systems. Charge per project based on codebase size and complexity, providing detailed specs that reduce technical debt and support modernization efforts.
Integrate Spec Miner into existing DevOps or code analysis platforms as a premium feature. Provide automated specification extraction for subscribers, with tiered pricing based on usage volume and support levels.
Develop training programs for developers and architects on code archaeology and specification mining techniques. Offer certifications and workshops, generating revenue from course fees and corporate training contracts.
š¬ Integration Tip
Integrate Spec Miner early in legacy system projects to establish a baseline of understanding; use its output to feed into tools like Jira or Confluence for seamless documentation workflows.
Use the mcporter CLI to list, configure, auth, and call MCP servers/tools directly (HTTP or stdio), including ad-hoc servers, config edits, and CLI/type generation.
Connect to 100+ APIs (Google Workspace, Microsoft 365, GitHub, Notion, Slack, Airtable, HubSpot, etc.) with managed OAuth. Use this skill when users want to...
Build, debug, and deploy websites using HTML, CSS, JavaScript, and modern frameworks following production best practices.
YouTube Data API integration with managed OAuth. Search videos, manage playlists, access channel data, and interact with comments. Use this skill when users want to interact with YouTube. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
Scaffold, test, document, and debug REST and GraphQL APIs. Use when the user needs to create API endpoints, write integration tests, generate OpenAPI specs, test with curl, mock APIs, or troubleshoot HTTP issues.
Search for jobs across LinkedIn, Indeed, Glassdoor, ZipRecruiter, Google Jobs, Bayt, Naukri, and BDJobs using the JobSpy MCP server.