Generates hierarchical context files (CLAUDE.md) throughout a project directory tree, providing AI agents with directory-specific knowledge for better code understanding. Use when setting up a new project for AI-assisted development.
npx skills add https://github.com/ArabelaTso/Skills-4-SE --skill init-deep
Automatically generates layered context files throughout a project's directory tree, giving AI agents directory-specific knowledge without loading the entire codebase into context.
Create an CLAUDE.md file at each significant directory level:
project/
├── CLAUDE.md # Project-wide: overview, conventions, anti-patterns
├── src/
│ ├── CLAUDE.md # src-specific: architecture, module boundaries
│ ├── api/
│ │ └── CLAUDE.md # API-specific: routes, middleware, auth patterns
│ └── components/
│ └── CLAUDE.md # Component-specific: naming, props, styling
├── tests/
│ └── CLAUDE.md # Test-specific: frameworks, fixtures, patterns
└── infra/
└── CLAUDE.md # Infra-specific: deployment, configs, secrets
When an AI reads src/api/routes/auth.ts, it automatically picks up context from:
project/CLAUDE.md (project-wide)project/src/CLAUDE.md (source conventions)project/src/api/CLAUDE.md (API patterns).gitignore)Each CLAUDE.md should be:
# PROJECT KNOWLEDGE BASE
## OVERVIEW
[1-2 sentences: what this project is]
## STRUCTURE
[Directory tree with annotations]
## WHERE TO LOOK
| Task | Location | Notes |
|------|----------|-------|
| Add a feature | src/features/ | One dir per feature |
| Fix a bug | src/core/ | Core logic here |
| Add a test | tests/ | Mirror src/ structure |
## CONVENTIONS
- [Naming rules]
- [Pattern rules]
- [Import rules]
## ANTI-PATTERNS
- Do NOT [common mistake 1]
- Do NOT [common mistake 2]
## COMMANDS
[Build, test, lint, deploy commands]
--max-depth=N — Limit directory depth (default: 3)--create-new — Only create new files, don't overwrite existingUser: "Set up CLAUDE.md files for this project"
Output: Scans project, generates 6 CLAUDE.md files across the directory tree. Root file has project overview, src/ file has architecture notes, each major subdirectory gets specific conventions and anti-patterns.
Inspired by: oh-my-opencode /init-deep command
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.
Build agentic applications with GitHub Copilot SDK. Use when embedding AI agents in apps, creating custom tools, implementing streaming responses, managing sessions, connecting to MCP servers, or creating custom agents. Triggers on Copilot SDK, GitHub SDK, agentic app, embed Copilot, programmable agent, MCP server, custom agent.
Coding Agent Session Search - unified CLI/TUI to index and search local coding agent history from Claude Code, Codex, Gemini, Cursor, Aider, ChatGPT, Pi-Agent, Factory, and more. Purpose-built for AI agent consumption with robot mode.
Destructive Command Guard - High-performance Rust hook for Claude Code that blocks dangerous commands before execution. SIMD-accelerated, modular pack system, whitelist-first architecture. Essential safety layer for agent workflows.
Makepad UI development skills for Rust apps: setup, patterns, shaders, packaging, and troubleshooting.
Secure environment variable management ensuring secrets are never exposed in Claude sessions, terminals, logs, or git commits
Prompt for generating an AGENTS.md file for a repository
Take arabelatso/init-deep from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.