Imported from astroville/sprout (
.claude/skills/deep-code-enrichment/SKILL.md). Install upstream withnpx skills add astroville/sprout --skill deep-code-enrichment. Copyright stays with the author.
Workflow
- Run
hero scan --codefirst to ensure the code index is current. - Call
hero_codewithaction: unenrichedto get a batch of symbols needing descriptions. - For each symbol, read the source context and write a concise one-line description of what it does.
- Call
hero_enrichwith the descriptions as a JSON array. - Repeat steps 2-4 until no more unenriched symbols are returned.
Description Guidelines
- One sentence, starts with a verb (e.g. "Handles incoming MCP tool calls and dispatches to handlers")
- Focus on what the symbol DOES, not its signature
- Be specific to the codebase, not generic
- For types/structs: describe what they represent and their role
- For functions: describe the primary behavior and key side effects
- Skip trivial getters/setters — describe the business purpose instead