code-sweep

Automate iterative code quality improvements for JavaScript/TypeScript codebases.

1|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/lasswellt/cc-plugin-suite --skill code-sweep-lasswellt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-sweep
Source: https://github.com/lasswellt/cc-plugin-suite/tree/main/skills/code-sweep
Command: npx skills add https://github.com/lasswellt/cc-plugin-suite --skill code-sweep-lasswellt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates iterative code quality improvements by discovering conventions, defining standards, and enforcing them through a loop-based Observe-Diff-Act-Report workflow.

Core Features & Use Cases

  • Conducts a structured suite of checks across categories like Cleanup, Correctness, Optimization, Convention, Security, Reduction, and Robustness to identify actionable improvements.
  • Applies deterministic fixes with safeguards (one fix per invocation, verification via typecheck and lint) and supports looped autonomous operation.
  • Use case: maintain large TypeScript/Vue/Nuxt projects by progressively raising code quality while minimizing human risk.

Quick Start

Run an initial sweep to start the iterative code-quality loop on your repository.

Frequently Asked Questions about code-sweep

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

FAQPage Schema
How do I automate iterative code quality improvements in a TypeScript or Vue codebase?

Automate iterative code quality improvements by running a loop-based Observe-Diff-Act-Report workflow that applies deterministic fixes across categories like Cleanup, Correctness, and Security. It progressively raises code quality in TypeScript and Vue projects while minimizing human risk.

What is the best way to enforce code conventions and standards automatically?

Enforce code conventions automatically by reading a reference document and standards registry to perform structured checks. The workflow verifies changes via typechecking and linting before committing, ensuring all fixes meet your defined standards.

Can I run autonomous code refactoring loops without breaking my existing Nuxt project?

Yes, you can run autonomous refactoring loops on Nuxt projects safely. The workflow applies one deterministic fix per invocation or category and uses configurable budgets with safety rails, verifying changes via typecheck and lint before committing.

Does automated static analysis work for identifying security and optimization issues in JavaScript?

Automated static analysis works for identifying security and optimization issues in JavaScript by running a structured suite of checks. It scans categories including Security, Optimization, and Robustness to find actionable improvements.

What are the limitations of loop-based automated code refactoring?

Loop-based automated code refactoring is limited to JavaScript and TypeScript codebases, such as Vue and Nuxt. It applies fixes one at a time per invocation and requires passing typechecking and linting verification before committing changes.

How do I start a structured code sweep to reduce code duplication and improve robustness?

Start a structured code sweep by running an initial sweep on your repository. This triggers the iterative code-quality loop, applying checks across Reduction and Robustness categories to systematically reduce duplication and improve code stability.