Bagisto Agent Skills: Bagisto development
Bagisto Agent Skills
21 skills for Bagisto store developers: packages, payments, shipping, themes, DataGrid, Pest and Playwright tests, API
- 14 ★ on the repository
- Last commit
Extended access
Why this level
- The skills edit PHP, Blade, migrations and tests and run Pint, Pest and Playwright in the project
- The bagisto-api-develop skill, on explicit request, installs or removes a package and changes the store API
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add skills/bagisto-agent-skillsDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- The skills edit PHP, Blade, migrations and tests and run Pint, Pest and Playwright in the project
- The bagisto-api-develop skill, on explicit request, installs or removes a package and changes the store API
This is third-party code. Review the repository files before installing.
What it does
Bagisto is open-source e-commerce on Laravel, and this repository gathers skills an agent follows inside such a store's codebase. The bagisto-coding-standards skill sets the Laravel and Blade rules: docblocks, class member order, data access through repositories, security and localization. Separate skills guide development of packages, payment methods, shipping methods, product types, storefront and admin themes, the Appearance area, EAV attributes, DataGrid listings and bulk imports. For checks there are Pest, Playwright, change review and a completion gate with code style and translations. The bagisto-api-develop, bagisto-api-shop and bagisto-api-admin skills work with REST and GraphQL: installing the bagisto-api package, a storefront and a back office built on it. The repository also has skills for the git workflow and documentation, and rules in the rules folder for Bagisto 2.4 and 2.5.
Who it is for. Developers of Bagisto online stores and PHP teams building packages, themes and payment or carrier integrations for it.
Good fit when
- A store gets a payment method such as Stripe or PayPal, and the code must follow Bagisto conventions
- A company connects a carrier (FedEx, UPS, DHL) as a new shipping method at checkout
- A team builds a custom storefront theme in Blade, Vue and Vite with Playwright checks
- An admin listing gets columns, filters, mass actions and export through DataGrid
- Before a commit you have to run Pint, Pest, Playwright and the translation check
Not a fit when
- The project runs on another platform such as Magento, Shopify or WooCommerce: the rules are tied to Bagisto repositories and packages
- You work with Bagisto before 2.4: the rules describe 2.4 and 2.5, and installation always takes the default branch
- The task is generic Laravel without Bagisto: the official Laravel skill set fits better
Example request
Add a carrier API shipping method to the Bagisto store: cost calculation at checkout and a Pest test.Limitations
Installation takes the default branch and has no tags or --ref option, so projects on Bagisto 2.4 and 2.5 receive identical skills. Differences between versions are labelled 2.4 and 2.5 inside the skill text.
The bagisto-api-develop skill installs and removes the bagisto-api package only on explicit request. The command with the --all flag puts all 21 skills into every agent it finds, so install per project rather than globally. The skills are tuned to a Bagisto codebase and give little value outside it.
How to disable. Run npx skills remove --skill with the skill name, or delete the bagisto-* folders from the project's .claude/skills and .agents/skills.
FAQ
How do I install a single Bagisto skill out of 21?
Run npx skills add bagisto/agent-skills --skill "bagisto-coding-standards" with the name you need. The --list flag shows the repository's skills. Run the command inside the project so the skill lands in that project's skills-lock.json.
What about Bagisto 2.4 and 2.5?
The skills are identical for both versions, and differences are labelled 2.4 and 2.5 inside the text. Extra version rules live in the rules folder, and AGENTS.md is assembled with bin/build-agents.sh --version 2.4.
What does the bagisto-change-verification gate do?
It fires when a change is about to be called done: it runs the code style check, Pest tests, Playwright end-to-end tests and the translation completeness check. Phrases like "run the gates" and "ready to commit" also trigger it.
Can I try a skill without installing it?
Yes, run npx skills use bagisto/agent-skills@bagisto-datagrid-development with the skill name you want.
Which skills cover payments and shipping?
bagisto-payment-method-development for payments and bagisto-shipping-method-development for shipping. The first triggers on payment and Stripe, the second on shipping and FedEx, UPS, DHL.
Discussion
No questions or reviews yet.
Related
SkillsAgent Skills (AsyrafHussin)
Agent Skills
24 skills for Laravel, PHP, React and TypeScript: code rules, testing, security, technical debt and documentation.
15 skills for Claude Code and Codex: Laravel, Docker, UI, debugging, tests and docs in four ready plugin bundles
181 skills for online stores: payments, catalog, shipping, pricing and security on Shopify, WooCommerce and custom builds.
A skill set against AI slop: UI and typography audits, change review, releases, docs and SEO.
A Claude Code plugin with commands and skills for building a shopper assistant and a store back-office agent
Official Shopware skills teaching an agent to run shopware-cli on projects and extensions: validation, builds, Docker, Store
Comparison with similar tools
Cards that share the main search query, and how they differ.
| Tool | Official | Repository stars | Main difference |
|---|---|---|---|
| Bagisto Agent Skills: Bagisto development (this card) | yes | 14 | |
| Laravel Agent Skills | yes | 737 | official skills for the generic Laravel framework, while this holds Bagisto-specific rules and APIs |
| Medusa Agent Skills | yes | 236 | skills for the Node.js Medusa platform, while this covers a Laravel store |
| Shopify AI Toolkit | no | 637 | a plugin for the SaaS platform Shopify, while this is for an open-source platform on your own server |
README in short
The description lists every skill with its keyword activation conditions, three install routes (the whole set, a single skill, a fork or another repository) and explains that the installer symlinks skills into agent directories by default. Each SKILL.md is capped at 150 lines and acts as a router, with details in reference files. A linter enforces the structure.
README badge
Original SKILL.md
--- name: bagisto-coding-standards description: 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". license: MIT --- # Coding Standards The canonical rules for all Bagisto code, in one place, so a change to a DataGrid, a payment class or a theme is held to the same bar as a change to a package. **Pint decides the mechanical questions.** Run `vendor/bin/pint` and trust it for spacing, import order, trailing commas and the rest. What follows is what Pint cannot see — and what a reviewer will otherwise send back. ## Reference files | File | Load when | |---|---| | [code-style.md](code-style.md) | Writing any PHP — multi-clause conditions, class member order | | [comments.md](comments.md) | Any comment or docblock, in any language | | [laravel.md](laravel.md) | Framework idiom — events, migrations, config, helpers, validation, queues | | [data-access.md](data-access.md) | Reading or writing the database — the repository rule and its one exception | | [database-compatibility.md](database-compatibility.md) | Any query, migration or raw SQL — MySQL, MariaDB and PostgreSQL all have to pass | | [security.md](security.md) | Output, input, uploads, SQL, secrets, payments | | [security-authorization.md](security-authorization.md) | Routes, permissions, guards, one user's access to another's data | | [blade.md](blade.md) | Any `.blade.php` — namespaces, `:` versus `::`, components, page skeleton | | [blade-formatting.md](blade-formatting.md) | Indentation, attribute layout, `@props` alignment, recipes | | [localization.md](localization.md) | Any user-facing string, or a `Resources/lang/` change | The PHP rules apply inside an `@php` block too, which Pint cannot reach. ## The rules in one screen - **Every method and property carries a docblock**, whatever its visibility. The description is a capitalised sentence ending in a full stop, and it is **at most two lines**. Type information belongs in the signature; add `@param`/`@return` only for what a native type cannot express. - **Class members run constants → properties → constructor → public → protected → private**, each visibility one contiguous block. A helper called by a public method still lives in the protected block at the bottom. - **A condition with more than one clause goes multiline**, the boolean operator leading each line. Single-clause conditions stay inline. The rule keys off the number of clauses, not the line length.