ci4-api
CommunityBuild production-ready CI4 REST APIs with ease.
Authorenlivenapp
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill eliminates the risk of building inconsistent, insecure, or hard-to-maintain REST APIs with CodeIgniter 4 by providing standardized, production-ready patterns for response formatting, authentication, validation, and error handling that work seamlessly across web, mobile, and third-party clients.
Core Features & Use Cases
- Standardized API Structure: Enforces consistent JSON response envelopes, proper HTTP status codes, and URL versioning to ensure existing clients never break when updates are deployed.
- Integrated Authentication & Authorization: Implements Bearer token auth, role-based access filters, and full token lifecycle management using CodeIgniter Shield, including login, registration, logout, and scope-based permissions.
- Production-Grade Guardrails: Includes pre-built patterns for rate limiting, CORS configuration, secure webhook handling (Stripe, GitHub), and global JSON error handling for API routes to meet production security and reliability requirements.
- Use Case: For example, use this Skill to build a versioned user management API with public registration/login endpoints, rate-limited authenticated user routes, and a Stripe webhook receiver that follows security best practices.
Quick Start
Ask Claude to implement a versioned CI4 REST API endpoint for user registration with token authentication, input validation, and a standardized JSON success response.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: ci4-api Download link: https://github.com/enlivenapp/Codeigniter4-App-and-API-Skills-for-Claude-Code/archive/main.zip#ci4-api 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 537,000+ vetted skills library on demand.