Community코딩 & 개발github.com

Taldres/laravel-waitlist

이 Skill은 Pest 4/5, Orchestra Testbench를 사용하여 패키지 테스트를 작성, 수정, 수정, 검토할 때 사용합니다. TDD, 기능 테스트, 단위 테스트, 타입 커버리지, 아키텍처 테스트, 워크벤치 동작, 명령어, 라우트, 설정, 마이그레이션, 게시 가능한 리소스를 포함합니다.

laravel-waitlist란 무엇인가요?

이 AI 에이전트 Skill은 Laravel 패키지 개발을 위해 설계된 포괄적인 테스트 지침을 제공합니다. 주 목표는 Pest 4/5, Orchestra Testbench, 그리고 로컬 `tests/TestCase.php` 설정을 이용해 패키지 동작을 구현 전이나 구현과 동시에 검증하는 것입니다. TDD 워크플로우를 따르며, 가장 작은 실패 테스트를 먼저 작성하고 통과시키는 최소한의 변경을 구현합니다. 행복 경로, 불행 경로, 에지 케이스를 모두 다루고, 통합 동작에는 기능 테스트를, 광범위한 제약 조건에는 아키텍처 테스트를 선호합니다. `composer test:unit`, `composer test:types`, `composer test` 명령어를 반복 주기와 완료 전에 사용하며, 실제 패키지 테스트는 유지하고 스캐폴딩 실험용 테스트는 제거합니다. 이 Skill은 Claude Code, Cursor, Codex와 같은 AI 에이전트 플랫폼에서 사용할 수 있으며, 패키지 테스트의 모범 사례와 안티 패턴을 명확히 제시하여 일관된 테스트 품질을 보장합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Taldres/laravel-waitlist/tree/HEAD/.agents/skills/package-testing

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

패키지 테스트

주요 목표

Pest 4/5, Orchestra Testbench, 로컬 tests/TestCase.php 설정을 사용하여 패키지 동작을 구현 전이나 구현과 동시에 검증합니다.

워크플로우

  1. TDD로 시작: 요청된 동작에 대해 가장 작은 실패하는 패키지 테스트를 먼저 작성하고, 이를 통과시키는 가장 작은 변경을 구현합니다.
  2. 기능이 의미 있는 실패 모드를 가질 경우 행복 경로, 불행 경로, 에지 케이스 동작을 모두 다룹니다.
  3. 패키지 통합 동작에는 집중된 기능 테스트를, 광범위한 제약 조건에는 아키텍처 테스트를 선호합니다.
  4. 반복 작업 중에는 composer test:unit -- --filter ...를 사용하고, 타입에 민감한 테스트나 코드 변경 시에는 composer test:types를, 작업 완료 전에는 composer test를 사용합니다.
  5. 실제 패키지 테스트는 스위트에 유지하고, 로컬 스캐폴딩 실험을 위해 명시적으로 생성된 일회성 테스트만 제거합니다.

참고 자료

  • tests/TestCase.php
  • tests/Pest.php
  • tests/Feature/
  • tests/Unit/
  • tests/ArchTest.php
  • composer.json 스크립트

예시

  • 기본 패키지 설정을 단언(assert)한 다음 Testbench 앱에서 호스트 설정 값을 재정의(override)하여 설정 병합 및 재정의를 테스트합니다.
  • 게시 가능한 에셋, 마이그레이션, 뷰, 언어 파일 또는 설정을 공급업체 게시(vendor publish) 동작을 호출하고 대상 경로가 존재하는지 단언(assert)하여 테스트합니다.
  • Testbench HTTP 요청으로 라우트를, Artisan 단언(assertion)으로 명령어를, SQLite 테스트 데이터베이스로 마이그레이션을 테스트하고, 필요 시 composer build 후 워크벤치 동작을 테스트합니다.

안티 패턴

  • 불편하다는 이유로 실제 패키지 테스트를 삭제하는 것.
  • 동작에 단언(assertion)이 필요한데 스모크 테스트(smoke test)에만 의존하는 것.
  • 관찰 가능한 패키지 동작이 제공되는데 구현 세부 사항을 테스트하는 것.
  • 일회성 스캐폴딩 실험 테스트를 패키지 테스트 스위트에 유지하는 것.

Individual skills in this repo

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

Taldres/laravel-waitlist

Use this skill when reviewing Laravel package compatibility across composer constraints, PHP versions, Laravel versions, Testbench versions, dependency stability lanes, Windows CI, or matrix-sensitive code and workflow changes.

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

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.

관련 스킬