Scans committed code diffs for refactoring opportunities across the codebase. Runs three passes: semantic similarity (Fowler structural patterns + GoF), structural analysis (code smells + SOLID/DRY violations), and language idiom checks. Returns a candidate list for the validator agent to confirm.
Correlates raw refactoring candidates from scanner shards into architectural root-cause findings. Reads candidates/.yaml from a refactor-scan working directory and writes a human-reviewable findings.md. Does not file beads issues; that is the validator's job.
Validates refactoring candidates from the scanner agent. Reads actual source files to confirm similarity, checks test coverage, deduplicates against existing beads issues, and creates new issues with TDD-first refactoring plans.
Scan for refactoring opportunities. Use when: "scan for refactoring opportunities", "check for code duplication", "look for patterns to extract", "refactoring scan", "scan the entire codebase for refactoring", "find architectural issues", "look for refactoring opportunities across the codebase", "audit refactor…
Use this agent proactively when users want to visualize, diagram, or create visual representations of conversations, code architecture, or concepts. Generates Excalidraw sketch notes with customizable hand-drawn styling.
This skill should be used when the user wants to sketch content from a URL, YouTube video, or external source. Enables fetching and extracting content before creating a visual sketch.
This skill should be used when generating Excalidraw JSON files, creating visual diagrams in Excalidraw format, or needing to understand Excalidraw element structure. Provides comprehensive knowledge of Excalidraw JSON schema, element types, styling properties, and valid configurations.