Skip to main content
在 Manus 中运行任何 Skill
一键导入

rails-query

星标1
分支0
更新时间2026年7月12日 07:50

Read-only inspection of PRODUCTION data for the deployed drift app via `bin/kamal query` — the kamal alias for Rails 8.2's `rails query` command. Use this whenever the user wants to look up, count, check, or investigate real data in prod: how many feeds/entries/users, is there a user with a given email, what's the most recent entry, why a feed has zero entries, how many Solid Queue jobs are failed, top feeds by subscriber count, or any ad-hoc production data question — even if they don't say "query" or "kamal". Also for discovering production schema, tables, models, and associations, and reading EXPLAIN plans. Prefer it over `bin/kamal console`, `bin/kamal dbc`, or a runner script for read-only lookups: it cannot mutate the database, returns structured JSON, and paginates instead of dumping huge result sets. Do NOT use it to change prod data (updates/deletes), edit app code/models/scopes, write migrations or tests, run kamal ops (deploy, logs, restart, backups), answer local-dev database questions, or build d

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
2 个文件
SKILL.md
readonly