agentleFS
fengsihao23-engfengsihao23-eng/shen-hua/skills/verification-loop/SKILL.md

verification-loop

Skill1 starsChanged 6 months agoMITView on GitHub

Shen-Hua verification and repair loop for modified projects. Use after code/config/docs changes that need quality gates, before final readiness claims, when tests/build/lint/typecheck fail, before a PR/commit, or when the user asks Codex to check, verify, test, fix failures, or prove the current work is safe.

53 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use springboot-tdd, django-verification and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • FaisalAlqarniSkill

    springboot-tdd

    Test-driven development for Spring Boot using JUnit 5, Mockito, MockMvc, Testcontainers, and JaCoCo. Use when adding features, fixing bugs, or refactoring.

    Also in 9 projects that use this

  • FaisalAlqarniSkill

    django-verification

    Verification loop for Django projects: migrations, linting, tests with coverage, security scans, and deployment readiness checks before release or PR.

    Also in 9 projects that use this

  • joneqianSkill

    continuous-learning-v2

    Instinct-based learning system that observes sessions via hooks, creates atomic instincts with confidence scoring, and evolves them into skills/commands/agents.

    Also in 13 projects that use this

  • saxon-ySkill

    configure-ecc

    Interactive installer for Everything Claude Code — guides users through selecting and installing skills and rules to user-level or project-level directories, verifies paths, and optionally optimizes installed files.

    Also in 6 projects that use this

  • Microsoft AzureSkill

    iterative-retrieval

    Max-3-cycle protocol for agent sub-tasks with WHY context and coordinator validation. Use when spawning sub-agents to complete scoped work.

    Also in 15 projects that use this

  • johnrtiptonSkill

    django-security

    This skill should be used when conducting security reviews, auditing Django applications, hardening security settings, implementing OWASP Top 10 protections, managing secrets, or ensuring multi-tenant security isolation. Provides automated security auditor that scans settings, code, dependencies, and multi-tenant configurations with auto-fix capabilities.

    Also in 10 projects that use this

  • +1 more from FaisalAlqarni

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 9 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 49 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when:

    line 12
  2. Distinctive:

    Do not use this skill when:

    line 20
  3. Distinctive:

    No files changed and the user only asked for conceptual analysis.

    line 21
  4. Distinctive:

    Before running checks, discover project conventions:

    line 27
  5. Distinctive:

    If AGENTS.md defines verification commands, prefer those.

    line 31
  6. Distinctive:

    Run the applicable phases in this order:

    line 35
  7. Distinctive:

    Test suite or focused tests.

    line 40
  8. Distinctive:

    If it fails, read the error carefully and identify the smallest in-scope fix.

    line 49
  9. Very specific:

    Use $self-reviewer after verification passes or reaches a documented blocker.

    line 67
  10. Distinctive:

    Do not delegate the final verification decision.

    line 72

“Common” is measured: kept by at least 6 in 10 of the 49 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Verification Loop

Verification Loop runs the strongest practical checks for the current project, fixes failures when in scope, and repeats until the result is known.

Trigger Conditions

Use this skill when:

  • Code, config, scripts, generated assets, or project docs changed.
  • A feature/refactor/repair phase is complete.
  • The user asks to verify, test, lint, build, typecheck, or fix current failures.
  • $project-commander or $handoff-writer needs a readiness statement.

Do Not Trigger

Do not use this skill when:

  • No files changed and the user only asked for conceptual analysis.
  • Running commands would be destructive or require credentials the user has not provided.
  • The project has no executable checks and a lighter file-format review is sufficient; record that limitation instead.

Command Discovery

Before running checks, discover project conventions:

  • JavaScript/TypeScript: inspect package.json scripts and lockfile (pnpm-lock.yaml, package-lock.json, yarn.lock, bun.lockb).
  • Python: inspect pyproject.toml, requirements.txt, tox.ini, noxfile.py, or pytest.ini.
  • Rust/Go/.NET/Java: inspect standard manifests and existing CI config.
  • If AGENTS.md defines verification commands, prefer those.

Verification Phases

Run the applicable phases in this order:

  1. Build or compile check.
  2. Type check.
  3. Lint/static analysis.
  4. Test suite or focused tests.
  5. Security/secrets scan appropriate to the repo.
  6. Diff review for unintended changes.

Skip unavailable phases only with a recorded reason.

Repair Loop

  1. Run the check.
  2. If it fails, read the error carefully and identify the smallest in-scope fix.
  3. Apply the fix without reverting unrelated user changes.
  4. Re-run the failed check.
  5. Continue until checks pass, the issue is out of scope, or a real blocker is reached.

Required .agent/ Updates

Always update:

  • .agent/LOG.md: commands, results, failures, fixes, reruns.
  • .agent/TASKS.md: mark verification tasks and unresolved failures.
  • .agent/HANDOFF.md: final verification status and exact next command if not clean.

Update when relevant:

  • .agent/DECISIONS.md: chosen verification command, skipped gate rationale, accepted residual risk.
  • .agent/REVIEW_CHECKLIST.md: mark verified items.

Other Skills

  • Use $self-reviewer after verification passes or reaches a documented blocker.
  • Return to $project-commander if verification reveals new implementation work.

Subagents

Do not delegate the final verification decision. A tester subagent may run focused checks in parallel only when subagents are available and permitted, but the main agent must inspect the final result.

Output Format

VERIFICATION REPORT
Build:     PASS/FAIL/SKIPPED - details
Types:     PASS/FAIL/SKIPPED - details
Lint:      PASS/FAIL/SKIPPED - details
Tests:     PASS/FAIL/SKIPPED - details
Security:  PASS/FAIL/SKIPPED - details
Diff:      PASS/FAIL/SKIPPED - changed files reviewed
Overall:   READY/NOT READY/BLOCKED
Issues:
1. ...
Next action:

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.