What problem does it solve?
Vue/Nuxt + Firebase projects often accumulate undetected framework-API anti-patterns, unused exports, and duplicated code that cause runtime bugs, memory leaks, and maintenance overhead, which are difficult to catch manually in large codebases.
Core Features & Use Cases
- Framework API Auditing: Detects anti-patterns and misuse for Firestore, VueFire, Vue 3, and Pinia, including unclosed Firestore listeners, unbounded queries, and incorrect Pinia store usage.
- Dead Code & Duplication Detection: Flags unused exported symbols and identical code blocks across files to reduce technical debt and improve maintainability.
- Safe, Controlled Fixes: Runs in read-only mode by default, with opt-in low-risk auto-fixes for pre-vetted common issues, plus LLM validation for critical findings to reduce false positives.
- Use Case: A development team can run this skill before a release to catch memory leaks from unsubscribed Firestore listeners and unused Pinia store exports that would cause production runtime errors.
Quick Start
Use the code-doctor skill to scan your Vue/Nuxt + Firebase project for framework API anti-patterns, dead exports, and code duplication, or add the --fix flag to apply low-risk auto-fixes for eligible issues.