clean-code

Detect and apply clean-code fixes across React, Next.js, and Expo codebases.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/cedricfressin/claude-config --skill clean-code-cedricfressin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-code
Source: https://github.com/cedricfressin/claude-config/tree/main/skills/workflow-clean-code
Command: npx skills add https://github.com/cedricfressin/claude-config --skill clean-code-cedricfressin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill delivers an automated clean-code workflow that analyzes a codebase for issues, recommends best practices, and applies clean-code principles across React, Next.js, Expo, forms, APIs, accessibility, and testing.

Core Features & Use Cases

  • Analyze codebases to identify clean-code violations and anti-patterns.
  • Load relevant best-practices docs and apply changes to improve maintainability and quality.
  • Verify changes with build and tests before committing.

Quick Start

Basic usage: /clean-code auth feature Auto mode: /clean-code -a dashboard Save outputs: /clean-code -s -a refactor api

Frequently Asked Questions about clean-code

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

FAQPage Schema
How do I automate clean-code refactoring in a React or Next.js codebase?

You can automate clean-code refactoring by applying this Skill to scan your React or Next.js codebase for anti-patterns. It loads reference patterns and applies fixes across components, forms, and APIs to improve maintainability.

Can I automatically detect and fix accessibility issues in my Expo app?

Yes, you can detect and fix accessibility issues in your Expo app using this Skill. It targets Expo contexts during its codebase scan and applies best-practice improvements before verifying changes with tests.

What is the best way to ensure code quality when refactoring API endpoints?

The best way to ensure code quality during API refactoring is to run an automated scan that applies clean-code principles. This Skill validates all API changes by running builds and tests before committing any improvements.

Does the automated clean-code workflow support auto mode for bulk repository improvements?

Yes, the automated clean-code workflow supports an auto mode triggered with the -a flag. It analyzes the entire codebase context, applies fixes automatically, and verifies everything with builds and tests before committing.

How do I scan my project for clean-code violations without breaking existing tests?

To scan for clean-code violations safely, this Skill follows strict validation protocols. It applies fixes across your codebase and runs build and test suites before committing changes, ensuring existing tests do not break.

When should I use a dedicated clean-code automation tool instead of manual refactoring?

You should use clean-code automation when you need to systematically identify anti-patterns across React, Next.js, or Expo. It loads best-practice docs to apply consistent fixes faster than manual refactoring allows.