plugins/exploration-cycle-plugin/skills/user-story-capture/SKILL.md
Derives, groups, and refines user stories from exploration work, prototype behavior, and business context, with prioritization for the first implementation slice. Supports standard "As a / I want / So that" format and Gherkin "Given / When / Then" Acceptance Criteria format. Trigger with "generate user stories", "write acceptance criteria", "create Gherkin scenarios", "derive stories from requirements", or "create a backlog".
npx skillsauth add richfrem/agent-plugins-skills user-story-captureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Derive structured user stories and acceptance criteria from exploration session captures.
python ./scripts/execute.py \
--input <file> [<file2>...] \
--format <standard|gherkin> \
--output <output_file.md>
Formats:
standard (default): As a [user type], I want [goal], so that [benefit] — with priority table and gaps.gherkin: Standard + Given / When / Then Acceptance Criteria blocks per story.Flags:
--input PATH [PATH ...] : Session brief, BRD draft, prototype notes, or prior captures--output PATH : Destination file (default: exploration/captures/user-stories-draft.md)--format FORMAT : Output format (default: standard)When invoked interactively, follow this 3-stage pattern. Do not dump a full story list at once.
Ask all three questions in a single message before generating anything:
exploration/ — list what you find: session brief, BRD draft, prototype notes.) If no files exist, stop and ask for input before proceeding.As a / I want / So that) or Gherkin (Given / When / Then)? Default to standard unless Gherkin is requested.After the user responds: read each input file they identify.
Build the backlog in layers — do not jump straight to full Gherkin blocks.
Outline first: Based on the input files and primary actor, present a numbered list of lightweight story titles (one line each, no ACs yet). Ask: "Which of these should we keep, cut, or merge for the first slice?"
Curate: Apply changes. Mark any story derived from unclear or inferred source material as [UNCONFIRMED].
Draft approved stories: For each kept story, write the full format:
As a [actor], I want [goal], so that [benefit].Given / When / Then AC blocks after the story statement.Gherkin format rules:
Given = precondition or system state before the action (what is already true)When = the single action or event the actor performsThen = the observable, testable outcome (what changes or appears)When per scenario. Use And for additional Given or Then clauses.Present each story and ask: "Accurate? Anything to add or change?" Apply edits before the next story.
After all approved stories are drafted:
Given / When / Then blocks for the confirmed edge cases. Mark inferred edge cases [UNCONFIRMED] until the user confirms they are real scenarios.## Story Gaps section at the end.[UNCONFIRMED] — only promote to [CONFIRMED] after human sign-off.(source: brd-draft.md, Functional Requirements)). Stories with no traceable source must be marked [UNCONFIRMED — inferred, not in source].## Story Gaps section is mandatory — list every open decision or missing actor definition exactly once.data-ai
Task management agent. Auto-invoked for task creation, status tracking, and kanban board operations using Markdown files across lane directories. V2 enforces Kanban Sovereignty constraints preventing manual task file edits.
development
Create, audit, repair, and document cross-platform symlinks that work correctly on both Windows and macOS/Linux. Use this skill whenever the user mentions symlinks, symbolic links, junction points, .gitconfig symlinks, broken links after git pull, cross-platform path issues, or needs help with ln -s equivalents on Windows. Also trigger when the user reports that files are missing or wrong after switching between Mac and Windows machines using Git. This skill solves the common problem where symlinks committed on macOS show up as plain text files on Windows (and vice versa) because of Git's core.symlinks setting or missing Developer Mode / elevated permissions. **IMPORTANT FOR WINDOWS USERS:** Developer Mode must be enabled before creating symlinks. Without it, Git will check out symlinks as plain-text files or hardlinks, breaking cross-platform workflows.
development
Interactively prepares a targeted Red Team Review package. It conducts a brief discovery interview to determine the threat model, generates a strict security auditor prompt, compiles a manifest of relevant project files, and bundles them into a single Markdown artifact or ZIP archive ready for an external LLM (like Grok, ChatGPT, or Gemini) or a human reviewer.
tools
Reduces AI agent context bloat across three dimensions: (1) duplicate skill deduplication — clears stale agent directory copies since the IDE already reads from plugins/ directly; (2) instruction file optimization — rewrites CLAUDE.md, GEMINI.md, or .github/copilot-instructions.md to under ~80 lines, keeping only rules that directly change agent behaviour; (3) session token efficiency — guidance on cheap subagent delegation, context compounding across turns, and session hygiene. Trigger with "optimize context", "reduce context bloat", "deduplicate skills", "trim CLAUDE.md", "trim GEMINI.md", "fix my context usage", "why are my skills loading twice", "how do I reduce token usage", or "clean up agent directories".