simplify-code

Diagnose and reduce code duplication and complexity in git-diff changesets.

Updated Mar 27, 2026
One-click install
npx skills add https://github.com/quanpersie2001/pulse --skill simplify-code-quanpersie2001
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: simplify-code
Source: https://github.com/quanpersie2001/pulse/tree/main/plugins/pulse/skills/simplify-code
Command: npx skills add https://github.com/quanpersie2001/pulse --skill simplify-code-quanpersie2001

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps reviewers and teams quickly identify and reduce code duplication, improve readability, and tighten quality during code changes. It coordinates structured, safe refactoring workflows and can apply optional, Codex-driven fixes to maintain behavior.

Core Features & Use Cases

  • Code review for simplification: detect duplication, unnecessary complexity, and opportunities to reuse helpers.
  • Safe, targeted fixes: apply only high-confidence, behavior-preserving changes with validation checks.
  • Scoped diff workflows: work from git diffs or specific file scopes, with a four-role review process to ensure correctness.
  • Use Case: when a PR introduces duplicated logic, this skill guides consolidation and readability improvements without altering external behavior.

Quick Start

Ask it to review the latest code changes and apply only high-confidence, behavior-preserving fixes.

Frequently Asked Questions about simplify-code

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

FAQPage Schema
How do I reduce code duplication in a git diff?

To reduce code duplication in a git diff, the skill analyzes changesets to detect redundant logic and applies safe, behavior-preserving fixes guided by a structured multi-agent review process.

What is the best way to refactor code without changing external behavior?

The best way to refactor code without altering behavior is applying high-confidence fixes with validation checks, ensuring changes only consolidate duplicated logic and improve readability safely.

Can I review specific file scopes for complexity instead of the entire project?

Yes, you can review specific file scopes for complexity. The skill supports targeted file scopes and inline edits, diagnosing unnecessary complexity only within the boundaries you define.

How does a structured multi-agent review process work for code cleanup?

A structured multi-agent review process for code cleanup works by coordinating a four-role workflow that evaluates changesets, enforces project guidelines, and validates safe refactoring before applying fixes.

Does this code review skill apply changes automatically or just suggest fixes?

This code review skill applies optional, Codex-driven fixes automatically. It enforces only high-confidence, behavior-preserving changes after running validation checks during the refactoring workflow.