yourssh-refactor-sweep

Identifies and applies safe, behavior-preserving refactors to the YourSSH Flutter codebase.

38|14|Updated May 29, 2026
One-click install
npx skills add https://github.com/YoursshLabs/yourssh --skill yourssh-refactor-sweep
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: yourssh-refactor-sweep
Source: https://github.com/YoursshLabs/yourssh/tree/main/.claude/skills/yourssh-refactor-sweep
Command: npx skills add https://github.com/YoursshLabs/yourssh --skill yourssh-refactor-sweep

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill identifies and applies safe, behavior-preserving refactor opportunities across the YourSSH Flutter codebase, enabling a cleaner, more maintainable project with fewer regressions.

Core Features & Use Cases

  • Focused codebase cleanup targeting app/lib and packages, prioritizing performance improvements, duplication elimination, and readability enhancements.
  • Provides a structured workflow that surfaces actionable, safe changes and clearly communicates impact and scope.

Quick Start

Review the current app/lib and packages codebase and perform a safe refactor pass focusing on performance, duplication, readability, and removing dead code.

Frequently Asked Questions about yourssh-refactor-sweep

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

FAQPage Schema
How do I safely refactor a Flutter codebase without changing behavior?▼

A safe Flutter refactor requires identifying duplication and dead code in app/lib and packages, applying readability improvements, and verifying the results with flutter analyze and flutter test to prevent regressions.

What is the best way to eliminate dead code in a Dart project?▼

The best way to eliminate dead code in a Dart project is to sweep app/lib and packages for unused elements, remove them carefully, and confirm no regressions occurred by running flutter analyze and flutter test.

Can I improve Flutter performance by reducing code duplication?▼

Yes, you can improve Flutter performance by refactoring duplicated logic in app/lib and packages into shared methods, which reduces overhead and enhances readability while preserving behavior through flutter test verification.

Does refactoring Dart packages require running flutter analyze?▼

Yes, running flutter analyze after refactoring Dart packages is required to catch static errors, and flutter test is needed to verify that the behavior-preserving changes did not introduce any unexpected regressions.

What areas of a Flutter repository should a safe refactor sweep target?▼

A safe refactor sweep should target the app/lib and packages areas of a Flutter repository to address performance bottlenecks, eliminate duplication, enhance readability, and remove dead code while preserving behavior.