Wheels Controller Generator
OfficialBuild robust MVC controllers with ease.
Authorwheels-dev
Version1.0.0
Installs0
System Documentation
What problem does it solves? This Skill streamlines the creation of CFWheels MVC controllers, ensuring proper structure, standard CRUD actions, essential filters, and robust parameter verification. It significantly reduces boilerplate code and prevents common controller-related errors, letting you build application logic faster.
Core Features & Use Cases
- CRUD Action Generation: Quickly scaffold
index,show,new,create,edit,update, anddeleteactions. - Filter Implementation: Easily add
beforeAction/afterActionfilters for authentication, authorization, and data loading. - Parameter Verification: Securely validate incoming parameters to prevent injection vulnerabilities.
- Use Case: Generate a
UsersControllerwith all standard CRUD actions, complete with parameter verification foridand anauthenticatefilter to protect sensitive user data, saving hours of manual coding and ensuring security best practices.
Quick Start
Example: Basic controller structure
component extends="Controller" { function config() { verifies(only="show", params="key", paramsTypes="integer"); } function index() { resources = model("Resource").findAll(); } }
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: Wheels Controller Generator Download link: https://github.com/wheels-dev/wheels/archive/main.zip#wheels-controller-generator Please download this .zip file, extract it, and install it in the .claude/skills/ directory.