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

reverse-document

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

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

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

  • ✓जब कोई फ़ीचर बिना डिज़ाइन दस्तावेज़ के बना हो और अब उसकी ज़रूरत हो।
  • ✓जब टीम को बिना दस्तावेज़ वाला कोडबेस विरासत में मिला हो और उसे समझना हो।
  • ✓जब किसी प्रोटोटाइप मैकेनिक को लिखित डिज़ाइन में बदलना हो।

Skill का लिंक

https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/reverse-document/SKILL.md

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

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

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

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

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

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

“src/gameplay/combat के कॉम्बैट कोड के लिए डिज़ाइन दस्तावेज़ लिखिए, जो वह सचमुच करता है उसके आधार पर।”

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

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

स्किल एक दस्तावेज़ का प्रकार और कोड का पाथ लेती है, इम्प्लीमेंटेशन पढ़ती है, और मेल खाता दस्तावेज़ लिखती है: डिज़ाइन सेक्शन, आर्किटेक्चर डिसीज़न रिकॉर्ड या कॉन्सेप्ट नोट। सहेजने से पहले यह पुष्टि माँगती है।

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

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

Reverse Documentation

This skill analyzes existing implementation (code, prototypes, systems) and generates appropriate design or architecture documentation. Use this when:

  • You built a feature without writing a design doc first
  • You inherited a codebase without documentation
  • You prototyped a mechanic and need to formalize it
  • You need to document "why" behind existing code

Workflow

Phase 1: Parse Arguments

Format: /reverse-document <type> <path>

Type options:

  • design → Generate a game design document (GDD section)
  • architecture → Generate an Architecture Decision Record (ADR)
  • concept → Generate a concept document from prototype

Path: Directory or file to analyze, under the code root — src/ Godot, Assets/ Unity, Source/<Module>/ Unreal (.claude/docs/code-root-resolution.md)

  • src/gameplay/combat/ → All combat-related code (Godot)
  • Assets/Scripts/Core/EventSystem.cs → Specific file (Unity)
  • Source/MyGame/Private/AI/ → A module folder (Unreal)
  • prototypes/stealth-mech/ → Prototype directory

!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys workflow,system_overrides,automation

Automation mode: Resolve modes.automation (project.local.yaml → project.yaml → default collaborative). Every AskUserQuestion call and every file write follows .claude/docs/automation-modes.md (collaborative asks always · guided major-only · autonomous logs and proceeds; automation_always_ask categories always prompt).

Resolved above — use as-is. No block → defaults in .claude/docs/config-resolution.md.

Resolve the workflow tier for the target system: map <path> to a system name, then use the system_overrides row for that system if the block above lists one, else the project workflow value. It sets how much document is generated — see Phase 5. Semantics of each tier are in .claude/docs/workflow-modes.md.

Resolve the tier — do not assume it. workflow-modes.md defines what each tier means, but it cannot say what this project is set to; take that from the block above. The consequence is large here — at full this skill writes an 8-section GDD and at minimal a one-page brief, so a wrong tier produces the wrong artifact entirely.

Examples:

/reverse-document design src/gameplay/magic-system
/reverse-document architecture Source/MyGame/Private/EntityComponent
/reverse-document concept prototypes/vehicle-combat

Phase 2: Analyze Implementation

Read and understand the code/prototype:

For design docs (GDD):

  • Identify mechanics, rules, formulas
  • Extract gameplay values (damage, cooldowns, ranges)
  • Find state machines, ability systems, progression
  • Detect edge cases handled in code
  • Map dependencies (what systems interact?)

For architecture docs (ADR):

  • Identify patterns (ECS, singleton, observer, etc.)
  • Understand technical decisions (threading, serialization, etc.)
  • Map dependencies and coupling
  • Assess performance characteristics
  • Find constraints and trade-offs

For concept docs (prototype analysis):

  • Identify core mechanic
  • Extract emergent gameplay patterns
  • Note what worked vs what didn't
  • Find technical feasibility insights
  • Document player fantasy / feel

Phase 3: Ask Clarifying Questions

DO NOT just describe the code. ASK about intent:

Design questions:

  • "I see a [resource] system that depletes during [activity]. Was this for:
    • Pacing (prevent spam)?
    • Resource management (strategic depth)?
    • Or something else?"
  • "The [mechanic] seems central. Is this a core pillar, or supporting feature?"
  • "[Value] scales exponentially with [factor]. Intentional design, or needs rebalancing?"

Architecture questions:

  • "You're using a service locator pattern. Was this chosen for:
    • Testability (mock dependencies)?
    • Decoupling (reduce hard references)?
    • Or inherited from existing code?"
  • "I see manual memory management instead of smart pointers. Performance requirement, or legacy?"

Concept questions:

  • "The prototype emphasizes stealth over combat. Is that the intended pillar?"
  • "Players seem to exploit the grappling hook for speed. Feature or bug?"

Phase 3b: Sufficiency Check — is there enough here to document?

Run this before Phase 4, and stop here if it fails. This skill infers a design from an implementation, so when the implementation is thin there is nothing to infer from — and the template below wi

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

यह कौन-से दस्तावेज़ प्रकार लिख सकती है?

यह डिज़ाइन सेक्शन, आर्किटेक्चर डिसीज़न रिकॉर्ड, या प्रोटोटाइप से कॉन्सेप्ट दस्तावेज़ लिख सकती है।

क्या यह कोड के पीछे के कारण भी लिखती है?

यह लिखती है कि कोड क्या करता है, और कारण इम्प्लीमेंटेशन से अनुमानित होते हैं, इसलिए उनकी समीक्षा कीजिए।

क्या यह बिना पूछे फ़ाइलें सहेजती है?

नहीं। लिखना प्रोजेक्ट की ऑटोमेशन सेटिंग के अनुसार होता है, जो आपकी मंज़ूरी माँग सकती है।

जानकारी

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

Generate missing design or architecture docs from existing implementation — works backwards from code and prototypes.

repo: Donchitos/Claude-Code-Game-Studios

लोकप्रियता

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

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

0

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

कमेंट

  • …

इस repository की और skills

adopt

33k

जाँचती है कि किसी मौजूदा गेम प्रोजेक्ट के दस्तावेज़ स्टूडियो टेम्पलेट के फ़ॉर्मेट से मेल खाते हैं या नहीं, फिर कमियाँ ठीक करने के लिए क्रमांकित माइग्रेशन योजना लिखती है।

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

architecture-decision

33k

किसी तकनीकी चुनाव के लिए आर्किटेक्चर डिसीज़न रिकॉर्ड लिखती है, जिसमें संदर्भ, विकल्प और परिणाम शामिल हैं, और सही तकनीकी भूमिकाओं से समीक्षा करवाती है।

लेखन और डॉक्यूमेंटडॉक्यूमेंटेशन

architecture-review

33k

जाँचती है कि आपके तकनीकी फ़ैसले हर डिज़ाइन ज़रूरत को कवर करते हैं, आपस में टकराते नहीं और इंजन के वर्शन में फ़िट होते हैं, और साफ़ पास या चिंता वाला फ़ैसला देती है।

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

art-bible

33k

आपके गेम की विज़ुअल पहचान तय करने वाली आर्ट बाइबल लिखती है, ताकि एसेट बनाने का काम एक साफ़ शैली-नियम पर चले।

डिज़ाइनब्रांडिंग

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