verify-performance-budget
Lighthouse CI performance budget 설정, report-only baseline, app별 측정 대상, PR comment 산출물을 검증할 때 사용합니다.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Lighthouse CI performance budget 설정, report-only baseline, app별 측정 대상, PR comment 산출물을 검증할 때 사용합니다.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
endpoint 문서를 기준으로 API helper, TanStack Query hook, 타입, 에러/cache 동작을 구현할 때 사용합니다.
apps/client, apps/market-owner, apps/design-system-web, 선택적 apps/admin 내부의 앱 전용 shared 컴포넌트를 생성, 스펙 작성, export, 검증할 때 사용합니다.
GitHub 브라우저 PR 리뷰에서 visible diff, review comment, check status, local verification 여부를 분리해 기록할 때 사용합니다.
packages/design-system 공통 컴포넌트를 Figma/이미지/상태 요구사항 기반으로 생성, 구현, story/spec/export 검증할 때 사용합니다.
필드 검증, submit, mutation, error, disabled/loading/success 상태가 있는 프론트엔드 폼 흐름을 구현할 때 사용합니다.
프론트엔드 구현 또는 리뷰 중 Toss Frontend Fundamentals의 응집도 기준으로 함께 수정되는 component, hook, type, fixture, spec, form 흐름 배치를 점검할 때 사용합니다.
| name | verify-performance-budget |
| description | Lighthouse CI performance budget 설정, report-only baseline, app별 측정 대상, PR comment 산출물을 검증할 때 사용합니다. |
성능 예산 작업이 측정 조건 없이 수치만 남기거나, 초기 baseline 단계에서 release gate로 과확장되는 것을 막습니다.
git diff --name-only HEAD -- lighthouserc.cjs scripts/performance .github/workflows/performance.yml docs/workflows/performance-budget.md package.json
성능 예산 파일이 없으면 SKIP입니다.
docs/workflows/performance-budget.md가 있으면 먼저 읽습니다.lighthouserc.cjs에서 측정 URL, budget, upload target을 확인합니다.scripts/performance/*가 있으면 dev server orchestration과 PR comment 책임을 확인합니다..github/workflows/performance.yml이 있으면 trigger, permission, artifact/comment 정책을 확인합니다.test -f lighthouserc.cjs || echo "SKIP: no Lighthouse CI config"
find scripts/performance .github/workflows -maxdepth 2 -type f 2>/dev/null | sort | rg "performance|lighthouse|lhci" || true
apps/client와 apps/market-owner의 /처럼 문서화된 URL이어야 합니다.PR 본문 또는 docs에 아래가 있어야 합니다.
.lighthouseci, lighthouse-report, generated HTML/JSON report는 커밋 대상이 아니며 ignore 규칙에 포함되어야 합니다.script가 있으면 실행합니다.
pnpm build
pnpm perf
script가 없으면 설정 baseline 미완료로 SKIP 또는 blocker를 보고합니다.
SKIP입니다.pnpm perf를 실행하지 않을 수 있습니다.