skills/assistant/agent-init-deep/SKILL.md
Initialize or migrate to nested CLAUDE.md structure for progressive disclosure. Claude auto-loads CLAUDE.md from any directory it enters, so nested files get discovered automatically. Use when setting up a new project's agent config, refactoring a bloated CLAUDE.md, or adding progressive disclosure to an existing repo. Triggers on: '/agent-init-deep', 'setup progressive disclosure', 'refactor claude.md', 'split claude.md', 'claude.md is too big'.
npx skillsauth add ravnhq/ai-toolkit agent-init-deepInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Set up or migrate to a progressive disclosure CLAUDE.md structure using docs/agents/ for topic-specific guidance.
Static (root CLAUDE.md) — loaded every conversation, minimal, high-value
Semi-dynamic (docs/agents/) — linked from root, loaded when the link is followed
Fully dynamic (skills) — triggered by metadata match, loaded only when invoked
Root CLAUDE.md must be 40-50 lines maximum. Everything else belongs in docs/agents/ or skills.
CLAUDE.md # Root: identity, tech stack, key rules, workflow, links
docs/agents/
├── tooling.md # e.g. package manager, linting, formatting, hooks
├── commands.md # e.g. script execution, build filters, passing args
├── guardrails.md # e.g. data isolation, secrets, library docs
├── definition-of-done.md # e.g. coverage, lint, type-check, format requirements
└── [topic].md # Additional topic-specific files as needed
Check for:
- CLAUDE.md exists?
- docs/agents/ exists?
- How many lines is CLAUDE.md?
If no CLAUDE.md → Greenfield path If CLAUDE.md exists → Migration path
Ask the user:
Then generate:
Root CLAUDE.md with:
docs/agents/ files based on answers. Common files include:
tooling.md — package manager rules, linting config, hookscommands.md — how to run scripts, filter by package, pass argsguardrails.md — data isolation, secrets, library docsdefinition-of-done.md — specific thresholds and commandsAdjust filenames and topics to match the project's actual needs.
Read existing CLAUDE.md
Classify each section:
Present proposed split to user:
ROOT CLAUDE.md:
- Project identity
- Tech stack
- Key rules: [list]
- Workflow (Plan/Execute/Validate/Commit)
- Links to docs/agents/
docs/agents/tooling.md:
- [extracted sections]
docs/agents/commands.md:
- [extracted sections]
... etc
Ask user to confirm or adjust
Create docs/agents/ files
Rewrite root CLAUDE.md
After creating the structure:
/agent-add-rule to add new rules to the right location"/skills to see available skills"# Project Context
[One-line project description]
## Tech Stack
- [list technologies]
## Key Rules
- [3-5 rules the agent consistently gets wrong without being told]
## Workflow
Every task follows four stages. Identify which stage you're in and follow its rules.
Plan → Execute → Validate → Commit
↑ |
└── fix ────────────────────────┘
1. **Plan** — Understand the task, research code, design approach. Be concise; list unresolved questions.
2. **Execute** — Implement changes AND write tests together. No implementation is complete without tests.
3. **Validate** — ALL checks must pass with zero errors before moving on:
- [list validation commands]
If ANY check fails → return to Execute, fix, re-validate. Pre-existing errors are NOT exempt.
4. **Commit** — Only after Validate passes completely. Never commit with failing checks.
## Detailed Guidance
When working on tasks involving these topics, read the linked doc:
- Topic (`docs/agents/file.md`) — brief routing signal describing when to read this
- Run `/skills` to see available patterns and workflows
When deciding what stays in root vs moves to docs/agents/:
| Criteria | Root | docs/agents/ | | ---------------------------- | --------------------- | ----------------------- | | Agent gets wrong without it? | YES | Sometimes | | Applies to every task? | YES | NO | | Under 2 lines? | YES | Any length | | Detailed reference? | NO | YES | | Procedural/workflow? | only the 4-stage loop | YES (multi-step) |
agents/ subdirectory separates agent instructions from human documentation.User: "Refactor our bloated CLAUDE.md into progressive disclosure with docs/agents."
Expected behavior: Use agent-init-deep guidance, follow its workflow, and return actionable output.
User: "Review this React component for unnecessary re-renders."
Expected behavior: Do not prioritize agent-init-deep; choose a more relevant skill or proceed without it.
testing
Transform user requests into detailed, precise prompts for AI models. Use when users say 'promptify', 'promptify this', 'rewrite this prompt', 'make this prompt better/more specific', or explicitly request prompt engineering or improvement of their request for better AI responses.
tools
Manage AI skills from the Ravn AI Toolkit via corvus CLI — install, update, remove, search, and configure skills for any project. Use when: (1) Installing AI skills into a project, (2) Updating installed skills to latest versions, (3) Browsing or searching available skills, (4) Configuring global or per-project skill sets, (5) Troubleshooting corvus setup. Triggers on: "install skills", "add skills", "update skills", "corvus", "skill manager", "browse skills", "set up AI rules".
development
Generate a gallery of design variations for a UI component. Takes an existing component (referenced by name, pasted code, or screenshot) and produces N distinct rendered alternatives in a single comparison page. Use when exploring visual directions, generating mockups, comparing design approaches for a component, creating A/B candidates, or when anyone says "show me options" or "give me variations" for a UI element.
tools
Create custom QA agent personalities for project-specific testing needs. Guided builder that asks about the specialty, tools, and test scenarios, then generates a personality file and registers it in the QA config. Trigger on "create a QA personality", "add a custom test agent", "build a webhook tester", or when the user needs a project-specific QA agent. Also triggered by /qa-create-personality.