ce-simplify-code

Automates code simplification and quality improvement for git-based projects.

10|Updated Dec 13, 2016
One-click install
npx skills add https://github.com/vitallium/dotfiles --skill ce-simplify-code-vitallium
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ce-simplify-code
Source: https://github.com/vitallium/dotfiles/tree/main/dot_agents/skills/ce-simplify-code
Command: npx skills add https://github.com/vitallium/dotfiles --skill ce-simplify-code-vitallium

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the simplification of recently changed code to improve clarity, consistency, and maintainability while preserving exact functionality.

Core Features & Use Cases

  • Identifies opportunities to refactor for readability and reuse without altering behavior.
  • Applies project-specific best practices to enforce consistent style and structure.
  • Verifies changes by running the project's test suite to ensure behavior remains unchanged.

Quick Start

Run the three review agents on the current diff to begin the automated code review and simplification workflow.

Frequently Asked Questions about ce-simplify-code

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

FAQPage Schema
How do I automate code simplification on a git feature branch without changing behavior?

Automated code simplification reviews the diff between your current git feature branch and its base, applying refactoring and style improvements while running tests to preserve exact behavior.

What is the best way to refactor a git diff for readability and maintainability?

Refactoring a git diff for maintainability is best handled by parallel review agents that identify readability improvements and enforce project-specific structure without altering functionality.

Can I review staged and unstaged changes if my git branch has no upstream?

Yes, if no upstream exists, the code review falls back to analyzing staged and unstaged changes locally, applying the same simplification and quality checks to ensure behavior is preserved.

How does automated code review verify that functionality remains unchanged?

Automated code review verifies unchanged functionality by running the project's test suite after applying simplifications, ensuring the refactored code produces identical results to the original.

Does this code simplification process work without any external dependencies?

Yes, the code simplification process operates without external dependencies, relying solely on your git repository, project test suite, and the internal three-agent review workflow.

When should I avoid using automated code simplification on my feature branch?

You should avoid automated code simplification when your feature branch lacks test coverage, as the system relies on running your test suite to verify that exact behavior is preserved.