agentleFS
jabrenajabrena/cursor-rules-examples/.agents/skills/014-agile-create-user-story/SKILL.md

014-agile-create-user-story

Skill2 starsChanged 9 months agoApache-2.0View on GitHub

Guides the creation of agile user stories and Gherkin feature files. Use when the user wants to create a user story, write acceptance criteria, define Gherkin scenarios, or author BDD feature files. Part of the skills-for-java project

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before generating artifacts, gather all required information through structured questions.

    line 22
  2. Distinctive:

    MANDATORY: Ask questions from the template one-by-one in strict order before generating any artifacts

    line 24
  3. Distinctive:

    MUST: Read the reference template fresh and use exact wording—do not use cached questions

    line 25
  4. Distinctive:

    MUST: Wait for user response after each question or block before proceeding

    line 26
  5. Distinctive:

    Create a user story

    line 31
  6. Distinctive:

    Write a user story

    line 32

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Create Agile User Stories and Gherkin Feature Files

Guide the agent to ask targeted questions to gather details for a user story and its Gherkin acceptance criteria, then generate a Markdown user story and a separate Gherkin .feature file. This is an interactive SKILL.

What is covered in this Skill?

  • User story core details: title, persona, goal, benefit
  • Gherkin feature file: Feature name, background steps, scenarios
  • Acceptance criteria: Given / When / Then with data examples
  • File naming and linking between user story and feature file

Constraints

Before generating artifacts, gather all required information through structured questions. Use exact wording from the template and wait for user responses.

  • MANDATORY: Ask questions from the template one-by-one in strict order before generating any artifacts
  • MUST: Read the reference template fresh and use exact wording—do not use cached questions
  • MUST: Wait for user response after each question or block before proceeding
  • MUST: Repeat scenario questions for each additional scenario when user indicates more scenarios

When to use this skill

  • Create a user story
  • Write a user story
  • I need a user story

Reference

For detailed guidance, examples, and constraints, see references/014-agile-create-user-story.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.