agentleFS
spuentespspuentesp/lain/skills/lain-verify/SKILL.md

lain-verify

Skill9 starsChanged 2 months agoMITView on GitHub

Use to verify a change through Lain — "run the tests", "does it build", "what is untested", "what changed", "which branch am I on". Covers the verify package (build/test/lint/coverage/git state).

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Call load_package("verify") — or set LAIN_TOOL_PROFILE=verify at config time for agents that routinely verify.

    line 14
  2. Very specific:

    Check get_health first so you are not testing a cold graph.

    line 25
  3. Very specific:

    Never run_build/run_tests just to answer a question — read first (comprehension skill), verify after changing.

    line 37
  4. Very specific:

    After a fix, the honest sequence is assess_change → edit → run_tests → get_file_diff.

    line 41

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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

Lain verify — ship-it checks

The verify package is not in the default surface because it executes real processes (slow, side effects on disk/caches). Load it when you actually intend to run something.

Load it

Call load_package("verify") — or set LAIN_TOOL_PROFILE=verify at config time for agents that routinely verify. load_package makes the tools appear in tools/list; tools are callable by name even when hidden, but many MCP clients only permit tools their cached list contains. If the tools do not appear after loading, reconnect the client and refetch.

The tools

  • run_build / run_tests / run_clippy — the real thing: compile, run the suite (optionally filtered), lint (optionally auto-fix). Check get_health first so you are not testing a cold graph.
  • find_untested_functions — where the call graph sees no test coverage. The right answer to "what should I test next".
  • get_coverage_summary — structural estimate from connectivity. Fast, not a coverage report — say so when quoting it.
  • get_test_template — a scaffold for one function or type.
  • get_file_diff / get_commit_history / get_branch_status — git state before and after a change. For anything git-shaped beyond these, the shell is fine and often better.

Rules of thumb

  • Never run_build/run_tests just to answer a question — read first (comprehension skill), verify after changing.
  • Long outputs: filter run_tests rather than pulling the whole suite.
  • After a fix, the honest sequence is assess_change → edit → run_tests → get_file_diff.

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.