agentsclimarketplace

Make check verification loop

Skill kjuhwa/skills-hub/skills/devops/make-check-verification-loop

Self-correcting knowledge corpus for Claude Code — 9 stable shape clusters, bias-correction pipeline baked into contribution flow. 47 papers, 45 techniques, 1.1k skills.

Install
npx -y skills add kjuhwa/skills-hub --skill make-check-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 author says it does

Copied from the file, not written here

Single make check command that runs typecheck + TS tests + Go tests + Playwright E2E for agents and CI, only starting services that aren't already running.

SKILL.md

2.4 KB, as published. Nobody here has run it

When to use

  • Monorepo with TS + Go + E2E verification needs.
  • AI agents or CI workflows that need one command with a boolean verdict.

Steps

  1. Makefile target delegates to a shell script for complex logic:
    check:
        $(REQUIRE_ENV)
        @ENV_FILE="$(ENV_FILE)" bash scripts/check.sh
    
  2. scripts/check.sh stages:
    #!/usr/bin/env bash
    set -euo pipefail
    
    # Stage 1: TS typecheck (fastest, most common failure)
    pnpm typecheck
    
    # Stage 2: TS unit tests
    pnpm test
    
    # Stage 3: Go tests (requires DB)
    bash scripts/ensure-postgres.sh "$ENV_FILE"
    (cd server && go run ./cmd/migrate up)
    (cd server && go test ./...)
    
    # Stage 4: E2E (requires running services)
    if ! curl -sf "http://localhost:${PORT:-8080}/health" > /dev/null; then
        echo "==> Starting services for E2E..."
        trap 'kill 0' EXIT
        (cd server && go run ./cmd/server) &
        pnpm dev:web &
        # wait for health, then proceed
    fi
    pnpm exec playwright test
    
  3. Each stage exits on failure — set -e short-circuits. Subsequent stages run only if previous pass.
  4. Quick per-stage targets so agents can iterate narrowly:
    • pnpm typecheck — TS only
    • pnpm test — TS unit tests
    • make test — Go tests
    • pnpm exec playwright test — E2E

Example

Agent workflow:

1. Write code
2. Run pnpm typecheck   (fast feedback for TS changes)
3. Iterate if needed
4. Run make check       (full verify)
5. Iterate if needed
6. Ready

Caveats

  • make check is slow (~1-2 min first time). Encourage narrow iteration with per-stage commands and keep make check for final verification.
  • If services are already running, don't restart them — wastes time and disconnects active clients.
  • Failures in E2E often indicate frontend + backend skew; don't fix by pinning versions, fix by running migrations first then E2E.

Keep looking

Skills are one crate of 328,083. 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.