Skip to content
Back to skills

Validate Checkpoint

ASecurity

Checkpoint validation and guardrail enforcement for the VibeFlow docs-first development workflow

  • 8 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 26, 2026
testingapi

Works with

  • api

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add hardness1020/VibeFlow --skill validate-checkpoint --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Validate Checkpoint?

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

Security grade badge for Validate Checkpoint
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hardness1020-validate-checkpoint/badge)](https://www.skillsdirectory.com/skills/hardness1020-validate-checkpoint)

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: validate-checkpoint
description: Checkpoint validation and guardrail enforcement for the VibeFlow docs-first development workflow
metadata:
  triggers:
    - validate checkpoint
    - check gate
    - am I ready
    - can I proceed
    - can I start implementing
    - can I deploy
---

# validate-checkpoint

Checkpoint validation and guardrail enforcement for the VibeFlow docs-first development workflow.

## Purpose

This skill validates checkpoint completion before stage progression:
- Checks that required artifacts exist with all sections
- Enforces the docs-first mandate
- Runs validation scripts and reports pass/fail/warn status
- Returns structured JSON reports with blocking issues

## Workflow

```
Validate Request
    │
    ├── Determine checkpoint or document type
    ├── Locate required artifacts
    └── Select validation script
    │
    ▼
Run Validation
    │
    ├── Execute validation checks
    ├── Collect errors and warnings
    └── Generate JSON report
    │
    ▼
Report Results
    │
    ├── Output pass/fail summary
    ├── List blocking issues
    └── Return exit code (0=pass, 1=fail, 2=warn)
```

## Usage

### Validate a Specific Checkpoint

```
/validate-checkpoint <number>
```

Example:
```
/validate-checkpoint 1
```

### Validate Current State

```
/validate-checkpoint
```

This auto-detects the current stage and validates the appropriate checkpoint.

### Validate Specific Document

```
/validate-checkpoint prd
/validate-checkpoint discovery <ID>
/validate-checkpoint spec <spec-name>
/validate-checkpoint feature <ID>
/validate-checkpoint opnote <ID>
```

## Checkpoints

| # | Checkpoint | After Stage | Validates |
|---|------------|-------------|-----------|
| 1 | Planning Complete | D | PRD, Discovery, SPECs, ADRs |
| 2 | Design Complete | E | FEATURE spec with API Design |
| 3 | Tests Complete | F | Failing unit tests with stubs |
| 4 | Implementation Complete | H | Passing tests, quality validation |
| 5 | Release Ready | J | OP-NOTE with all sections |
| 6 | Deployed | L | Deployment verified, indices updated |

## Scripts

The following scripts are available in `scripts/`:

- `validate_checkpoint.py` - Master validator, orchestrates all checks
- `check_planning.py` - Checkpoint #1: Planning phase validation
- `check_design.py` - Checkpoint #2: Design phase validation
- `check_tests.py` - Checkpoint #3: Test phase validation
- `check_implementation.py` - Checkpoint #4: Implementation validation
- `check_release.py` - Checkpoint #5: Release readiness validation
- `check_deployed.py` - Checkpoint #6: Deployment verification

## Output Format

All validation scripts output JSON with this structure:

```json
{
  "checkpoint": 1,
  "name": "Planning Complete",
  "valid": false,
  "issues": [
    {
      "severity": "error",
      "file": "docs/prds/prd.md",
      "message": "Missing required section: Success Metrics"
    }
  ],
  "warnings": [
    {
      "file": "docs/specs/spec-api.md",
      "message": "Spec version not incremented despite contract changes"
    }
  ],
  "passed": 5,
  "failed": 2,
  "summary": "Checkpoint #1 NOT PASSED: 2 errors, 1 warning"
}
```

## Exit Codes

- `0` - All validations passed
- `1` - Validation failed (blocking issues found)
- `2` - Warnings only (can proceed with caution)

## Manifest Update

After a checkpoint passes, update `docs/workflow-state.yaml`:
- Set `checkpoint` to the number that passed (e.g., `checkpoint: 2` after CP#2 passes)

Stage advancement is handled by: `/manage-work advance <ID>`

## References

See `references/checkpoint-criteria.md` for detailed validation criteria for each checkpoint.

Files in this skill

  • SKILL.md3.6 KB
  • references/checkpoint-criteria.md8.3 KB
  • scripts/check_deployed.py7.8 KB
  • scripts/check_design.py10 KB
  • scripts/check_implementation.py12.5 KB
  • scripts/check_planning.py12.1 KB
  • scripts/check_release.py7.9 KB
  • scripts/check_tests.py10.8 KB
  • scripts/validate_checkpoint.py8.5 KB

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.

Comments

Loading comments…

Newsletter

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