From claude-dev-infrastructure
Intercepts Claude Code success claims and mandates live tests, screenshots, error logs, and cryptographic hashes for builds, functionality, errors, and performance.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-dev-infrastructure:ai-truthfulness-enforcerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill AUTO-ACTIVATES when Claude attempts to:
This skill AUTO-ACTIVATES when Claude attempts to:
// Auto-detects claim patterns
const TRIGGER_PHRASES = [
"works", "working", "functional", "operational",
"fixed", "resolved", "implemented", "complete",
"done", "finished", "ready", "success", "achieved",
"X% complete", "Y errors", "reduced by", "improved"
];
// If any trigger phrase detected → HALT and demand evidence
npm run build in real-timenpx vue-tsc --noEmit# Generate tamper-proof evidence hash
echo "$CLAIM|$EVIDENCE|$TIMESTAMP" | sha256sum
# Must be included in every claim
Claims are AUTOMATICALLY REJECTED if:
## BUILD STATUS VERIFICATION
**Claim**: [Exact claim made]
**Timestamp**: [ISO 8601 timestamp]
**Evidence Hash**: [SHA256 hash]
### MANDATORY EVIDENCE:
[ ] Live build test executed: `npm run build`
[ ] Full console output captured
[ ] Build result: [SUCCESS/FAIL with exact message]
[ ] Error count: [Actual number from console]
[ ] Build time: [Measured in seconds]
[ ] Screenshot of terminal: [Attached with timestamp]
### VERDICT:
✅ VERIFIED CLAIM - Evidence supports claim
❌ REJECTED CLAIM - Evidence contradicts claim
## FUNCTIONALITY VERIFICATION
**Claim**: [Exact claim made]
**Feature**: [Specific feature tested]
**Timestamp**: [ISO 8601 timestamp]
**Evidence Hash**: [SHA256 hash]
### MANDATORY TESTING SEQUENCE:
[ ] Application started: `npm run dev`
[ ] Browser navigated to: http://localhost:5546
[ ] Before screenshot: [Timestamped]
[ ] Feature tested: [Step-by-step actions]
[ ] After screenshot: [Timestamped showing result]
[ ] Console monitored: [Zero errors confirmed]
[ ] Cross-view tested: [All relevant views]
[ ] Data persistence: [Refresh tested]
### VERDICT:
✅ VERIFIED - Functionality confirmed with real evidence
❌ REJECTED - Evidence insufficient or contradictory
// Detects suspicious claim patterns
function analyzeClaimSuspicion(claim) {
const redFlags = [
/\d+%/, // Percentage claims without measurement
/perfect|complete|final/, // Absolute terms
/massive|huge|dramatic/, // Exaggerated adjectives
/no issues|zero problems/, // Unrealistic perfection
];
const suspicionScore = redFlags.reduce((score, pattern) => {
return claim.match(pattern) ? score + 1 : score;
}, 0);
return suspicionScore >= 2 ? 'HIGH_SUSPICION' : 'NORMAL';
}
# Add to package.json scripts
{
"verify-claim": "node .claude/skills/ai-truthfulness-enforcer/verify-claim.js",
"evidence-capture": "node .claude/skills/ai-truthfulness-enforcer/capture-evidence.js"
}
Created: November 24, 2025 Purpose: Eliminate AI false claims and enforce evidence-based reporting Impact: Transform Claude Code from "optimistic reporter" to "verified truth-teller"
CRITICAL: Before claiming ANY issue, bug, or problem is "fixed", "resolved", "working", or "complete", the following verification protocol is MANDATORY:
REQUIRED: Use the AskUserQuestion tool to explicitly ask the user to verify the fix:
"I've implemented [description of fix]. Before I mark this as complete, please verify:
1. [Specific thing to check #1]
2. [Specific thing to check #2]
3. Does this fix the issue you were experiencing?
Please confirm the fix works as expected, or let me know what's still not working."
Remember: The user is the final authority on whether something is fixed. No exceptions.
npx claudepluginhub mulkerrin-sean/cc-marketplace --plugin claude-dev-infrastructureIntercepts Claude Code success claims and mandates live tests, screenshots, error logs, and cryptographic hashes for builds, functionality, errors, and performance.
Enforces evidence-based completion claims by requiring fresh command output before reporting success. Use when completing tasks, fixing bugs, or verifying any "it works" claim.
Enforces running verification commands before claiming work is done, passing, or fixed. Gates completion claims behind fresh evidence.