CtrlK
BlogDocsLog inGet started
Tessl Logo

igmarin/rails-agent-skills

Curated library of 39 AI agent skills for Ruby on Rails development. Organized by category: planning, testing, code-quality, ddd, engines, infrastructure, api, patterns, context, orchestration, and workflows. Includes 5 callable workflow skills (rails-tdd-loop, rails-review-flow, rails-setup-flow, rails-quality-flow, rails-engines-flow) for complete development cycles. Covers code review, architecture, security, testing (RSpec), engines, service objects, DDD patterns, and TDD automation.

95

1.20x
Quality

98%

Does it follow best practices?

Impact

95%

1.20x

Average score across 35 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

README.mddocs/workflows/

Workflows — Rails Agent Skills

Step-by-step guides for each stage of Rails development. Each workflow is a chain of skills executed in order.


Master Workflow Diagram

flowchart TD
    START([What do you need to do?]) --> DECISION{What stage are you at?}

    DECISION -->|New project or setup| DISCOVERY[discovery]
    DECISION -->|Plan feature| PLANNING[planning]
    DECISION -->|Configure CI/CD or environment| SETUP[setup]
    DECISION -->|Develop code| DEV[development]
    DECISION -->|Review quality| QUALITY[quality]
    DECISION -->|Code review| REVIEW[review]
    DECISION -->|Build engine| ENGINES[engines]

    DISCOVERY --> NEXT{What next?}
    PLANNING --> NEXT
    SETUP --> DEV

    NEXT -->|Implement| DEV
    NEXT -->|Done| END([PR / Merge])

    DEV -->|Tests pass| YARD[yard-documentation]
    DEV -->|Need review| REVIEW

    YARD --> REVIEW
    REVIEW -->|Feedback received| RESPOND[rails-review-response]
    RESPOND -->|Re-implement| DEV
    RESPOND -->|OK| END

    QUALITY --> REVIEW
    ENGINES --> REVIEW

Workflow Index by Stage

StageWorkflowDescriptionPrimary Skills
DiscoveryDiscovery & ContextUnderstand codebase, project onboardingrails-context-engineering, rails-project-onboarding
PlanningPlanning & DesignPlan features, PRD, tasks, DDDcreate-prd, generate-tasks, ddd-*
SetupSetup & ConfigurationConfigure CI/CD, environment, deployrails-project-onboarding (plus roadmap rails-ci-cd-setup)
DevelopmentDevelopmentTDD development, implementationrails-tdd-slices, rspec-*, implementation
QualityCode QualityConventions, refactoring, documentationrails-code-conventions, refactor-safely, yard-documentation
ReviewReview & ValidationCode review, security, architecturerails-code-review, rails-security-review, rails-architecture-review
EnginesEngine DevelopmentCreate and maintain Rails enginesrails-engine-*

Docs vs. Callable Workflow Skills

This directory contains reference guides describing each stage. For executable orchestration, use the callable workflow skills in skills/workflows/:

Stage DocCallable SkillStatus
development.mdrails-tdd-loopActive
review.mdrails-review-flowActive
setup.mdrails-setup-flowActive
quality.mdrails-quality-flowActive
engines.mdrails-engines-flowActive
discovery.md(none — linear, no orchestration needed)Doc only
planning.md(none — linear, no orchestration needed)Doc only

When to use which: Read the stage doc to understand the full context and rationale. Invoke the callable skill when you want the agent to execute the workflow automatically.


Specialized Workflows

SituationWorkflowQuick Entry
Bug fixBug Fix Looprails-bug-triage → Fix → Test
RefactoringRefactor Safelyrefactor-safely → characterization tests → extract
PerformancePerformance Optimizationrails-performance-optimization
GraphQLGraphQL Featurerails-graphql-best-practices
AuthorizationAuthorization Setuprails-authorization-policies
External APIAPI Integrationruby-api-client-integration

Quick Decision Tree

New to the project?
  ├─ Yes → rails-context-engineering → rails-project-onboarding
  └─ No → What do you need to do?

       Plan a feature?
       ├─ Yes → create-prd → generate-tasks → (ticket-planning optional)
       └─ No → Implement?

            Bug or refactor?
            ├─ Bug → rails-bug-triage
            ├─ Refactor → refactor-safely
            └─ New feature → rails-tdd-slices → rspec-best-practices

                 Code type?
                 ├─ Service → ruby-service-objects
                 ├─ REST API → ruby-api-client-integration
                 ├─ GraphQL → rails-graphql-best-practices
                 ├─ Migration → rails-migration-safety
                 ├─ Background job → rails-background-jobs
                 └─ Engine → rails-engine-author

                      Authorization/roles?
                      └─ rails-authorization-policies

                           Performance?
                           └─ rails-performance-optimization

Cross-Cutting: Tests Gate Implementation

All code-producing workflows include this gate:

Write test → Run test → Verify it FAILS → Implement → Verify it PASSES

See details in each specific workflow.


Quick Links

docs

architecture.md

implementation-guide.md

index.md

plugin-validation.md

README.md

skill-design-principles.md

skill-optimization-guide.md

skill-structure.md

skill-template.md

vs-code-setup.md

workflow-guide.md

README.md

tile.json