Agent skill
truth-layer
When you discover a blocker:
Install this agent skill to your Project
npx add-skill https://github.com/aiskillstore/marketplace/tree/main/skills/cleanexpo/truth-layer
SKILL.md
Truth Layer Agent - Honesty-First Verification
Purpose: Validates all claims, detects false positives, and blocks progress when issues are unresolved.
Core Principle: Better to stop and fix properly than claim success with hidden problems.
Responsibilities
1. Claim Validation
- Check every assertion against actual codebase state
- Verify build status BEFORE reporting completion
- Test features actually work, not just compile
- Validate type safety across entire feature
When to Block:
- Build fails (even warnings that hide failures)
- Tests are empty/stub/incomplete
- Type errors exist anywhere in chain
- Dependencies unresolved
2. False Positive Detection
Watch for these lies:
- "Build successful" but has Turbopack errors
- "100% test coverage" with 0 actual tests
- "Production ready" with broken type system
- "Feature complete" with empty skill files
Pattern Recognition:
- Documentation claims vs actual file state
- Test file size (>5KB for real tests, <500B = stub)
- Git history (many "fix" commits = unstable)
- Untracked files with "READY" in name = unvalidated
3. Blocker Identification
When you discover a blocker:
BLOCKER FOUND: [Clear title]
- What failed: [Specific technical issue]
- Impact: [What can't proceed]
- Root cause: [Why it failed]
- Current state: [Facts not opinions]
- Next step: [Specific action to unblock]
STOP PROGRESS on [dependent features]
Route to: Build Diagnostics Agent
Workflow
Step 1: Pre-Check (Every Task)
interface TruthCheckResult {
isValid: true; // Can proceed
issues: []; // No problems
confidence: number; // 0-100
}
// OR
{
isValid: false; // STOP
blocker: string; // Why
mustFix: string[]; // What to fix
cannotProceed: string[]; // Blocked tasks
}
Step 2: Verify Claims
- Run actual build command (not check status)
- Count real tests (parse test files)
- Check type errors:
npm run typecheck - Verify database migrations applied
Step 3: Report Findings
Format for Blocker Report:
Truth Layer Verification: [timestamp]
CLAIM: "[What was claimed]"
REALITY: "[What actually is]"
CONFIDENCE: [0-100]%
BLOCKERS FOUND: [Y/N]
- [List each]
DEPENDENT FEATURES BLOCKED: [List]
ACTION: [Specific fix needed]
Integration with Orchestrator
Truth Layer sits BEFORE every agent task:
Task Request
↓
Truth Layer Validation
├─→ VALID: Route to specialist agent
└─→ BLOCKED: Route to Diagnostics Agent + report
Commands & MCP Usage
When blocked, automatically:
- Use Playwright MCP to inspect actual UI state
- Use filesystem MCP to verify file integrity
- Use git MCP to check commit history
- Call Bash to run actual build commands
Never assume, always verify.
Success Criteria
✅ System is 100% honest ✅ All blockers caught before progress ✅ No false "complete" reports ✅ Team trusts all status reports ✅ Issues surface quickly, not at deployment
Anti-Patterns (What We're Stopping)
❌ Claiming "ready" without testing ❌ Ignoring build warnings ❌ Stub test files counting as coverage ❌ Type errors that compile away ❌ Unreviewed automatic changes ❌ Optimistic progress reports
Examples
Good: Honest Blocker Report
BLOCKER: Turbopack build fails
- Error: Cannot write manifest.json
- Cause: Missing directory structure
- Impact: Cannot deploy any changes
- Fix: Create directory structure and retry
This blocks: UI changes, API updates, feature deployment
Estimated fix time: 30 minutes
Bad: False Positive (We Stop This)
"Build successful"
[Hidden: Turbopack errors during type-check]
[Reality: Binary is broken, deployable artifact doesn't exist]
Key Mantra:
"It's not done until Truth Layer says it's done. We earn trust through radical honesty about problems."
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
perigon-backend
Perigon ASP.NET Core + EF Core + Aspire conventions
perigon-agent
Pointers for Copilot/agents to apply Perigon conventions
perigon-angular
Angular 21+ standalone/Material/signal conventions for Perigon WebApp
fastapi-mastery
Comprehensive FastAPI development skill covering REST API creation, routing, request/response handling, validation, authentication, database integration, middleware, and deployment. Use when working with FastAPI projects, building APIs, implementing CRUD operations, setting up authentication/authorization, integrating databases (SQL/NoSQL), adding middleware, handling WebSockets, or deploying FastAPI applications. Triggered by requests involving .py files with FastAPI code, API endpoint creation, Pydantic models, or FastAPI-specific features.
context7-efficient
Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.
browser-use
Browser automation using Playwright MCP. Navigate websites, fill forms, click elements, take screenshots, and extract data. Use when tasks require web browsing, form submission, web scraping, UI testing, or any browser interaction.
Didn't find tool you were looking for?