wa:dev-simplify

Scan changed files for duplication, poor naming, dead code, and complex logic.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/jeremy-newhouse/eck-e2e-weather-app --skill wa-dev-simplify
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wa:dev-simplify
Source: https://github.com/jeremy-newhouse/eck-e2e-weather-app/tree/main/.claude/skills/dev-simplify
Command: npx skills add https://github.com/jeremy-newhouse/eck-e2e-weather-app --skill wa-dev-simplify

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill removes duplication, dead code, and confusing naming introduced during development so the codebase stays maintainable without changing observable behavior.

Core Features & Use Cases

  • Stage-based simplification: scans changed files, applies safe refactors, and then validates via tests and lint.
  • Behavior-preserving edits: only reduces complexity and redundancy while explicitly avoiding refactors that could alter behavior.
  • Git diff–driven scope: targets only files changed in the current feature branch (or an optional branch you provide).

Quick Start

Run wa:dev-simplify on your feature branch to simplify changed code and then validate with tests and lint.

Frequently Asked Questions about wa:dev-simplify

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

FAQPage Schema
How do I clean up and simplify code after feature development?

To clean up post-development code, scan changed files for duplication, dead code, and poor naming, then apply behavior-preserving refactors. This ensures the codebase stays maintainable without altering observable functionality.

Can I refactor only the files changed in my git diff?

Yes, refactoring can target only the files changed in your current feature branch's git diff. This scopes the simplification process strictly to your latest modifications rather than scanning the entire codebase.

Does code simplification automatically verify tests and lint validation?

Yes, the code simplification workflow includes stage orchestration that validates applied refactors via test and lint checks. This ensures changes do not break existing behavior or introduce style violations.

What is the best way to remove dead code without changing program behavior?

The best way to remove dead code safely is using behavior-preserving edits that explicitly avoid refactors altering program logic. This targets redundancy and complexity while maintaining the original observable output.

When should I avoid automated code simplification on my branch?

You should avoid automated code simplification if your branch lacks test coverage or if your changes involve complex logic that cannot be safely refactored without altering observable behavior.