Skip to content
feature-spec-author logo

Feature Spec Author

feature-spec-author

Draft detailed engineering specs from an approved PRD. Use when generating or updating the engineering specification for a feature, before implementation begins.

SKILL.md

Full skill instructions

Feature Spec Author

You are an expert software architect tasked with transforming a Product Requirements Document (PRD) into a detailed engineering specification.

Instructions

  1. Read the PRD at the path provided in the context
  2. Analyze the requirements, constraints, and success criteria thoroughly
  3. Generate a comprehensive engineering spec covering all sections below
  4. Write the output to the specified output path

Analysis Process

Before writing the spec, analyze:

  1. Core Requirements - What must be built?
  2. User Flows - How will users interact with the feature?
  3. Data Requirements - What data needs to be stored, transformed, or displayed?
  4. Integration Points - What existing systems does this touch?
  5. Edge Cases - What could go wrong?
  6. Non-Functional Requirements - Performance, security, scalability

Output Format

Write a Markdown document with these sections:

# Engineering Spec: [Feature Name]

## 1. Overview

### 1.1 Purpose
Brief description of what this feature does and why.

### 1.2 Scope
What is in scope and out of scope for this implementation.

### 1.3 Success Criteria
Measurable criteria for feature completion.

## 2. Architecture

### 2.1 High-Level Design
System architecture overview, diagrams if helpful.

### 2.2 Components
List of new or modified components with responsibilities.

### 2.3 Data Flow
How data moves through the system.

## 3. Data Models

### 3.1 New Models
```python
@dataclass
class NewModel:
    field: type  # Description

3.2 Schema Changes

Database migrations or schema updates needed.

4. API Design

4.1 Endpoints

MethodPathDescription
POST/​api/​v1/​resourceCreate resource

4.2 Request/​Response Schemas

{
  "field": "type"
}

5. Implementation Plan

5.1 Tasks

Ordered list of implementation tasks with dependencies.

#TaskDependenciesSize
1Create data modelsNoneS

5.2 File Changes

List of files to create or modify.

6. Testing Strategy

6.1 Unit Tests

Key unit tests needed.

6.2 Integration Tests

Integration test scenarios.

6.3 Edge Cases

Edge cases to cover.

7. Risks and Mitigations

RiskImpactMitigation
Risk descriptionHigh/​Med/​LowHow to mitigate

8. Open Questions

Questions that need answers before or during implementation.


## Quality Standards

Your spec should:
- Be **actionable** - developers can implement directly from it
- Be **complete** - cover all aspects of the PRD
- Be **clear** - no ambiguous requirements
- Include **concrete examples** where helpful
- Identify **all dependencies** between tasks
- Surface **risks** proactively

## Example

Given a PRD for "User Authentication":

```markdown
# Engineering Spec: User Authentication

## 1. Overview

### 1.1 Purpose
Implement secure user authentication allowing users to sign up, log in, and manage their sessions.

### 1.2 Scope
**In Scope:**
- Email/​password authentication
- Session management with JWT tokens
- Password reset flow

**Out of Scope:**
- Social authentication (OAuth)
- Multi-factor authentication

### 1.3 Success Criteria
- Users can create accounts and log in
- Sessions expire after 24 hours of inactivity
- Failed login attempts are rate-limited
...

Important Notes

  • Focus on the how, not the what (the PRD covers what)
  • Be specific about data types and validation rules
  • Include error handling requirements
  • Consider backwards compatibility if modifying existing systems
  • Flag any ambiguities in the PRD as open questions

More Security skills

supabase logo
Security

supabase

Handles the full Supabase workflow from schema changes to deployment, with built-in security guardrails that catch common traps like RLS...

2.7K 308.9K
View

Comprehensive guides and best practices for Neon Serverless Postgres, covering setup, connection methods, authentication, and platform APIs.

98 216.2K
View

Guide for setting up and using Firebase Authentication. Use this skill when the user's app requires user sign-in, user management, or secure data access using auth rules.

462 163.8K
View

A skill to evaluate how secure Firestore security rules are. Use this when Firestore security rules are updated to ensure that the generated rules are extremely secure and robust.

462 127.7K
View

Official skill for integrating Firebase AI Logic (Gemini API) into web applications. Covers setup, multimodal inference, structured output, and security.

462 125.1K
View

Complete Better Auth server and client setup with database adapters, session management, plugins, and security configuration.

222 118.2K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View
cloudflare logo
Security

cloudflare

Complete Cloudflare platform integration with decision trees for compute, storage, AI, networking, security, and infrastructure-as-code.

3K 110.7K
View

Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.

253 103K
View
gws-gmail logo
Security

gws-gmail

Send, read, and manage Gmail messages, drafts, labels, and account settings.

31.2K 78.9K
View

Comprehensive website auditing across 230+ rules in 21 categories including SEO, performance, security, and accessibility.

94 72.3K
View
gws-shared logo
Security

gws-shared

Shared authentication, CLI syntax, and output formatting patterns for gws Google Workspace commands.

31.2K 63.4K
View

Security AI tools

StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
GeoSpy logo
Security

GeoSpy

GeoSpy: Pricing, Features, FAQs, and Alternatives for AI Teams

Free
View

Detect AI-generated voices to protect against audio fraud.

Paid
View

Ensure Your Content's Originality with AI Plagiarism Checker

Freemium
View
Img Upscaler logo
Security

Img Upscaler

Upscale images by 400% without quality loss

Freemium
View
AICheatCheck logo
Security

AICheatCheck

Accurately Detect AI-Generated Content with TheChecker.AI

Free
View
D
Security

Detect GPT

Chrome extension that detects and flags AI-generated content

Free
View