EC

enlivenapp/codeigniter4-app-and-api-skills-for-claude-code

API development

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

26 stars Качество 50 Тренд 11MIT

A pair of Claude Code skills for building with CodeIgniter 4. Designed to give Claude a solid, accurate understanding of the CI4 framework

Обзор

A trio of Claude Code skills for building with CodeIgniter 4. Designed to give Claude a solid, accurate understanding of the CI4 framework — including Shield authentication. - — Core CI4 framework: MVC conventions, routing, controllers, models, query builder, views, migrations, filters, Spark CLI. - — Building robust REST APIs with CI4: response envelopes, versioning, token auth, validation, rate limiting, CORS, and webhooks. - — Shield authentication & authorization: session auth, access tokens, HMAC, JWT, groups, permissions, email activation, 2FA, magic links. - — Covers advanced CI4 techniques for working outside app/: runtime addNamespace(), namespace-isolated migrations/seeds/commands, Registrars, module auto-discovery, service overrides, runtime config mutation, event bootstrap, and dynamic route inclusion. Each skill has a lean SKILL.

README

Показан фрагмент оригинального README. Открыть оригинал.

Claude Code Skills: CodeIgniter 4

A trio of Claude Code skills for building with CodeIgniter 4. Designed to give Claude a solid, accurate understanding of the CI4 framework — including Shield authentication.

  • ci4 — Core CI4 framework: MVC conventions, routing, controllers, models, query builder, views, migrations, filters, Spark CLI.
  • ci4-api — Building robust REST APIs with CI4: response envelopes, versioning, token auth, validation, rate limiting, CORS, and webhooks.
  • ci4-shield — Shield authentication & authorization: session auth, access tokens, HMAC, JWT, groups, permissions, email activation, 2FA, magic links.
  • ci4-advanced — Covers advanced CI4 techniques for working outside app/: runtime addNamespace(), namespace-isolated migrations/seeds/commands, Registrars, module auto-discovery, service overrides, runtime config mutation, event bootstrap, and dynamic route inclusion.

Each skill has a lean SKILL.md (~200-350 lines) that loads automatically, plus a references/ directory with comprehensive deep-dive docs that are pulled on demand — keeping context usage efficient.


Installation

Clone this repo directly into your Claude Code skills directory:

git clone https://github.com/enlivenapp/Codeigniter4-App-and-API-Skills-for-Claude-Code.git ~/.claude/skills/codeigniter4

Or if you already have other skills and want to add just these:

cd ~/.claude/skills
git clone https://github.com/enlivenapp/Codeigniter4-App-and-API-Skills-for-Claude-Code.git
cp -r Codeigniter4-App-and-API-Skills-for-Claude-Code/ci4 .
cp -r Codeigniter4-App-and-API-Skills-for-Claude-Code/ci4-api .
cp -r Codeigniter4-App-and-API-Skills-for-Claude-Code/ci4-shield .
cp -r Codeigniter4-App-and-API-Skills-for-Claude-Code/ci4-advanced .

Restart Claude Code. The skills are now available. Claude will automatically activate the relevant skill when it detects CI4-related work or loading via /ci4-{name}.


What’s Included

ci4 (12 reference docs)

Reference Coverage
routing.md Groups, placeholders, named routes, resource routes, CLI routes
controllers.md ResourceController, request data, file uploads, validation, redirects
models.md CRUD, soft deletes, pagination, scopes, callbacks, entities
query-builder.md SELECT, WHERE, JOIN, batch ops, subqueries, transactions
views.md Layouts, sections, partials, view cells, caching
filters.md Creating, registering, global filters, arguments
database.md Migrations, seeds, forge, field types
validation.md All built-in rules, custom rules, file upload validation
services-helpers.md Services, helpers, caching, email, sessions, encryption, HTTP client
spark-cli.md All spark commands, generators, custom commands
testing.md PHPUnit, feature tests, database tests, mocking
gotchas.md Critical pitfalls, CI4 vs Laravel comparison

ci4-api (6 reference docs)

Открыть полный README на GitHub

Рекомендуемые инструменты

Попробуйте другой запрос или уберите фильтр.

Установка

npx skillfish add enlivenapp/codeigniter4-app-and-api-skills-for-claude-code
Новичок в MCP? Начните с руководства на mcpskill.org →