speckit-cleanup-run

Review completed feature artifacts for debugging remnants and code-quality risks.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/B0yZ4kr14/OrthoPlus-Enterprise --skill speckit-cleanup-run-b0yz4kr14
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-cleanup-run
Source: https://github.com/B0yZ4kr14/OrthoPlus-Enterprise/tree/main/.specify-backups/20260518-141826/_agents/skills/speckit-cleanup-run
Command: npx skills add https://github.com/B0yZ4kr14/OrthoPlus-Enterprise --skill speckit-cleanup-run-b0yz4kr14

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you ensure that implementation work is clean, consistent with the project constitution, and free of small oversights after changes are made.

Core Features & Use Cases

  • Change review quality gate: Scans completed implementation artifacts to identify debugging remnants, dead code, development residues, and code-quality risks.
  • Severity-based response: Fixes small issues after user confirmation, creates follow-up tasks for medium issues, and generates an in-depth analysis for large issues.
  • Constitution-first safety guardrails: Prevents cleanup actions that would violate MUST principles, escalating conflicts instead of applying forbidden fixes.
  • Validation loop: Runs available linters and test runners when possible to confirm that small fixes did not introduce regressions.

Quick Start

Run the speckit-cleanup-run skill to review the completed feature artifacts and propose small fixes, tasks, or a tech-debt report based on issue severity.

Frequently Asked Questions about speckit-cleanup-run

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I remove debugging remnants and dead code after a feature implementation?

Post-implementation cleanup scans completed feature artifacts for debugging remnants, dead code, and development residue. It reviews changes against your project constitution to identify quality and architecture risks before finalizing.

How does severity-based handling work for tech debt and code cleanup?

Severity-based handling resolves small issues with user confirmation, creates follow-up tasks for medium issues, and generates tech-debt analysis for large or constitution-impacting issues. This triage approach ensures safe and tracked code cleanup.

Can I automate code review and quality checks using a project constitution?

Yes, constitution-first safety guardrails prevent cleanup actions that violate MUST principles by escalating conflicts instead of applying forbidden fixes. This ensures automated code review respects your defined architectural constraints.

What is the best way to ensure code cleanup fixes do not introduce regressions?

A validation loop runs available linters and test runners after applying small fixes to confirm no regressions were introduced. This testing step validates that the cleanup actions maintain codebase stability and integrity.

When do I need to generate follow-up tasks for code quality risks?

You generate follow-up tasks for medium-severity code quality risks identified during the artifact review process. This happens when issues are too complex for an immediate fix but require tracked remediation to manage technical debt.

Does the cleanup review process work with existing linters and test runners?

Yes, the validation loop utilizes your available linters and test runners to verify that applied small fixes do not introduce regressions. It integrates with your existing toolchain to validate cleanup actions safely.