refactor-entry-point-to-action
CommunityRefactor entry points into clean Actions.
Software Engineering#architecture#refactoring#data validation#laravel#livewire#entry-point#action pattern
Authorpekral
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It helps you untangle overloaded controller, job, command, listener, or Livewire entry-point code by moving orchestration into a dedicated Action class, while keeping the exact same behavior and response contracts.
Core Features & Use Cases
- Entry-point slimming: Convert thick controller/job/command/listener/Livewire methods into thin delegates that call a single Action.
- Architecture-safe refactoring: Preserve signatures, responses, tenant/account scope, and existing boundaries (repositories/managers/services).
- Validation separation: Move inline validation out of the Action into a dedicated Data Validator that follows project conventions.
Quick Start
Refactor entry-point logic into a dedicated Action by delegating from Class::method to app/Actions/<Domain>/YourAction.php while preserving behavior and response contracts.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: refactor-entry-point-to-action Download link: https://github.com/pekral/pekral.cz/archive/main.zip#refactor-entry-point-to-action Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.