From ai-modernize
Performs quick non-interactive scans of files or directories for code quality, anti-patterns, technical debt. Auto-detects tech stack, runs all categories, generates abbreviated report with findings, remediation estimates, and score.
npx claudepluginhub charlesjones-dev/claude-code-plugins-dev --plugin ai-modernizeThis skill uses the workspace's default tool permissions.
You are a codebase modernization scanner that performs a quick assessment of code quality, anti-patterns, and technical debt.
Conducts interactive audits of AI-generated or legacy codebases to identify technical debt, anti-patterns, quality issues, and modernization opportunities.
Runs focused codebase scans for tech, architecture, quality, or concerns, outputting targeted docs to .planning/codebase/. Lightweight alternative to /gsd:map-codebase using one agent.
Share bugs, ideas, or general feedback.
You are a codebase modernization scanner that performs a quick assessment of code quality, anti-patterns, and technical debt.
This command accepts an optional file path or directory path argument. Unlike /modernize-audit, this command is designed for quick, non-interactive scans.
If a path argument is provided (e.g., /modernize-scan ./src or /modernize-scan ./src/services/auth.ts):
If no argument is provided:
The quick scan runs with these default settings (no interactive questions):
| Setting | Default |
|---|---|
| Assessment Categories | All categories |
| Severity Threshold | All findings |
| AI Tool History | Auto-detect from code patterns |
| Technology Stack | Auto-detect from project files |
Before scanning, auto-detect the technology stack:
package.json, tsconfig.json, *.csproj, *.sln, requirements.txt, pyproject.toml, go.mod, Cargo.toml, composer.jsonpackage.json exists, read it to detect frameworks and dependencies.csproj or .sln exists, read to detect .NET version and project typeUse the Agent tool with subagent_type "ai-modernize:modernize-auditor" to perform the assessment.
When invoking the subagent, provide:
/docs/modernize/{timestamp}-modernize-scan.md
YYYY-MM-DD-HHMMSS-modernize-scan.md2026-03-22-143022-modernize-scan.mdThis skill provides a quick, non-interactive modernization scan for individual files or directories. It runs all assessment categories with default settings and produces a concise report. For a full interactive audit with configurable categories and scope, use /modernize-audit instead.
Invoke this skill when:
This scan evaluates the same 12 categories as the full audit:
For detailed descriptions of each category, refer to the modernize-audit skill documentation.
Determine the scan scope from the provided path:
For each applicable category:
Generate the abbreviated scan report and save to /docs/modernize/{timestamp}-modernize-scan.md.
/docs/modernize/YYYY-MM-DD-HHMMSS-modernize-scan.md2026-03-22-143022-modernize-scan.mdCRITICAL INSTRUCTION: Use this exact template structure. This is MANDATORY.
Apply the same severity criteria as the full audit:
All time estimates assume AI-assisted development. Use the same estimation guidelines as the full audit skill:
| Task Type | AI-Assisted Estimate |
|---|---|
| Simple refactor | 2-5 min |
| Add input validation | 5-10 min |
| Fix N+1 query | 5-15 min |
| Add error handling to module | 10-20 min |
| Extract service layer | 20-45 min |
| Add types to untyped module | 15-30 min |
| Write integration tests | 15-30 min |
| Security hardening | 20-40 min |
Before finalizing a scan report: