superpowers
claudecodexCore skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques
15 skills · hooks
Specialist agents, Iron Laws, parallel code review, and plan→work→verify→review→compound workflow for Ruby, Rails, Grape, Sidekiq, Hotwire, Active Record, and Sequel projects.
Plugin ruby-grape-rails from marketplace slbug in slbug/claude-ruby-grape-rails. Commands read from the repo's manifest — 1 month ago.
This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.
rb:constraint-debugDiagnosing Active Record constraint failures: unique-index, foreign-key, NOT-NULL violations. Triggers: \"constraint error\", \"unique violation\", \"foreign key\", \"PG::UniqueViolation\".
active-record-patternsActive Record patterns: models, queries, associations, transactions, locking, migrations. Triggers: \"AR scope\", \"has_many through\", \"polymorphic\". Do NOT use for: Sequel, N+1.
rb:n1-checkDiagnosing N+1 query patterns in Rails/Grape: slow index pages, serializers, nested API responses. Triggers: \"N+1\", \"includes\", \"preload\", \"bullet warning\".
rb:async-patternsImplementing Ruby fiber concurrency: async gem, Falcon server, I/O-bound parallelism, fiber-safe locking.
rb:auditRunning a project-wide audit of a Ruby/Rails/Grape codebase: architecture, security, performance, testing coverage, ops risk. Emits findings to .claude/audit/.
rb:brainstormExploring approaches, comparing options, and gathering requirements for a vague Ruby/Rails/Grape feature idea before /rb:plan. Interview-style discovery; emits interview.md.
rb:briefWalking through a Ruby/Rails/Grape plan, diff, or review in a concise summary. Triggers: \"explain plan\", \"summarize review\", \"walk me through\".
rb:challengeRunning rigorous adversarial scrutiny on Active Record changes, Hotwire/Turbo events, or PR readiness — devil's-advocate questioning before approval.
rb:compoundCapturing a solved Ruby/Rails/Grape problem as reusable knowledge. YAML solution doc. Triggers: \"compound this\", \"save this solution\", \"capture this fix\".
rb:compression-reportDrafting an anonymized GitHub-issue-ready report from verify-output compression telemetry: PII-redacted, actionable, user copies into a maintainer issue.
rb:deployConfiguring Rails deployment: Kamal, Docker, Thruster, Solid Queue, Procfile, container layout.
rb:documentGenerating documentation for implemented Ruby/Rails/Grape features: YARD/RDoc method docs, README updates, ADRs. Runs after /rb:review passes.
rb:dry-rb-patternsApplying dry-rb gems: dry-validation contracts, dry-types coercion, dry-monads Result/Maybe, dry-struct value objects, dry-transaction pipelines, dry-system DI.
rb:fullRunning the end-to-end Ruby/Rails/Grape lifecycle in one shot: plan → work → verify → review → compound, chained. Autonomous on happy path; halts on /rb:verify --full failure (HALTED_VERIFY_FAILED), BLOCKED review (HALTED_REVIEW_BLOCKED), REQUIRES CHANGES review (HALTED_REVIEW_REQUIRES_CHANGES), or
grape-idiomsGrape APIs: endpoint design, param coercion, versioning, grape-entity. Triggers: \"API versioning\", \"param coercion\", \"endpoint design\", \"Grape::Entity\". Do NOT use for: Rails controllers.
rb:hotwire-nativeBuilding native iOS/Android shells with Hotwire Native: path configuration, bridge components, native navigation, Turbo Native bridges.
hotwire-patternsHotwire in Rails: Turbo Frames, Streams, Stimulus, Action Cable. Triggers: \"live update no reload\", \"broadcast model\", \"stimulus controller\". Do NOT use for: native mobile, jobs.
rb:initInitializing Ruby/Rails/Grape plugin: writes stack notes (queues, ORM-per-package, layout) to project memory. Triggers: \"initialize plugin\", \"setup ruby plugin\", \"configure Claude for Rails\".
intent-detectionRouting Ruby/Rails/Grape/Sidekiq/AR/Sequel/Hotwire work to the correct /rb: command BEFORE doing it. Pushy gateway, never blocks. Triggers: \"my Rails app\", \"which command\", multi-step task. Do NOT use when user typed /rb:<name>.
rb:introWalking a user through the Ruby/Rails/Grape plugin commands, capabilities, and workflow. Tutorial-style intro for newcomers who want to learn what the plugin offers rather than tackle a specific task.
rb:investigateRoot-cause analysis for Ruby/Rails/Grape bugs whose cause is unknown. Triggers: \"why is this broken\", \"root cause\", \"error analysis\". Do NOT use for: perf, tracing.
iron-lawsIron Laws of Ruby/Rails/Grape (AR, Sidekiq, security, Ruby, Hotwire, verify). Non-negotiable rules. Triggers: \"iron law\", \"non-negotiable rule\", \"iron-law-judge\".
rb:karafkaBuilding Kafka consumers and producers with Karafka in Rails: multi-threaded batch processing, message handlers, OffsetStore.
rb:learnCapturing in-flight lessons when the user corrects your approach or teaches a pattern: ActiveRecord, Rails, Grape, Sidekiq mistakes during work. Writes lightweight learning notes.
rb:perfAnalyzing performance issues in Rails, Grape, Active Record, Redis, and Sidekiq: slow endpoints, queue latency, cache misses, object churn, memory bloat, p95 spikes.
rb:permissionsAnalyzing recent Claude Code sessions to recommend safe Bash permissions entries for Ruby/Rails/Grape workflows in settings.json. Reduces approval prompts by promoting frequently-used safe commands into permissions allowlist.
rb:planPlanning Ruby/Rails/Grape features, Sidekiq, migrations before code. Accepts plan.md, interview.md, REQUIRES CHANGES review. Triggers: \"plan this feature\", \"implementation plan\", \"design before code\".
rb:pr-reviewAddressing GitHub PR review comments: fetches them via gh, categorizes by comment type (code change / question / nit / etc.), drafts responses, and optionally fixes code. Use when a reviewer leaves comments or shares a PR number/URL.
rb:provenance-scanAuditing research/review `*.provenance.md` sidecars under `.claude/`: classifies each by trust_state (clean / weak / conflicted / missing) and writes a dated report. Pure post-hoc disk analysis; no model calls, no network.
rb:quickMaking trivial one-line fixes, typos, and tiny config changes in a Ruby/Rails/Grape codebase. Skips planning ceremony: inspect, fix, verify. For obvious changes under ~20 lines.
rails-contextsDeciding where Rails logic belongs: controllers, services, forms, queries, policies, serializers. Triggers: \"where does this go\", \"extract service\", \"form object pattern\", \"Pundit policy\".
rails-idiomsRails framework idioms: controllers, before_action, callbacks, autoloading, jobs, routes. Triggers: \"Rails way\", \"callback order\", \"autoload constant\", \"route helper\". Do NOT use for: plain Ruby.
rb:boundariesAnalyzing context and service boundaries in Rails apps: detect coupling, misplaced logic, layer-interaction violations. For refactors, monolith splits, package extraction.
rb:traceTracing a request, job, or service flow through Rails/Grape/Sidekiq. Triggers: \"trace this request\", \"follow the code path\", \"where does this value change\".
rb:state-auditAuditing Rails request-scoped state hygiene: CurrentAttributes, sessions, caching policies, Redis usage, request-lifecycle leaks between calls.
rb:researchEvidence-based research on Ruby/Rails/Grape gems, upgrade paths, security choices, architecture. Cites sources. Triggers: \"research this gem\", \"upgrade path\", \"evidence for\".
rb:reviewReviewing Ruby/Rails/Grape changes via parallel specialists: correctness, security, tests, AR, Grape, Sidekiq. Triggers: \"review my changes\", \"code review\", \"check this PR\".
ruby-idiomsPlain Ruby idioms: value objects, error handling, pattern matching, ractors, YJIT. Triggers: \"frozen string literal\", \"plain Ruby code\", \"endless method\", \"value object\". Do NOT use for: Rails patterns.
rubydoc-fetcherLooking up Ruby or gem documentation cheaply via WebFetch: rubydoc.info, Rails Guides, official gem docs, API references. Low-MCP-token doc retrieval.
rb:runtimeIntegrating the Tidewave runtime for live Rails introspection: code exec, SQL queries, model inspection, log retrieval against a running server.
safe-migrationsZero-downtime Rails migrations: strong_migrations, backfill, locking, multi-step rename/drop/add-NOT-NULL. Triggers: \"is migration safe\", \"will it lock table\", \"backfill strategy\", \"add NOT NULL prod\".
rb:secretsScanning code for leaked secrets, API keys, tokens, and credentials using betterleaks. Manual on-demand scan with baseline + validate + git-history flows.
securityRails/Grape security review: authz, injection, output sanitization, SSRF. Triggers: \"is this vulnerable\", \"SQL injection\", \"XSS\", \"Brakeman warning\". Do NOT use for: secret scans.
rb:sequel-patternsApplying Sequel ORM patterns: datasets, migrations, associations, plugins, transactions, Sequel-vs-AR boundary decisions.
sidekiqSidekiq / Solid Queue jobs: idempotency, JSON-safe args, after_commit enqueue, retries. Triggers: \"perform_async\", \"worker stalled\", \"retry on failure\", \"job stuck\". Do NOT use for: HTTP endpoints, Kafka.
rb:discovery-reportDrafting an internal report from skill-discovery telemetry collected when RUBY_PLUGIN_DISCOVERY_LOG=1 is set. Reads ${CLAUDE_PLUGIN_DATA}/discovery.jsonl, summarizes hook events that matched trigger patterns, lists candidate-skill suggestions, computes per-rule match rate, suggests trigger-table twe
rb:techdebtScanning a Ruby/Rails/Grape codebase for tech-debt items: overgrown services, query repetition, callback sprawl, decorative abstractions, dead code, missing tests around legacy seams. Read-only — logs items, routes fixes elsewhere.
testingAuthoring Ruby/Rails/Grape/Sidekiq tests: request specs, factories, anti-flake. Triggers: \"RSpec patterns\", \"factory setup\", \"flaky test\". Do NOT use for: running tests, executing rspec.
rb:triageTriaging review findings: pick fix now, skip, or defer. Prioritizes Blockers (Iron Law violations, security). Triggers: \"triage\", \"which to fix\", \"prioritize findings\".
rb:verifyStrongest check stack on Ruby/Rails/Grape: CI wrapper if present, else Zeitwerk + lint + tests + Brakeman. Stops at first failure. Triggers: \"verify my work\", \"run checks\", \"CI check\".
rb:workExecuting a Ruby/Rails/Grape plan checklist: reads plan.md, runs tasks, ticks checkboxes. Resumes newest active plan. Triggers: \"implement plan\", \"resume work\", \"execute plan\".
active-record-schema-designerDesigns or reviews Active Record schemas, migrations, indexes, constraints, locking strategy, and query shape for Ruby/Rails/Grape applications.
call-tracerTraces Rails, Grape, service, model, and Sidekiq call chains from an entry point to downstream effects.
data-integrity-reviewerReviews Active Record or Sequel models, migrations, and transactions for data integrity risks, rollback safety, and constraint gaps during review.
deep-bug-investigatorInvestigates tricky Ruby/Rails/Grape bugs, race conditions, stale cache problems, and Sidekiq failures using structured evidence gathering. Writes the investigation report to a file.
dependency-analyzerAnalyze dead code, circular requires, and cross-package coupling before refactor planning, cleanup review, or modular-monolith extraction in Rails/Grape codebases.
deployment-validatorReviews deployment configuration for Ruby/Rails/Grape applications, including Docker, Procfile/process layout, migrations, assets, environment config, and Sidekiq runtime concerns.
iron-law-judgeChecks Ruby/Rails/Grape code for project Iron Law violations using pattern analysis. Use proactively after code changes or during review.
migration-safety-reviewerReviews Active Record or Sequel migrations for locking risk, rollback safety, indexes, and constraint gaps before deployment review.
output-verifierVerify factual claims in research briefs and review findings before the user acts on them. Use for version-specific, externally sourced, or policy-heavy claims that need provenance checks.
rails-architectAdvises on Rails and Grape interaction architecture, user-facing workflows, Hotwire patterns, and service-layer fit.
rails-patterns-analystAnalyzes a Ruby/Rails/Grape codebase for existing controller, endpoint, service, model, policy, serializer, and job patterns before planning or refactoring.
ruby-gem-researcherResearches Ruby gems and library swaps using primary sources, version support, migration risk, and Rails/Grape integration fit.
ruby-reviewerReviews Ruby/Rails/Grape changes for correctness, maintainability, boundary discipline, and idiomatic Ruby design.
ruby-runtime-advisorAdvises on Ruby runtime, threading, connection-pool, and background execution tradeoffs for Rails/Grape systems.
security-analyzerReviews Ruby/Rails/Grape changes for authorization gaps, SQL safety issues, unsafe rendering, secrets handling, request-boundary problems, and Sidekiq security risks.
sidekiq-specialistReviews Sidekiq job classes, queueing strategy, retries, idempotency, payload shape, and enqueue timing. Use when implementing or reviewing async workflows.
testing-reviewerReviews Ruby/Rails/Grape test code for spec quality, fixture/factory discipline, request coverage, worker coverage, and anti-flake patterns.
verification-runnerRuns the strongest available Ruby/Rails/Grape verification stack, preferring a repo-native composite verify wrapper when available, and reports the first failing step or a clean pass.
web-researcherFetches and extracts information from focused web sources efficiently. Optimized for official Ruby, Rails, Grape, Sidekiq, and gem documentation.
bash
bash
bash
bash
bash
bash
bash
bash
bash
bash
bash
bash
bash
bash
bash
bash
bash
bash
bash
bash
bash
bash
bash
bash
bash
bash
bash
bash
bash
ruby
Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques
15 skills · hooks
Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your coding agent's context.
1 MCP server
Build powerful, stateful CLI interfaces for any GUI application using the cli-anything harness methodology.
5 commands
Automates browser interactions for web testing, form filling, screenshots, and data extraction
12 skills
Use Alibaba Open Code Review from local Codex.
2 skills
Claude Code skill for creating and presenting Slidev slidedecks
1 skill
This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.