Skip to content

Spatie Guidelines - Setup Guide

Source: spatie/guidelines-skills via skills.sh - 3.4K combined installs across 4 indexed listings; first seen 2026-11-30 (Nov 30 morning sweep)

GitHub: spatie/guidelines-skills, 101 stars, MIT license, branch main, last pushed 2026-10-22, not archived. Skills live in resources/boost/skills//SKILL.md, each with a references/ subdirectory.

Category: Developer Standards - opinionated coding guidelines for Laravel/PHP, security, JavaScript and version control.

Quality Tier: 🟢 Green - all sampled listings pass Gen Agent Trust Hub, Socket and Snyk.

Spatie publishes its battle-tested coding guidelines as AI skills, compatible with Laravel Boost and the skills.sh CLI. The suite splits into four skills: spatie-laravel-php for Laravel and PHP conventions aligned with PSR-12, spatie-security for application, database and server security, spatie-javascript for JavaScript and TypeScript standards, and spatie-version-control for commits, branches and pull requests. The full human-readable guidelines live at spatie.be/guidelines.

Each skill ships a SKILL.md trigger plus a references/ file that holds the actual rule text, and the repository is a Laravel package with a GuidelinesServiceProvider, so it installs through Composer as well as through skills.sh. The project is maintained by Freek Van der Herten and Tim Van Dijck.

Installation

Via Laravel Boost (Composer):

composer require laravel/boost --dev
composer require spatie/guidelines-skills --dev
php artisan boost:install

Select the Spatie guidelines and the coding agents you want to install Boost for from the prompts.

Via skills.sh:

npx skills add spatie/guidelines-skills

To keep it up to date, the README also lists:

composer update spatie/guidelines-skills
php artisan boost:update

What It Provides

Skill Installs Use For
spatie-laravel-php 1,463 Laravel and PHP coding conventions and PSR-12
spatie-security 742 Application, database and server security practices
spatie-javascript 604 JavaScript and TypeScript coding standards
spatie-version-control 547 Git commits, branches and pull request conventions

Every indexed listing appears in the table above.

Why This Matters for Hermes Agents

Spatie is one of the most prolific PHP package shops, and these skills encode the conventions its own maintainers use across dozens of open source projects. For a Hermes agent working in Laravel or PHP, spatie-laravel-php turns vague style preferences into concrete rules for controllers, Eloquent models, routes, migrations and tests, aligned with PSR-12. spatie-security covers the operational half, from SSL setup and CSRF protection to password hashing, database permissions and server hardening, which are the mistakes that ship a vulnerable app. spatie-javascript and spatie-version-control extend the same discipline to front-end code and to commits, branches and pull requests, so an agent produces consistent output across the whole stack. The skills are plain SKILL.md text plus reference files, so they load wherever the Agent Skills specification is supported, including Laravel Boost and the skills.sh CLI. For a builder, this suite is a reference for turning an internal style guide into loadable, version-controlled agent skills.

Usage

You say What happens
Create a new Eloquent model for my Laravel app spatie-laravel-php applies Spatie conventions for models, migrations and PSR-12
Review my Laravel controller for style issues spatie-laravel-php flags deviations from Spatie Laravel and PHP conventions
Set up a new database and server securely spatie-security applies the SSL, password hashing, database permissions and server hardening rules
Review my code for security concerns spatie-security checks the code against Spatie security guidelines
Format my JavaScript to Spatie standards spatie-javascript applies the JavaScript and TypeScript conventions and Prettier config
Write a commit message and branch name spatie-version-control applies the repo, branch, commit and pull request conventions
Refactor my Blade templates spatie-laravel-php applies the Blade template conventions

Verification

Confirm the skill bodies resolve on the main branch before relying on them:

curl -sL https://raw.githubusercontent.com/spatie/guidelines-skills/main/resources/boost/skills/spatie-laravel-php/SKILL.md
curl -sL https://raw.githubusercontent.com/spatie/guidelines-skills/main/resources/boost/skills/spatie-security/SKILL.md

Each skill keeps its full guideline text in a references/ file next to its SKILL.md:

curl -sL https://raw.githubusercontent.com/spatie/guidelines-skills/main/resources/boost/skills/spatie-laravel-php/references/spatie-laravel-php-guidelines.md

Security

skills.sh verdicts for sampled skills (verified 2026-11-30) - re-check the security pages on skills.sh before production use:

Skill Gen Agent Trust Hub Socket Snyk
spatie-laravel-php Pass Pass Pass
spatie-security Pass Pass Pass
spatie-javascript Pass Pass Pass
spatie-version-control Pass Pass Pass

Across the four sampled skills the three scanners returned 12 Pass, 0 Warn and 0 Fail.

Integration with CorpusIQ

CorpusIQ is the connector layer that lets AI assistants read the systems a business already runs on - accounting, payments, CRM, email, files and analytics - and answer with the source named. It is read-only by design: it retrieves data and never writes to, or acts in, a connected system, which is what makes it safe to point at live accounts.

This page is part of the CorpusIQ directory, the reference we maintain for the MCP server and agent-skill ecosystem. Run alongside CorpusIQ, a third-party server like this one can be combined with a company's own business data in a single answer.

See what CorpusIQ connects

Limitations

  • Snapshot data, verified 2026-11-30: 3,356 combined installs across 4 indexed listings; 101 GitHub stars; MIT license; last pushed 2026-10-22. Counts drift over time.
  • These are coding guidelines, not executable tools. The agent applies the rules itself, so output quality depends on how well the model follows them.
  • spatie-laravel-php is the largest listing at 1,463 installs; the other three trail it, so the security, JavaScript and version control rules see less field testing.
  • The full guideline text lives in reference files, not in the SKILL.md, so an agent must read the references/ subdirectory to get the actual rules rather than only the trigger.
  • Install counts are skills.sh metrics and may not reflect actual repository usage.
  • Security verdicts are a point-in-time sample of four skills; re-check before production use.

Skills Catalog | Skills Marketplace

Pro Tips

  • Point Laravel agents at spatie-laravel-php early: controllers, Eloquent models, routes, migrations and tests all carry conventions the agent is unlikely to know from general training.
  • Combine spatie-security with spatie-laravel-php for a new app, so style and security rules are applied together rather than as a separate pass.
  • Read the references/ file for a skill before a long task; the SKILL.md is the trigger and the reference file holds the actual rules.
  • Use the skills.sh install for agent-first setups and the Laravel Boost route when the project already runs Laravel.
  • Re-check the skills.sh security pages before production use; the verdicts above are a snapshot from 2026-11-30.

← Skills Catalog | Skills Marketplace → Powered by CorpusIQ

AI answers on your data. See where every number comes from.

Connect your tools and ask in ChatGPT, Claude, or Perplexity. Enterprise-grade answers in minutes. From $29.95/month.

Start free, no credit card
Contact Terms Privacy Pricing