---
slug: "guidelines-skills"
source_type: "readme"
source_url: "https://cdn.jsdelivr.net/gh/spatie/guidelines-skills@main/README.md"
repo: "https://github.com/spatie/guidelines-skills"
source_file: "README.md"
branch: "main"
---
# Spatie Guidelines

Spatie's battle-tested coding guidelines as AI skills, compatible with [Laravel Boost](https://laravel.com/docs/12.x/boost) and [skills.sh](https://skills.sh).

## Installation

### Via Laravel Boost (Composer)

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

Select the Spatie guidelines from the list and they'll be installed automatically.

### Via skills.sh

```bash
npx skills add spatie/guidelines-skills
```

## What's Included

| Skill | Description |
|-------|-------------|
| `spatie-laravel-php` | Laravel & PHP coding conventions, PSR standards, control flow, naming |
| `spatie-javascript` | JavaScript coding standards, Prettier config, functions, destructuring |
| `spatie-version-control` | Git workflow conventions, repo/branch naming, commit messages |
| `spatie-security` | Application, database, and server security best practices |

## Keeping Up to Date

### Composer

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

### skills.sh

```bash
npx skills add spatie/guidelines-skills
```

## Full Guidelines

View the complete, human-readable guidelines at [spatie.be/guidelines](https://spatie.be/guidelines).

## Support us

[<img src="https://github-ads.s3.eu-central-1.amazonaws.com/guidelines-skills.jpg?t=1" width="419px" />](https://spatie.be/github-ad-click/guidelines-skills)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

## Changelog

Please see [CHANGELOG](https://github.com/spatie/guidelines-skills/blob/HEAD/CHANGELOG.md) for recent changes.

## Contributing

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

## Security Vulnerabilities

Please review [our security policy](https://github.com/spatie/guidelines-skills/tree/HEAD/../../security/policy) on how to report security vulnerabilities.

## Credits

- [Freek Van der Herten](https://github.com/freekmurze)
- [Tim Van Dijck](https://github.com/timvandijck)
- [All Contributors](https://github.com/spatie/guidelines-skills/tree/HEAD/../../contributors)

## License

The MIT License (MIT). Please see [License File](https://github.com/spatie/guidelines-skills/blob/HEAD/LICENSE.md) for more information.
