.agents/skills/system-reality-auditor/SKILL.md
Performs a triple-point audit to synchronize codebase, database schema, and project documentation states. Use this skill to align the PRD, Gap Analysis, and Execution Plan with the actual system reality.
npx skillsauth add theeabrarrr/LPG-Connect system-reality-auditorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill provides instructions on how to perform a comprehensive triple-point audit to ensure all master project documents accurately reflect reality.
Use tools like find_by_name, list_dir, or recursive file reading to map all implemented features in the codebase. Verify the actual presence of UI components, server actions, helpers, and API routes.
Use the Supabase MCP to fetch the latest database schema. Inspect:
Compare the Code and DB findings against the master project documents (e.g., PRD.md, EXECUTION_PLAN.md, GAP_ANALYSIS.md, DATABASE_SCHEMA.md).
[ ] (pending) in the plan but actually exists in the code or database, mark it as [x].[x] (completed) or done in the plan but the feature does not exist in the code or database, uncheck it to [ ] and note the gap.You have full update authority over the project documents. Rewrite the 'Status' and 'Gaps' sections of all documents to match the current ground truth. Ensure all documents are strictly synchronized with the codebase and database realities after the audit.
tools
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
testing
Enforces atomic transactions for operations spanning multiple database tables (e.g., Orders, Ledgers, Inventory) to prevent partial updates. Use this skill when implementing financial logic, order processing, or any multi-table mutations.
data-ai
Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.
testing
Audits and verifies database migration logic for a multi-tenant SaaS. Ensures that all users (especially legacy single-tenant users) have valid tenant_id bindings, and that Super Admins safely bypass RLS without breaking UI functionality.