BOORAILS // STATUS: ONLINE SPECTER: LOW

MODE: SCRIPT-FIRST + SAFE + FUN // GITHUB

SYSTEM INIT // BOO LAYER: ON

CUT THROUGH RAILS PANIC. SHIP FEATURES THAT PASS EVERY GATE.

BooRails gives you a script-first Rails workflow: execute the framework, see gem/bootstrap status, run security + safety + quality gates, and ship with confidence.

Subtle anomaly cues enabled. Hacker signal stays clean.

claude-code :: session boorails 00:00:00

12:44:10 THINKING User invoked /rails-framework. Execute workflow script first and return 00-summary.md.

12:44:12 TOOL_CALL exec_command { cmd: "bash rails-framework/scripts/run_framework_workflow.sh --project-dir $PWD --mode strict --gemset full" }

12:44:16 TOOL_RESULT gem_bootstrap=WARN target=8 present=6 installed=2 failed=0; diagnose=PASS security=PASS safety=WARN gates=FAIL

12:44:20 EDIT apply_patch -> framework script summary includes gem target/present/installed/failed counters

12:44:24 VERIFICATION summary_path=tmp/rails-framework-workflow-*/00-summary.md; install/update one-liners documented

12:44:26 SPECTER boo_signal=stable; ambiance=haunted_low; workflow_integrity=unchanged

RUN BOOK

HOW TO RUN BOORAILS

Use these exact steps. If you only type /rails-framework without script execution, you may only load instructions.

STEP 1 // INSTALL OR UPDATE

bash -lc 'set -euo pipefail; REPO="$HOME/.boorails"; [ -d "$REPO/.git" ] || git clone https://github.com/kurenn/boorails.git "$REPO"; "$REPO"/update_skills.sh --repo-dir "$REPO"'

STEP 2 // OPEN RAILS ROOT

cd /path/to/your/rails_app && export ENABLE_LSP_TOOL=1

STEP 3 // RUN FRAMEWORK SCRIPT

bash "$HOME/.boorails/rails-framework/scripts/run_framework_workflow.sh" --project-dir "$PWD" --mode strict --gemset full --require-lsp

STEP 4 // VERIFY OUTPUT

Look for Execution Summary (Framework Workflow) and verify 02-security.md, 03-safety.md, and 04-quality-gates.md in tmp/rails-framework-workflow-*/.

FRAMEWORK DEFINITION

BOORAILS PROTOCOL

One core framework + focused skills. Every run reports findings, alternatives, validation evidence, and gem bootstrap status.

PHASE.01

INSPECT

Read architecture, conventions, boundaries, and hot paths before touching code.

PHASE.02

DIAGNOSE

Find root causes: N+1, unsafe params, callback leaks, flaky specs, deploy risks.

PHASE.03

DESIGN

Return primary approach + alternatives with tradeoffs in speed, risk, and maintainability.

PHASE.04

IMPLEMENT

Deliver convention-first Rails code: thin controllers, explicit boundaries, safe migrations.

PHASE.05

VERIFY

Run quality gates: tests, static checks, security scans, and performance regressions.

PHASE.06

IMPROVE

Capture lessons into reusable skills and scripts to make the next cycle faster.

SKILL STACK

WHAT RUNS INSIDE THE FRAMEWORK

rails-framework

Script-first orchestration: Diagnose -> Security -> Safety -> Quality Gates + consolidated summary.

rails-diagnose

Fast root-cause analysis for performance, architecture, and bug patterns.

rails-security

Deep appsec audit for XSS, SQL injection, CSRF, upload abuse, and command injection.

rails-quality-gates

Single gate for tests, style, security, and production-readiness checks.

rails-implementation-safety

Pre-merge checklists to block unsafe code paths and migration accidents.

rails-alternatives

Returns solution options with explicit cost/risk/performance tradeoffs.

rails-fun-dx

Optimizes developer joy: shorter loops, clearer feedback, less toil.

DEPLOY_IF

  • You want enterprise-grade safety without enterprise drag.
  • You need speed but still require explicit execution summaries.
  • You want Rails workflows that feel sharp and enjoyable.

ABORT_IF

  • You only want prompts without actually running scripts.
  • You ignore tests, security, and migration safety.
  • You optimize for volume over code health.