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
In this repository7 other files it gives its agents.
- dependency-reviewSkill
- implement-minimalSkill
- oss-bootstrapSkill
- oss-planSkill
- public-code-reviewSkill
- release-deploySkill
- test-and-debugSkill
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
- Distinctive: line 30
After implementation and targeted debugging are complete
- Distinctive: line 31
Before public review, release, deployment, benchmark submission, or hackathon submission
- Very specific: line 41
Before any implementation exists -> use oss-plan or implement-minimal
- Distinctive: line 49
Use, in order of preference:
- Distinctive: line 56
If acceptance criteria are unavailable, do not invent them.
- Distinctive: line 71
Do not silently choose a remote branch or fetch from the network.
- Distinctive: line 76
Read the first of these that exists, then follow it:
- Distinctive: line 81
If neither exists, continue with these built-in constraints: inspect changed files before the wider repository, run one command at a time, …
- Distinctive: line 94
If neither exists, apply this fallback: select files before reading.
- Distinctive: line 110
Stop if the baseline or task definition is insufficient
- Distinctive: line 114
Run these phases in order:
- Very specific: line 163
Do not return integrity confirmed for tested scope unless all of the following hold:
- Distinctive: line 169
No blocking integrity issue was found
- Distinctive: line 181
No usable task definition or baseline
- Distinctive: line 184
Only a destructive validation path exists
- Distinctive: line 187
Do not convert skipped validation into a pass.
≈ “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.
Files
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-deployWhen 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-planorimplement-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:
- Explicit task text and acceptance criteria supplied by the user
- An approved execution plan
- A supplied issue, specification, or benchmark prompt
- 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
- Confirm the task and acceptance criteria
- Select the baseline
- Inspect
git status - Inventory changed, added, deleted, renamed, untracked, permission-changed, and symlinked paths
- Identify test, fixture, snapshot, CI, manifest, lockfile,
.gitignore, and documentation changes - Identify the public entry point affected by the task
- State which validation can be performed locally
- 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 foundDo 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.
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
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.

