bateau84/skills

user-stories-and-scenarios

Capture small human-centered User Stories and concrete end-to-end design Scenarios (including a meaningful failure, interruption, or edge condition) from agreed product intent.

Voir la source

Mode d’emploi

  1. Copiez la commande et examinez le paquet avant de l’installer dans votre environnement agent.
  2. Consultez le document original pour les outils, identifiants et environnements requis.
  3. Décrivez les entrées et le livrable souhaité ; comparez la sortie aux sources.
npx skills add https://github.com/bateau84/skills --skill user-stories-and-scenarios

Avant de commencer

  • L’installation n’inclut ni abonnement au modèle, ni quota API, ni accès aux fichiers.
  • Étoiles et installations reflètent l’activité, pas un test indépendant de qualité ou de sécurité.
Document Skill original

Rendu depuis le dépôt source en conservant titres, exemples, code, tableaux, liens et images.

User Stories and Scenarios

Two small, implementation-independent design artifacts. A User Story states who is trying to achieve what, in what context, and how they know they succeeded. A Scenario exercises that intent in a concrete situation, including what happens when it goes wrong. Write a story first when the human goal itself needs to be pinned down; add scenarios when journeys, branches, interruptions, or failures need to be evaluated.

User Story

Use when a human-facing capability or change needs a durable statement of who is trying to achieve what, in what context, and how they know they succeeded.

A User Story is design authority about human intent. It is not a Behavioral Requirement, architecture, task, or UI component specification.

Method

  1. Identify the closest accepted product/user authority for the human need.
  2. Name the actor by meaningful role/context, not a generic "user" when the context changes design decisions.
  3. State the trigger or situation that creates the need.
  4. State the human goal/outcome, not the feature or interface mechanism.
  5. State observable success from the person's perspective.
  6. Keep the story implementation-independent. Do not prescribe screens, APIs, storage, components, or technical workflow.
  7. Keep one coherent human goal per story. Split stories when actors, goals, or success conditions materially differ.
  8. Do not use a Story to create product capability absent from accepted authority. Surface the gap instead.
  9. Use Scenarios for concrete end-to-end situations, branches, interruptions, or failures that exercise the story.

Durable artifact

Use the consuming repository's OKF relationship vocabulary and heading rules when publishing the document. The example ## Derived from heading is illustrative; relationship type and path are repository-owned.

Store the story in the location and naming convention established by the consuming repository. For example, repositories using numbered stories may choose us-NNN-<descriptive-slug>.md; this skill does not impose an Anchor-rooted path.

markdown
# US-NNN — <descriptive title>

**Actor / context:**
<who, and context that materially affects the need>

**Trigger:**
<what situation causes the need>

**Goal:**
<what the person needs to accomplish or understand>

**Observable success:**
<what the person can observe/know when the goal is achieved>

## Derived from
- <closest accepted product/user authority>

Prefer this explicit form over ceremonial "As a / I want / so that" prose when the latter hides context or success semantics.

Design Scenario

Use when design needs a concrete situation against which journeys, interaction states, recovery, and later Product Acceptance can be evaluated.

A Design Scenario is human-centered. It is distinct from a system Quality Scenario: SC describes a person's situation and journey; QS describes a measurable system quality under a stimulus/environment.

Method

  1. Trace the scenario to an accepted User Story/product need or other accepted human-facing authority.
  2. Make the context concrete enough to affect design: actor, environment/device/work setting, prior knowledge, urgency/interruption, or other relevant conditions.
  3. State the person's goal before describing interface steps.
  4. Describe the meaningful task/journey sequence at human-visible level. Do not prescribe backend/system flow.
  5. Include at least one realistic failure, interruption, mistaken action, missing information, degraded response, or edge condition when it could materially change the experience. A happy-path-only scenario rarely exposes enough design.
  6. State the observable outcome: what the person sees/knows/can do at success, recovery, abandonment, or terminal failure.
  7. Mark consequential assumptions instead of presenting guessed user knowledge/context as fact.
  8. Keep the scenario implementation-independent enough that several interface realizations could satisfy it.
  9. Reuse accepted Scenarios as design-validation and Product Acceptance inputs; do not rewrite them merely to match implementation.

Durable artifact

Use the consuming repository's OKF relationship vocabulary and heading rules when publishing the document. The example ## Derived from heading is illustrative; relationship type and path are repository-owned.

Use the consuming repository's document path and naming rules. A numbered scenario may use sc-NNN-<descriptive-slug>.md; no Anchor-rooted layout is required by this skill.

markdown
# SC-NNN — <descriptive title>

**Context:**
<actor + concrete situation/constraints>

**Goal:**
<what the person needs to achieve>

**Scenario:**
<human-visible sequence/situation>

**Failure / edge condition:**
<meaningful failure, interruption, mistake, degraded state, or boundary case>

**Observable outcome:**
<what success/recovery/failure looks like to the person>

## Derived from
- <US and/or closest accepted human-facing authority>

Tâches connexes

du même dépôt

Autres Skills

Tous les Skills
bateau84
Communauté

behavioral-spec

Derive bounded, implementation-independent requirements from agreed product intent through goal refinement, coverage lenses, obstacle analysis, provenance tracking, and counterexample checks. Use to select, author, and reconcile Behavioral Requirements (BR), Quality Scenarios (QS), and Obligation Contracts (OC) without expanding scope. Not for concrete API/schema/protocol realization (use architectural-spec) or human-centered stories and scenarios (use user-stories-and-scenarios).

Installations / 1h
1
GitHub Stars
0
Mis à jour
18 oct.
bateau84
Communauté

desktop-ui-design

Desktop GUI design for native and hybrid applications: platform conventions (macOS HIG, Windows Fluent, GNOME HIG), menus, keyboard shortcuts, window management, session persistence, native vs Electron/Tauri trade-offs, and accessibility APIs. Use for Swift/AppKit, C/WinUI, GTK+, or Electron/Tauri/Flutter desktop design. Add web-ui-design for a web app shipped as a desktop wrapper. Not for browser-only interfaces, terminal applications (use tui-design), or command-line tools (use cli-design).

Installations / 1h
1
GitHub Stars
0
Mis à jour
18 oct.
bateau84
Communauté

git-commit-discipline

Small coherent commits, explanatory messages, shared-working-tree discipline, and safe undo/recovery. Use when asked to commit, when a diff mixes concerns, when agents share a working tree, or when undoing or recovering Git changes. Not for content conflicts (use git-conflicts).

Installations / 1h
1
GitHub Stars
0
Mis à jour
18 oct.
bateau84
Communauté

golang-dependency-injection

google/wire, uber-go/dig, uber-go/fx, samber/do, manual constructor injection, and service containers in Go. Use when designing service architecture, setting up dependency injection, refactoring tightly coupled code, or managing singletons and service factories.

Installations / 1h
1
GitHub Stars
0
Mis à jour
18 oct.