claude

rails-flow

Agentic development flow for Rails 8 projects — /feature, /fix, /review, /setup-flow and /brain commands, fourteen specialist subagents (rails-developer, migration-writer, code-reviewer, spec-reviewer, test-runner, security-auditor, design-auditor, doc-updater, pr-reviewer, claim-verifier, skill-curator, claude-skills-reporter, adversary, plan-advisor), and guardrail hooks that mechanically enforce spec-proven changes, safe migrations and git discipline. Pairs with the rails-stack skills.

1 on GitHubby Fisayo Animashaunv1.66.0MITupdated 21 days agodevelopment
/

Plugin rails-flow from marketplace claude-skills in fmanimashaun/claude-skills. Commands read from the repo's manifest — 21 days 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.

What it installs

Slash commands (26)

  • /rails-flow:brain-review

    Weekly maintenance sweep of docs/brain — flag stale STATUS/evidence, surface decisions-vs-PRD drift and contradictions, compress patterns, and check hypotheses against evidence. Read-only analysis + proposed edits; never rewrites silently.

  • /rails-flow:brain-sync

    Publish this project's brain status to a shared cross-project brain repo, and consume sibling projects' status — so agentic flows in separate repos coordinate WITHOUT cloning each other. Uses gh (single-file reads/writes), git as source of truth.

  • /rails-flow:brain

    Institutionalize a lesson or decision as a docs/brain memo, indexed in MEMORY.md

  • /rails-flow:brief

    Turn a vague ask into something buildable — ingest whatever documents or code already exist, interview only the genuine gaps, and write docs/brain/BRIEF.md as an index over the sources rather than a copy of them.

  • /rails-flow:claim-coordinator

    Take the machine-wide coordinator role for THIS session, from inside it, without going to the other session to fight for it. The override a session was elected the wrong role needs: same claim as RAILS_FLOW_ROLE=coordinator, no restart.

  • /rails-flow:coordinate

    Cross-session coordination computed from the repository — who is idle with finished work, which announced paths collide, which conflicts are generated and which are the author's judgement. Reports and messages; it never merges, never writes, and stays silent on single-session work.

  • /rails-flow:curate

    Convert project docs (PRDs, branding, architecture) into project-local skills and keep them synced as documentation evolves

  • /rails-flow:drive

    Pick the one next action from repository state and say whether you may take it alone — the autonomous driver's tick, with named stopping conditions and a configurable decision-rights policy.

  • /rails-flow:escalate

    Ask the human a question on a GitHub issue, park the thread, and pick the answer up on a later tick — the async human-in-the-loop. Pillar 3 of the autonomous flow driver. Nothing blocks: the human answers on their own schedule, the flow notices whenever it next cycles, and the state survives a resta

  • /rails-flow:explain

    Explain the built system back to its human owner — plain-language docs/GUIDE.md with mermaid diagrams, section-scoped and idempotent. Also explains a PLAN before the build, so a wrong plan is rejected before it costs a build cycle.

  • /rails-flow:feature

    Orchestrated feature development — plan, spec-first implementation, quality gates, PR, tool-gated merge

  • /rails-flow:fix

    Systematically fix a bug or a phased review backlog — one issue at a time, each proven by a spec

  • /rails-flow:graph

    Regenerate the living architecture graph — docs/architecture/{graph.json,index.html,graph.md} — from routes, app/** and db/schema.rb (and every other project-owned db/*_schema.rb a second database dumps). Also runs the drift check and the release-notes delta.

  • /rails-flow:handoff

    Write the work order for a unit of work — one self-contained file an executor can run from with no conversation history, carrying the goal, the criteria it is graded by, the scope, the stop conditions, and how to verify.

  • /rails-flow:issues

    Triage the repo's open issues and work them through the matching pipeline — verify the issue's claims before editing, check that nothing it waits on is still open, group issues that are one change wearing several numbers, each PR closing what it fixed

  • /rails-flow:pr-comments

    Sweep a PR's review feedback — fix every actionable comment on-branch or fold it into a tracked repo issue; the PR must close clean before any next task

  • /rails-flow:report

    Report toolchain friction (a rails-flow/qa-flow/pipeline/design-flow/rails-stack bug, wrong guidance, a generated component that won''t build, or a feature idea) upstream as a structured, deduped, version-pinned issue. Drafts by default; add "MODE: FILE" to actually file.

  • /rails-flow:retro

    Count the review findings that recur across PRs and propose a check or a doctrine line for each — a report in docs/brain/retro/, nothing else changed

  • /rails-flow:review

    Full parallel codebase review — seven specialist passes producing a phased, /fix-consumable report

  • /rails-flow:secure-design

    Threat-model a plan that adds a security boundary, before its criteria.

  • /rails-flow:setup-flow

    Scaffold, update, or repair the rails-flow conventions in this project — CLAUDE.md, GUARDRAILS.md, docs/brain. Idempotent and safe on customized repos; can diagnose and propose fixes for a defective CLAUDE.md (fact contradictions, broken safety rules) as approved diffs, never touching deliberate cus

  • /rails-flow:slice

    Break a spec, a brief or an issue into dependency-ordered vertical slices — draft each with criteria and blocking edges, check the plan, show it for approval, then file one labelled issue per slice so /rails-flow:issues can work the frontier.

  • /rails-flow:spec

    Turn an idea or a brief into a technical spec before anything is built — read what exists, grill only the gaps one question at a time, write terms and decisions down as they settle, and save docs/product/specs/<slug>.md for /rails-flow:feature to plan from.

  • /rails-flow:toolchain-audit

    Audit an existing project's whole claude-skills setup — update the toolchain, verify the scaffolding, run every check that applies, and report in three states. The broad sibling of /rails-flow:toolchain-check, which only resolves versions.

  • /rails-flow:toolchain-check

    Check whether this project's installed claude-skills toolchain is behind what is published, and carry a durable marker across the restart an update requires. Pillar 1 of the autonomous flow driver — run it before any unattended work so the driver never builds on a stale toolchain.

  • /rails-flow:wrap

    The coordinator's handoff round, end to end — send it to every implementation session, wait out heavy runs instead of interrupting them, check every reply against git, then write the board rows and the coordinator handoff. Coordinator only.

Subagents (14)

  • adversary

    The attack pass on a RISKY diff: one that touches authentication, sessions, access rules, input parsing or privacy filters (`risky_diff.py` says so). Tries to break the change with hostile input and state, runs what it can, and returns a `VERDICT: CLEAN` or `VERDICT: BLOCKED` with the input that got

  • claim-verifier

    Verifies the CLAIMS a change makes about itself, not the code. Extracts every load-bearing assertion from a PR body, CHANGELOG entry or commit message — "X is gated", "this fails on Y", "nothing else does Z" — and checks each by running or grepping. A claim that cannot be checked is itself a finding

  • claude-skills-reporter

    Turns friction observed while USING the claude-skills toolchain (rails-flow / qa-flow / pipeline / rails-stack) into a structured, deduped, version-pinned, evidence-backed issue on the upstream marketplace repo. Scope-guarded to the toolchain only. Drafts by default; files only on explicit MODE: FIL

  • code-reviewer

    Moved to rails-stack:code-reviewer (#2173). Resolve the `reviewer` role instead.

  • design-auditor

    Moved to rails-stack:design-auditor (#2173). Resolve the `design_auditor` role instead.

  • doc-updater

    Keeps project documentation synchronized with reality at the end of a work session — README, docs/, CLAUDE.md conventions, and the docs/brain memory index. Use at session end and after any user-visible or architectural change.

  • migration-writer

    Moved to rails-stack:migration-writer (#2173). Resolve the `migrations` role instead.

  • plan-advisor

    Fable design review of a plan before the build, when advisory_scope.py says one is owed. Read-only.

  • pr-reviewer

    Structured pull-request review before merge — the default merge gate. Understands the change, checks invariants, reviews by file type, and returns a CLEAN/BLOCKED verdict. A self-written review comment is the OUTPUT of a review, not the review.

  • rails-developer

    Moved to rails-stack:rails-developer (#2173). Resolve the `developer` role instead.

  • security-auditor

    Moved to rails-stack:security-auditor (#2173). Resolve the `security` role instead.

  • skill-curator

    Transforms project documentation (PRDs, branding, architecture, domain docs) into project-local Claude skills and keeps them synchronized as docs evolve. Use via /rails-flow:curate, after doc-heavy sessions, or when the session context reports drifted curated docs.

  • spec-reviewer

    Reviews a change against its acceptance criteria TEXT, not its code style: reports criteria missing or partial, behaviour nobody asked for, and criteria built against a misreading. The Spec axis beside the `reviewer` role's Standards axis, reported separately and never merged with it. Never edits co

  • test-runner

    Moved to rails-stack:test-runner (#2173). Resolve the `test_runner` role instead.

Hooks (15)

  • PreToolUse

    /bin/bash -p "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/guard-bash.sh"

  • PreToolUse

    /bin/bash -p "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/guard-claims.sh"

  • PreToolUse

    /bin/bash -p "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/guard-worktree.sh"

  • PreToolUse

    /bin/bash -p "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/guard-pr-ready.sh"

  • PreToolUse

    /bin/bash -p "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/test-preflight.sh"

  • PreToolUse

    /bin/bash -p "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/guard-lane.sh"

  • PreToolUse

    /bin/bash -p "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/guard-plan.sh"

  • PostToolUse

    /bin/bash -p "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/self-consistency.sh"

  • PostToolUse

    /bin/bash -p "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/ci-verdict-hint.sh"

  • PostToolUseFailure

    /bin/bash -p "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/ci-verdict-hint.sh"

  • Stop

    /bin/bash -p "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/stop-gate.sh"

  • Stop

    /bin/bash -p "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/stop-where.sh"

  • Stop

    /bin/bash -p "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/wip-commit.sh"

  • SessionEnd

    /bin/bash -p "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/session-end.sh"

  • SessionStart

    /bin/bash -p "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/session-start.sh"

View source on GitHub

More from fmanimashaun/claude-skills

All 8 plugins →

Agentic UI/design flow — applies the design system so UI is consistent, modern, and responsive without a designer or Figma. /design-flow:setup scaffolds the token architecture (brand primitives -> semantic roles -> Utopia fluid scale) + layout-primitive recipes + base components through the project's UI adapter; /design-flow:component authors UI by composing layout primitives + role tokens with a fixed variant/size/state vocabulary, a11y, and prescribed responsive behavior; /design-flow:canvas composes a Claude Design prompt carrying the project's own tokens and catalog, /design-flow:port brings the returned canvas back through the project's UI adapter; /design-flow:audit flags drift. Agents: rails-ui-composer, design-auditor, design-critic, rails-ui-porter, brand-guardian, interface-auditor. Pairs with the design-system skill (bundled in rails-stack).

13 commands · 6 agents · hooks

1

qa-flow

claude

Independent, stack-agnostic QA engineering flow. The QA engineer picks the stack in qa/qa.config.yml (Playwright, Cypress+Cucumber, Selenium+pytest-bdd, Appium; free by default) — qa-flow is never forced onto one. Free, repo-local case authoring/management (/qa-flow:cases → qa/test-cases.csv; Testmo opt-in) and agentic functional testing via Playwright MCP (/qa-flow:functional): auto-maps flows, self-adapting locators, evidence-based Markdown/CSV reports. Plus risk-based planning, defect filing, PR-native results, and a hook-enforced dev->main certification gate.

8 commands · 11 agents · hooks

1

Rails 8.1 + Hotwire development doctrine: vanilla-first stack, pure RSpec testing, Turbo/Stimulus/Hotwire Native, OpenAPI docs via rswag, ruby_llm AI features, Kamal 2 deployment, plus the design system (tokens, layout primitives, component catalog), review doctrine for the defect class authors are blind to — code that does not do what its own docs, config and project rules claim — and an advisory quality pass (reuse, simplification, efficiency, altitude) that runs second and never blocks a merge. Bundles the rails-8, hotwire, design-system, code-review, quality-pass, derived-artifacts and parallel-session-lane skills.

7 skills · 7 agents · hooks

1

pipeline

claude

Lifecycle orchestrator over rails-flow and qa-flow — build -> verify -> certify -> containerized release, honoring every gate. Release artifact is a versioned ghcr.io Docker image (local pull-and-run today, Kamal cloud when ready). /pipeline:deploy-cloud reads a prepared .env and generates the full Kamal 2 config + wires secrets safely (committed deploy.yml references names; gitignored .kamal/secrets holds values), then deploys with approval.

9 commands · 1 agent · hooks

1

Next.js + Supabase + Vercel stack, 0.1.0, an early release: conventions for how the three fit together, the stack's markers for the stack detector, and a React frontend architecture (the react skill) whose rules are each enforced by lint, nextjs-stack's checks, a declaration or a recorded review verdict. feature/fix/review still lean on the Rails-flavoured agents. Platform knowledge stays in Vercel's official plugin (vercel-plugin) and Supabase's supabase/agent-skills, which it points to rather than copies.

2 skills

1

Deliberately generic Rails guidance. This is the benchmark's CONTROL arm, not a product — it exists so a win for rails-stack can be attributed to the content of our doctrine rather than to the mere presence of a loaded skill. Never publish or install this.

1 skill

1

Similar plugins

Matt Pocock's agent skills for real engineering (grilling, spec/ticket flows, TDD, code review, domain modelling and more).

39 skills

mattpocock/skills 323,108

superpowers

claudecodex

Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques

15 skills · hooks

obra/superpowers 316,836

context7

claudecodex

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

upstash/context7 64,709

Build powerful, stateful CLI interfaces for any GUI application using the cli-anything harness methodology.

5 commands

HKUDS/CLI-Anything 58,665

Automates browser interactions for web testing, form filling, screenshots, and data extraction

12 skills

vercel-labs/agent-browser 50,373

Use Alibaba Open Code Review from local Codex.

2 skills

alibaba/open-code-review 50,068

Maintain rails-flow?

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.

claude & codex plugins8 plugins