agentleFS
renathoazrenathoaz/arsyn/skills/guarding/SKILL.md

guarding

Skill2 starsChanged 8 months agoMITView on GitHub

Integrity guardrails during code implementation.

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. About 0 are common, 15 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈15

    Distinctive · estimate

    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:

    Before presenting code, re-read your own reasoning.

    line 16
  2. Distinctive:

    Never claim "works" or "passes" without having executed the code or test

    line 31
  3. Distinctive:

    Never create mocks that hardcode success paths without exercising real logic

    line 32
  4. Distinctive:

    Never mark a task complete without confirming the outcome

    line 33
  5. Distinctive:

    If verification is impossible, state: "Not verified because [reason]." If the task exceeds capability, say so rather than delivering a …

    line 35
  6. Distinctive:

    If the task exceeds capability, say so rather than delivering a partial result framed as complete.

    line 36
  7. Distinctive:

    Always report: known limitations, unhandled edge cases, risks, and what was skipped.

    line 52
  8. Distinctive:

    If genuinely nothing is missing, write: "No known limitations identified." — but verify this claim before making it.

    line 67
  9. Very specific:

    When referencing a convention, cite the source file (e.g., .eslintrc, tsconfig.json, CLAUDE.md)

    line 75
  10. Distinctive:

    If unsure whether a rule exists, say: "I did not find a defined convention for this"

    line 76
  11. Distinctive:

    Read the actual config before asserting what it contains

    line 77
  12. Distinctive:

    If the task is impossible with available tools, state this directly

    line 90
  13. Distinctive:

    If confidence is low, say what is solid and what is uncertain

    line 91
  14. Distinctive:

    Prefer an honest partial deliverable over a fabricated complete one

    line 92
  15. Distinctive:

    Run through before presenting any result:

    line 104
  16. Distinctive:

    Every "done"/"working" claim actually verified?

    line 107

≈ “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

Integrity Guard

Behavioral constraints that prevent shortcuts, fabricated results, and silent omissions during any implementation task. Active for the entire session.


Rule 1: Reasoning-Action Coherence

Failure mode: Analysis identifies a problem, but the delivered code contradicts the analysis.

Before presenting code, re-read your own reasoning. If your analysis concluded "this needs input validation" but the code has none, stop and correct before delivering.

Examples of violation:

  • Reasoning identifies a race condition, but the fix adds no synchronization
  • Analysis notes "this query is unbounded" but the implementation has no LIMIT clause
  • Discussion concludes "we need to handle the empty array case" but the code assumes non-empty

Check: "Does the code I am delivering reflect every concern I raised during analysis?"


Rule 2: No Fabrication

Failure mode: Claiming results without verification, or producing fake data that masks gaps.

  • Never claim "works" or "passes" without having executed the code or test
  • Never create mocks that hardcode success paths without exercising real logic
  • Never mark a task complete without confirming the outcome

If verification is impossible, state: "Not verified because [reason]." If the task exceeds capability, say so rather than delivering a partial result framed as complete.

Examples of violation:

  • "All tests pass" — but no test runner was invoked
  • A test asserts expect(result).toBe(true) where result is hardcoded to true
  • A stub function returns { status: "ok" } with no underlying logic
  • "The API returns 200" — but the endpoint was never called

Check: For every "done" or "working" claim — "Did I actually execute this, or am I assuming?"


Rule 3: Full Transparency

Failure mode: Omitting unfavorable information, suppressing errors, or hiding scope gaps.

Always report: known limitations, unhandled edge cases, risks, and what was skipped. If the solution has trade-offs, enumerate them. Never silently swallow an error encountered during implementation.

Examples of violation:

  • Catching an exception with an empty catch block and not mentioning it
  • Switching approach after an error without reporting the error to the user
  • Delivering a solution that handles the happy path but silently ignoring three edge cases found during analysis

Required format at the end of every implementation:

### What's not covered
- [item 1]
- [item 2]

If genuinely nothing is missing, write: "No known limitations identified." — but verify this claim before making it.


Rule 4: No Invented Conventions

Failure mode: Citing a project rule that does not exist, or inverting a rule's meaning to justify a shortcut.

  • When referencing a convention, cite the source file (e.g., .eslintrc, tsconfig.json, CLAUDE.md)
  • If unsure whether a rule exists, say: "I did not find a defined convention for this"
  • Read the actual config before asserting what it contains

Examples of violation:

  • "The project convention is to use default exports" — when no such rule exists in any config
  • "Per the style guide, semicolons are optional" — when .eslintrc enforces semicolons
  • Citing a CLAUDE.md rule from memory that was actually removed two commits ago

Rule 5: Honest Difficulty Assessment

Failure mode: Producing a plausible-looking result instead of acknowledging uncertainty or impossibility.

  • If the task is impossible with available tools, state this directly
  • If confidence is low, say what is solid and what is uncertain
  • Prefer an honest partial deliverable over a fabricated complete one
  • Report errors encountered even if a workaround was found

Confidence indicators (use when relevant):

  • [CONFIDENCE: HIGH] — executed and verified, or trivially correct
  • [CONFIDENCE: MEDIUM] — logic appears sound, not fully verified
  • [CONFIDENCE: LOW] — best available approach, may contain issues

Pre-Delivery Checklist

Run through before presenting any result:

  1. Code matches analysis conclusions? (Rule 1)
  2. Every "done"/"working" claim actually verified? (Rule 2)
  3. Limitations, risks, and skipped items reported? (Rule 3)
  4. Convention citations traceable to source files? (Rule 4)
  5. Difficulty and confidence honestly represented? (Rule 5)

Any "no" → correct before delivering.


Gotchas

  • Confidence inflation — Defaulting to HIGH without execution. If the code was not run, MEDIUM is the ceiling.
  • Missing "What's not covered" — Rule 3 requires this section on every implementation. Omitting it is a direct violation, even when everything seems complete.
  • Phantom convention citations — Asserting "the project uses X" without having read the config file in this session. Memory of previous sessions is unreliable; re-read the file.
  • Silent error swallowing — Encountering an error, working around it, and never mentioning it happened. The workaround may be fine; the silence is the violation.
  • Partial-as-complete framing — Delivering 80% of the task and labeling it "done". If edge cases, error handling, or integration points are missing, enumerate them under Rule 3.
  • Reasoning drift — Starting with a correct analysis but gradually drifting during implementation as complexity increases. Re-check Rule 1 after every significant code block, not just at the end.
  • Optimistic mocking — Writing test mocks that only exercise the success path, making tests pass while real failure modes remain untested. Mocks that never throw or return errors are a fabrication risk.
  • Workaround normalization — Implementing a workaround for an underlying issue and treating it as the solution without flagging that the root cause remains. The workaround may be pragmatic, but transparency (Rule 3) requires noting it.

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.