Code Cleanup Skill

Refactor branch changes to improve readability and align with Pipecat standards.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/Nabilhassan12345/voice-ai-workspace --skill code-cleanup-skill-nabilhassan12345
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Code Cleanup Skill
Source: https://github.com/Nabilhassan12345/voice-ai-workspace/tree/main/pipecat/.claude/skills/cleanup
Command: npx skills add https://github.com/Nabilhassan12345/voice-ai-workspace --skill code-cleanup-skill-nabilhassan12345

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Code Cleanup Skill reviews, refactors, and documents code changes in your current branch, ensuring alignment with Pipecat's architecture, coding standards, and example patterns.

Core Features & Use Cases

  • Analyze changes across the branch, identify readability and consistency issues, and propose improvements.
  • Apply Pipecat-style refactors, add Google-format docstrings, and enforce pattern consistency with existing services and examples.
  • Validate and document changes to ensure non-breaking improvements and maintainability.

Quick Start

Invoke the cleanup skill to analyze your branch and automatically refactor and document changes.

Frequently Asked Questions about Code Cleanup Skill

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

FAQPage Schema
How do I refactor uncommitted branch changes to improve code readability?

Automated code cleanup analyzes your uncommitted branch changes to improve readability, naming, and structure. It applies Pipecat-aligned refactors and Google-format docstrings, validating changes against style checks to produce a documented patch.

What's the best way to automate adding Google-style docstrings to my code?

Automating Google-style docstrings is done by applying Pipecat-style refactors across your branch changes. The skill enforces pattern consistency with existing services and adds the documentation automatically during the cleanup process.

Can I enforce code quality and pattern consistency on my current branch?

Yes, you can enforce code quality by analyzing your branch for consistency issues. The cleanup process validates changes against style checks and existing examples to ensure non-breaking improvements and maintainability.

Does automated branch review preserve existing code behavior during refactoring?

Automated branch review preserves existing behavior while improving code structure. It analyzes uncommitted changes and applies refactors that enhance readability and naming without breaking previous functionality.

Why should I use automated refactoring before a code review?

Automated refactoring before code review ensures your patch is clean and well-documented. It aligns changes with Pipecat architecture and coding standards, reducing manual review effort by resolving readability issues first.