refactoring-audit
Installation
SKILL.md
Refactoring Audit
A read-only, 3-phase diagnostic audit that evaluates any web project's structural health, code quality, and security posture. Produces a single consolidated report with prioritized findings.
Before You Start
Stack Detection
Before beginning the audit, identify and document the project's stack. Scan the project root for configuration files and dependency manifests to determine:
- Language(s) and runtime (TypeScript, Python, Ruby, PHP, Go, etc.)
- Framework(s) (Next.js, Laravel, Django, Rails, Express, SvelteKit, etc.)
- Styling approach (Tailwind, CSS modules, styled-components, SCSS, etc.)
- Database and ORM (Supabase, Prisma, Eloquent, ActiveRecord, Mongoose, etc.)
- Authentication method (built-in framework auth, third-party provider, custom)
- Component/UI library if applicable (shadcn/ui, Vuetify, MUI, etc.)
- Package manager (npm, yarn, pnpm, pip, composer, bundler, etc.)
- Monorepo or single-app structure