بنقرة واحدة
qa-review
Audit test coverage and write missing tests
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Audit test coverage and write missing tests
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Manage the project backlog — add, list, filter, update, prioritize, and suggest work items
Daily session wrapper — start with backlog, work, commit, retro
End-of-session retrospective — summarize work, update backlog statuses, update MEMORY.md
Commit, branch, PR, self-review, fix — then stop for human approval before merge
Pre-flight for parallel work — pick items, check file overlap, set statuses, generate terminal commands
Manage project backlog — add, list, filter, update, prioritize, suggest
| name | qa-review |
| description | Audit test coverage and write missing tests |
| user-invocable | true |
Audit test coverage and write missing tests. Run before releases or when a bug is found.
E2E (future Playwright) — critical journeys: complete study session, full quiz
Component (RTL) — interactive UI: answer submission, feedback display
Unit (Vitest) — pure logic: answer-check, fsrs, quiz-engine, danish-input
npm test -- --run --coverage 2>&1 | tail -40
find src -name "*.test.*" | sort
| Area | File | Status |
|---|---|---|
| Answer checking | src/lib/answer-check.ts | 20 tests |
| FSRS scheduling | src/lib/fsrs.ts | missing |
| Quiz engine | src/lib/quiz-engine.ts | missing |
| Danish input | src/lib/danish-input.ts | missing |
| useQuiz hook | src/hooks/useQuiz.ts | missing |
it('accepts ae as ae equivalent') not it('calls normalise()')describe('when user types wrong answer') { it('shows correct answer in feedback') }ComponentName.test.tsx next to ComponentName.tsxnpm test -- --run — all tests passnpm run dev## QA Review — <feature>
| Area | Status | Gap |
|------|--------|-----|
| answer-check | 20 tests | — |
| FSRS | 0 tests | HIGH: schedule new card, Again resets |
Missing tests (priority):
1. [HIGH] FSRS new card scheduling
2. [MEDIUM] useQuiz answer submission flow
Verdict: Ready / Merge with todo / Needs tests first