Loading...
Loading...
Use when writing, changing or reviewing any Bagisto PHP or Blade — the conventions this codebase holds to, covering Laravel idiom, code style, comments and docblocks, database access, Blade, security and localization. Trigger phrases include "standards", "conventions", "code style", "docblock", "comments", "repository pattern", "blade", "component", "binding", "event", "migration", "security", "XSS", "authorization", "escaping", "is this safe", "best practice".
npx skill4agent add bagisto/agent-skills bagisto-coding-standardsvendor/bin/pint| File | Load when |
|---|---|
| code-style.md | Writing any PHP — multi-clause conditions, class member order |
| comments.md | Any comment or docblock, in any language |
| laravel.md | Framework idiom — events, migrations, config, helpers, validation, queues |
| data-access.md | Reading or writing the database — the repository rule and its one exception |
| security.md | Output, input, uploads, SQL, secrets, payments |
| security-authorization.md | Routes, permissions, guards, one user's access to another's data |
| blade.md | Any |
| blade-formatting.md | Indentation, attribute layout, |
| localization.md | Any user-facing string, or a |
@php@param@returnDB::prepareQueryBuilder()catalog.product.update.afterbeforeafter::::::trans()php artisan bagisto:translations:checkbagisto-code-reviewbagisto-package-development