agentleFS
olgaiv39olgaiv39/claude-oss-skills/skills/implementation-integrity/SKILL.md

implementation-integrity

Skill13 starsChanged 4 months agoMITView on GitHub

Audit an implementation for unnecessary artifacts, test manipulation, hardcoded shortcuts, fake success, bypassed product paths, and unsupported completion claims

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. About 0 are common, 14 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈14

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After implementation and targeted debugging are complete

    line 30
  2. Distinctive:

    Before public review, release, deployment, benchmark submission, or hackathon submission

    line 31
  3. Very specific:

    Before any implementation exists -> use oss-plan or implement-minimal

    line 41
  4. Distinctive:

    Use, in order of preference:

    line 49
  5. Distinctive:

    If acceptance criteria are unavailable, do not invent them.

    line 56
  6. Distinctive:

    Do not silently choose a remote branch or fetch from the network.

    line 71
  7. Distinctive:

    Read the first of these that exists, then follow it:

    line 76
  8. Distinctive:

    If neither exists, continue with these built-in constraints: inspect changed files before the wider repository, run one command at a time, …

    line 81
  9. Distinctive:

    If neither exists, apply this fallback: select files before reading.

    line 94
  10. Distinctive:

    Stop if the baseline or task definition is insufficient

    line 110
  11. Distinctive:

    Run these phases in order:

    line 114
  12. Very specific:

    Do not return integrity confirmed for tested scope unless all of the following hold:

    line 163
  13. Distinctive:

    No blocking integrity issue was found

    line 169
  14. Distinctive:

    No usable task definition or baseline

    line 181
  15. Distinctive:

    Only a destructive validation path exists

    line 184
  16. Distinctive:

    Do not convert skipped validation into a pass.

    line 187

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

implementation-integrity

Audit whether an implementation honestly satisfies the requested task through the real product path, with only necessary artifacts and evidence that supports its completion claims. This is a read-only audit; do not repair, delete, regenerate, commit, or deploy while using this skill.

Central question:

Did the agent solve the requested task honestly through the real implementation path, with only necessary artifacts and evidence that supports its completion claims?

This skill does not replace test-and-debug, public-code-review, or release-deploy. Intended sequence:

implement-minimal -> test-and-debug -> implementation-integrity
-> public-code-review -> release-deploy

When to use

  • After implementation and targeted debugging are complete
  • Before public review, release, deployment, benchmark submission, or hackathon submission
  • For AI-generated code
  • For benchmark and verifier-based tasks
  • For MCP integrations
  • For generated applications
  • For test assignments and open-source contributions

When not to use

  • Before any implementation exists -> use oss-plan or implement-minimal
  • As a general style review -> use public-code-review
  • As a substitute for debugging a known failure -> use test-and-debug
  • As permission to inspect unrelated private files
  • As a guarantee that no hidden cheating exists; it audits the tested scope only

Required inputs

Use, in order of preference:

  1. Explicit task text and acceptance criteria supplied by the user
  2. An approved execution plan
  3. A supplied issue, specification, or benchmark prompt
  4. A clearly identified commit or diff range

If acceptance criteria are unavailable, do not invent them. Provisional criteria may be derived from explicit repository evidence, but must be labelled as inferred. If there is no usable task definition or baseline, stop and request the missing input.

Baseline selection

Define the comparison baseline before reviewing. Support:

  • Uncommitted work: compare the working tree and index against HEAD
  • One commit: compare the specified commit against its parent
  • Branch or PR work: compare against an explicitly supplied base branch or merge base
  • Supplied diff range: use that exact range

Do not silently choose a remote branch or fetch from the network. Record the selected baseline in the report.

Low-resource policy

Read the first of these that exists, then follow it:

  • ${CLAUDE_PROJECT_DIR}/.claude/shared/LOW_RESOURCE.md
  • $HOME/.claude/shared/LOW_RESOURCE.md

If neither exists, continue with these built-in constraints: inspect changed files before the wider repository, run one command at a time, use targeted validation first, avoid watchers, avoid full builds and full suites unless required at a milestone, bound large output, do not install tools, and do not use subagents merely for speed.

Context-efficiency policy

Read the first of these that exists, then follow it:

  • ${CLAUDE_PROJECT_DIR}/.claude/shared/CONTEXT_EFFICIENCY.md
  • $HOME/.claude/shared/CONTEXT_EFFICIENCY.md

If neither exists, apply this fallback: select files before reading; use targeted searches and bounded ranges; do not preload references; do not reread unchanged files; finish one atomic increment and stop; create a compact handoff before context is exhausted.

Preflight

  1. Confirm the task and acceptance criteria
  2. Select the baseline
  3. Inspect git status
  4. Inventory changed, added, deleted, renamed, untracked, permission-changed, and symlinked paths
  5. Identify test, fixture, snapshot, CI, manifest, lockfile, .gitignore, and documentation changes
  6. Identify the public entry point affected by the task
  7. State which validation can be performed locally
  8. Stop if the baseline or task definition is insufficient

Audit phases

Run these phases in order:

Phase 1 - scope and changed-file inventory
Phase 2 - artifact necessity audit
Phase 3 - test and validation integrity
Phase 4 - implementation-path integrity
Phase 5 - fake-success and bypass audit
Phase 6 - requirement-to-evidence mapping
Phase 7 - independent targeted validation
Phase 8 - verdict and human-review boundary
  • Phase 2 uses references/artifact-audit.md
  • Phases 3 to 5 use references/anti-cheating-patterns.md
  • Phase 7 uses references/independent-validation.md

Required outputs

Produce, using templates/integrity-report.md:

  • Baseline
  • Task and acceptance criteria
  • Changed-file inventory
  • Artifact classification
  • Integrity findings
  • Potential cheating patterns
  • Requirement-to-evidence mapping
  • Independent validation performed
  • Validation not performed
  • Publication blockers
  • Items requiring human judgment
  • One exact verdict

Exact verdicts

End with exactly one:

integrity confirmed for tested scope
integrity partially confirmed
integrity not confirmed
blocking integrity issue found

Do not return integrity confirmed for tested scope unless all of the following hold:

  • At least one real public entry point was checked
  • Changed tests and validation configuration were inspected
  • Acceptance criteria were mapped to implementation evidence
  • No blocking integrity issue was found

Default behavior

This skill is a read-only audit. It must not automatically modify implementation code, delete artifacts, update snapshots, rewrite tests, change tolerances, alter CI, edit .gitignore, install dependencies, regenerate outputs, commit, push, deploy, or publish. After the audit, perform any repair separately with implement-minimal.

Stop conditions

  • No usable task definition or baseline
  • The public entry point cannot be identified
  • Required credentials or services are unavailable for validation
  • Only a destructive validation path exists
  • Evidence conflicts and cannot be resolved locally

Do not convert skipped validation into a pass.

Human review boundaries

  • A finding whose intent or effect cannot be established locally
  • Any suspected manipulation of auth, wallet, or user-data handling
  • A verdict that depends on validation that could not be run
  • Whether an inferred acceptance criterion is acceptable

Final report

Produce the report in the exact section order of templates/integrity-report.md, ending with one verdict. Then stop; repairs happen separately under implement-minimal.

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.