Protocol and template for analyzing feature requests and producing structured requirement documents. Guides the BA agent through discovery, clarification, research, drafting, and validation phases. Output is a markdown document that team-lead and workers can read to understand exactly what to build.
From ennam-dev-agent-teamnpx claudepluginhub en-nam/ennam-claude-agent-team --plugin ennam-dev-agent-teamThis skill uses the workspace's default tool permissions.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Executes pre-written implementation plans: critically reviews, follows bite-sized steps exactly, runs verifications, tracks progress with checkpoints, uses git worktrees, stops on blockers.
When you receive a feature request, follow this protocol to produce a structured requirement document before any development begins.
Understand the request and current codebase state before asking questions.
Ask the user targeted questions to fill gaps. Rules:
Common areas to clarify:
Deep-dive into technical feasibility based on clarified requirements.
Write the requirement document using the template below. Save to:
docs/requirements/REQ-<NNN>-<short-description>.md
Naming convention:
NNN = sequential number (001, 002, ...)short-description = kebab-case, 2-4 wordsREQ-001-product-reviews.md, REQ-002-bulk-ordering.mdIf docs/requirements/ doesn't exist, create it.
Present the completed document to the user for review.
After approval, tell the user:
Requirement document saved to
docs/requirements/REQ-<NNN>-<description>.md. To start development, invoke team-lead:/agent team-lead
Use this exact structure. Scale each section to its complexity — a few sentences if straightforward, detailed if nuanced. Omit sections only if truly not applicable (mark as "N/A — [reason]").
# REQ-<NNN>: <Feature Title>
**Status**: Draft | Approved | In Development | Done
**Created**: <YYYY-MM-DD>
**Author**: business-analyst
---
## 1. Context & Background
[Why this feature is needed. What problem it solves. What prompted the request.
Reference any existing features or user feedback that led to this.]
## 2. User Stories
- As a [role], I want [action], so that [benefit].
- As a [role], I want [action], so that [benefit].
## 3. Acceptance Criteria
For each user story, define testable criteria:
### Story: [story title]
- **Given** [precondition], **when** [action], **then** [expected result].
- **Given** [precondition], **when** [action], **then** [expected result].
## 4. Domain Model
Entities and relationships affected by this feature:
| Entity | New/Modified | Key Fields | Relationships |
| ------ | -------------- | ------------------ | -------------------------- |
| [name] | [new/modified] | [field: type, ...] | [belongs to X, has many Y] |
## 5. API Contracts
Endpoints needed (reference Apidog specs where they exist):
| Method | Path | Request Body | Response | Notes |
| -------------- | ---------- | -------------- | -------- | -------------------------- |
| [GET/POST/...] | [/api/...] | [shape or N/A] | [shape] | [new/existing, Apidog ref] |
## 6. UI/UX Requirements
Screens and interactions:
- **[Screen name]**: [description of what the user sees and can do]
- **[Screen name]**: [description]
Key interactions:
- [interaction description — e.g., "clicking Add to Cart shows confirmation toast"]
## 7. Business Rules
| Rule | Description | Example |
| ---- | ------------------ | --------------------------------------------- |
| [ID] | [rule description] | [concrete example showing the rule in action] |
## 8. Technical Considerations
- **Dependencies**: [new packages, services, or infrastructure needed]
- **Migrations**: [database schema changes required]
- **Performance**: [any performance concerns or requirements]
- **Security**: [authentication, authorization, data protection needs]
## 9. Risk Assessment
| Risk | Likelihood | Impact | Mitigation |
| ------------------ | -------------- | -------------- | ----------------- |
| [risk description] | [Low/Med/High] | [Low/Med/High] | [how to mitigate] |
## 10. Out of Scope
Explicitly excluded from this feature (may be addressed later):
- [item 1 — reason for exclusion]
- [item 2 — reason for exclusion]
Before finalizing the document, verify: