Claude Code Plugins

Community-maintained marketplace

Feedback

feature-specification

@Z1-Test/temp-parva-st5
0
0

Produces a structured, experience-first feature specification following a docs-first approach. Use when defining or refining a single product feature's lifecycle and outcomes.

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name feature-specification
description Produces a structured, experience-first feature specification following a docs-first approach. Use when defining or refining a single product feature's lifecycle and outcomes.

Feature Specification Authoring

What is it?

This skill generates a canonical, experience-first feature specification that defines a single feature’s intent, user lifecycle, and completion criteria.

It is docs-first and agent-ready, serving as the single source of truth for planning, review, automation, and execution.


When to Use This Skill

Use this skill when you need to:

  • Define a new feature before development planning
  • Clarify scope and non-scope for an existing feature
  • Align product and engineering on user-centric outcomes
  • Create a high-quality prompt/spec for implementation agents

Do not use this skill for:

  • roadmap planning
  • task breakdown (except tasks derived directly from scenarios)
  • technical design
  • UI or UX design (focus on functional behavior)

Core Principles

  1. Experience-First: Scenarios must focus on quality of life and the user lifecycle, not just technical mechanics.
  2. Stateless & Portable: The specification should be understandable without prior system context.
  3. Derived Tasks (Execution-Ready): All implementation tasks must be technical, actionable, and map back to specific scenarios for an AI Implementer.
  4. Observable Acceptance (Agent-Verifiable): Success must be verifiable by the Execution Agent through tests or observable system states.
  5. Gherkin-in-Markdown: Scenarios must use Gherkin keywords (Given, When, Then, And) rendered as bold Markdown text. Do NOT use code blocks (e.g., ```gherkin).
  6. Human-Centric & Dynamic: Scenarios should be written as dynamic, narrative journeys from the user's perspective, while maintaining the structural clarity of Gherkin.

Authoring Guidance

When generating a feature specification:

  • Leverage Gherkin Authoring Skill: Invoke the gherkin-authoring skill to maximize the use of Gherkin syntax (e.g., Background, Scenario Outline, Examples, Data Tables, Doc Strings) to ensure scenarios are precise and comprehensive.
  • Format as Gherkin-in-Markdown: After reasoning with the Gherkin skill, transpose the logic into pure Markdown. Use bold keywords (e.g., Scenario Outline, Examples, Given, When, Then) without code blocks.
  • Follow Scenarios 1.1 - 1.6: Ensure every user story covers the full lifecycle (Initial, Returning, Interruption, Error, Performance, Context).
  • Outcome-Oriented: Describe what the feature enables, not how it is built.
  • Explicit Boundaries: Clearly state Non-Goals to protect focus.
  • Human-Centric Errors: Scenario 1.4 must focus on clear, humane communication during failures.
  • Feature Flag Strategy: Always include a strategy in the Rollout section.

Output Structure

The output MUST follow the canonical structure defined in assets/feature-spec.template.md:

  1. Metadata: YAML block for name, context, status, and owner.
  2. Overview: Purpose and meaningful change.
  3. User Problem: Lived experience and current friction.
  4. Goals: Split into UX Goals and Business/System Goals.
  5. Non-Goals: Boundaries and deferred problems.
  6. Functional Scope: Conceptual capabilities and system responsibilities.
  7. Dependencies & Assumptions: Required conditions.
  8. User Stories & Scenarios: Detailed lifecycle scenarios (1.1 through 1.6).
  9. Edge Cases & Constraints: Experience-relevant limits.
  10. Implementation Tasks: Tasks T01-T05 defined as an Execution Agent Checklist.
  11. Acceptance Criteria: Verifiable outcomes (AC1-AC5) for the agent to confirm completion.
  12. Rollout & Risk: Strategy and Mandatory Feature Flag.
  13. History & Status: Metadata and links.

11. Rollout & Risk (Feature Flag Requirement)

This section is mandatory and must explicitly state the flag strategy:

  • No flag required: Feature is low risk and does not require a toggle.
  • Temporary flag: Include the purpose and explicit removal or promotion criteria.
  • Permanent flag: Include a justification (e.g., experiments, pricing, segmentation, or compliance).

Important Boundaries

This skill must not:

  • ask clarification questions
  • decide sequencing or next steps
  • create tasks or tickets (except the T-series tasks in section 9)
  • define implementation details
  • interact with users

All orchestration and workflow decisions belong to the calling agent.


Output Expectations

  • Tone: Neutral, precise, and humane.
  • Format: Clean Markdown following the specific hierarchy.
  • Quality: Avoid placeholders; provide specific, actionable scenarios.