agentleFS
bhouvanabhouvana/Instinct/skills/instinct-audit/SKILL.md

instinct-audit

Skill0 starsChanged 4 months agoMITView on GitHub

Use when the user asks for a whole-repo or whole-history audit of engineering judgment — "audit this repo", "did we leave reasoning behind", "find undocumented breaking changes", "provenance audit". Broader than instinct-review, which checks one diff; this looks across history. Explicit invocation only; one-shot report, changes nothing.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Look at commits (default: recent history, or whatever range/timeframe the user names) whose diff shows any of:

    line 18

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

instinct-review checks whether one diff got the scrutiny it deserved. This checks the same question at repo scale: across recent history, did Critical-tier-shaped changes actually leave the reasoning SKILL.md obligates, or did they just happen?

What counts as Critical-tier-shaped, retroactively

Look at commits (default: recent history, or whatever range/timeframe the user names) whose diff shows any of:

  • a removed or renamed public function, export, endpoint, or config key
  • a new required parameter, or a narrowed/changed default, on something with more than one caller
  • a deleted file, module, or dependency that other code imported
  • a changed trust-boundary surface (auth, payment, deletion, data access)
  • a change to a canonical rule/prompt/policy text that other files or hosts derive from (this project's own SKILL.md; equally, a shared ESLint config, a schema other services validate against, an IaC module other stacks import) — easy to miss because the diff is "just words" or "just config," but the blast radius is every consumer of that text, not the file itself. Found by actually running this checklist against this project's own history: the commit tightening SKILL.md's Q2 wording changes classification behavior across every host this project ships to, which is a bigger blast radius than most of the literal code-function bullets above, and none of them would have caught it.

What to check for each one

  1. Does the commit message state a tradeoff, not just describe the change? "Removed X" is a description. "Removed X because Y, chose Z over keeping X deprecated" is a tradeoff.
  2. Was an alternative named anywhere — commit message, linked PR or issue, a code comment — or does history show only the path that got taken, with no evidence anything else was weighed?
  3. Is there a verification artifact (test, assertion) added or updated in the same change, given the blast radius the bullet above implies?

Reporting

One row per commit that qualifies as Critical-tier-shaped:

<short-hash> <one-line summary> — provenance: present|missing. verification: present|missing.

Lead with the ones missing both — highest-value findings first, not the longest list. End with a one-line count, not a restated table. Zero qualifying commits in range is a real, useful result: say No Critical-tier-shaped changes found in <range>., not a padded non-answer.

Boundaries

Reads git history and diffs only; changes nothing and proposes no fixes. Rewriting old commit messages is out of scope — the point is visibility into the pattern, not retroactively editing history. If the audit surfaces a live, current problem (a breaking change with no test that's still shipping), state it as a finding for a separate, explicit request through the Gate — don't silently patch it as part of the audit.

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.