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

deepinit

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

यह स्किल एजेंट को किसी कोड प्रोजेक्ट में दस्तावेज़ फ़ाइलों का एक सेट लिखने देती है। यह उन टीमों के लिए है जो चाहती हैं कि AI सहायक शुरू से ही प्रोजेक्ट का ढाँचा और नियम समझें।

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

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

Skill का लिंक

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/deepinit/SKILL.md

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

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

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

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

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

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

“कृपया हमारे कोडबेस में AGENTS.md नोट सेट कीजिए, ताकि आगे के AI सहायक हर फ़ोल्डर को समझ सकें।”

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

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

एजेंट प्रोजेक्ट का ढाँचा पढ़ता है और हर ज़रूरी फ़ोल्डर में एक छोटा नोट लिखता है, जो उसके मूल फ़ोल्डर से जुड़ा होता है। हर नोट बताता है कि फ़ोल्डर में क्या है, उसके हिस्से कैसे जुड़ते हैं, और कोई खास नियम हैं या नहीं।

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

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

Deep Init Skill

Creates comprehensive, hierarchical AGENTS.md documentation across the entire codebase.

Core Concept

AGENTS.md files serve as AI-readable documentation that helps agents understand:

  • What each directory contains
  • How components relate to each other
  • Special instructions for working in that area
  • Dependencies and relationships

Hierarchical Tagging System

Every AGENTS.md (except root) includes a parent reference line:

**Parent context:** `../AGENTS.md`

This MUST be visible prose, never an HTML comment. Claude Code strips HTML comments before a memory file reaches the model, so <!-- Parent: ... -->, <!-- Generated: ... --> and a commented MANUAL boundary are invisible to the agent that is supposed to act on them.

This creates a navigable hierarchy:

/AGENTS.md                          ← Root (no parent line)
├── src/AGENTS.md                   ← **Parent context:** `../AGENTS.md`
│   ├── src/components/AGENTS.md    ← **Parent context:** `../AGENTS.md`
│   └── src/utils/AGENTS.md         ← **Parent context:** `../AGENTS.md`
└── docs/AGENTS.md                  ← **Parent context:** `../AGENTS.md`

Loading Model

Stock Claude Code discovers nested CLAUDE.md by basename and never loads a nested AGENTS.md; a root @AGENTS.md import does not reach subdirectories either. The nested files generated here are delivered by OMC's PostToolUse directory-context injector, which walks up from each accessed file and injects the nearest AGENTS.md/README.md once per session.

That means the hierarchy requires OMC's hooks to be active. When OMC hooks are disabled (DISABLE_OMC=1, OMC_SKIP_HOOKS=post-tool-use) or the plugin is not registered, add a root-level CLAUDE.md symlink or @AGENTS.md import for the root file and expect nested files to stay unread.

AGENTS.md Template

# {Directory Name}

**Parent context:** `{relative_path_to_parent}/AGENTS.md`
**Generated:** {timestamp} · **Updated:** {timestamp}

## Purpose
{One-paragraph description of what this directory contains and its role}

## Key Files
{List each significant file with a one-line description}

| File | Description |
|------|-------------|
| `file.ts` | Brief description of purpose |

## Subdirectories
{List each subdirectory with brief purpose}

| Directory | Purpose |
|-----------|---------|
| `subdir/` | What it contains (see `subdir/AGENTS.md`) |

## For AI Agents

### Working In This Directory
{Special instructions for AI agents modifying files here}

### Testing Requirements
{How to test changes in this directory}

### Common Patterns
{Code patterns or conventions used here}

## Dependencies

### Internal
{References to other parts of the codebase this depends on}

### External
{Key external packages/libraries used}

## Manual Notes

Notes under this heading are written by humans and preserved on regeneration.

Execution Workflow

Step 1: Map Directory Structure

Task(subagent_type="explore", model="haiku",
  prompt="List all directories recursively. Exclude: node_modules, .git, dist, build, __pycache__, .venv, coverage, .next, .nuxt")

Step 2: Create Work Plan

Generate todo items for each directory, organized by depth level:

Level 0: / (root)
Level 1: /src, /docs, /tests
Level 2: /src/components, /src/utils, /docs/api
...

Step 3: Generate Level by Level

IMPORTANT: Generate parent levels before child levels to ensure parent references are valid.

For each directory:

  1. Read all files in the directory
  2. Analyze purpose and relationships
  3. Generate AGENTS.md content
  4. Write file with proper parent reference

Step 4: Compare and Update (if exists)

When AGENTS.md already exists:

  1. Read existing content
  2. Identify sections:
    • Auto-generated sections (can be updated)
    • Manual sections (the ## Manual Notes heading and everything under it are preserved)
  3. Compare:
    • New files added?
    • Files removed?
    • Structure changed?
  4. Merge:
    • Update auto-generated content
    • Preserve manual annotations
    • Update timestamp

Step 5: Validate Hierarchy

After generation, run validation checks:

Check How to Verify Corrective Action
Parent references resolve Read each AGENTS.md, check the **Parent context:** path exists Fix path or remove orphan
No orphaned AGENTS.md Compare AGENTS.md locations to directory structure Delete orpha
अक्सर पूछे जाने वाले सवाल

क्या नोट छिपे हुए रूप में लिखे जाते हैं?

नहीं। मूल फ़ोल्डर के लिंक साफ़ दिखने वाले सादे टेक्स्ट में होते हैं, क्योंकि छिपी टिप्पणियाँ AI तक नहीं पहुँचतीं।

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

इसका उद्देश्य दस्तावेज़ फ़ाइलें लिखना है, इसलिए नोट कोड के साथ जोड़े जाते हैं।

क्या Claude Code ये फ़ाइलें अपने-आप लोड करता है?

सामान्य Claude Code नेस्टेड AGENTS.md फ़ाइलें अपने-आप लोड नहीं करता, इसलिए यह स्किल इस तरह बनी है कि वे AI तक पहुँचें।

जानकारी

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

Deep codebase initialization with hierarchical AGENTS.md documentation

repo: Yeachan-Heo/oh-my-claudecode

लोकप्रियता

GitHub स्टार
41k
रैंकिंग में स्थान
#7000
लाइसेंस
MIT
अपडेट की गई
2/11/2026

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

0

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

कमेंट

  • …

इस repository की और skills

agent-doc-discipline

41k

यह आपके एजेंट को ऐसे निर्देश लिखना सिखाती है जिन्हें दूसरे AI एजेंट बिना अतिरिक्त समझ के फ़ॉलो कर सकें।

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

ai-slop-cleaner

41k

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

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

architecture-survey

41k

यह आपके एजेंट को कोडबेस की संरचना देखकर उन हिस्सों की सूची बनाने में मदद करती है जिन्हें बदलना कठिन होता जा रहा है, सबूत के साथ, बिना खुद कुछ बदले।

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

ask-navigator

41k

यह आपके एजेंट को एक धुंधले प्रोजेक्ट को साफ़ फ़ैसले वाले सवालों के नक्शे में बदलने में मदद करती है, फिर उन्हें एक-एक करके हल करती है।

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

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