Communityコーディング&開発github.com

Taldres/laravel-waitlist

Laravelパッケージの互換性を、Composer制約、PHPバージョン、Laravelバージョン、Testbenchバージョン、依存関係の安定性レーン、Windows CI、マトリックスに敏感なコードやワークフローの変更についてレビューする際に使用します。

laravel-waitlist とは?

このスキルは、Laravelパッケージのコード、依存関係、およびワークフローを、サポート対象のLaravel 13およびPHP 8.3+のマトリックス全体で互換性を持たせるために設計されています。まず`composer.json`を読み取り、PHP、Laravel、Testbenchの制約を確認します。次に、新しいフレームワークや言語機能を採用する前に、変更されたコードが`composer.json`で許可されている最も低いLaravelバージョン(13.0.0)およびPHP 8.3の構文と互換性があるかをチェックします。また、`.github/workflows/tests.yml`で依存関係の安定性レーン、prefer-lowestカバレッジ、prefer-stableカバレッジ、Windowsに関する問題をレビューし、依存関係を変更する際には、制約が目的のLaravelおよびTestbenchのバージョンを依然として許可していることを確認します。検証は可能な限り最小のローカルコマンドで行い、その後CIに頼って完全なOSおよび依存関係マトリックスのカバレッジを確保します。このスキルは、Claude CodeやCursorなどのAIエージェントプラットフォームで使用でき、開発者が複雑な互換性マトリックスを管理し、非推奨のパターン(例:最新のローカル依存関係バージョンをサポートマトリックス全体の代表とみなす、`composer.json`の制約を超えるPHP構文やLaravel APIを追加する、テストやワークフローでWindowsのパス区切り文字や実行可能ファイルの仮定、シェル専用構文を無視する、依存関係の安定性レーンを削除する)を回避するのに役立ちます。

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

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

パッケージ互換性

主要な目標

パッケージコード、依存関係、ワークフローをサポート対象の Laravel 13 および PHP 8.3+ のマトリックスと互換性のある状態に保ちます。

ワークフロー

  1. 最初に composer.json を読み、PHP、Laravel、Testbench の制約を確認します。
  2. 変更されたコードを、composer.json が許可する最も低い Laravel リリース(13.0.0)および PHP 8.3+ の構文と照らし合わせてから、新しいフレームワークや言語機能を採用します。PHP 8.4 の構文(プロパティフックなど)は 8.3 ではパースエラーになります。array_any() などの PHP 8.4 関数を直接呼び出さないでください。Laravel の Arr::first()、Arr::some()、Arr::every() がそれらをカバーしており、後者2つは mixed を受け取るクロージャを使用します。PHPStan はより狭い型指定を拒否するためです。
  3. .github/workflows/tests.yml を確認し、依存関係の安定性レーン、prefer-lowest カバレッジ、prefer-stable カバレッジ、Windows に関する懸念事項を確認します。prefer-lowest レーンは、セキュリティアドバイザリによるリリースブロックを無効にします。これがないと Laravel 13.0 がインストールされないためです。ローカルでは、コピーで composer config policy.advisories.block false を実行して下限をテストします。
  4. 依存関係を変更する場合、制約が意図した Laravel および Testbench のバージョンを許可していることを確認します。
  5. 利用可能な最小のローカルコマンドで検証し、その後 CI に完全な OS および依存関係マトリックスのカバレッジを委ねます。

参考文献

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

例

  • 新しい Laravel API 呼び出しをレビューする際は、それが composer.json が許可する最低バージョンである Laravel 13.0.0 に存在するかどうかを確認してから、共有パッケージコードにマージします。
  • 依存関係のバンプをレビューする際は、Composer の制約、Testbench の制約、prefer-lowest の動作、Windows のパスに関する前提事項を確認します。

アンチパターン

  • 最新のローカル依存関係バージョンがサポートマトリックス全体を代表していると想定すること。
  • composer.json の制約を超える PHP 構文や Laravel API を追加すること。
  • テストやワークフローで Windows のパス区切り文字、実行ファイルの前提、シェル固有の構文を無視すること。
  • 依存関係の安定性レーンが単一のハッピーパスより遅いという理由で削除すること。

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.

関連スキル