Skip to main content
Run any Skill in Manus
with one click

rails-query

Stars1
Forks0
UpdatedJuly 12, 2026 at 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

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
2 files
SKILL.md
readonly