strict-ground-truth-audit
Enforces rigorous, end-to-end empirical code audits across all layers (persistence, query syntax, data mappers, state lifecycle, business/date math, edge…
от hemanth17r★ 33 звезды на GitHub
Установить strict-ground-truth-audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Strict Ground-Truth Audit & Zero-Guesswork Protocol
Fundamental Mandate
NEVER state that a feature, API, query, filter, state transition, or system wiring is working based on assumptions, high-level documentation, or superficial inspections.
When triggered to verify system logic or perform an audit:
- Conduct a mandatory, end-to-end empirical inspection across all architectural layers (Data Store → Transport → Business Logic → Presentation/CLI).
- Trace every parameter mapping, query operator, data type constraint, state mutation, boundary condition, and fallback path in the code.
- Run the fastest sufficient static type checks and build verification commands for the current tech stack.
- If any layer or execution path cannot be empirically verified through code inspection or execution, explicitly report it as Unverified / Unknown rather than asserting success.
Universal 6-Layer Empirical Audit Checklist
Audits must evaluate all 6 layers regardless of language, framework, or architecture:
1. Persistence & Query Mechanics
- Schema & Type Coercion: Verify data types (e.g.
DATEvsTIMESTAMPvsVARCHAR) and ensure queries match backend storage constraints (preventing invalid type casts, pattern matching on non-string types, etc.). - Query Operators: Inspect raw SQL, ORM queries, PostgREST filters, GraphQL selectors, or REST query parameters for accurate operator selection (
>=,<=,ILIKE,IN,AND/ORgrouping). - Sorting & Pagination: Verify sorting directions (ascending vs descending), null ordering (
NULLS LAST), pagination offsets/cursors, and limit boundaries.
2. Data Transformation & Interface Contracts
- Serialization / Deserialization: Audit DTOs, data mappers, struct tags, and payload converters between storage schema and application interfaces.
- Naming & Key Alignment: Confirm property name consistency across boundaries (e.g.
snake_casedatabase fields tocamelCaseapplication fields). - Null Safety & Fallbacks: Check default fallback values, optional fields, and missing key handling.
3. State Management & Control Flow
- Lifecycle & Mutability: Audit reactive subscriptions, component hooks, state machine transitions, event loops, or global store updates.
- State Synchronization: Confirm dependent state invalidations and filter/parameter resets when primary inputs change.
- Async & Concurrency: Inspect promises, goroutines, async/await handlers, race conditions, loading states, and error handling.
4. Domain & Mathematical Logic
- Boundary & Date Math: Verify calculations involving date ranges, timezones, epoch timestamps, leap years, array indices, and numerical precision.
- Business Rules & Permissions: Trace authorization checks, status lifecycle transitions, feature flags, and conditional execution branches.
- Edge Case Precedence: Confirm ordering rules, filter precedence, and tie-breaking algorithms.
5. Intersectional Filters & System Resilience
- Multi-Filter Intersections: Audit truth tables when multiple filter criteria are applied simultaneously (e.g., Category + Date Range + Search Query + Location).
- System View States: Verify presentation states for Loading, Error Handling, Empty Results, and Success rendering.
- Offline & Failure Resilience: Inspect behavior when external APIs time out, database queries return zero records, or network connection fails.
6. Static Verification & Build Integrity
- Type Safety: Execute language-specific static type checkers (
npx tsc --noEmit,mypy,cargo check,go vet, etc.). - Build Verification: Execute production build commands (
npm run build,go build,cargo build, etc.) to confirm compilation safety.
Audit Output Structure & Framing Rules
- Universal Screen-First Root Framing: Even during deep backend, database, or API audits, every finding MUST first be introduced through the physical persona screen journey (who taps what, what fails on their screen) before explaining the underlying technical cause.
- Audit Defect vs. Enhancement Litmus Filter: Strictly distinguish between Core-Loop Functional/Security Blockers (data loss, auth bypass, transaction crashes, unhandled errors) vs. Post-MVP Enhancements / Missing CRUD conveniences (e.g., custom avatar/logo uploaders, advanced filters, cosmetic settings). Forbid reporting non-essential conveniences or unused optional schema columns as defects; actively push back on them as scope creep.
When reporting results, categorize findings into three standard sections:
- Empirically Verified (Pass): Features, data flows, and logic confirmed line-by-line in code with specific file/line references.
- Defects Discovered & Resolved (Fixed): Genuine core-loop blockers or security flaws identified and corrected during the audit.
- Unverified Areas (Warnings): System components, third-party integrations, or production en
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл strict-ground-truth-audit?
Enforces rigorous, end-to-end empirical code audits across all layers (persistence, query syntax, data mappers, state lifecycle, business/date math, edge cases, type safety, and build integrity). Strictly bans frontend-only mock fixtures and mandates seeding the real database when test data is absent. Prohibits guessing feature status or reporting success without empirical runtime/log proof. Trigger when asked to "check all wirings", "verify logics", "audit everything", "check if working properly", "is this actually working", "verify this", "double check", "ground truth check", "strict audit", "seed data", "missing data", or "no mock data".
Как установить скилл strict-ground-truth-audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл strict-ground-truth-audit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…