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

rails-query

星标24
分支1
更新时间2026年4月23日 14:56

Answer any question that requires live data from a Rails 8.2+ app using `rails query`: counts, lookups, "how many X", ad-hoc investigation, schema exploration, EXPLAIN plans, and aggregates — whether locally or against a deployed environment via Kamal. Trigger broadly whenever the user asks for data from a Rails app's database, mentions `rails query` / `bin/rails query` / `bin/kamal query`, asks to inspect schema, tables, or models, wants to run SQL or ActiveRecord against the database, needs an EXPLAIN plan, or wants to query production/staging/replica. Prefer this skill over opening a Rails console, SSH-ing to a server, or writing a one-off script for data questions — `rails query` is faster, structured (JSON output), audit-friendly, and read-only by construction.

安装

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

SKILL.md
readonly