Refactor Module — Code Quality skill for Claude Code
Safely refactor a Rust crate or Flutter module in GarraRUST.
How to install Refactor Module
Installs to ~/.claude/skills/michelbr84-garrarust-refactor-module/SKILL.md
mkdir -p ~/.claude/skills/michelbr84-garrarust-refactor-module && curl -fsSL https://raw.githubusercontent.com/michelbr84/GarraRUST/HEAD/skills/refactor-module.md -o ~/.claude/skills/michelbr84-garrarust-refactor-module/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Refactor Module does
Safely refactor a Rust crate or Flutter module in GarraRUST.
Steps:
- Leia o arquivo alvo e entenda a responsabilidade atual
- Rode os testes existentes como baseline:
- Rust:
cargo test -p 2>&1 | tail -10 - Flutter:
flutter test apps/garraia-mobile/ 2>&1 | tail -10
- Rust:
- Planeje as mudanças em 3-5 bullet points (objetivo declarado)
- Execute as mudanças — uma de cada vez, verificando que não quebra
- Após cada mudança significativa: rode os testes novamente
- Se algum teste
Alternatives in Code Quality
- Refactor — We are about to refactor code 1.6k ★
- Refactor Claude Md — Refactor CLAUDE.md by extracting sections to dedicated docs with path-scoped rules 1.6k ★
- Repren — Power rename/refactor tool (now with Claude Code skill support 371 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
TDD Loop
Implement a feature using TDD (Red-Green-Refactor) for GarraRUST.
Refactor Feature
Skill: Refactor a Feature (Move Code Between Layers Safely)
Refactor Safely
Plan and execute safe refactoring using dependency analysis
Rust Review
Comprehensive Rust code review for ownership, lifetimes, error handling, unsafe usage, and idiomatic patterns.
SkillISORPS
"Artificial intelligence module (custom skill) for Google Antigravity, Cursor IDE, and Claude Code to compile,
Flutter Code Standarts
Flutter (Dart) Code Quality standarts (Claude Code Skill)
Related Agents
Agent TDD Crate Agent
Use when implementing one or more tasks in a specific Rust workspace crate with strict TDD discipline. Trigger
Rustkb Curator
Maintains the rustkb curated knowledge base itself — fixes drift reported by rustkb stale (new crate majors, n
Refactor Cleaner
Dead code cleanup and consolidation specialist. Use PROACTIVELY for removing unused code, duplicates, and refa