Agent skill

New Feature

by RailsEventStore in RailsEventStore/ecommerce

Plan a new feature end-to-end — impact analysis across all layers, start-from-the-middle slicing into deployable steps, then delegating to /domain, /read-model, /controller skills

MITAuto-check passedTesting & QA

Install New Feature

skills CLI
$ npx skills add RailsEventStore/ecommerce --skill new-feature -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install RailsEventStore/ecommerce new-feature --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/RailsEventStore/ecommerce.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/new-feature .claude/skills/new-feature && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
new-feature
GitHub stars
507
Token cost
~1.6k tokens
SKILL.md length
790 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

Plan a new feature end-to-end — impact analysis across all layers, start-from-the-middle slicing into deployable steps, then delegating to /domain, /read-model, /controller skills

  • Works in 7 steps: Impact analysis → Produce a plan → Slice the work — start from the middle → …
  • Testing & QA work in your project
  • SKILL.md covers When to use, What this skill does, Step-by-step process and Checklist
  • Calls bundle, rails and make

What it does

New Feature is an agent skill from RailsEventStore/ecommerce. Plan a new feature end-to-end — impact analysis across all layers, start-from-the-middle slicing into deployable steps, then delegating to /domain, /read-model, /controller skills

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA. The repository describes itself as: Application with CQRS and Event Sourcing built on Rails and Rails Event Store. The licence is MIT.

When your agent uses it

  • Testing & QA work in your project

Example prompts

  • “/new-feature”

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Impact analysis
  2. Produce a plan
  3. Slice the work — start from the middle
  4. Write each slice's test first
  5. Delegate implementation
  6. Verify each affected read model individually
  7. Final verification

What it can do on your machine

Read from SKILL.md and the folder at commit 42c6c23. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • bundle
    • rails
    • make

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • andrzejonsoftware.blogspot.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

New Feature loads about 1.6k tokens when it runs. Until then it costs about 48 tokens; SKILL.md has 790 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~48
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from RailsEventStore/ecommerce at commit 42c6c23, republished under its MIT licence (© RailsEventStore). 790 words, ~1,557 tokens.

Download SKILL.mdSave it as .claude/skills/new-feature/SKILL.md (or your agent's skills folder).
name
new-feature
description
Plan a new feature end-to-end — impact analysis across all layers, start-from-the-middle slicing into deployable steps, then delegating to /domain, /read-model, /controller skills

New Feature

When to use

Use this skill when asked to add a new user-facing feature. It ensures you think through all affected layers upfront before writing any code.

What this skill does

This skill is a planning and coordination step. It does NOT contain implementation details — those live in /domain, /read-model, and /controller. This skill ensures you:

  1. Identify everything that needs to change
  2. Slice the work start-from-the-middle into releasable steps
  3. Work test-first within each slice
  4. Then delegate implementation to the appropriate skills

Step-by-step process

1. Impact analysis

Before writing any code, search for all consumers of the affected entity's data:

bash
# Find all read models that subscribe to events from the same entity
grep -r "DomainModule::RelatedEvent" apps/rails_application/app/read_models/ -l

# Find all places that store the affected attribute
grep -r "affected_attribute" apps/rails_application/app/read_models/

# Find all views that display it
grep -r "affected_attribute" apps/rails_application/app/views/

For each read model that stores the affected data, ask:

  1. Does it subscribe to the creation event for this entity?
  2. Does it store or denormalize the attribute being changed?
  3. If yes to both: it needs a handler for the new event.

Common patterns requiring multi-read-model updates:

  • Renaming — entity names denormalized into other read models
  • Price changes — prices snapshotted in order/deal read models
  • Status changes — displayed across list views in different read models
  • Reassignment — entity associations denormalized in multiple places
2. Produce a plan

List every change needed:

  • Domain: new command, event, aggregate method, handler
  • Read models: which read models need new event handlers (list each one)
  • Controller: which actions change, new routes
  • Views: which templates change

Present this plan to the user before proceeding.

3. Slice the work — start from the middle

Reference: "Start from the middle" by Andrzej Krzywda (http://andrzejonsoftware.blogspot.com/2015/09/start-from-middle.html)

Cut the plan into the smallest vertical slices that each keep the whole suite green and are independently deployable. The slices must progress toward the full plan from step 2 — the big picture stays fixed, only the delivery is incremental.

Finding the middle: the middle is the riskiest or most essential decision of the feature — usually the new domain behavior (commands, events, the rule being enforced). The edges — real third-party adapters, imports, forms, UI polish — come last or get faked.

Slicing rules:

  • Each slice leaves the app releasable: green tests, no half-wired user-facing behavior. Dormant code is fine — an event handler or process manager nobody triggers yet is a free feature toggle in an event-driven system.
  • Fake the risky dependency first, integrate it later. A fake gateway or fake client is a legitimate slice; the real adapter is a later slice.
  • Default slice order: domain building blocks (dormant) → coordination (process managers, still dormant) → adapters/infrastructure → the final slice flips the user-visible behavior (controller/view wiring).
  • One slice = one commit (see /commit). After each slice: run the tests, commit, present to the user for acceptance, and only then start the next slice.

Present the slice list to the user before implementing.

Show full SKILL.md (356 more words)Show less
4. Write each slice's test first

Work test-first per slice: domain slices get domain tests, process manager slices get process tests, adapter slices get unit tests with the external call stubbed.

The end-to-end integration test must verify the feature works across all affected UI surfaces, not just the primary one. Draft it early to define "done", but it ships with the final wiring slice — every commit stays green, so it cannot land red before the behavior exists.

Create enough related data (orders, deals, etc.) so that secondary pages also display the affected data. Then assert the change is visible on every page that shows it.

5. Delegate implementation

Use the existing skills:

  • /domain — for commands, events, aggregates, handlers
  • /read-model — for read model event handlers and configuration
  • /controller — for controller actions, routes, views
6. Verify each affected read model individually

For every read model that was touched (not just the primary one):

  1. Add or update unit tests in the read model's test file — the integration test is not enough, mutant requires unit-level coverage
  2. Tests must use multiple records to kill where-clause removal mutations (e.g., two customers so renaming one doesn't affect the other)
  3. If a lookup table is updated alongside denormalized records, test that subsequent operations (e.g., assign after rename) use the updated lookup value
  4. Run mutant for each affected namespace:
    bash
    RAILS_ENV=test bundle exec mutant run "OrderHeader::RenameCustomer*"
    RAILS_ENV=test bundle exec mutant run "Deals::EventHandler*"
  5. 100% mutation score required before moving on
7. Final verification
  1. Integration test passes
  2. rails test test/integration/ — all integration tests pass
  3. make test — all tests green
  4. Mutant passes for all affected namespaces

Checklist

  • Searched all read models for the affected entity's data
  • Searched all views for display of the affected data
  • Listed every read model that needs a new handler
  • Work sliced start-from-the-middle; slice list accepted by the user
  • Each slice green, deployable, committed, and accepted before the next
  • Integration test covers all affected pages
  • Denormalized copies of data are updated (not just the primary table)
  • Unit tests added for every new/modified read model handler
  • Mutant run for each affected read model namespace at 100%

© RailsEventStore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/new-feature of RailsEventStore/ecommerce.

Open the folder on GitHubat commit 42c6c23

Compare with similar skills

New Feature next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

New Feature compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
New Feature this skillRailsEventStore/ecommerce507—~1.6kAutomated safety check: PassMIT
Web Application Testinganthropics/skills180k51 repos~966Automated safety check: PassApache-2.0
Diagnosing Bugsfossasia/eventyay-interpretation1.6k32 repos~2.1kAutomated safety check: PassApache-2.0
TDDpietheinstrengholt/rssmonster56430 repos~906Automated safety check: PassMIT
TDD WorkflowhellangleZ/burn-in-cceverywhere-ralph11211 repos~2.4kAutomated safety check: PassNone
TDDsanity-io/sanity6.4k20 repos~1kAutomated safety check: PassMIT

Similar skills

  • Web Application Testing

    anthropics/skills

    Official

    Tests local web applications with Python Playwright scripts, checking frontend behavior, capturing screenshots and reading browser console logs.

    180k GitHub starsUsed in 51 repos~966 tokens
    Testing & QAAuto-check passed
  • Diagnosing Bugs

    fossasia/eventyay-interpretation

    Diagnosis loop for hard bugs and performance regressions. An agent skill from fossasia/eventyay-interpretation.

    1.6k GitHub starsUsed in 32 repos~2.1k tokens
    Testing & QAAuto-check passed
  • TDD

    pietheinstrengholt/rssmonster

    Test-driven development. An agent skill from pietheinstrengholt/rssmonster.

    564 GitHub starsUsed in 30 repos~906 tokens
    Testing & QAAuto-check passed
  • TDD Workflow

    hellangleZ/burn-in-cceverywhere-ralph

    A skill your agent uses when writing new features, fixing bugs, or refactoring code.

    112 GitHub starsUsed in 11 repos~2.4k tokens
    Testing & QAAuto-check passed
  • TDD

    sanity-io/sanity

    Official

    Test-driven development with red-green-refactor loop. An agent skill from sanity-io/sanity.

    6.4k GitHub starsUsed in 20 repos~1k tokens
    Testing & QAAuto-check passed
  • Context Driven Development

    Ibrahim-3d/orchestrator-supaconductor

    A skill your agent uses when working with Conductor's context-driven development methodology, managing project context artifacts, or understanding the relationship between product.md, tech-stack.md…

    381 GitHub starsUsed in 9 repos~2.9k tokens
    Testing & QAAuto-check passed

More from RailsEventStore/ecommerce

All 8 skills in this repo
  • Commit

    RailsEventStore/ecommerce

    Create atomic git commits following project conventions. An agent skill from RailsEventStore/ecommerce.

    507 GitHub stars~767 tokensUpdated 18 days ago
    Auto-check passed
  • Controller

    RailsEventStore/ecommerce

    Create a controller with commands, read model queries, routes, and integration tests

    507 GitHub stars~1.9k tokensUpdated 18 days ago
    Auto-check passed
  • Domain

    RailsEventStore/ecommerce

    Create a new domain bounded context with aggregates, commands, events, and handlers

    507 GitHub stars~2.6k tokensUpdated 18 days ago
    Auto-check passed
  • New App

    RailsEventStore/ecommerce

    Scaffold a new Rails app with event sourcing, following project conventions (todomvc as reference)

    507 GitHub stars~3.1k tokensUpdated 18 days ago
    Auto-check passed
  • Read Model

    RailsEventStore/ecommerce

    Build a new read model following project conventions (event handlers, tests, migration, configuration)

    507 GitHub stars~3k tokensUpdated 18 days ago
    Auto-check passed
  • Upgrade Rails

    RailsEventStore/ecommerce

    Upgrade Rails framework to a newer version following the smooth upgrade methodology

    507 GitHub stars~976 tokensUpdated 18 days ago
    Auto-check passed

Categories

Questions about New Feature

What does New Feature do?

Plan a new feature end-to-end — impact analysis across all layers, start-from-the-middle slicing into deployable steps, then delegating to /domain, /read-model, /controller skills. New Feature is an agent skill from RailsEventStore/ecommerce.

When should I use New Feature?

New Feature fits situations like: testing & QA work in your project.

How do I install New Feature in Claude Code?

Run `npx skills add RailsEventStore/ecommerce --skill new-feature -a claude-code`. Or copy the skill folder (.claude/skills/new-feature in RailsEventStore/ecommerce) into .claude/skills/new-feature in your project. Claude Code loads it when a task matches its description.

How do I install New Feature in Codex?

Run `npx skills add RailsEventStore/ecommerce --skill new-feature -a codex`. Or copy the skill folder (.claude/skills/new-feature in RailsEventStore/ecommerce) into .agents/skills/new-feature in your project. Codex loads it when a task matches its description.

Can I use New Feature in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add RailsEventStore/ecommerce --skill new-feature -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/new-feature, .gemini/skills/new-feature, .github/skills/new-feature and .opencode/skills/new-feature in your project.

What does New Feature need to run?

Going by SKILL.md and its folder, New Feature needs the command-line tools its instructions call (bundle, rails and make).

Does New Feature access the network?

SKILL.md names 1 domain. As links in the text: andrzejonsoftware.blogspot.com. This is read from the text; nothing was executed.

Is New Feature safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does New Feature use?

New Feature is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does New Feature use?

About 1.6k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to New Feature?

Skills that share tags, products or a category with New Feature: Web Application Testing (anthropics/skills, 180k stars), Diagnosing Bugs (fossasia/eventyay-interpretation, 1.6k stars), TDD (pietheinstrengholt/rssmonster, 564 stars) and TDD Workflow (hellangleZ/burn-in-cceverywhere-ralph, 112 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains New Feature?

RailsEventStore (a GitHub organization) maintains it in RailsEventStore/ecommerce, which has 507 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on September 21, 2026.

Source: RailsEventStore/ecommerce on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.