gc-sweep

Detect and correct code deviations against golden-principle guidelines in repositories.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/lucascaro/hivesmith --skill gc-sweep
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gc-sweep
Source: https://github.com/lucascaro/hivesmith/tree/main/skills/gc-sweep
Command: npx skills add https://github.com/lucascaro/hivesmith --skill gc-sweep

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps maintain code quality by automatically detecting and fixing deviations from golden principles, reducing technical debt and manual review time.

Core Features & Use Cases

  • Deviation Detection: Scans codebase for rule violations based on golden-principles.md.
  • Automated Refactoring: Applies mechanical fixes to code clusters violating established principles.
  • Use Case: Imagine a development team regularly running code sweeps to ensure consistent style and best practices across multiple modules, preventing accumulation of maintainability issues.

Quick Start

Launch gc-sweep on the project directory to identify and automatically fix code deviations aligned with your golden principles.

Frequently Asked Questions about gc-sweep

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

FAQPage Schema
How do I automatically detect and fix code deviations in my repository?

Automated code deviation detection scans your repository against golden-principles.md and applies mechanical refactoring to fix clusters of violations. This reduces technical debt and minimizes manual code review time across software projects.

What is automated refactoring for technical debt reduction?

Automated refactoring for technical debt reduction is the process of mechanically applying fixes to code clusters violating established principles. It enforces consistency and maintainability by aligning code with golden-principle guidelines.

Do I need testing tools to validate automated code refactoring?

Yes, you need scripting and testing tools to validate automated code refactoring. The process requires testing tools to validate the mechanical fixes before integrating them into your codebase.

Can I use gc-sweep to enforce coding best practices across multiple modules?

Yes, you can use gc-sweep to enforce coding best practices across multiple modules. It operates within code repositories and specifically targets rule violations identified in your golden-principle guidelines to maintain project health.

What is the best way to run code sweeps for consistent code style?

The best way to run code sweeps for consistent code style is to launch the gc-sweep on your project directory. It identifies and automatically applies mechanical fixes to code deviations aligned with your golden principles.

When should I avoid automated code deviation correction?

You should avoid automated code deviation correction for fixes requiring complex logic changes beyond mechanical refactoring. It targets violations of golden principles and requires scripting and testing tools to validate fixes before integration.