database-api-evolution

database-api-evolution is a skill for Claude Code from adtn0810/truestack. It costs 32 tokens per session (508 once invoked), scanned A, original, MIT.

Guidance for changing database schemas, stored data, indexes, API contracts, or compatibility between different software versions. An API contract defines the requests and responses that clients and services agree to use.

In plain words
What is it for?
Use it to plan schema migrations, data transformations, index changes, request or response changes, versioning, and compatibility checks.
Why use it?
It helps prevent migrations that lose data and API changes that break older clients, deployed services, or consumers.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the truestack plugin — 14 skills shipped together

Good fit Use it to plan schema migrations, data transformations, index changes, request or response changes, versioning, and compatibility checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/adtn0810/truestack/database-api-evolution
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add adtn0810/truestack --skill database-api-evolution
Clone the repo
git clone --depth 1 https://github.com/adtn0810/truestack

Made for: Claude Code.

Or install truestack, the plugin that ships this one along with the rest of its 14 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for database-api-evolution

README.md
[![agentmods](https://agentmods.dev/badge/skills/adtn0810/truestack/database-api-evolution/github.svg)](https://agentmods.dev/skills/adtn0810/truestack/database-api-evolution)
Your own site
<a href="https://agentmods.dev/skills/adtn0810/truestack/database-api-evolution"><img src="https://agentmods.dev/badge/skills/adtn0810/truestack/database-api-evolution/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for database-api-evolution

Your own site · 80×15
<a href="https://agentmods.dev/skills/adtn0810/truestack/database-api-evolution"><img src="https://agentmods.dev/badge/skills/adtn0810/truestack/database-api-evolution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 508 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.00508
Opus 5.5 $0.00013 $0.00203
Sonnet 5.5 $0.00006 $0.00102
Haiku 4.5 $0.00003 $0.00051

Measured 2mo ago against content hash 66ffba51f3da, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

database-api-evolution scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/database-api-evolution/SKILL.md · 21 lines

What it actually says

Database and API evolution

Define the old and intended contract before changing it. Identify the database engine/version or API protocol, affected producers and consumers, data ownership, deployed versions, and the source of truth. Read existing migration and compatibility conventions. Ordinary backend implementation without a contract or persisted-data change stays in backend-engineering.

For APIs, describe request/response fields, units, nullability, errors, authorization/ownership, pagination and stable ordering, retry/idempotency behavior, and limits as relevant. Consider clients that tolerate added fields differently and consumers that still send the old shape. Follow existing versioning conventions; introduce a version or deprecation period when required by a real incompatibility. Use the project's contract artifacts and validators rather than inventing a second specification.

For database changes, inspect keys, constraints, indexes, cardinality, transaction boundaries, and the query patterns the change supports. Check engine-specific locking and online-operation behavior before asserting that a migration is safe. Estimate the affected rows and resource costs from available evidence. Do not assume every engine can roll back DDL or restore deleted rows.

Choose a rollout that fits the risk: expand compatible structure, deploy tolerant readers/writers, migrate bounded batches with checkpoints, reconcile, then retire the old path when no consumers need it. Use shadow comparisons or flags when they materially reduce risk, not as compulsory steps for every local schema edit. Define retry identity and restart behavior for backfills. A successful command with zero affected rows may still mean the intended work did not happen.

For calculations and reporting, specify intended value changes and preserved invariants, including currency, rounding, tenant/account scope, grain, date axis, deduplication, ordering, and strict-table rules where applicable. A neutral refactor needs equality evidence; a correctness fix needs evidence for the expected delta. Never silently preserve known wrong output or loosen accuracy checks to pass.

Prepare the migration/contract artifacts, local tests, compatibility checks, and recovery procedure before any separately unauthorized production write. Verify backup/restore capabilities before relying on them. Existing explicit authorization remains valid within its scope; ask only for an additional live mutation that has not been authorized.

Report the consumer impact, validation evidence, rollout/recovery limits, and runtime steps actually performed. Use test-verify for acceptance evidence and systematic-debugging for measured query or migration performance investigation.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 21 lines · 32 tokens per session scan A 66ffba51f3da

Subscribe to this mod's changes

database-api-evolution is a skill published in the GitHub repository adtn0810/truestack (3 stars, last pushed 2mo ago), licensed MIT. It adds 32 tokens to every session and 508 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-13.

Related

database-api-evolution compared with skills from other repositories

database-api-evolution next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
database-api-evolutionadtn0810/truestackSkill32mo agoMITA32Claude Code
ln-98-mutation-reliability-engineerlevnikolaevich/claude-code-skillsSkill59819d agoMITA33Claude Code
engineerNexaDuo/mARCSkill72d agoMITA30Claude Code
django-patternsNmor/the-claude-councilSkill122mo agononeA108Claude Code
dynamodb-patternsNmor/the-claude-councilSkill122mo agononeA68Claude Code, Codex
jpa-patternsNmor/the-claude-councilSkill122mo agononeA33Claude Code, Codex
backend-patternsNmor/the-claude-councilSkill122mo agononeA31Claude Code, Codex