Agent Skill
2/7/2026

verification-skill

Standardized QA and verification process for ensuring 0-defect delivery.

Y
yjiro0403
0GitHub Stars
1Views
npx skills add yjiro0403/taskel

SKILL.md

Nameverification-skill
DescriptionStandardized QA and verification process for ensuring 0-defect delivery.

name: Verification Skill description: Standardized QA and verification process for ensuring 0-defect delivery.

Verification Skill

This skill outlines the mandatory verification steps and quality checks that must be performed before reporting any task as complete.

1. Pre-Report Checklist (Verification Protocol)

Before saying "It is done" or "Please check", you MUST perform the following:

  • Build Check: Does the code build? (Run npm run build or inspect for syntax errors).
  • Integrity Check:
    • If git operations occurred, search for conflict markers (<<<<<<<, >>>>>>>) in ALL modified files.
    • Verify file ends and mismatched braces if large edits were made.
  • Runtime Check: Have you executed the code?
    • If UI logic: Can you simulate the user flow?
    • If API logic: Have you verified the endpoint exists and works?
    • CRITICAL: If you modified an API route or Store method, you MUST verify the connection.
    • Firestore Sanitization: Have you ensured no undefined values are being sent to Firestore (use sanitizeData helper)?
  • Error Check: Are there any console errors? (500, 404, etc.)

2. Data Consistency & QA Check Items

Before every delivery, verify there are no logical contradictions in the data:

  • Section-Time Alignment: Is the task's scheduledStart actually within the boundaries of the assigned section?
  • Time Range Validity: Is startTime < endTime? (Prevent negative durations).
  • Status Integrity:
    • If status === 'done', is completedAt set?
    • If status === 'in_progress', is startedAt set?
    • If a task is not active, are startedAt and completedAt correctly managed?
  • Sequential Integrity: Are order fields correctly assigned to prevent overlapping or missing gaps?

3. Acceptance Test Rules

Mandatory Checklist for Developers:

  • Functional Verification: Does the feature solve the specific problem described?
  • UI/UX Consistency: Does the design match the established aesthetic and responsiveness of the app?
  • Data Integrity: Are all new fields sanitized? Are there logical contradictions in the saved data?
  • Role-Based Access: If applicable, are Firestore rules updated and tested?

Standard Quality Gates

  • Build Success: npm run build passes without errors.
  • Linting: No critical ESLint warnings or errors in the modified files.
  • Sanitization: Use sanitizeData helper for all Firestore writes.

4. QA Test Sheet (Reference)

When verifying features, refer to these standard test cases:

Test IDCategoryTest CasePre-conditionsStepsExpected Result
ROUT-01RoutinesAdd Metadata to RoutineAuthenticated1. Open Routine Modal.<br>2. Fill Title, Project, Tags, and Memo.<br>3. Save.Routine is saved with all 4 metadata fields visible on edit.
ROUT-02RoutinesPropagation to TaskROUT-01 complete1. Trigger routine generation for today.<br>2. Click on the generated task.Task should have the same Project, Tags, and Memo as the Routine.
TASK-01TasksDate ConsistencyTasks exist for multiple dates1. Create tasks for 2026-01-12 and 2026-01-13.<br>2. Switch between dates in UI.Only tasks belonging to the selected date are shown.
PERM-01AuthUnauthorized AccessLogged out or different user1. Attempt to access a project URL of another user.Firestore should deny access (Verified via console/UI error handling).
ONBD-01OnboardingFirst-time FlowNew user or cleared localStorage1. Login/Visit landing page.User Guide/Intro tasks are triggered via /api/onboarding.
ONBD-02OnboardingPersistenceONBD-01 complete1. Refresh page or login again.Intro tasks/User Guide should NOT reappear unnecessarily.
UTIL-01DataFirestore SanitizationDeveloper tools open1. Create a task with an empty description/optional field.No undefined field errors in console/Firestore.
VIRT-01VirtualInfinite Future ProjectionRoutine exists1. Go to Calendar.<br>2. Move 1 year into the future.<br>3. Select a date.Virtual tasks from routines appear correctly.
VIRT-02VirtualInstantiation on ActionVirtual task visible1. Click "Play" on a virtual task.<br>2. Refresh page.Task is now a real task in DB and state is persisted (in_progress/done).
VIRT-03VirtualDeduplicationVirtual task visible1. Edit a virtual task (title).<br>2. Confirm display.Only the edited (real) task is shown; the virtual one is hidden by the same ID.
VIRT-04VirtualRoutine Deletion SyncRoutine and virtual tasks exist1. Delete a Routine.All associated virtual tasks for all future dates disappear immediately.
TASK-02TasksSorting by Scheduled StartTasks exist in section1. Set Task A time "10:00".<br>2. Set Task B time "09:00".Task B appears before Task A in the list.
TASK-03Mobile/UITag Selection via EnterMobile Soft Keyboard1. Open Add Task/Routine Modal.<br>2. Type tag.<br>3. Press Enter on keypad.Tag is added as a chip. Form does NOT submit. Focus remains.
TASK-04TasksTask DuplicationTask exists1. Locate task.<br>2. Click Duplicate (Copy icon left of time).A new task with "(copy)" suffix is created in the same section with same metadata.
DND-01DnDセクション内並び替え同一セクションに2タスク以上1. タスクAをドラッグ<br>2. タスクBの上にドロップタスクAがタスクBの上に移動、順序永続化
DND-02DnDセクション間移動複数セクションにタスク1. MorningのタスクをAfternoonにドラッグタスクがAfternoonに移動、sectionId更新
DND-10DnDスケジュールタスク順序固定10:00と11:00のタスクが存在1. 11:00を10:00の上にドラッグスナップバック(時間順序優先)
DND-11DnD未スケジュールとスケジュール混在両タイプのタスクが存在1. 未スケジュールをスケジュール間にドラッグ移動可能(order優先)
DND-30DnDAPIエラー時ロールバックAPIを500エラーに設定1. タスクをドラッグ・ドロップエラー後にUIロールバック
DND-71DnD永続化確認DnD操作実行後1. ページリロード操作後の順序が維持

5. Failure Protocol

  • If an error is found by the user that you could have caught: 2. Fix the error. 3. Determine prevention for the future.

6. Post-Merge/Conflict Protocol

If you have resolved a git conflict or performed a complex merge/rebase:

  1. Search globally for <<<<<<<, =======, >>>>>>> to ensure no markers were missed.
  2. Verify syntax of the entire file, specifically focusing on:
    • Closing braces } for functions/classes (often lost in merges).
    • Import statements (often duplicated).
  3. Clean Build: Run a fresh build/type-check (npm run build or tsc --noEmit) to catch structural errors that incremental builds might miss.
Skills Info
Original Name:verification-skillAuthor:yjiro0403