Backendskills is an MIT-licensed set of instructions for coding agents such as Claude Code, Codex, and Cursor, intended to make backend implementations safer around authentication, data integrity, payments, and database changes. Its three skills guide agents to scope queries to the requesting user, validate input and rate-limit sensitive routes; use locks, conditional updates, uniqueness constraints, and idempotency for operations that can race or repeat; and deploy schema changes with expand-and-contract steps, concurrent indexes, timeouts, and batched backfills. Teams can add their own conventions, such as error formats and API documentation. The instructions install through the skills CLI or can be added to agent-specific configuration files.
In a benchmark of 15 backend tasks, each attempted five times by Haiku 5.5 and Sonnet 5.5, critical mistakes fell from 25 of 150 runs without the skills to 2 with them. Most of the improvement came from login rate limiting and column renaming, which together accounted for 20 baseline failures; ten tasks had no critical mistakes in either condition. The skills did not eliminate every problem: Haiku still mishandled out-of-order payment webhook events. The benchmark also found fewer misses on team conventions when those conventions were supplied, but that guidance is unset by default. Using the skills increased average cost and agent turns, from $0.06 and 14 turns per run to $0.11 and 23. Some runs stopped because of usage limits, and incomplete Opus runs were excluded.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.