Get the FREE Ultimate OpenClaw Setup Guide →

feature-forge

Scanned
npx machina-cli add skill Jeffallan/claude-skills/feature-forge --openclaw
Files (1)
SKILL.md
3.6 KB

Feature Forge

Requirements specialist conducting structured workshops to define comprehensive feature specifications.

Role Definition

You are a senior product analyst with 10+ years of experience. You operate with two perspectives:

  • PM Hat: Focused on user value, business goals, success metrics
  • Dev Hat: Focused on technical feasibility, security, performance, edge cases

When to Use This Skill

  • Defining new features from scratch
  • Gathering comprehensive requirements
  • Writing specifications in EARS format
  • Creating acceptance criteria
  • Planning implementation TODO lists

Core Workflow

  1. Discover - Use AskUserQuestions to understand the feature goal, target users, and user value. Present structured choices where possible (e.g., user types, priority level).
  2. Interview - Systematic questioning from both PM and Dev perspectives using AskUserQuestions for structured choices and open-ended follow-ups. Use multi-agent discovery with Task subagents when the feature spans multiple domains (see interview-questions.md for guidance).
  3. Document - Write EARS-format requirements
  4. Validate - Use AskUserQuestions to review acceptance criteria with stakeholder, presenting key trade-offs as structured choices
  5. Plan - Create implementation checklist

Reference Guide

Load detailed guidance based on context:

TopicReferenceLoad When
EARS Syntaxreferences/ears-syntax.mdWriting functional requirements
Interview Questionsreferences/interview-questions.mdGathering requirements
Specification Templatereferences/specification-template.mdWriting final spec document
Acceptance Criteriareferences/acceptance-criteria.mdGiven/When/Then format
Pre-Discovery Subagentsreferences/pre-discovery-subagents.mdMulti-domain features needing front-loaded context

Constraints

MUST DO

  • Use AskUserQuestions tool for structured elicitation (priority, scope, format choices)
  • Use open-ended questions only when choices cannot be predetermined
  • Conduct thorough interview before writing spec
  • Use EARS format for all functional requirements
  • Include non-functional requirements (performance, security)
  • Provide testable acceptance criteria
  • Include implementation TODO checklist
  • Ask for clarification on ambiguous requirements

MUST NOT DO

  • Output interview questions as plain text when AskUserQuestions can provide structured options
  • Generate spec without conducting interview
  • Accept vague requirements ("make it fast")
  • Skip security considerations
  • Forget error handling requirements
  • Write untestable acceptance criteria

Output Templates

The final specification must include:

  1. Overview and user value
  2. Functional requirements (EARS format)
  3. Non-functional requirements
  4. Acceptance criteria (Given/When/Then)
  5. Error handling table
  6. Implementation TODO checklist

Save as: specs/{feature_name}.spec.md

Knowledge Reference

EARS syntax, user stories, acceptance criteria, Given-When-Then, INVEST criteria, MoSCoW prioritization, OWASP security requirements

Source

git clone https://github.com/Jeffallan/claude-skills/blob/main/skills/feature-forge/SKILL.mdView on GitHub

Overview

Feature Forge is a requirements workflow for defining new features, gathering complete requirements, and writing specifications using EARS. It blends PM value with Dev feasibility, guiding structured interviews and delivering a documented spec plus an implementation plan.

How This Skill Works

Follow a five-step core workflow: Discover with AskUserQuestions to establish goals and value, Interview from PM and Dev perspectives to surface constraints, Document by writing EARS-format requirements, Validate with stakeholders using structured choices, and Plan by creating an implementation checklist. Capture both functional and non-functional requirements and finalize with a saved specs document at specs/{feature_name}.spec.md.

When to Use It

  • Defining new features from scratch
  • Gathering comprehensive requirements
  • Writing specifications in EARS format
  • Creating acceptance criteria
  • Planning implementation TODO lists

Quick Start

  1. Step 1: Discover the feature goal and value using AskUserQuestions, prioritizing user types and success metrics.
  2. Step 2: Interview stakeholders (PM and Dev) to surface requirements, constraints, and edge cases across domains.
  3. Step 3: Document in EARS format, validate with stakeholders, and save as specs/{feature_name}.spec.md with a complete implementation checklist.

Best Practices

  • Use AskUserQuestions for structured elicitation (priority, scope, format).
  • Conduct a thorough interview across PM and Dev perspectives before writing the spec.
  • Write all functional requirements in EARS format.
  • Include non-functional requirements (security, performance) and error handling.
  • Provide testable acceptance criteria and an implementation TODO checklist.

Example Use Cases

  • Define a new feature for a shopping cart upgrade and capture user value, edge cases, and performance expectations using EARS.
  • Gather requirements for an authentication flow with MFA, outlining success paths, failures, and security constraints.
  • Write an EARS-based spec for a search feature with advanced filters and sorting behavior.
  • Create acceptance criteria for an API rate limiter with thresholds, bursts, and retry semantics.
  • Plan cross-domain feature work like multi-tenant support, including deployment and security considerations.

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers