Skip to content

About

Develop with Statamic CMS (statamic/cms) and the Eloquent Driver (statamic/eloquent-driver)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

Statamic with Eloquent Driver Skill

A Laravel Skill for AI-assisted development with Statamic CMS and the Eloquent Driver.

This skill teaches your AI coding assistant how to work with Statamic's Blade-only templating, the Eloquent Driver's hybrid storage strategy, content querying via facades, Value object handling, navigation rendering, blueprints, and more.

Installation

Via Laravel Boost (recommended)

php artisan boost:add-skill jordidolphiq/statamic-with-eloquent-skill

Manual installation

  1. Create the directory skills/statamic-with-eloquent/ in your project root
  2. Copy skills/statamic-with-eloquent/SKILL.md into that directory
  3. Your AI assistant will automatically pick up the skill when working in the project

What's included

  • Blade-only templating guidelines (no Antlers)
  • No inline PHP in Blade: @php blocks are never used unless absolutely necessary, and then only after asking you first. Data comes from Statamic's cascade (entry fields, globals, system variables) and tags/modifiers first, with View Composers, components, or helpers only as a fallback
  • Eloquent Driver hybrid storage configuration
  • Content querying via Statamic facades
  • Value object handling in templates and PHP
  • Blueprint conventions and common fieldtypes
  • Navigation rendering with <statamic:nav> tags
  • View Composer patterns
  • Asset handling
  • PHPStan considerations for Statamic's dynamic properties
  • Common pitfalls and how to avoid them

License

MIT — see LICENSE for details.

About

Develop with Statamic CMS (statamic/cms) and the Eloquent Driver (statamic/eloquent-driver)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors