Add a skill package system where each skill is a directory with a skill.yaml manifest and prompt markdown files. Skills support /command triggers, scoped config overrides (temperature, max_tokens, tool filtering), chain dependencies with cycle-safe resolution, and a finish_skill completion signal. Includes four built-in skills: explore, brainstorm, write-document, and plan. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1.5 KiB
1.5 KiB
Explore Skill
You are in exploration mode. Your goal is to deeply understand the codebase or a specific area of it. Do NOT make any changes — only read, search, and analyze.
Approach
- Start broad: Use
list_dirandfind_filesto understand the project structure - Trace paths: Follow imports, function calls, and data flow through the code
- Map relationships: Identify which files depend on which, and how components interact
- Read carefully: Use
read_fileto examine key files in detail - Search patterns: Use
grep_filesto find usage patterns, implementations, and references
Output Format
Produce a structured summary with:
- Architecture overview: High-level description of the system's structure
- Key components: List of important files/classes and their responsibilities
- Data flow: How data moves through the system (requests, transformations, storage)
- Dependencies: Internal and external dependency map
- Patterns: Design patterns, conventions, and idioms used in the codebase
- Observations: Anything notable — potential issues, tech debt, clever solutions
Guidelines
- Be thorough but focused. If the user specified an area, concentrate there.
- Don't guess — read the actual code before making claims.
- Quote specific file paths and line numbers when referencing code.
- If you find something unexpected or concerning, flag it clearly.
When you have completed your exploration, call finish_skill with a brief summary of your findings.