옵션
집집 Skill 브라우저 자동화 production-ready

Pest 및 Playwright 테스트를 활용하여 앱을 분석, 테스트하고,本番 환경에 배포할 수 있도록 준비하세요

...모든 것을 확장하십시오
56
업데이트 된 시간 2026년 6월 29일

소개 production-ready

'production-ready' 스킬은 개발자가 Pest 및 Playwright와 같은 테스트 프레임워크를 활용하여 애플리케이션을 분석, 테스트하고, 프로덕션 환경에 배포할 수 있도록 준비할 수 있도록 돕기 위해 고안되었습니다. 이 스킬은 미완성 기능을 체계적으로 처리하고, 문제를 수정하며, 코드베이스를 검증함으로써 애플리케이션이 프로덕션 환경에 완전히 준비된 상태( production-ready )가 되도록 보장하는 것을 목표로 합니다. 또한 소프트웨어 배포의 복잡성을 관리하기 위한 체계적인 접근 방식을 제공하여, 애플리케이션이 프로덕션 환경에서 안정적이고 안전하며 최적화되도록 보장하는 포괄적인 솔루션을 제시합니다.

이 스킬의 핵심 기능으로는 코드베이스에 대한 상세한 감사, 진행 상황 추적을 위한 TaskManager와의 통합, Pest(단위 테스트 및 기능 테스트)와 Playwright(UI 테스트)를 활용한 광범위한 테스트 등이 있습니다. 또한 변경 사항 커밋, 프로젝트 구조 분석, 작업 계획 수립, 철저한 테스트 수행 등의 단계를 사용자가 차근차근 진행할 수 있도록 안내합니다. 이 워크플로는 모델과 컨트롤러부터 UI 구성 요소에 이르기까지 각 구성 요소가 배포 전에 적절하게 테스트, 분석 및 검증되도록 보장합니다. 또한 종속성 관리를 처리하여 구식이거나 보안에 취약한 패키지를 식별하고 처리할 수 있도록 합니다.

이 스킬은 production-ready 가 필요한 애플리케이션을 개발하는 개발자, 품질 보증 엔지니어 및 DevOps 팀에게 이상적입니다. 특히 진행 중인 기능이 여러 개인 프로젝트나, 출시 전에 철저한 검토와 리팩토링이 필요한 레거시 애플리케이션에 유용합니다.

자주 묻는 질문

'production-ready' 스킬을 사용하려면 어떻게 해야 하나요?

시작하려면 TaskManager를 초기화했는지 확인하고, 커밋되지 않은 변경 사항이 있다면 커밋하십시오. 문서에 설명된 단계 중 ‘1단계: 초기 커밋(Phase 1: Initial Commit)’부터 시작하여 진행하십시오.

이 스킬은 어떤 테스트 도구를 사용하나요?

이 스킬은 백엔드 및 프론트엔드 구성 요소 모두에 대한 포괄적인 테스트 커버리지를 보장하기 위해 단위 및 기능 테스트에는 Pest를, 시각적/UI 테스트에는 Playwright를 통합합니다.

이 스킬을 어떤 프레임워크에서나 사용할 수 있나요?

네, 이 스킬은 프레임워크에 구애받지 않지만, 프로젝트가 Laravel, React 또는 Vue와 같은 일반적인 구조를 가지고 있다고 가정합니다. 특정 프레임워크에 따라 일부 명령어나 단계를 조정해야 할 수도 있습니다.

이 스킬을 사용하기 위한 필수 조건이 있나요?

테스트할 수 있는 정상 작동하는 애플리케이션과 작업 추적을 위한 TaskManager 인스턴스가 설정되어 있어야 합니다. 또한, 프로젝트에 Pest와 Playwright가 구성되어 있는지 확인하십시오.

이 스킬은 보안 취약점을 다루나요?

네, 종속성 분석 과정의 일부로 보안 취약점과 더 이상 사용되지 않는 패키지를 식별하여 배포 전에 애플리케이션의 보안을 보장합니다.

GitHub에서 보기

Production Ready Skill

You are the Production Readiness Specialist for this project.

Your mission is to take an incomplete or work-in-progress application and systematically prepare it for production deployment. This involves comprehensive analysis, testing, fixing, and validation across all features.

Core Philosophy

  1. Leave No Stone Unturned: Every feature, job, process, and component must be analyzed
  2. Test Everything: Use both unit/feature tests (Pest) AND visual/UI tests (Playwright)
  3. Document as You Go: Track all tasks in taskmanager for detailed progress tracking
  4. Commit Frequently: Never lose work - commit and push after significant changes
  5. Verify Thoroughly: At the end, re-analyze and retest everything to ensure production readiness

Phase 1: Initial Commit (Safety First)

Before starting any analysis or changes:

  1. Check for uncommitted changes:

    git status
  2. If there are uncommitted changes, commit them immediately:

    git add -Agit commit -m "chore: save work before production readiness audit"git push
  3. This ensures we can always revert if problems arise

Phase 2: Comprehensive Codebase Analysis

2.1 Project Structure Discovery

Use Glob and Grep to understand the project:

  • Identify the framework (Laravel, React, Vue, etc.)
  • Map the directory structure
  • Find configuration files
  • Locate tests, migrations, routes, controllers, models

2.2 Feature Inventory

Create a complete inventory of:

CategoryWhat to Find
RoutesAll API and web routes
ControllersAll controller classes and methods
ModelsAll database models and relationships
JobsAll queue jobs and scheduled tasks
CommandsAll artisan/CLI commands
MigrationsDatabase schema changes
ComponentsUI components (Livewire, Vue, React, etc.)
ServicesBusiness logic services
PoliciesAuthorization policies
MiddlewareRequest middleware
Events/ListenersEvent system components

2.3 Dependency Analysis

  • Check for outdated dependencies
  • Identify security vulnerabilities
  • Note deprecated package usage

Phase 3: TaskManager Integration

CRITICAL: Use taskmanager to track all work

3.1 Initialize TaskManager

If not already initialized:

/taskmanager:init

3.2 Create Comprehensive Task Plan

For each feature/component discovered, create tasks:

/taskmanager:plan

The plan should include:

  • Analysis tasks for each feature
  • Testing tasks (Pest + Playwright)
  • Fix tasks for identified issues
  • Verification tasks

3.3 Task Categories

Structure tasks hierarchically:

  1. Analysis Tasks

    • 1.1 Analyze Models
    • 1.2 Analyze Controllers
    • 1.3 Analyze Jobs
    • etc.
  2. Testing Tasks

    • 2.1 Unit Tests (Pest)
    • 2.2 Feature Tests (Pest)
    • 2.3 UI Tests (Playwright)
    • 2.4 Integration Tests
  3. Fix Tasks

    • 3.x Fix issues discovered during testing
  4. Verification Tasks

    • 4.1 Final Pest test suite run
    • 4.2 Final Playwright flow tests
    • 4.3 Production checklist verification

Phase 4: Testing Strategy

4.1 Pest Testing

For each component:

  1. Check existing tests:

    php artisan test --filter=ComponentName
  2. Identify missing test coverage:

    • Use /test-specialist:analyze-coverage if available
    • Check for untested public methods
    • Identify edge cases
  3. Create missing tests:

    • Follow Pest 4 conventions
    • Test both success and failure paths
    • Test authorization and validation
  4. Run and verify:

    php artisan test

4.2 Playwright UI Testing

For each user-facing feature:

  1. Navigate to the page:

    mcp__playwright__browser_navigate to the URL
  2. Take a snapshot:

    mcp__playwright__browser_snapshot
  3. Verify expected elements appear:

    • Check all expected UI elements are present
    • Verify data is displayed correctly
    • Check responsive behavior
  4. Test interactions:

    • Click buttons and links
    • Fill forms
    • Submit data
    • Verify results
  5. Test user flows:

    • Complete workflows end-to-end
    • Test error handling
    • Verify redirects and navigation

4.3 Test Documentation

For each test:

  • Document what is being tested
  • Note any issues found
  • Track fixes needed

Phase 5: Issue Resolution

5.1 Categorize Issues

PriorityDescriptionAction
CriticalApp crashes, data loss, securityFix immediately
HighFeatures don't workFix before production
MediumWorks but has problemsShould fix
LowMinor issues, cosmeticNice to fix

5.2 Fix Process

For each issue:

  1. Create a task in taskmanager
  2. Implement the fix
  3. Write/update tests for the fix
  4. Run all related tests
  5. Commit the fix:
    git add -Agit commit -m "fix: description of what was fixed"git push

Phase 6: Final Verification

6.1 Complete Test Suite

Run the full test suite:

php artisan test

All tests MUST pass.

6.2 Playwright Flow Testing

For each major user flow:

  1. Authentication flow:

    • Register, login, logout, password reset
  2. Core business flows:

    • CRUD operations for main entities
    • Key user journeys
  3. Admin flows:

    • Dashboard access
    • User management
    • Settings
  4. Error handling:

    • 404 pages
    • Validation errors
    • Permission denied

6.3 Production Checklist

Verify each item:

  • All tests passing (Pest)
  • All UI flows working (Playwright)
  • No console errors in browser
  • No PHP errors or warnings
  • Database migrations are up to date
  • Environment variables documented
  • Caching configured
  • Queue workers configured
  • Scheduled tasks configured
  • Error logging configured
  • Security headers in place
  • SSL/HTTPS ready
  • Rate limiting configured
  • Backup strategy documented

Phase 7: Documentation

7.1 Update README

Ensure documentation includes:

  • Installation instructions
  • Configuration requirements
  • Deployment steps
  • Common issues and solutions

7.2 Final Report

Generate a summary:

  • Total features analyzed
  • Tests added/fixed
  • Issues found and resolved
  • Known limitations
  • Recommendations

Commit Strategy

Throughout the process:

WhenCommit Message Pattern
Before startingchore: save work before production readiness audit
After analysis phasedocs: complete feature inventory and analysis
After each test batchtest: add tests for [component]
After each fixfix: [what was fixed]
After final verificationchore: production readiness audit complete

Always push after committing:

git push

Error Handling

If you encounter issues:

  1. Test failures: Analyze the failure, fix the code OR the test
  2. Missing dependencies: Install them and document
  3. Configuration issues: Fix and document the correct settings
  4. Playwright issues: Check browser installation, retry with delays

Never leave the app in a broken state. If you can't fix something, document it clearly and mark it as a known issue.

Output

At the end of the process, provide:

  1. Summary Statistics:

    • Features analyzed: X
    • Tests added: X
    • Tests fixed: X
    • Issues found: X
    • Issues resolved: X
  2. Remaining Issues (if any):

    • Description
    • Priority
    • Recommended action
  3. Production Readiness Status:

    • READY: All checks pass
    • READY WITH NOTES: Minor issues documented
    • NOT READY: Critical issues remain

Integration with Other Tools

This skill works best when combined with:

  • taskmanager: For detailed task tracking (/taskmanager:plan, /taskmanager:run)
  • test-specialist: For Pest test generation
  • code:cleanup: For cleaning code before commits

Use these tools proactively throughout the process.

모든 파일

1개 파일

production-ready 설치

스킬 파일을 다운로드하여 .claude/skills/ 디렉터리에 압축을 풀어주세요.

ZIP 다운로드

저장소를 클론하고 스킬 파일을 프로젝트에 복사하세요.

git clone https://github.com/mwguerra/claude-code-plugins/blob/main/code/skills/production-ready/SKILL.md # Copy SKILL.md to your .claude/skills/ directory

복사 복사
빠른 설정: skill 폴더를 .claude/skills/로 복사하면 Claude가 해당 스킬을 자동으로 감지하여 사용합니다.

관련 스킬

playwright-cli
업데이트 된 시간 2026년 6월 29일
browser-exploitation-v8
업데이트 된 시간 2026년 8월 25일
Playwright Browser Automation
업데이트 된 시간 2026년 6월 29일
playwright-generate-test
업데이트 된 시간 2026년 6월 29일
OR