agentleFS
90184479018447/julia-pro-p/skills/principle-gate/SKILL.md

principle-gate

Skill0 starsChanged 4 days agoMITView on GitHub

Gate each review finding on four questions; a finding that fails one is dropped or downgraded.

The file

Files
SKILL.md

The gate

A noisy review is worse than none: the real findings get skimmed past. Four questions stand between a finding and the report.

  1. Exact line. Name the file and line. "Somewhere in the solver wrapper" fails here and is dropped.
  2. Concrete failure. Name the input, the state, the bad outcome. When you cannot, you are pattern-matching.
  3. Surrounding context. Callers, imports, the test that covers the path, read.
  4. In the change. A pre-existing issue smuggled in as a review comment is a separate conversation.

Any "no" or "unsure" means drop the finding or downgrade its severity.

Volume

  • Report above 80% confidence, for defects that cost a bug, a wrong number, a security hole, or data loss.
  • Consolidate: "five functions miss error handling" is one finding with five locations.
  • Style preferences stay out unless the project's own convention is at stake.

Where a Julia review earns the confidence

Type instability on a hot path. A retcode never read. @inbounds without a bound proof. A [compat] that admits a version the code cannot handle. A try/catch around a solver that returns a stale solution.

Pairs with

  • playbook-test-spec — the four questions applied to a test that claims to cover a behaviour
  • numerical-methods-implementation — the same questions applied to a claimed convergence

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.