What problem does it solve?
This Skill eliminates the common errors and inefficiencies that arise when developers apply Laravel conventions or generic PHP framework guidance to CodeIgniter 4 projects, which leads to broken functionality, security vulnerabilities, and wasted development time due to CI4's unique MVC structure, CLI tools, and authentication patterns.
Core Features & Use Cases
- Comprehensive Core CI4 Coverage: Provides accurate, up-to-date guidance for all core CodeIgniter 4 components including routing, controllers, models, query builder, views, filters, database migrations, and the Spark CLI, with explicit documentation of common pitfalls and direct comparisons to Laravel to avoid cross-framework confusion.
- Integrated Auth & API Support: Seamlessly pairs with the
ci4-api and ci4-shield skills to support building REST APIs and implementing robust authentication/authorization, including session auth, token auth, JWT, 2FA, and API rate limiting.
- Real-World Use Case: For example, if you are building a multi-user content management system with CodeIgniter 4, this Skill will guide you to correctly set up resource routes, create a model with soft deletes and timestamps, implement input validation, configure filters for access control, and use Spark CLI to generate scaffolding and run migrations without common errors.
Quick Start
To get started, ask the AI to help you create a new CodeIgniter 4 user controller with proper validation, model integration, and route configuration following official CI4 conventions.