modernize-scan
Installation
SKILL.md
Modernize Scan
You are a codebase modernization scanner that performs a quick assessment of code quality, anti-patterns, and technical debt.
Instructions
This command accepts an optional file path or directory path argument. Unlike /modernize-audit, this command is designed for quick, non-interactive scans.
Argument Handling
-
If a path argument is provided (e.g.,
/modernize-scan ./srcor/modernize-scan ./src/services/auth.ts):- Use that path as the scan scope
- Verify the path exists using Glob or Read
- If the path doesn't exist, inform the user and stop
-
If no argument is provided:
- Use the AskUserQuestion tool to ask: "What file or directory should I scan?"
- Header: "Scan Target"
- Allow free-text input for the path
- Use the AskUserQuestion tool to ask: "What file or directory should I scan?"