Skip to content
Back to skills

Completion Verifier Munlucky Claude Settings

ASecurity

Verifies implementation completion by running acceptance tests and triggers retry loop on failure.

  • 754 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 8, 2026
testingbashtestingapi

Works with

  • api

Security analysis

A100/100

Scanned February 10, 2026

npx -y skills add majiayu000/claude-skill-registry --skill completion-verifier-munlucky-claude-settings --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Completion Verifier Munlucky Claude Settings?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Completion Verifier Munlucky Claude Settings
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-completion-verifier-munlucky-claude-settings/badge)](https://www.skillsdirectory.com/skills/majiayu000-completion-verifier-munlucky-claude-settings)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: completion-verifier
description: Verifies implementation completion by running acceptance tests and triggers retry loop on failure.
context: fork
---

# Completion Verifier Skill

## When to Use

- After each implementation phase
- Before marking task as complete
- When retry loop is triggered

## Inputs

- context.md path (contains Acceptance Tests section)
- Test framework (from PROJECT.md: jest/vitest/playwright)

## Procedure

1. Parse Acceptance Tests section from context.md
2. Extract test IDs and file paths
3. Run tests: `npm test -- --testPathPattern="{test files}"`
4. Parse results (PASS/FAIL per test)
5. Update context.md status column
6. Return completion status

## Output

```yaml
completionStatus:
  total: 5
  passed: 4
  failed: 1
  allPassed: false
  failedTests:
    - id: T2
      type: Unit  # or Integration
      file: ErrorHandler.test.tsx
      error: "Expected error message not shown"
  failedPhase: "Phase 1"  # Determines where to retry
  recommendation: "Fix ErrorHandler.tsx, then re-run Phase 1"
```

## Retry Logic

When `allPassed: false`:

1. **Identify failed phase** based on test type:
   - Unit FAIL → Phase 1 (Mock implementation)
   - Integration FAIL → Phase 2 (API integration)

2. **Return to failed phase** (NOT test writing):
   - Pass `failedTests` info to implementation-agent
   - Implementation-agent fixes code only (no test rewrite)
   
3. **Retry limits**:
   - Max 2 retries per phase
   - After 2 failures → Ask user for intervention

## Skip Conditions

- No test framework configured → Skip with warning
- No Acceptance Tests in context.md → Skip
- Skip Conditions from testing.md apply (legacy, prototype, etc.)

## Tool Call Example

```bash
# Run specific tests
npm test -- --testPathPattern="batch.test|ErrorHandler.test"

# Check coverage (optional)
npm test -- --coverage --testPathPattern="..."
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in testing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.