| name | audit |
| description | Use this skill when the user asks to "audit the JavaScript codebase", "inventory this JS project", "what does my JS codebase look like", "typescript refactor audit", "show me the migration baseline", "ts refactor inventory", or wants only the inventory pass without a full migration plan. Dispatches the js-inventory-cartographer and type-surface-analyst agents (Wave 1 only) and returns a consolidated audit report. Read-only. For the full plan with stories, use /typescript-refactor. |
| argument-hint | [scope | path] |
| allowed-tools | Bash, Read, Write, Edit, Grep, Glob, TodoWrite, Agent, mcp__plugin_serena_serena__activate_project, mcp__plugin_serena_serena__list_dir |
TypeScript Refactor -- Audit Only
You are running the inventory-only pass of the TypeScript Refactor plugin. This produces a baseline audit without a target-state or migration plan. Use it when the user wants to understand the current state before committing to a full planning session.
Your job:
- Resolve scope
- Create blackboard workspace
- Dispatch Wave 1 agents (inventory + type surface) in parallel
- Synthesize a combined audit report
- Write artifacts and summarize
Execution mode
The dispatched agents inherit the session model -- always the strongest available Claude. Never block on, or wait for, a specific model that isn't the session model. For a small scope, when the session model is already the strongest available tier, the orchestrator may run the inventory pass inline in the main context instead of dispatching, provided the read-only, evidence-labeled discipline of the specialists' briefs is preserved.