Spa Auth Development
gdarko/laravel-vue-starter
Activate when working on SPA authentication flow, Sanctum cookie-based auth, Vue Router guards, auth store, login/register/password reset pages, or CORS/session configuration.
Handles Laravel Cashier Stripe integration including subscriptions, webhooks, Stripe Checkout, invoices, charges, refunds, trials, coupons, metered billing, and payment failure handling.
$ npx skills add luadotsh/lua --skill cashier-stripe-development -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install luadotsh/lua cashier-stripe-development --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/luadotsh/lua.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/cashier-stripe-development .claude/skills/cashier-stripe-development && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cashier-stripe-development" agent skill from https://github.com/luadotsh/lua/tree/main/.claude/skills/cashier-stripe-development into .claude/skills/cashier-stripe-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cashier-stripe-development", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/luadotsh/lua/tree/main/.claude/skills/cashier-stripe-developmentType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add luadotsh/lua --skill cashier-stripe-development -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install luadotsh/lua cashier-stripe-development --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/luadotsh/lua.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/cashier-stripe-development .agents/skills/cashier-stripe-development && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cashier-stripe-development" agent skill from https://github.com/luadotsh/lua/tree/main/.claude/skills/cashier-stripe-development into .agents/skills/cashier-stripe-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cashier-stripe-development", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add luadotsh/lua --skill cashier-stripe-development -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install luadotsh/lua cashier-stripe-development --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/luadotsh/lua.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/cashier-stripe-development .cursor/skills/cashier-stripe-development && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cashier-stripe-development" agent skill from https://github.com/luadotsh/lua/tree/main/.claude/skills/cashier-stripe-development into .cursor/skills/cashier-stripe-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cashier-stripe-development", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/luadotsh/lua.git --path .claude/skills/cashier-stripe-development--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add luadotsh/lua --skill cashier-stripe-development -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install luadotsh/lua cashier-stripe-development --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/luadotsh/lua.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/cashier-stripe-development .gemini/skills/cashier-stripe-development && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cashier-stripe-development" agent skill from https://github.com/luadotsh/lua/tree/main/.claude/skills/cashier-stripe-development into .gemini/skills/cashier-stripe-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cashier-stripe-development", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install luadotsh/lua cashier-stripe-developmentInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add luadotsh/lua --skill cashier-stripe-development -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/luadotsh/lua.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/cashier-stripe-development .github/skills/cashier-stripe-development && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cashier-stripe-development" agent skill from https://github.com/luadotsh/lua/tree/main/.claude/skills/cashier-stripe-development into .github/skills/cashier-stripe-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cashier-stripe-development", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add luadotsh/lua --skill cashier-stripe-development -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install luadotsh/lua cashier-stripe-development --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/luadotsh/lua.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/cashier-stripe-development .opencode/skills/cashier-stripe-development && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cashier-stripe-development" agent skill from https://github.com/luadotsh/lua/tree/main/.claude/skills/cashier-stripe-development into .opencode/skills/cashier-stripe-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cashier-stripe-development", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cashier-stripe-developmentHandles Laravel Cashier Stripe integration including subscriptions, webhooks, Stripe Checkout, invoices, charges, refunds, trials, coupons, metered billing, and payment failure handling.
Cashier Stripe Development is an agent skill from luadotsh/lua. Handles Laravel Cashier Stripe integration including subscriptions, webhooks, Stripe Checkout, invoices, charges, refunds, trials, coupons, metered billing, and payment failure handling. Triggered when a user mentions Cashier, Billable, IncompletePayment, stripeid, newSubscription, Stripe subscriptions, or billing. Also applies when setting up webhooks, handling SCA/3DS payment failures, testing with Stripe test cards, or troubleshooting incomplete subscriptions, CSRF webhook errors, or migration publish issues.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/subscriptions.md`, `references/testing.md` and `references/webhooks.md`).
It sits in Backend & APIs, covering Webhooks, Web application vulnerabilities and Forms and invoices. It works with Stripe and Laravel. The repository describes itself as: Open-source, next-generation, and scalable URL shortener designed for modern teams. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit b1929e1. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
phpstripeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
STRIPE_KEYSTRIPE_SECRETSTRIPE_WEBHOOK_SECRETFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Cashier Stripe Development loads about 1.2k tokens when it runs, and up to ~3.6k if it reads all its reference files. Until then it costs about 136 tokens; SKILL.md has 447 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from luadotsh/lua at commit b1929e1, republished under its MIT licence (© luadotsh). 447 words, ~1,232 tokens.
.claude/skills/cashier-stripe-development/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Use search-docs for detailed Cashier patterns and documentation covering subscriptions, webhooks, Stripe Checkout, invoices, payment methods, and testing.
For deeper guidance on specific topics, read the relevant reference file before implementing:
references/subscriptions.md covers subscription creation, status checks, swapping, trials, quantities, and multiple productsreferences/webhooks.md covers webhook setup, custom handlers, CSRF exclusion, and local development with the Stripe CLIreferences/testing.md covers Stripe test cards, payment method tokens, and feature test patternsphp artisan vendor:publish --tag="cashier-migrations"
php artisan migrate
php artisan vendor:publish --tag="cashier-config"STRIPE_KEY=pk_test_...
STRIPE_SECRET=sk_test_...
STRIPE_WEBHOOK_SECRET=whsec_...
CASHIER_CURRENCY=usd
CASHIER_CURRENCY_LOCALE=en_US<!-- Add Billable Trait -->
use Laravel\Cashier\Billable;
class User extends Authenticatable
{
use Billable;
}For a non-User model, register it in a service provider:
<!-- Custom Billable Model -->
// In AppServiceProvider::boot()
Cashier::useCustomerModel(Team::class);<!-- Create Subscription -->
use Laravel\Cashier\Exceptions\IncompletePayment;
try {
$user->newSubscription('default', 'price_xxxx')->create($paymentMethodId);
} catch (IncompletePayment $e) {
return redirect()->route('cashier.payment', [$e->payment->id, 'redirect' => route('home')]);
}Always wrap subscription creation in a try/catch for IncompletePayment. When a card requires 3DS authentication, Cashier throws this exception. The cashier.payment route is auto-registered and handles the confirmation flow.
stripe_id, pm_type, pm_last_four, and trial_ends_at columns exist on the billable model tablestripe listen --forward-to localhost/stripe/webhook if you use the default path, or swap stripe for your configured CASHIER_PATH$user->subscribed('default') returns the expected value for active and incomplete subscriptionscashier-migrations, not cashier. Running migrate before publishing results in missing columns and tables.CASHIER_CURRENCY must be set explicitly. It defaults to USD, which silently breaks non-US apps.cashier.path. If you change CASHIER_PATH from stripe to billing, exclude billing/*, not stripe/*.canceled() returns true as soon as cancel() is called, but the user still has access during the grace period. Use ended() to confirm access is fully revoked.subscribed() returns true during the grace period even though the subscription is canceled.subscribed() returns false for incomplete and past_due subscriptions by default.WebhookController, call Cashier::ignoreRoutes() in a service provider and re-register both cashier.payment and cashier.webhook under the configured cashier.path.Cashier::useCustomerModel() in a service provider to set a custom billable model. There is no CASHIER_MODEL env var.trial_ends_at is a local database column synced via webhooks. It will be stale if webhooks are not configured in production.stripe_id column must use utf8_bin collation to avoid case-sensitivity issues.noProrate() has no effect when combined with swapAndInvoice(). That method always prorates.withPromotionCode() require the Stripe API ID such as promo_xxxx, not the customer-facing code. Use findPromotionCode() to resolve a code to its ID.search-docs for the latest Cashier documentation rather than relying on this skill alone.© luadotsh, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (references) in .claude/skills/cashier-stripe-development of luadotsh/lua.
Open the folder on GitHubat commit b1929e1
We found 4 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in luadotsh/lua, which our catalogue first saw on October 7, 2026.
Cashier Stripe Development next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cashier Stripe Development this skillluadotsh/lua | 343 | 1 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Spa Auth Developmentgdarko/laravel-vue-starter | 145 | — | ~668 | Automated safety check: Notes | MIT | |
| Rails Security Multitenancymarckohlbrugge/37signals-skills | 724 | — | ~1.7k | Automated safety check: Pass | None | |
| Upgrade Stripefossasia/eventyay | 1.7k | 1 repos | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Laravel Securityaffaan-m/ECC | 277k | 3 repos | ~2k | Automated safety check: Pass | MIT | |
| Laravel Securityaffaan-m/ECC | 277k | 1 repos | ~6.7k | Automated safety check: Notes | MIT |
gdarko/laravel-vue-starter
Activate when working on SPA authentication flow, Sanctum cookie-based auth, Vue Router guards, auth store, login/register/password reset pages, or CORS/session configuration.
marckohlbrugge/37signals-skills
Apply Rails security and multi-tenant safety practices including scoped queries, SSRF defenses, rate limiting, and tenant-scoped realtime updates.
fossasia/eventyay
Guide for upgrading Stripe API versions, webhook endpoints, server-side SDKs, Stripe.js, and mobile SDKs
affaan-m/ECC
Laravel security best practices for authn/authz, validation, CSRF, mass assignment, file uploads, secrets, rate limiting, and secure deployment.
affaan-m/ECC
Laravel security best practices — authentication, authorization, Eloquent safety, CSRF, XSS prevention, API security, and secure deployment configurations.
affaan-m/ECC
Laravel 安全最佳实践,涵盖认证/授权、验证、CSRF、批量赋值、文件上传、密钥管理、速率限制和安全部署. An agent skill from affaan-m/ECC.
luadotsh/lua
A skill your agent uses for Pest PHP testing in Laravel projects only.
Categories
Handles Laravel Cashier Stripe integration including subscriptions, webhooks, Stripe Checkout, invoices, charges, refunds, trials, coupons, metered billing, and payment failure handling. Cashier Stripe Development is an agent skill from luadotsh/lua. Handles Laravel Cashier Stripe integration including subscriptions, webhooks, Stripe Checkout, invoices, charges, refunds, trials, coupons, metered billing, and payment failure handling.
Cashier Stripe Development fits situations like: tasks that involve Webhooks; tasks that involve Web application vulnerabilities; tasks that involve Forms and invoices.
Run `npx skills add luadotsh/lua --skill cashier-stripe-development -a claude-code`. Or copy the skill folder (.claude/skills/cashier-stripe-development in luadotsh/lua) into .claude/skills/cashier-stripe-development in your project. Claude Code loads it when a task matches its description.
Run `npx skills add luadotsh/lua --skill cashier-stripe-development -a codex`. Or copy the skill folder (.claude/skills/cashier-stripe-development in luadotsh/lua) into .agents/skills/cashier-stripe-development in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add luadotsh/lua --skill cashier-stripe-development -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cashier-stripe-development, .gemini/skills/cashier-stripe-development, .github/skills/cashier-stripe-development and .opencode/skills/cashier-stripe-development in your project.
Going by SKILL.md and its folder, Cashier Stripe Development needs the command-line tools its instructions call (php and stripe) and credentials named STRIPE_KEY, STRIPE_SECRET and STRIPE_WEBHOOK_SECRET. Our summary lists: A credential in STRIPE_KEY; A credential in STRIPE_SECRET.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Cashier Stripe Development is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.4k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Cashier Stripe Development: Spa Auth Development (gdarko/laravel-vue-starter, 145 stars), Rails Security Multitenancy (marckohlbrugge/37signals-skills, 724 stars), Upgrade Stripe (fossasia/eventyay, 1.7k stars) and Laravel Security (affaan-m/ECC, 277k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
luadotsh (a GitHub organization) maintains it in luadotsh/lua, which has 343 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on September 21, 2026.
Source: luadotsh/lua on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.