用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/lux-db/lux --skill ledger-repair命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use when implementing or debugging Lux signup, login, sessions, OAuth, SSR cookies, project-key boundaries, providers, or row-level grants.
Use when setting up a Lux app, designing tables, writing CRUD or query code, choosing SDK versus HTTP or RESP access, generating types, or using local development.
Use when planning or performing Lux backups, restore drills, persistence or TTL configuration, secure deployment, storage-mode decisions, or upgrades.
基于 SOC 职业分类
正在显示 SKILL.md
| name | ledger-repair |
| description | Use when authoring, planning, applying, pulling, rolling out, or repairing Lux application migrations. |
Lead with the minimal command sequence for the requested migration. Verify commands in cli/README.md or installed public lux migrate --help before emitting them; do not infer syntax from memory. Create an additive, reviewable .lux migration with lux migrate new <name>. Keep the file under version control and use JSON argv arrays for values that are difficult to quote safely. Include grants with the schema change that requires them.
Before rollout, run lux migrate plan against the intended target and inspect lux migrate status. Omitted target means local; name the Cloud project or direct target explicitly. Apply with lux migrate run, then run lux types if TypeScript application types changed.
For a blocked record, inspect status first. Select exactly one reviewed repair: resume from a command index, mark applied, or abandon. Never edit __migrations, change a previously applied file to force a retry, or script automatic repair.