Spec-Driven Code Cleanup

•
279
•

Automates the final polishing of code by removing debug artifacts, optimizing imports, and ensuring production readiness.

The specs-code-cleanup skill is a specialized workflow designed for the final stage of the development lifecycle. It performs post-review cosmetic hygiene to make code production-ready by removing debug logs, temporary comments, and dead code while optimizing imports and formatting. Integrated as a key phase in the developer-kit-specs workflow, it ensures that code changes are not only functional but also meet high standards of readability and maintainability before marking tasks as completed in the project specification documentation.

主要功能

01Final quality gate verification that runs linters and tests before finalizing changes.
02Automatic task status updates within the specification-driven development (SDD) framework.
03Automated removal of debug statements like console.log, print, and System.out.println.
04279 GitHub stars
05Smart import optimization and dead code elimination tailored to specific language patterns.
06Integrated formatting using project-native tools like Spotless, Prettier, Black, or ESLint.

使用场景

01Preparing a feature for production after successful review approval.
02Automating the 'Definition of Done' (DoD) checklist for spec-based tasks.
03Standardizing code formatting and style across a team-based repository.