agentleFS
Hvftpie13Hvftpie13/Flashmind_Gemini-3.8-Flash_Smart-agent/skills/verify-before-done/SKILL.md

verify-before-done

Skill39 starsChanged 18 days agoMITView on GitHub

Use before claiming any coding task is finished, fixed, working, or passing — after editing code, changing config, adding dependencies, or fixing a bug. Forces running builds/tests/linters and reading the real output instead of assuming success.

11 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 3

    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:

    Read the actual output: Look for errors, warnings, skipped tests, and "0 tests ran".

    line 20
  2. Distinctive:

    If it fails for a reason unrelated to your change, say so explicitly and show the error.

    line 27
  3. Distinctive:

    Never write "fixed", "works", or "all tests pass" without having run them.

    line 34
  4. Very specific:

    If verification revealed something non-obvious (a flaky test, a required env var, a slow step), save it with mem_save — title + What / Why …

    line 42

“Common” is measured: kept by at least 6 in 10 of the 10 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

Verify Before Done

You may only say a task is done / fixed / working after you have evidence from this session. "It should work" is not evidence.

Checklist

  1. Find the project's real commands — read package.json scripts, Makefile, pyproject.toml, go.mod, CI files (.github/workflows/*), or the README. Do not guess command names.
  2. Run, in order, whatever exists:
    • type check / compile (tsc --noEmit, go build ./..., cargo check, mypy)
    • linter (eslint, ruff, golangci-lint)
    • tests — the ones touching your change first, then the full suite if it is fast
    • the app itself, if the change is user-visible (start it, hit the endpoint, load the page)
  3. Read the actual output. Look for errors, warnings, skipped tests, and "0 tests ran". Exit code 0 with no tests executed is not a pass.
  4. Reproduce the original problem (for bug fixes) and confirm it no longer happens.
  5. Re-read your diff (git diff). Remove debug prints, leftover TODOs, unrelated edits.

If something fails

  • Fix it and re-run. Do not report partial success as success.
  • If it fails for a reason unrelated to your change, say so explicitly and show the error.

If you cannot verify

Say exactly what was not verified and why, e.g.:

"Code compiles and unit tests pass. I could not run the integration tests (needs a database), so the migration is untested."

Never write "fixed", "works", or "all tests pass" without having run them.

Final report format

  • Changed: files and what changed
  • Verified: commands run + result
  • Not verified: what and why (or "nothing")

Memory

If verification revealed something non-obvious (a flaky test, a required env var, a slow step), save it with mem_save — title + What / Why / Where / Lesson.

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.