Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

rails-query

Sterne24
Forks1
Aktualisiert23. April 2026 um 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.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly