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

planning.mddocs/workflows/

Workflow: Planning & Design (10)

When to use: You are building a new feature and need to plan before coding.


Main Flow: Standard Planning

graph TB
    subgraph Define [📝 Phase 1: Define]
        direction TB
        A[Feature idea] --> B[rails-context-engineering]
        B --> C[create-prd]
        C --> D{PRD approved?}
        D -- No --> C
    end

    subgraph Plan [📋 Phase 2: Plan]
        direction TB
        D -- Yes --> E[generate-tasks]
        E --> F{Needs DDD?}
    end

    subgraph Design [🎯 Phase 3: Design - Optional]
        direction TB
        F -- Yes --> G[ddd-ubiquitous-language]
        G --> H[ddd-boundaries-review]
        H --> I[ddd-rails-modeling]
    end

    subgraph Track [🎫 Phase 4: Track - Optional]
        direction TB
        F -- No --> J[ticket-planning]
        I --> J
    end

    J --> K((Start Development))

    %% Styling
    style Define fill:#f5f5f5,stroke:#333,stroke-dasharray: 5 5
    style Plan fill:#e1f5fe,stroke:#01579b
    style Design fill:#f3e5f5,stroke:#4a148c
    style Track fill:#e8f5e9,stroke:#1b5e20
    style D fill:#ffd54f
    style F fill:#ffd54f
    style K fill:#c8e6c9,stroke:#1b5e20,stroke-width:3px

Step 1: create-prd

Goal: Define the feature before implementing.

Output: /tasks/prd-[feature-name].md with:

  • Goals and non-goals
  • User stories
  • Functional requirements
  • Success metrics
  • Open questions

Gate: Do not implement until PRD is approved.


Step 2: generate-tasks

Goal: Convert PRD into TDD-ready tasks.

Output: /tasks/tasks-[feature-name].md with:

  • Task 0.0: Create feature branch
  • TDD task groups (4 sub-tasks each)
  • YARD documentation task
  • README/docs update task
  • Code review gate

Rules:

  • Each sub-task: 2-5 minutes
  • All file paths are exact
  • No scope creep

Step 3 (optional): DDD-First Design

When the problem is the domain itself: ambiguous language, confusing ownership, or uncertainty about where logic belongs.

DDD Sequence

  1. ddd-ubiquitous-language: Glossary, canonical terms, overloaded words
  2. ddd-boundaries-review: Bounded contexts, language leakage, ownership
  3. ddd-rails-modeling: Model, value object, service, repository, event — or simpler alternative

Key rules:

  • Start with language and invariants, not patterns
  • Do not introduce repositories or domain events without real boundary pressure
  • Prefer the smallest credible boundary improvement over DDD rewrite

Step 4 (optional): ticket-planning

When the team uses an issue tracker (Jira, Linear, GitHub Issues).

Goal: Map planning output to board-ready tickets.

Does not replace: PRD/tasks artifacts. It is an additional mapping.


Integration with Development

Planning outputNext step
Tasks readyrails-tdd-slicesdevelopment
Need additional architecturerails-architecture-reviewreview
Need migrationrails-migration-safetydevelopment

Skills in this Workflow

SkillDescriptionTrigger words
create-prdWrite requirements document"plan feature", "create PRD", "requirements"
generate-tasksBreak PRD into TDD tasks"break into tasks", "implementation plan", "task list"
ticket-planningCreate tracker tickets"create tickets", "Jira", "Linear", "GitHub Issues"
ddd-ubiquitous-languageDomain language glossary"domain terms", "ubiquitous language", "what should we call this"
ddd-boundaries-reviewBounded context review"context boundaries", "language leakage", "ownership"
ddd-rails-modelingDDD → Rails mapping"aggregate", "value object", "domain event", "repository"

Planning Flows

Standard Feature

rails-context-engineering → create-prd → generate-tasks → rails-tdd-slices

Feature with DDD

rails-context-engineering → create-prd → ddd-ubiquitous-language → ddd-boundaries-review → ddd-rails-modeling → generate-tasks → rails-tdd-slices

Planning with Tickets

create-prd → generate-tasks → ticket-planning → tracker

Key Gates

DO NOT implement until PRD is approved.
DO NOT generate tasks until PRD is stable.
DO NOT skip DDD phase when domain language is fuzzy.

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