
Axiom audit database schema
Audits Swift SQLite and GRDB schemas and migrations for data-loss and crash risks
Axiom audit database schema is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 1.3K
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Axiom audit database schema
This skill turns the agent into a schema and migration auditor for SQLite-backed Swift apps, with GRDB as the main target. It has the agent first map the database setup, migration registrations and table relationships, then run a fixed set of detection checks for risky patterns such as unguarded column additions, drops, replace-style upserts, foreign key misuse, renames and unsafe merged migrations.
The workflow is phased. After the map, the agent verifies each grep hit by reading the surrounding code, checks for completeness gaps such as missing data backfills, append-only migration history and transaction coverage for batch writes, and combines related findings into higher severity ratings. It then reports a health rating and prioritized fixes, with false-positive exclusions for scratch tables, debug-only code and migrations that run once by design.
The skill expects a Swift project using GRDB, SQLite.swift or raw SQLite, and it reads files with search and file-read tools. It does not execute code or scripts. Its references point to companion Axiom skills for GRDB, migrations and SwiftData.
When your agent uses it
Use when the user mentions database schema review, migration safety, GRDB migration audit, or SQLite schema checking.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (21 KB) on GitHub on 2 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/axiom-audit-database-schema to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/axiom-audit-database-schema &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-database-schema" ~/.claude/skills/axiom-audit-database-schema &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/axiom-audit-database-schema inside it instead.
Copy the skill folder to ~/.agents/skills/axiom-audit-database-schema to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/axiom-audit-database-schema &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-database-schema" ~/.agents/skills/axiom-audit-database-schema &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/axiom-audit-database-schema inside it instead.
Copy the skill folder to ~/.cursor/skills/axiom-audit-database-schema to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/axiom-audit-database-schema &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-database-schema" ~/.cursor/skills/axiom-audit-database-schema &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/axiom-audit-database-schema inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/CharlesWiltgen/Axiom.git --path axiom-codex/skills/axiom-audit-database-schemaOr copy the folder to ~/.gemini/skills/axiom-audit-database-schema yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/axiom-audit-database-schema:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/axiom-audit-database-schema &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-database-schema" ~/.copilot/skills/axiom-audit-database-schema &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/axiom-audit-database-schema inside it instead.
Get the folder:
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.gitThen copy Axiom/axiom-codex/skills/axiom-audit-database-schema into your agent's skills folder as axiom-audit-database-schema. Agents that support SKILL.md read one folder per skill.
What it does
- Migration safety checks
- Flags column additions, table drops and renames that can crash or erase data on app upgrade.
- Foreign key audit
- Checks whether foreign keys are declared and enforced and whether existing orphan rows would block a rebuild.
- Merged migration review
- Examines GRDB merged migrations for replay, ID reuse and superseded-guard lockout problems.
- Transaction coverage review
- Looks for batch inserts that run outside a transaction and would be slow or non-atomic.
- Schema health rating
- Summarizes findings as a SAFE, FRAGILE or DANGEROUS rating with prioritized recommendations.
Good for
- Review my GRDB migrations before a release
- Check whether a new column migration will crash existing databases
- Find INSERT OR REPLACE calls that could cascade-delete child rows
- Audit foreign key enforcement in my SQLite setup
- Verify that a merged migration is safe for users upgrading from older versions
Axiom audit database schema FAQ
What triggers Axiom audit database schema?
It triggers when the user mentions database schema review, migration safety, a GRDB migration audit or SQLite schema checking.
Does Axiom audit database schema change any code?
The skill instructs the agent to scan and read files and report findings with suggested fixes. It does not list any scripts or file-writing steps.
Does Axiom audit database schema need any scripts or external tools?
No scripts are included. It relies on the agent's search and file-read capabilities over the Swift project.
How do I install Axiom audit database schema in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/axiom-audit-database-schema to use it in all your projects, or to .claude/skills/axiom-audit-database-schema in one project.
Does Axiom audit database schema run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Axiom audit database schema?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Axiom audit database schema?
The closest alternatives to Axiom audit database schema are Axiom audit grdb performance, Axiom audit swiftdata, Axiom audit core data, Axiom audit testing and Axiom audit codable.
Where this comes from
- Description: from the skill's own SKILL.md.
More from CharlesWiltgen/Axiom

Finds the code patterns behind flaky Swift Testing failures and explains each root cause
- Open source
- 1.3K GitHub stars
- Developer tools

Audits Swift test suites for flaky patterns, slow setups and Swift Testing migration gaps
- Open source
- 1.3K GitHub stars
- Developer tools

Drives iOS Simulator tests: UI input, screenshots, location, push and accessibility checks
- Open source
- 1.3K GitHub stars
- Developer tools

Guides an agent through Swift unit, UI and async tests, flaky-test fixes and test speed
- Open source
- 1.3K GitHub stars
- Developer tools

Interprets iOS and macOS crash logs and points the agent to the likely fix
- Open source
- 1.3K GitHub stars
- Developer tools

Audits Swift code for ARC, copy, generic and actor performance overhead
- Open source
- 1.3K GitHub stars
- Developer tools

