app-walkthrough
Job skill for showing how an app or product is used, step by step, on rebuilt real screens. Adds walkthrough questions, the…
Use to keep stored data from being lost: before running or writing anything that could delete, overwrite or reshape it, and when asked whether data is backed up and recoverable. Do NOT use for read-only queries or query speed.
Claude Code
$ npx -y skills add KenKaiii/gg-framework --skill durable --agent claude-code
Codex
$ npx skills add KenKaiii/gg-framework --skill durable -a codex -y
Cursor
$ npx skills add KenKaiii/gg-framework --skill durable -a cursor -y
Gemini CLI
$ npx skills add KenKaiii/gg-framework --skill durable -a gemini-cli -y
GitHub Copilot
$ npx skills add KenKaiii/gg-framework --skill durable -a github-copilot -y
OpenCode
$ npx skills add KenKaiii/gg-framework --skill durable -a opencode -y
Windsurf
$ npx skills add KenKaiii/gg-framework --skill durable -a windsurf -y
name: durable description: "Use to keep stored data from being lost: before running or writing anything that could delete, overwrite or reshape it, and when asked whether data is backed up and recoverable. Do NOT use for read-only queries or query speed." license: Data-durability engineering guidance, not a DBA certification. Sources and snapshot date are recorded at the foot of each reference file. compatibility: Snapshot dated 3 October 2026; Prisma 7/8 status and agent safeguards, PostgreSQL 19 status and the Neon, RDS and D1 retention rows re-verified 22 October 2026. Re-verify version behaviours and provider defaults before asserting them as current.
**Route first:**
| You are… | Mode | Do next | |---|---|---| | About to run *any* command against a database yourself (migrate, reset, push, seed, SQL shell, delete script) | **Agent gate** | Run the agent gate below before the command. Always. | | Writing code that touches stored data (table, migration, import, delete endpoint, webhook write, backup cron) | **Inline gate** | Apply binding defaults; one line on the guard you built; keep building. | | Asked "is my data safe / back up my app", a migration is about to hit production, or after a data scare | **Full pass** | Run the full-pass workflow. |
Never say data is "safe": say what loss is survivable and what is not.
Coding agents have wiped production data during a natural-language code freeze (Replit, July 2025; `references/agent-db-safety.md`). These rules are the mechanism.
1. **Identify the target before every command.** Resolve which database the command will hit. Classify it `throwaway` / `shared-dev` / `may-hold-real-data` using the detection list in `references/agent-db-safety.md`. Unknown = `may-hold-real-data`. 2. **On `may-hold-real-data`, read-only by default.** Inspect with `SELECT`/`EXPLAIN`/`\d`, a read-only role, or `BEGIN READ ONLY`. No DDL, no writes, no `migrate dev|reset`, `db push`, `--force`, `--accept-data-loss`, `flush`, `dropDatabase`, `TRUNCATE`, seed scripts. 3. **Destructive or schema-changing commands on real data require all of:** (a) a backup or PITR point you verified exists *for this database* (`RUNTIME` or provider-console evidence, not assumption), (b) a dry-run count of affected rows shown to the user, (c) the exact command shown, and (d) the user's explicit go-ahead in this conversation for that command. "Go ahead and fix it" does not cover a `DROP`. 4. **Experiment on a branch, not the original.** Use a provider branch, restored clone or local copy; prove the change there, then hand back the production step with evidence. 5. **Never bypass a tool's safety interlock yourself.** If a CLI refuses because it detected an agent (e.g. Prisma 7's AI-consent check), a platform holds your request for the user's approval (e.g. Prisma Console agent approvals), or a prompt asks for confirmation: stop and ask. Never set a consent variable, approve your own request, or pass `--force`/`--yes` on your own initiative. 6. **Surprising results mean stop, not fix.** Empty tables, missing rows, failed restores: report what you observed and ask. Never "repair" by recreating, reseeding, or fabricating data, and never declare data unrecoverable without checking the provider's backups/PITR. 7. **Report exactly what you ran** — every command that touched a database, its target, and its result, including mistakes, immediately.
Also flag (do not silently fix) setups where the agent's shell holds production write credentials: recommend separate dev/prod credentials, a read-only role for inspection, and production URLs absent from local `.env`.
1. **The store is the last line of defence.** `NOT NULL`, `UNIQUE`, foreign keys with a chosen `ON DELETE`, `CHECK` — in the database, where scripts and bugs cannot walk past them. 2. **Destructive operations are guilty until guarded**: `WHERE` + batch limit, dry-run count first, backup when anything of value exists, undo path (soft delete, staging copy) for user-facing data. 3. **Migrations run on data you cannot recreate.** Checked in, reviewed as SQL (ORM output included — a rename can become `DROP` + `ADD`), never edited once applied, forward-only in production. Push/sync commands are for throwaway databases. 4. **One logical change, one transaction; anything retried is idempotent.** 5. **Backups you have not restored are fiction.** Automated, off-instance, stated RPO/RTO, timed restore drill. 6. **Fail loudly, not corruptly.** Bulk jobs are keyset-resumable with durable checkpoints. 7. **Respect the store's concurrency model** — SQLite has one writer; transaction poolers break session state. 8. **Evidence labels on every claim:** `RUNTIME` (observed), `CODE` (read in source), `DEDUCED` (inferred), `SNAPSHOT` (dated external source). 9. **Proportionality.** Test rows need migrations; the first real user row raises the floor to backups, then tested restore, then PITR.
The coding agent that gets more out of your AI subscription. Fastest and leanest of 20 agents tested, with unlimited local search of real open-source code.
Job skill for showing how an app or product is used, step by step, on rebuilt real screens. Adds walkthrough questions, the…
Job skill for a before-and-after video, showing life without the product, then with it. Adds before/after questions, idea…
Resolve and reuse the user's brand identity for a Motion video. Use when fonts, colours, logos or brand copy need mapping or a…
Job skill for a video about a developer tool: a CLI, API, library, SDK or editor plugin. Adds questions, terminal and code moves,…
Job skill for a product, feature or brand launch video. Adds launch questions, idea patterns, moves and pitfalls to the motion…
Job skill for a video like one the user supplies. Measures the reference's rhythm and style rules with reference-study.mjs, then…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.