sqlite-fault-tolerant-queries
What it does
Use when managing database schema transitions, writing math rate routes, and creating server endpoints.
Install opens this entry in your AgentsRoom desktop app. If the app is not installed yet, you will be sent to the download page.
SKILL.md
--- name: sqlite-fault-tolerant-queries description: Use when managing database schema transitions, writing math rate routes, and creating server endpoints. --- # SQLite Database Concurrency & Cold-Start Procedures 1. **Concurrency Protection:** Always query using the core database singleton connection mapping (`database.js`). Never spin up loose parallel `new sqlite3.Database()` handlers to avoid `SQLITE_BUSY` runtime lockups. 2. **Outlier Mitigation:** Refactor raw linear velocity averages to support moving averages or lookback metrics (e.g., filtering for the last 7 days) to minimize massive one-off sales anomalies. 3. **Zero-Transaction Defenses:** If an item's transaction log maps to `N/A` or zero historical velocity lines, invoke structural fallbacks (`Math.max(1, daysElapsed)`) to eradicate program-crashing mathematical division-by-zero errors.
Tags
Further reading
Claude Ads: the Claude Code skill that audits your ad accounts
Claude Ads is an open source skill for Claude Code that audits ad accounts on twelve platforms, from Google and Meta to Reddit and X, with evidence for every finding. What v2.1.0 does, how to install it safely, its limits, and how to run it in AgentsRoom.
AGENTS.md: One Context File for Every Coding Agent (Codex, Antigravity, Claude)
AGENTS.md is the portable instructions file your AI coding agents read before touching your code. What to put in it, how it differs from CLAUDE.md, and how to keep one context across Codex, Antigravity and Claude.
Download AgentsRoom
Run all your AI agents, on all your projects, from a single window.
Companion app: monitor your agents on the go
Bring your own: Claude, Codex, Antigravity CLI, or other AI provider.
Push bugs and requests straight to your public backlog.