Repository

qualtyco/api-doctor

api-doctor

AI compiles hallucinated code that pass. This fixes it before accepting it. 100% Deterministic

69stars

Open github.com

qualtyco/api-doctor

api-doctor

Deterministic AST-based tool that scans AI-generated code for bad API integrations (security, correctness, reliability) and provides automated fixes.

Visit project

Show me a random project

First shared
Jul 2, 2026
HN activity
10

Show HN@Reuben_SantosoJul 2, 2026

Show HN: OSS Tests to Fix AI Gen Code. 110 Test for Major API – Supabase, Auth0

As a claude code power user once context compacts it will start writing slop. Especially when writing code for API integrations. For example Supabase auth, it allows user metadata to be writable by clients and leaving service role keys in next.js components. I’ve tried prompting and skills.md to catch this, but it’s not consistent without good test feedback. So I open sourced a collection of test to with no LLM involved from official docs to catch and fix bad code integrations. Enjoy

Community

Hacker News discussion

Loading the thread…