원클릭으로
verification-loop
Comprehensive quality verification system for code changes with build, type, lint, test, and security checks
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Comprehensive quality verification system for code changes with build, type, lint, test, and security checks
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Set up Cloudflare Turnstile end-to-end in a project: scan the codebase, create the widget via the Cloudflare API, deploy the managed siteverify Worker, write the frontend snippets, validate, and persist the skill. Load this when a user asks to add Turnstile, set up CAPTCHA, protect a form from bots, or fix a Turnstile integration. Mirrors developers.cloudflare.com/turnstile/spin.
Four-phase protocol for clearing accumulated drift between memory claims, CLAUDE.md citations, and on-disk reality. Detects stale citations, missing files, and orphan plans; classifies findings; emits proposed diffs; codifies prevention. Companion to closeout (closeout discovers orphans; this skill polishes them). Discovery ≠ remediation — Phase 3 emits proposed diffs only; constitutional doc edits require explicit conductor authorization.
Ingest a corpus of session logs (JSONL transcripts, chat exports) and extract a persona profile — vocabulary frequency, unique idioms and coinages, structural analogies — then synthesize an ideal_yearning and archetypal_pattern and append the result to a {persona_id}.lexicon.yaml. Triggers on "extract persona", "build a lexicon", "map the domain language", or any request to process conversation logs into a voice/vocabulary model.
Apply narratological scoring to a text, transcript, or recording transcript — rating contiguous spans for pathos, logos, ethos, kairos, and density — then extract the single highest-scoring contiguous block as the work's Natural Center, with a scoring table and justification. Triggers on "find the natural center", "extract the most dramatic moment", "what's the strongest passage", or pulling the peak block from a long artifact for a short, excerpt, or trailer.
Transform any data, document, deck, README, manifest, config, or report by (1) extracting every piece of dynamic information — names, links, statistics, costs, identifiers, dates, thresholds — into configurable variables instead of hard-coding, and (2) enforcing that every factual assertion carries at least two independent citations. Triggers on "remove branding," "make this reusable," "transmute this," "parametrize," "no hard-coded values," "configurable," "needs citations," "verify these claims," or any request to convert a one-off artifact into a parameterized template.
Scan rough markdown, session exports, or pasted prose and isolate each core intent into a structured prompt atom — classified as law, value, directive, constraint, question, or branch-vector — then rewrite it into machine-readable YAML frontmatter per the RAW → CLEANED/FORMALIZED → ELEVATED doctrine. Triggers on "prompt atom extraction pass", "atomize this", "formalize these prompts", or converting loose operator text into registry-grade atoms.
| name | verification-loop |
| description | Comprehensive quality verification system for code changes with build, type, lint, test, and security checks |
| license | MIT |
| metadata | {"source":"affaan-m/everything-claude-code","adapted-by":"ai-skills","category":"quality-assurance"} |
| governance_phases | ["frame","prove"] |
| governance_norm_group | quality-gate |
| governance_auto_activate | true |
| organ_affinity | ["all"] |
| triggers | ["context:task-start","context:pre-commit","context:code-review","context:promotion"] |
| complements | ["testing-patterns","tdd-workflow","deployment-cicd"] |
A comprehensive verification system for ensuring code quality across multiple dimensions.
Invoke this skill:
Run this before writing code, not after. The other phases ratify finished work; this one decides — up front — how that work will be proven, and ensures the proof comes from outside the model.
State three things before starting:
Bash test/lint/typecheck command, an MCP browser loading the real page and reading the DOM/console, a fresh session, or a second agent. "I'll review it myself when done" is not a verification surface.Declaration stamp:
Verify-by: <command/surface> — external? Y/N — exists yet? Y/N. Ifexists yet = N, the first build step is to create it.
This is the forward-declaration that Phases 1–6 assume. It is the FRAME-phase half of this skill; Phases 1–6 are the PROVE-phase half. (Constitutional anchor: Reliquary Rule #64(c) "govern the model, don't execute through it"; operator-invoked equivalent: /v-govern step 3.)
# Check if project builds
npm run build 2>&1 | tail -20
# OR
pnpm build 2>&1 | tail -20
# OR for other build systems
make build 2>&1 | tail -20
cargo build 2>&1 | tail -20
Critical: If build fails, STOP and fix before continuing.
# TypeScript projects
npx tsc --noEmit 2>&1 | head -30
# Python projects
pyright . 2>&1 | head -30
mypy . 2>&1 | head -30
# Go projects
go vet ./... 2>&1 | head -30
Report all type errors. Fix critical ones before continuing.
# JavaScript/TypeScript
npm run lint 2>&1 | head -30
eslint . 2>&1 | head -30
# Python
ruff check . 2>&1 | head-30
flake8 . 2>&1 | head -30
# Go
golint ./... 2>&1 | head -30
# Rust
cargo clippy 2>&1 | head -30
# Run tests with coverage
npm run test -- --coverage 2>&1 | tail -50
pytest --cov=. 2>&1 | tail -50
go test -cover ./... 2>&1 | tail -50
# Check coverage threshold
# Target: 80% minimum for new code
Report:
# Check for secrets
grep -rn "sk-" --include="*.ts" --include="*.js" --include="*.py" . 2>/dev/null | head -10
grep -rn "api_key" --include="*.ts" --include="*.js" --include="*.py" . 2>/dev/null | head -10
grep -rn "password.*=" --include="*.ts" --include="*.js" --include="*.py" . 2>/dev/null | head -10
# Check for debug statements
grep -rn "console.log" --include="*.ts" --include="*.tsx" --include="*.js" src/ 2>/dev/null | head -10
grep -rn "print(" --include="*.py" . 2>/dev/null | head -10
grep -rn "println!" --include="*.rs" src/ 2>/dev/null | head -10
# Show what changed
git diff --stat
git diff HEAD~1 --name-only
git diff --shortstat
Review each changed file for:
After running all phases, produce a verification report:
VERIFICATION REPORT
==================
Build: [✓ PASS / ✗ FAIL]
Types: [✓ PASS / ✗ FAIL] (X errors)
Lint: [✓ PASS / ✗ FAIL] (X warnings)
Tests: [✓ PASS / ✗ FAIL] (X/Y passed, Z% coverage)
Security: [✓ PASS / ✗ FAIL] (X issues)
Diff: [X files changed, +Y lines, -Z lines]
Overall: [✓ READY / ✗ NOT READY] for PR
Issues to Fix:
1. [Priority] Description
2. [Optional] Description
...
Recommendations:
- Suggestion 1
- Suggestion 2
For long sessions, run verification every 15 minutes or after major changes:
Checkpoints:
This skill complements:
For rapid checks during development:
# Minimal verification (30 seconds)
npm run build && npm run lint && npm test
Use full verification before commits.