agentleFS
workshop-gbbworkshop-gbb/awesome-copilot-adventures/.github/skills/frontend-requirements-and-stories/SKILL.md

frontend-requirements-and-stories

Skill1 starsChanged 2 months agoMITView on GitHub

Convert frontend intent and repository evidence into INVEST-shaped user stories, Given/When/Then acceptance criteria, journey and state maps, and story-to-test traceability. Use this skill when feature discovery, acceptance criteria, Definition of Done, or an implementation handoff is needed.

1 other project uses a version of this.

Adopted by

Most recently taken up by

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:

    Read references/invest-and-gherkin.md for splitting and wording rules.

    line 30
  2. Distinctive:

    Add responsive, input, accessibility, localization, and backend expectations only when relevant.

    line 38
  3. Distinctive:

    Consider, but do not force, these states: initial, loading, empty, partial, success, invalid, unauthorized, forbidden, not found, conflict, …

    line 44
  4. Distinctive:

    Do not invent personas, analytics, metrics, permissions, business rules, research, or hidden backend behavior.

    line 50
  5. Distinctive:

    Do not prescribe a framework or implementation detail as an acceptance criterion unless it is an approved constraint.

    line 51
  6. Distinctive:

    Do not mark a criterion complete.

    line 52

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Frontend requirements and stories

Produce stable, observable frontend requirements that engineering and QA can implement and verify without inventing product facts.

When to invoke

  • "Write user stories and acceptance criteria for this frontend feature."
  • "Map this UI journey, states, and failure paths."
  • "Create a Definition of Done for this screen."
  • "Turn this product request into testable frontend requirements."
  • "Build a story-to-test traceability matrix."

Story contract

Each story includes:

  • stable US-NNN identifier;
  • evidence-backed actor, goal, and user value;
  • scope and explicit non-goals;
  • preconditions, access rights, primary path, alternatives, failures, and recovery;
  • AC-NNN Given/When/Then criteria describing observable behavior;
  • surface, accessibility, data, backend, localization, and analytics considerations when supplied;
  • scenario and evidence mapping.

Read references/invest-and-gherkin.md for splitting and wording rules. Use assets/user-story.md and assets/traceability-matrix.md when the project has no existing format.

Procedure

  1. Inventory approved requirements, repository behavior, product language, schemas, tests, and known constraints.
  2. Separate verified facts, inferences, unknowns, non-goals, and decisions needed.
  3. Split work by independently valuable user outcome; do not split only by component or technical layer.
  4. Assign stable story and acceptance IDs and describe success, applicable failure, access, cancellation, offline, and recovery behavior.
  5. Add responsive, input, accessibility, localization, and backend expectations only when relevant.
  6. Map each acceptance ID to at least one SC-NNN scenario and a proposed automated layer or manual procedure.
  7. Review every criterion for observability and remove adjectives such as "modern", "clean", "fast", or "intuitive" unless quantified.

Acceptance states

Consider, but do not force, these states: initial, loading, empty, partial, success, invalid, unauthorized, forbidden, not found, conflict, rate limited, unavailable, timeout, offline, cancelled, retried, stale, and recovered.

Mark a state not applicable only with product, repository, or contract evidence.

Limits

  • Do not invent personas, analytics, metrics, permissions, business rules, research, or hidden backend behavior.
  • Do not prescribe a framework or implementation detail as an acceptance criterion unless it is an approved constraint.
  • Do not mark a criterion complete; implementation and QA evidence own completion.

Progressive disclosure and bundled resources

  • references/invest-and-gherkin.md: story splitting and observable acceptance rules.
  • assets/user-story.md: fallback story template.
  • assets/traceability-matrix.md: fallback story-to-scenario-to-evidence template.
  • evals/evals.json: representative output evaluations.

Output template

## Frontend requirements result
**Status:** ready | needs decision | blocked

### Evidence and unknowns
| Item | Classification | Source / owner |
| --- | --- | --- |

### Stories
#### US-001 — <user value>
- Actor / goal / value:
- Scope / non-goals:
- Preconditions / access:
- Paths and states:
- AC-001: Given ... When ... Then ...

### Traceability
| Story | Acceptance | Scenario | Risk | Proposed evidence |
| --- | --- | --- | --- | --- |

Quality gate

  • Story IDs and acceptance IDs are stable and unique.
  • Actors, value, product language, and rules are evidence-backed.
  • Criteria describe observable behavior in Given/When/Then form.
  • Applicable success, failure, access, adaptation, accessibility, and recovery states are covered.
  • Every acceptance ID maps to a scenario and proposed evidence.
  • Unknowns and decisions are explicit; no implementation preference masquerades as behavior.

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.