agentsclimarketplace

Verification loop

Skill fxckcode/skills-kit/skills/verification-loop

Structured 7-phase verification system for code changes: Build → Type → Lint → Test → Spec → Security → Smoke. Use after completing any feature, before PR, or when the agent needs to systematically verify a change.From its SKILL.md

Install
npx -y skills add fxckcode/skills-kit --skill verification-loop

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as Apache-2.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

2.7 KB, 657 tokens by cl100k_base, as published. Nobody here has run it

Verification Loop

What This Skill Owns

  • Running a defined 7-phase verification sequence in order
  • Reporting structured results (PASS / FAIL / PASS_WITH_WARNINGS)
  • Enforcing the failure protocol (fix and re-run from the failing phase)
  • Acting as an audit tool for existing unmodified projects (Phase 0 comprehension)

When to Use

  • After completing a feature or significant change
  • Before creating a PR
  • User says "verify this", "verifica", "smoke test", "review this"
  • After a refactor, or as part of SDD Verify phase
  • User drops a project URL and asks for a codebase review

Phases

1. Build

pnpm build 2>&1 | tail -20
# If fails → STOP, fix before continuing

2. Type Check

# TypeScript
npx tsc --noEmit 2>&1 | head -30
# Python
pyright . 2>&1 | head -30

3. Lint

# JS/TS: pnpm lint, Python: ruff check ., Rust: cargo clippy

4. Test

pnpm test 2>&1 | tail -30

5. Spec Verification

Read spec.md if it exists. For each REQ-F and REQ-NF: verify it's implemented. Mark as ✅ / ❌ / ⚠️.

6. Security Scan

pnpm audit --prod 2>&1 | tail -10
npm audit --omit=dev 2>&1 | tail -10

Manual: no hardcoded secrets, no console.log in prod, input validation at boundaries.

7. Smoke Test

Build and start the server, test each endpoint with curl or equivalent client.

Output

Write a verification report:

  • Summary: each phase ✅/❌
  • Issues: CRITICAL / WARNING / SUGGESTION
  • Verdict: PASS | FAIL | PASS_WITH_WARNINGS

Failure Protocol

PhaseOn Failure
BuildFix compilation, restart from Phase 1
TypeFix type errors, restart from Phase 2
LintAuto-fix or manual fix
TestAnalyze, fix, re-run Phase 4
SpecDocument gap, escalate to user
SecurityFix CRITICAL immediately
SmokeDebug and fix, re-run Phase 7

Audit Mode

For existing projects (no change to verify), add a Phase 0: Architecture Comprehension before the 7 phases: read the codebase structure, entry points, config, and test suite. Then run all 7 phases and produce a structured audit report.

Pitfalls

  • Skipping phases (especially security) — run all 7 in order
  • Ignoring test failures — do NOT skip failed tests
  • Verifying without the spec — always read spec.md first if it exists
  • Trusting npm audit without reviewing critical findings

What ships with it: 1 file

541 B alongside SKILL.md

Keep looking

Skills are one crate of 326,835. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.