Docs
latitude-dev/latitude-llm
Review the current conversation context and git changes, then persist durable repository knowledge into dev-docs/.md by domain and into AGENTS.md for cross-cutting repo rules.
Initialize or migrate to nested CLAUDE.md structure for progressive disclosure.
$ npx skills add TechDufus/oh-my-claude --skill init-deep -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install TechDufus/oh-my-claude init-deep --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/TechDufus/oh-my-claude.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/oh-my-claude/skills/init-deep .claude/skills/init-deep && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "init-deep" agent skill from https://github.com/TechDufus/oh-my-claude/tree/main/plugins/oh-my-claude/skills/init-deep into .claude/skills/init-deep/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "init-deep", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/TechDufus/oh-my-claude/tree/main/plugins/oh-my-claude/skills/init-deepType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add TechDufus/oh-my-claude --skill init-deep -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install TechDufus/oh-my-claude init-deep --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TechDufus/oh-my-claude.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/oh-my-claude/skills/init-deep .agents/skills/init-deep && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "init-deep" agent skill from https://github.com/TechDufus/oh-my-claude/tree/main/plugins/oh-my-claude/skills/init-deep into .agents/skills/init-deep/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "init-deep", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add TechDufus/oh-my-claude --skill init-deep -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install TechDufus/oh-my-claude init-deep --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TechDufus/oh-my-claude.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/oh-my-claude/skills/init-deep .cursor/skills/init-deep && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "init-deep" agent skill from https://github.com/TechDufus/oh-my-claude/tree/main/plugins/oh-my-claude/skills/init-deep into .cursor/skills/init-deep/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "init-deep", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/TechDufus/oh-my-claude.git --path plugins/oh-my-claude/skills/init-deep--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add TechDufus/oh-my-claude --skill init-deep -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install TechDufus/oh-my-claude init-deep --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TechDufus/oh-my-claude.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/oh-my-claude/skills/init-deep .gemini/skills/init-deep && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "init-deep" agent skill from https://github.com/TechDufus/oh-my-claude/tree/main/plugins/oh-my-claude/skills/init-deep into .gemini/skills/init-deep/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "init-deep", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install TechDufus/oh-my-claude init-deepInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add TechDufus/oh-my-claude --skill init-deep -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/TechDufus/oh-my-claude.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/oh-my-claude/skills/init-deep .github/skills/init-deep && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "init-deep" agent skill from https://github.com/TechDufus/oh-my-claude/tree/main/plugins/oh-my-claude/skills/init-deep into .github/skills/init-deep/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "init-deep", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add TechDufus/oh-my-claude --skill init-deep -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install TechDufus/oh-my-claude init-deep --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TechDufus/oh-my-claude.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/oh-my-claude/skills/init-deep .opencode/skills/init-deep && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "init-deep" agent skill from https://github.com/TechDufus/oh-my-claude/tree/main/plugins/oh-my-claude/skills/init-deep into .opencode/skills/init-deep/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "init-deep", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
init-deepInitialize or migrate to nested CLAUDE.md structure for progressive disclosure.
Init Deep is an agent skill from TechDufus/oh-my-claude. Initialize or migrate to nested CLAUDE.md structure for progressive disclosure. Claude auto-loads CLAUDE.md from any directory it reads, enabling true contextual guidance. Triggers on: '/init-deep', 'deep init', 'initialize deeply', 'setup claude deeply', 'refactor claude.md', 'migrate claude.md', 'nested claude', 'progressive disclosure'.
Its SKILL.md is about 5.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows, covering Agent instruction files and Refactoring. The repository describes itself as: Add ultrawork to any prompt for maximum parallel execution. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit ede75db. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadWriteEditGlobGrepBashAgentAskUserQuestionFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npmclaudeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Init Deep loads about 5.3k tokens when it runs. Until then it costs about 88 tokens; SKILL.md has 1,228 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Read, Write, Edit, Glob, Grep, Bash, Agent, AskUserQuestionAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from TechDufus/oh-my-claude at commit ede75db, republished under its MIT licence (© TechDufus). 1,228 words, ~5,279 tokens.
.claude/skills/init-deep/SKILL.md (or your agent's skills folder).Create a minimal root CLAUDE.md with nested CLAUDE.md files throughout the repository for true progressive disclosure.
Claude automatically loads CLAUDE.md from any directory it reads. Instead of centralizing documentation in .claude/docs/, place CLAUDE.md files directly in relevant directories. When Claude reads src/api/users.ts, it also loads src/api/CLAUDE.md - contextual guidance exactly when needed.
Closest Wins: When multiple CLAUDE.md files apply, the one closest to the file being edited takes precedence. A rule in src/api/CLAUDE.md overrides the same topic in root CLAUDE.md.
| Category | Trigger Phrases |
|---|---|
| Initialize | /init-deep, deep init, initialize deeply, setup claude deeply |
| Migrate | refactor claude.md, migrate claude.md, restructure claude |
| Structure | nested claude, progressive disclosure, contextual claude |
/init-deep # Update: modify existing + create new where needed
/init-deep --fresh # Delete all CLAUDE.md files, regenerate from scratch
/init-deep --max-depth=2 # Limit nesting depth (default: unlimited)| Flag | Behavior |
|---|---|
| (none) | Additive - creates missing, preserves existing |
--fresh | Destructive - deletes all CLAUDE.md, starts clean |
--max-depth=N | Limits nested CLAUDE.md to N levels deep |
Claude has ~150-200 instruction capacity before diminishing returns. A bloated root CLAUDE.md means wasted context on every interaction.
Solution: Minimal root + nested CLAUDE.md files that load only when relevant directories are accessed.
| File | Lines | Status |
|---|---|---|
| Root CLAUDE.md | 50-150 | Optimal range |
| Root CLAUDE.md | 150+ | Needs refactoring |
| Nested CLAUDE.md | 30-80 | Optimal range |
| Nested CLAUDE.md | 80+ | Too verbose |
Telegraphic style required. No verbose explanations. Each line must carry weight.
Child CLAUDE.md files NEVER repeat parent content:
Review Phase Requirement: Before finalizing, scan all generated CLAUDE.md files for duplicated guidance. Remove duplicates from children, keep in nearest common ancestor.
Not every directory needs a CLAUDE.md. Use weighted scoring to decide.
Score = (file_count * 3) + (reference_centrality * 3) + (symbol_density * 1) + (export_count * 1)| Factor | Weight | How to Measure |
|---|---|---|
| File count | 3x | Number of files in directory |
| Reference centrality | 3x | How many imports/exports reference this dir |
| Symbol density | 1x | Functions, classes, types defined |
| Export count | 1x | Public API surface |
| Score | Action |
|---|---|
| >15 | Definitely gets CLAUDE.md |
| 8-15 | Only if distinct domain (tests, api, components) |
| <8 | Parent CLAUDE.md covers it |
When scoring isn't practical, use these rules:
| Directory | Create CLAUDE.md? | Reason |
|---|---|---|
| tests/ | YES | Testing patterns are domain-specific |
| src/components/ | YES | Component patterns are specialized |
| src/api/ | YES | API design patterns are critical |
| src/hooks/ | MAYBE | If project has custom hooks |
| src/utils/ | MAYBE | If utility patterns are non-obvious |
| src/services/ | MAYBE | If services have specific patterns |
| src/ | MAYBE | For general coding conventions |
| scripts/ | RARELY | Only if complex build system |
| node_modules/ | NEVER | Not your code |
| dist/ | NEVER | Generated code |
Create minimal root + nested structure from scratch.
Analyze, categorize, and migrate content to nested CLAUDE.md files.
Goal: Understand current state and scope.
Actions:
.claude/docs/ exists (old pattern to migrate)Dynamic Agent Scaling:
| Condition | Action |
|---|---|
| Files >100 | Spawn additional Explore agents |
| Depth >=4 | Increase exploration scope |
| Multiple languages | Spawn language-specific analysis |
Concurrent Execution: Launch all exploration agents in parallel (one message, multiple Task calls). Do not wait for one to finish before starting others.
Directory Detection Patterns:
src/ # Source code root
tests/ # Test files
test/ # Alternative test directory
lib/ # Library code
api/ # API layer (may be under src/)
components/ # UI components
hooks/ # React/custom hooks
utils/ # Utility functions
services/ # Service layer
scripts/ # Build/dev scripts
packages/ # Monorepo packages
apps/ # Monorepo appsNested directory patterns (check inside src/):
src/api/
src/components/
src/hooks/
src/utils/
src/services/
src/lib/
src/routes/
src/pages/
src/stores/
src/models/Detection Script:
# Find directories that should have CLAUDE.md
for dir in tests test src lib api components hooks utils services scripts packages apps; do
if [ -d "$dir" ]; then
echo "FOUND: $dir/"
fi
done
# Check src/ subdirectories
if [ -d "src" ]; then
for subdir in api components hooks utils services lib routes pages stores models; do
if [ -d "src/$subdir" ]; then
echo "FOUND: src/$subdir/"
fi
done
fiGoal: Gather essential project info.
For Fresh Projects, Ask:
Question 1: Project Description
What does this project do? (One sentence)
Example: "A CLI tool for managing Kubernetes deployments"Question 2: Package Manager
Which package manager does this project use?
Options:
- npm (default, will not be documented)
- pnpm
- yarn
- bun
- none (not a JS/TS project)Question 3: Non-Standard Commands
Any build, test, or lint commands that differ from standard?
Leave blank if using standard commands (npm test, npm run build).
Only specify if different, e.g., "pytest -v" or "make release"Question 4: Nested CLAUDE.md Selection
I detected these directories. Which should have their own CLAUDE.md?
Detected:
- [x] tests/
- [x] src/components/
- [x] src/api/
- [ ] src/utils/
- [ ] scripts/
Select all that would benefit from contextual guidance.
(Default: tests/ and any domain-specific src/ directories)For Existing CLAUDE.md Migration, Ask:
Found existing CLAUDE.md ({N} lines). Options:
1. Analyze and migrate - Extract content to nested CLAUDE.md files
2. Replace - Create fresh minimal structure (backup original)
3. Cancel - Keep existing structureGoal: Categorize existing content for migration.
Metrics to Calculate:
| Metric | How | Threshold |
|---|---|---|
| Line Count | Total non-empty lines | >150 = needs migration |
| Instruction Count | Count MUST/NEVER/ALWAYS/should | >30 = instruction overload |
| Hardcoded Paths | Regex for file paths | >10 = staleness risk |
| Sections | Count ## headers | >8 = fragmented |
Content Categorization:
Map existing content to potential nested locations:
| Content Type | Destination |
|---|---|
| Project description, tech stack | Root CLAUDE.md |
| Package manager, build commands | Root CLAUDE.md |
| Task-to-location mapping | Root CLAUDE.md |
| Agent workflow guidance | Root CLAUDE.md |
| Testing patterns, mocking, coverage | tests/CLAUDE.md |
| Component patterns, naming, props | src/components/CLAUDE.md |
| API design, endpoints, error handling | src/api/CLAUDE.md |
| Hook patterns, naming, dependencies | src/hooks/CLAUDE.md |
| Utility patterns, when to use | src/utils/CLAUDE.md |
| Service patterns, external integrations | src/services/CLAUDE.md |
| Coding conventions (general) | Root or src/CLAUDE.md |
Analysis Output Template:
## CLAUDE.md Analysis
### Metrics
| Metric | Value | Status |
|--------|-------|--------|
| Total Lines | 245 | MIGRATE |
| Instructions | 52 | HIGH |
| Hardcoded Paths | 18 | WARNING |
### Content Migration Plan
| Lines | Content | Destination |
|-------|---------|-------------|
| 1-15 | Project description | Root CLAUDE.md |
| 20-45 | Testing patterns | tests/CLAUDE.md |
| 50-95 | Component conventions | src/components/CLAUDE.md |
| 100-140 | API design patterns | src/api/CLAUDE.md |
| 145-180 | General coding style | src/CLAUDE.md |
| 185-245 | Outdated/stale content | REMOVE (with approval) |Goal: Create minimal root + nested CLAUDE.md files.
Parallel Generation: When creating multiple nested CLAUDE.md files, generate them in parallel (multiple Write calls in one message).
# {Project Name}
{One-sentence description}
## Development
{Package manager line - ONLY if not npm}
{Non-standard commands - ONLY if provided}
## Where to Look
| Task | Location |
|------|----------|
| Add new API endpoint | src/api/ |
| Add UI component | src/components/ |
| Add utility function | src/utils/ |
| Write tests | tests/ |
| Add service integration | src/services/ |
| Modify build/deploy | scripts/ |
## Agent Workflow
Explore finds -> Librarian reads -> You plan -> Worker implements -> Validator checks
When delegating to agents:
- Use positive constraints ("ensure X") not negative ("don't do Y")
- Include context, expected output, acceptance criteria
- Launch independent tasks in parallel
## Guidance
Context-specific guidance lives in nested CLAUDE.md files throughout the repo.
These load automatically when you work in those directories.
Closest CLAUDE.md to the file being edited takes precedence.Conditional Rules:
Each nested file: 30-80 lines max. Telegraphic style. Domain-specific anti-patterns required.
tests/CLAUDE.md Template (30-50 lines):
# Testing
## Framework
{e.g., Jest, Vitest, pytest, Go testing}
## Patterns
- Test files: `*.test.ts` or `*.spec.ts`
- Describe blocks mirror module structure
- One assertion per test when practical
## Running Tests
```bash
{test command}Focus on behavior, not percentage. Critical paths need thorough coverage.
---
**src/components/CLAUDE.md Template (30-50 lines):**
```markdown
# Components
## Structure
ComponentName/ index.ts # Re-export ComponentName.tsx # Implementation ComponentName.test.tsx
## Naming
- Components: PascalCase
- Props interface: `{ComponentName}Props`
- Files match component name
## Patterns
- Prefer composition over inheritance
- Extract hooks for reusable logic
- Props over context for explicit dependencies
## Exports
{Named exports / default exports preference}
## Anti-Patterns
- Don't use inline styles when CSS modules exist
- Don't prop-drill beyond 2 levels - use context
- Don't mix data fetching with presentation
- Don't create god components (>200 lines)src/api/CLAUDE.md Template (30-50 lines):
# API Layer
## Design
- RESTful endpoints / GraphQL / tRPC
- Consistent error response format
- Request validation at boundary
## Patterns
- Controllers handle HTTP concerns only
- Business logic lives in services
- Validate input, sanitize output
## Error Handling
{error response format example}
## Authentication
{auth pattern if applicable}
## Anti-Patterns
- Don't expose internal errors to clients
- Don't skip input validation
- Don't leak sensitive data in responses
- Don't mix auth logic with business logicsrc/hooks/CLAUDE.md Template (30-50 lines):
# Hooks
## Naming
- Prefix with `use`: `useAuth`, `useForm`, `useFetch`
- Name describes the capability, not implementation
## Patterns
- Single responsibility per hook
- Return stable references (useMemo, useCallback)
- Handle cleanup in useEffect
## Testing
- Test hooks via @testing-library/react-hooks
- Test state transitions, not implementation
## Common Hooks
{list project-specific hooks if established}
## Anti-Patterns
- Don't call hooks conditionally
- Don't create hooks with side effects on mount without cleanup
- Don't return unstable references
- Don't nest hooks more than 2 levels deepsrc/utils/CLAUDE.md Template (30-50 lines):
# Utilities
## When to Create
Create a utility when:
- Logic is used in 3+ places
- Function is pure (no side effects)
- Behavior is well-defined and testable
## Patterns
- Pure functions preferred
- No dependencies on external state
- Comprehensive input validation
- Clear, descriptive names
## Naming
- Functions: camelCase, verb-first (`formatDate`, `parseInput`)
- Files: kebab-case or camelCase (match project convention)
## Testing
Every utility function needs tests. They're isolated and easy to test.
## Anti-Patterns
- Don't create utils for single-use logic
- Don't add side effects to pure functions
- Don't create "misc" or "helpers" grab-bags
- Don't depend on global statesrc/services/CLAUDE.md Template (30-50 lines):
# Services
## Purpose
Services encapsulate external integrations and complex business logic.
## Patterns
- One service per external dependency
- Services are injectable/mockable
- Handle retries, timeouts, circuit breaking
## Structure
services/ userService.ts authService.ts emailService.ts
## Error Handling
- Wrap external errors in domain-specific errors
- Log at service boundary
- Never expose internal details to callers
## Anti-Patterns
- Don't call services from other services directly - use orchestrator
- Don't mix HTTP/DB concerns in same service
- Don't retry without backoff
- Don't swallow errors silentlysrc/CLAUDE.md Template (30-50 lines):
# Source Code
## Style
- {indent style}
- {semicolons yes/no}
- {quote style}
## Imports
```typescript
// 1. External packages
// 2. Internal aliases (@/)
// 3. Relative imports
// 4. Types (import type)any - use unknown and narrow
---
**scripts/CLAUDE.md Template (30-50 lines):**
```markdown
# Scripts
## Purpose
Build, deployment, and development automation scripts.
## Conventions
- Scripts are executable: `chmod +x script.sh`
- Include usage comment at top
- Exit codes: 0 success, 1 error
- Use `set -euo pipefail` for bash scripts
## Running
```bash
./scripts/{script-name}.sh
# or
npm run {script-name}
---
### Phase 5: Execution
**For Fresh Projects:**
1. Create root CLAUDE.md
2. Create nested CLAUDE.md files in detected/selected directories (parallel writes)
3. Report created files
**For Migration:**
1. Create backup: `cp CLAUDE.md CLAUDE.md.backup`
2. Create nested CLAUDE.md files with migrated content
3. Rewrite root CLAUDE.md to minimal version
4. If `.claude/docs/` exists, offer to migrate or remove
5. Present before/after comparison
**For --fresh Flag:**
1. Find all existing CLAUDE.md files: `find . -name "CLAUDE.md" -type f`
2. Delete all found CLAUDE.md files
3. Run fresh project workflow
**Deduplication Check (Required):**
Before finalizing, review all generated files:
1. List all rules in root CLAUDE.md
2. Check each nested file for duplicates
3. Remove any duplicated guidance from children
4. Only domain-specific additions remain in nested files
**Before/After Report:**
```markdown
## Migration Complete
### Before
- Root CLAUDE.md: 245 lines
- Nested CLAUDE.md: 0 files
- .claude/docs/: 3 files
### After
- Root CLAUDE.md: 85 lines (65% reduction)
- Nested CLAUDE.md: 4 files
- tests/CLAUDE.md (35 lines)
- src/components/CLAUDE.md (42 lines)
- src/api/CLAUDE.md (38 lines)
- src/CLAUDE.md (30 lines)
### Backup
Original preserved at CLAUDE.md.backup
### Benefit
Root context cost reduced from 245 to 85 lines.
Domain guidance loads only when working in those directories..claude/docs/ (old pattern).claude/docs/ content if it exists| Content Type | Location |
|---|---|
| Project purpose | Root |
| Package manager | Root |
| Non-standard commands | Root |
| Where-to-look table | Root |
| Agent workflow guidance | Root |
| Testing philosophy | tests/CLAUDE.md |
| Component patterns | src/components/CLAUDE.md |
| API conventions | src/api/CLAUDE.md |
| General code style | src/CLAUDE.md |
| Import ordering | src/CLAUDE.md |
| Naming conventions | src/CLAUDE.md or domain-specific |
If selected directory doesn't exist:
If nested CLAUDE.md already exists:
If cannot write files:
After creating files:
Created nested CLAUDE.md structure:
Root:
- CLAUDE.md ({N} lines)
Nested:
- tests/CLAUDE.md ({N} lines) - Testing patterns
- src/components/CLAUDE.md ({N} lines) - Component patterns
- src/api/CLAUDE.md ({N} lines) - API patterns
How it works:
Claude automatically loads CLAUDE.md from any directory it reads.
When you work in src/api/, the API patterns load automatically.
Closest file to your edit takes precedence ("closest wins").
Next steps:
1. Review each CLAUDE.md and customize for your project
2. Add patterns as they emerge during development
3. Keep files focused and minimal (30-80 lines nested, 50-150 root)© TechDufus, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugins/oh-my-claude/skills/init-deep of TechDufus/oh-my-claude.
Open the folder on GitHubat commit ede75db
Init Deep next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Init Deep this skillTechDufus/oh-my-claude | 174 | — | ~5.3k | Automated safety check: Notes | MIT | |
| Docslatitude-dev/latitude-llm | 4.7k | — | ~2.5k | Automated safety check: Pass | MIT | |
| Agent Md Refactormicronaut-projects/micronaut-openapi | 114 | — | ~766 | Automated safety check: Pass | Apache-2.0 | |
| Steadyagent WorkflowKhalilzhang0825/boring-is-all-you-need | 173 | — | ~1k | Automated safety check: Pass | MIT | |
| Reclaudebrianlovin/agent-config | 377 | 1 repos | ~981 | Automated safety check: Pass | None | |
| Agent Md Refactormeshery/meshery-operator | 151 | 5 repos | ~1.9k | Automated safety check: Pass | MIT |
latitude-dev/latitude-llm
Review the current conversation context and git changes, then persist durable repository knowledge into dev-docs/.md by domain and into AGENTS.md for cross-cutting repo rules.
micronaut-projects/micronaut-openapi
Refactor oversized agent instruction files into a progressive-disclosure structure.
Khalilzhang0825/boring-is-all-you-need
Local-first Codex workflow for planning, debugging, reviewing, refactoring, improving AGENTS.md, building skills, publishing agent harness repositories, or running complex multi-step coding tasks…
brianlovin/agent-config
Refactor CLAUDE.md files to follow progressive disclosure principles.
meshery/meshery-operator
Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles.
alchemiststudiosDOTai/harness-engineering
This skill should be used when creating, refreshing, or validating a repository AGENTS.md so it stays concise, current, and grounded in repository evidence.
TechDufus/oh-my-claude
Systematic debugging methodology for diagnosing failures and root cause analysis.
TechDufus/oh-my-claude
A skill your agent uses when applying oh-my-claude workflow guidance, ultrawork modes, agent orchestration, plan execution, or plugin configuration.
TechDufus/oh-my-claude
MUST be used when creating pull requests. An agent skill from TechDufus/oh-my-claude.
TechDufus/oh-my-claude
Transform approved plans into ralph loop infrastructure. An agent skill from TechDufus/oh-my-claude.
TechDufus/oh-my-claude
Structured PRD generation with interview, research, and approval workflow.
TechDufus/oh-my-claude
Methodology for creating effective skills using TDD principles.
Categories
Initialize or migrate to nested CLAUDE.md structure for progressive disclosure. Init Deep is an agent skill from TechDufus/oh-my-claude.md structure for progressive disclosure.
Init Deep fits situations like: initialize deeply; setup claude deeply; refactor claude.md; migrate claude.md.
Run `npx skills add TechDufus/oh-my-claude --skill init-deep -a claude-code`. Or copy the skill folder (plugins/oh-my-claude/skills/init-deep in TechDufus/oh-my-claude) into .claude/skills/init-deep in your project. Claude Code loads it when a task matches its description.
Run `npx skills add TechDufus/oh-my-claude --skill init-deep -a codex`. Or copy the skill folder (plugins/oh-my-claude/skills/init-deep in TechDufus/oh-my-claude) into .agents/skills/init-deep in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TechDufus/oh-my-claude --skill init-deep -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/init-deep, .gemini/skills/init-deep, .github/skills/init-deep and .opencode/skills/init-deep in your project.
Going by SKILL.md and its folder, Init Deep needs the command-line tools its instructions call (npm and claude). Its frontmatter pre-approves these tools: Read, Write, Edit, Glob, Grep, Bash, Agent, AskUserQuestion.
SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Init Deep is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 5.3k tokens (SKILL.md is roughly 21k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Init Deep: Docs (latitude-dev/latitude-llm, 4.7k stars), Agent Md Refactor (micronaut-projects/micronaut-openapi, 114 stars), Steadyagent Workflow (Khalilzhang0825/boring-is-all-you-need, 173 stars) and Reclaude (brianlovin/agent-config, 377 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
TechDufus (a GitHub user) maintains it in TechDufus/oh-my-claude, which has 174 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on July 13, 2026.
Source: TechDufus/oh-my-claude on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.