본문으로 건너뛰기
Skillpedia
테스트29k · #9473

coverage

하는 일

이 스킬은 에이전트가 앱의 부분들을 나열하고 이미 있는 테스트와 비교하게 합니다. 테스트가 빠진 곳을 알고 싶은 개발자와 QA 담당자를 위한 스킬입니다.

사용하는 경우

  • ✓테스트가 없는 페이지나 기능이 어디인지 알고 싶을 때.
  • ✓다음에 무엇을 테스트할지 계획하면서 빈틈을 순위로 보고 싶을 때.
  • ✓누군가 테스트 커버리지 보고서를 요청했을 때.

스킬 링크

https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/playwright-pro/skills/coverage/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/playwright-pro/skills/coverage/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“앱에서 아직 테스트가 없는 부분을 보여 주세요. 가장 중요한 것부터 시작해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 경로, 컴포넌트, API 엔드포인트를 매핑하고, 기존 테스트 파일을 읽어 무엇을 다루는지 봅니다. 다뤄진 영역과 빠진 영역의 표를 만들고, 빈틈을 비즈니스 영향에 따라 순위로 정리합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Analyze Test Coverage Gaps

Map all testable surfaces in the application and identify what's tested vs. what's missing.

Steps

1. Map Application Surface

Use the Explore subagent to catalog:

Routes/Pages:

  • Scan route definitions (Next.js app/, React Router config, Vue Router, etc.)
  • List all user-facing pages with their paths

Components:

  • Identify interactive components (forms, modals, dropdowns, tables)
  • Note components with complex state logic

API Endpoints:

  • Scan API route files or backend controllers
  • List all endpoints with their methods

User Flows:

  • Identify critical paths: auth, checkout, onboarding, core features
  • Map multi-step workflows

2. Map Existing Tests

Scan all *.spec.ts / *.spec.js files:

  • Extract which pages/routes are covered (by page.goto() calls)
  • Extract which components are tested (by locator usage)
  • Extract which API endpoints are mocked or hit
  • Count tests per area

3. Generate Coverage Matrix

## Coverage Matrix

| Area | Route | Tests | Status |
|---|---|---|---|
| Auth | /login | 5 | ✅ Covered |
| Auth | /register | 0 | ❌ Missing |
| Auth | /forgot-password | 0 | ❌ Missing |
| Dashboard | /dashboard | 3 | ⚠️ Partial (no error states) |
| Settings | /settings | 0 | ❌ Missing |
| Checkout | /checkout | 8 | ✅ Covered |

4. Prioritize Gaps

Rank uncovered areas by business impact:

  1. Critical — auth, payment, core features → test first
  2. High — user-facing CRUD, search, navigation
  3. Medium — settings, preferences, edge cases
  4. Low — static pages, about, terms

5. Suggest Test Plan

For each gap, recommend:

  • Number of tests needed
  • Which template from templates/ to use
  • Estimated effort (quick/medium/complex)
## Recommended Test Plan

### Priority 1: Critical
1. /register (4 tests) — use auth/registration template — quick
2. /forgot-password (3 tests) — use auth/password-reset template — quick

### Priority 2: High
3. /settings (4 tests) — use settings/ templates — medium
4. Dashboard error states (2 tests) — use dashboard/data-loading template — quick

6. Auto-Generate (Optional)

Ask user: "Generate tests for the top N gaps? [Yes/No/Pick specific]"

If yes, invoke /pw:generate for each gap with the recommended template.

Output

  • Coverage matrix (table format)
  • Coverage percentage estimate
  • Prioritized gap list with effort estimates
  • Option to auto-generate missing tests
자주 묻는 질문

빠진 테스트도 직접 작성하나요?

아닙니다. 빈틈을 찾아 순위를 매깁니다. 테스트 작성은 별도의 단계입니다.

어떤 종류의 앱을 이해하나요?

Next.js, React Router, Vue Router 같은 흔한 라우팅 구조와 Playwright 테스트 파일을 살펴봅니다.

커버리지 표에는 무엇이 나오나요?

영역마다 다뤄짐, 부분적, 누락 같은 상태와 테스트 개수가 표시됩니다.

상세 정보

작성자의 원본 설명

Use when asked what's not tested or for test coverage gaps ('test coverage', 'coverage gaps', 'missing tests', 'what needs testing'). Maps untested pages and flows.

repo: alirezarezvani/claude-skills

인기도

GitHub 스타
29k
순위
#9473
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬