मुख्य सामग्री पर जाएँ
Skillpedia
डॉक्यूमेंटेशन12k · #11458

spec-miner

यह क्या करती है

यह मौजूदा कोडबेस पढ़ती है और उसका देखा गया व्यवहार और संरचना लिखती है। यह उन लोगों के लिए है जिन्हें पुराना या बिना दस्तावेज़ वाला सॉफ़्टवेयर विरासत में मिला है।

कब इस्तेमाल करें

  • ✓जब आपको बिना दस्तावेज़ वाला पुराना प्रोजेक्ट विरासत में मिला हो।
  • ✓जब आपको स्रोत कोड से API दस्तावेज़ लिखवाना हो।
  • ✓जब आप जानना चाहते हैं कि पुराने सिस्टम के असली कारोबारी नियम क्या हैं।

Skill का लिंक

https://github.com/Jeffallan/claude-skills/blob/main/skills/spec-miner/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/Jeffallan/claude-skills/blob/main/skills/spec-miner/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“क्या आप यह पुराना प्रोजेक्ट पढ़कर बता सकते हैं कि वह क्या करता है, और उसके मुख्य नियम लिख सकते हैं?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

AI कोड का नक्शा बनाता है, देखता है कि डेटा उसमें कैसे चलता है, देखे गए व्यवहार को आवश्यकताओं के रूप में लिखता है, और जो बात साफ़ न हो उसे चिह्नित करता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Spec Miner

Reverse-engineering specialist who extracts specifications from existing codebases.

Role Definition

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
    • Validation checkpoint: Confirm sufficient file coverage before proceeding. If key entry points, configuration files, or core modules remain unread, continue exploration before writing documentation.
  3. Trace - Follow data flows and request paths
  4. Document - Write observed requirements in EARS format
  5. Flag - Mark areas needing clarification

Example Exploration Patterns

# 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 Format Quick Reference

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 <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.

See references/ears-format.md for the complete EARS reference.

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

Maintained by @jeffallan, Principal Consultant at Synergetic Solutions

Documentation

अक्सर पूछे जाने वाले सवाल

क्या यह मेरा कोड बदलती है?

यह स्किल कोड पढ़ने और दस्तावेज़ बनाने के बारे में है। यह कोड बदलने का वर्णन नहीं करती।

आवश्यकताओं के लिए यह कौन-सा फ़ॉर्मेट इस्तेमाल करती है?

स्किल कहती है कि यह देखी गई आवश्यकताएँ EARS फ़ॉर्मेट में लिखती है, जो एक सरल संरचित शैली है।

जब कोड का कोई हिस्सा साफ़ न हो तो क्या होता है?

स्किल उन हिस्सों को चिह्नित करती है, ताकि बाद में कोई व्यक्ति उन्हें जाँच सके।

जानकारी

लेखक का मूल विवरण

Reverse-engineering specialist that extracts specifications from existing codebases. Use when working with legacy or undocumented systems, inherited projects, or old codebases with no documentation. Invoke to map code dependencies, generate API documentation from source, identify undocumented business logic, figure out what code does, or create architecture documentation from implementation. Trigger phrases: reverse engineer, old codebase, no docs, no documentation, figure out how this works, inherited project, legacy analysis, code archaeology, undocumented features.

repo: Jeffallan/claude-skills

लोकप्रियता

GitHub स्टार
12k
रैंकिंग में स्थान
#11458
लाइसेंस
MIT
अपडेट की गई
30/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

angular-architect

12k

आपके एजेंट को standalone कॉम्पोनेंट, lazy-loaded रूटिंग, NgRx स्टेट, RxJS पैटर्न और परफ़ॉर्मेंस सुधार के साथ Angular 17 और नए ऐप बनाने में मदद करती है।

कोडिंगवेबसाइट और UI (frontend)

api-designer

12k

आपके एजेंट को REST या GraphQL API डिज़ाइन करने और OpenAPI 3.1 स्पेक लिखने में मदद करती है, जिसमें संसाधन, पेजिनेशन, एरर फ़ॉर्मेट और वर्ज़निंग के नियम हों।

कोडिंगAPI और सर्वर (backend)

architecture-designer

12k

आपके एजेंट को सिस्टम आर्किटेक्चर डिज़ाइन करने, पैटर्न और तकनीकों की तुलना करने, और हर चुनाव समझाने वाले Architecture Decision Records लिखने में मदद करती है।

कोडिंगसामान्य कोडिंग

atlassian-mcp

12k

MCP के ज़रिए Jira इश्यू खोजने और अपडेट करने, और Confluence पेज संभालने में मदद करती है, JQL और CQL क्वेरी, स्प्रिंट और दस्तावेज़ सिंक के साथ।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

मिलती-जुलती skills