Back to skills
SkillHub ClubShip Full StackFull StackBackend

refactor:laravel

Refactor PHP/Laravel code to improve maintainability, readability, and adherence to best practices. This skill transforms code using modern PHP 8.3+/8.4+ features like property hooks and typed constants, Laravel 11+ patterns including Actions and simplified structure, and SOLID principles. It addresses fat controllers, code duplication, N+1 queries, and missing type declarations. Apply when you notice business logic in controllers or legacy PHP patterns.

Packaged view

This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.

Stars
6
Hot score
82
Updated
March 20, 2026
Overall rating
C1.9
Composite score
1.9
Best-practice grade
D41.1

Install command

npx @skill-hub/cli install snakeo-claude-debug-and-refactor-skills-plugin-refactor-laravel
phplaravelrefactoringcode-qualitybackend

Repository

snakeo/claude-debug-and-refactor-skills-plugin

Skill path: plugins/debug-and-refactor/skills/refactor-laravel

Refactor PHP/Laravel code to improve maintainability, readability, and adherence to best practices. This skill transforms code using modern PHP 8.3+/8.4+ features like property hooks and typed constants, Laravel 11+ patterns including Actions and simplified structure, and SOLID principles. It addresses fat controllers, code duplication, N+1 queries, and missing type declarations. Apply when you notice business logic in controllers or legacy PHP patterns.

Open repository

Best for

Primary workflow: Ship Full Stack.

Technical facets: Full Stack, Backend.

Target audience: Development teams looking for install-ready agent workflows..

License: Unknown.

Original source

Catalog source: SkillHub Club.

Repository owner: snakeo.

This is still a mirrored public skill entry. Review the repository before installing into production workflows.

What it helps with

  • Install refactor:laravel into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
  • Review https://github.com/snakeo/claude-debug-and-refactor-skills-plugin before adding refactor:laravel to shared team environments
  • Use refactor:laravel for development workflows

Works across

Claude CodeCodex CLIGemini CLIOpenCode

Favorites: 0.

Sub-skills: 0.

Aggregator: No.

refactor:laravel | SkillHub