Taldres/laravel-waitlist

Use esta skill ao revisar compatibilidade de pacotes Laravel com restrições do Composer, versões PHP, versões Laravel, versões Testbench, faixas de estabilidade de dependências, CI Windows ou alterações sensíveis à matriz em código e workflows.

O que é laravel-waitlist?

Esta skill automatiza a revisão de compatibilidade de pacotes Laravel, garantindo que código, dependências e workflows permaneçam funcionais para toda a matriz suportada (Laravel 13 e PHP 8.3+). Ela instrui o agente a ler o `composer.json`, verificar o código contra o Laravel 13.0.0 (versão mínima permitida) e sintaxe PHP 8.3, evitando recursos mais recentes como property hooks ou funções como `array_any()`, sugerindo alternativas do Laravel. Também revisa workflows CI (`.github/workflows/tests.yml`) para lidar com faixas de estabilidade de dependências (prefer-lowest, prefer-stable) e diferenças de plataforma Windows. Útil para desenvolvedores que mantêm pacotes Laravel multiplataforma, a skill fornece diretrizes para validar alterações de dependências e evitar anti-padrões, como assumir a versão local mais recente ou ignorar separadores de caminho do Windows.

Funciona com~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Taldres/laravel-waitlist/tree/HEAD/.agents/skills/package-compatibility

Installed? Explore more Programação e Desenvolvimento skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

Compatibilidade de Pacotes

Objetivo Principal

Manter código, dependências e workflows do pacote compatíveis com a matriz suportada de Laravel 13 e PHP 8.3+.

Fluxo de Trabalho

  1. Leia o composer.json primeiro para determinar as restrições de PHP, Laravel e Testbench.
  2. Verifique alterações no código contra a versão mais baixa do Laravel permitida pelo composer.json (13.0.0) e sintaxe PHP 8.3+ antes de adotar recursos mais novos da linguagem ou framework. Sintaxe PHP 8.4, como property hooks, é um erro de parse no PHP 8.3. Não chame funções PHP 8.4 diretamente, como array_any(): o Laravel oferece Arr::first(), Arr::some() e Arr::every() como alternativas; os dois últimos exigem uma closure que aceita mixed, pois o PHPStan rejeita uma mais restrita.
  3. Revise .github/workflows/tests.yml para faixas de estabilidade de dependências, cobertura prefer-lowest, cobertura prefer-stable e preocupações com Windows. A faixa prefer-lowest desativa o bloqueio do Composer para lançamentos com avisos de segurança, caso contrário, nunca instalaria o Laravel 13.0; localmente, teste o mínimo em uma cópia com composer config policy.advisories.block false.
  4. Ao alterar dependências, confirme se as restrições ainda permitem as versões pretendidas de Laravel e Testbench.
  5. Valide com o menor comando local disponível, depois confie no CI para cobertura completa de sistema operacional e matriz de dependências.

Referências

  • composer.json
  • .github/workflows/tests.yml
  • phpstan.neon.dist
  • tests/
  • workbench/

Exemplos

  • Revise uma nova chamada de API do Laravel verificando se ela existe no Laravel 13.0.0, a versão mais baixa que o composer.json permite, antes de mesclá-la no código compartilhado do pacote.
  • Revise um aumento de dependência verificando restrições do Composer, restrições do Testbench, comportamento prefer-lowest e suposições de caminho no Windows.

Anti-Padrões

  • Assumir que a versão local mais recente da dependência representa toda a matriz de suporte.
  • Adicionar sintaxe PHP ou APIs Laravel que excedam as restrições do composer.json.
  • Ignorar separadores de caminho do Windows, suposições de executáveis ou sintaxe apenas para shell em testes e workflows.
  • Remover faixas de estabilidade de dependências porque são mais lentas que um único caminho feliz.

Individual skills in this repo

This repo contains 13 individual skills — each has its own dedicated page.

Taldres/laravel-waitlist

Use this skill when creating or updating the bundled Laravel Boost skill under resources/boost/skills from the package implementation and package documentation. Trigger after public APIs, commands, config, routes, views, publish tags, README content, or examples change.

Taldres/laravel-waitlist

Use this skill when preparing Laravel package releases: CHANGELOG.md updates, generated release notes, GitHub release workflows, version checks, tags, release validation, or release automation changes. Never publish autonomously.

Taldres/laravel-waitlist

Use this skill when adding Laravel package capabilities or wiring them through the service provider: commands, migrations, routes, config merges, views, translations, assets, middleware, publish tags, workbench files, or console-only behavior.

Taldres/laravel-waitlist

Use this skill when writing, editing, fixing, or reviewing package tests with Pest 4/5 and Orchestra Testbench, including TDD, feature tests, unit tests, type coverage, arch tests, workbench behavior, commands, routes, config, migrations, and publishable resources.

Taldres/laravel-waitlist

Integrate taldres/laravel-waitlist in a Laravel application: define purposes, lists and fields, build the signup form, send the confirmation mail from events, add a preference page, and keep consent, retention and encryption intact.

Taldres/laravel-waitlist

Build the pages of a taldres/laravel-waitlist integration: the signup form with the registered wording, and the confirm, unsubscribe and preference pages, either in Laravel controllers (Blade, Livewire, Inertia) or in an SPA or static site over the package's JSON API, including CORS and bot protection.

Taldres/laravel-waitlist

Turn a taldres/laravel-waitlist waitlist into a launch: invite people in batches in signup order, let invited addresses register, announce the launch to everyone who agreed, and erase the list once its purpose is fulfilled.

Taldres/laravel-waitlist

Send the mails of a taldres/laravel-waitlist integration: the double opt-in confirmation, the preference page link, a welcome mail, launch mails and newsletters to the people who agreed, with the right unsubscribe links, one-click headers and a sender per project.

Taldres/laravel-waitlist

Operate a taldres/laravel-waitlist installation: answer access and erasure requests, withdraw a purpose on request, apply retention, erase a list once its purpose is fulfilled, rotate APP_KEY with waitlist:rekey, export a list, and check the setup before going live.

Taldres/laravel-waitlist

Run the waitlists of several products in one Laravel app with taldres/laravel-waitlist projects: define projects, scope facade calls with project(), resolve the project of HTTP signups, send mail per project, handle requests across all projects, or keep projects in a database for a central waitlist API.

Taldres/laravel-waitlist

Keep a newsletter tool such as Brevo, Mailchimp or Mailcoach in step with a taldres/laravel-waitlist waitlist: add confirmed contacts per purpose, remove them on withdrawal and erasure, and carry unsubscribes made at the provider back into the waitlist via a webhook.

Taldres/laravel-waitlist

Build waitlist statistics with taldres/laravel-waitlist: signups and confirmations per day for charts, totals and confirmation rates for a period, the confirmed count on any past day, and how many people are on a list right now, for dashboards, admin pages and API endpoints.

Taldres/laravel-waitlist

Write feature tests for an application's taldres/laravel-waitlist integration: get the plain tokens from events, assert the confirmation and other mails, test the signup, confirm and unsubscribe flows in PHP and over the package's HTTP routes, and bypass rate limits and bot checks in tests.

Habilidades Relacionadas