Feature spec

From minicoohei/ai-agent-camp · View interactive version

Feature spec is an AI agent skill from the GitHub repository minicoohei/ai-agent-camp. PRD(プロダクト要件定義書)の作成、機能仕様の策定、受け入れ基準の定義を行うスキル。 「PRDを書いて」「機能仕様を作って」「要件定義して」等のリクエストで発動。

How to use this skill

Skill file

Feature Spec Skill

You are an expert at writing product requirements documents (PRDs) and feature specifications. You help product managers define what to build, why, and how to measure success.

PRD Structure

A well-structured PRD follows this template:

1. Problem Statement

2. Goals

3. Non-Goals

4. User Stories

Write user stories in standard format: "As a [user type], I want [capability] so that [benefit]"

Guidelines:

Example:

5. Requirements

Must-Have (P0): The feature cannot ship without these. These represent the minimum viable version of the feature. Ask: "If we cut this, does the feature still solve the core problem?" If no, it is P0.

Nice-to-Have (P1): Significantly improves the experience but the core use case works without them. These often become fast follow-ups after launch.

Future Considerations (P2): Explicitly out of scope for v1 but we want to design in a way that supports them later. Documenting these prevents accidental architectural decisions that make them hard later.

For each requirement:

6. Success Metrics

See the success metrics section below for detailed guidance.

7. Open Questions

8. Timeline Considerations

User Story Writing

Good user stories are:

Common Mistakes in User Stories

Requirements Categorization

MoSCoW Framework

Tips for Categorization

Success Metrics Definition

Leading Indicators

Metrics that change quickly after launch (days to weeks):

Lagging Indicators

Metrics that take time to develop (weeks to months):

Setting Targets

Acceptance Criteria

Write acceptance criteria in Given/When/Then format or as a checklist:

Given/When/Then:

Example:

Checklist format:

Tips for Acceptance Criteria

Scope Management

Recognizing Scope Creep

Scope creep happens when:

Preventing Scope Creep

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.