analytics-insights
Deep dive into product analytics — investigate a question, surface insights, build a data narrative. Use when you need to go beyond dashboards to understand…
Write a detailed feature spec with requirements, edge cases, and technical constraints. Use when a feature needs formal documentation before engineering begins.
$ npx -y skills add mrthames/lean-pm-skills --skill feature-specification --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/feature-specificationContext preview
The summary Claude sees to decide when to auto-load this skill.
Write a detailed feature spec with requirements, edge cases, and technical constraints. Use when a feature needs formal documentation before engineering begins.
name: feature-specification description: Write a detailed feature spec with requirements, edge cases, and technical constraints. Use when a feature needs formal documentation before engineering begins.
Detail a feature from concept to builder-ready spec in 30-60 minutes. Claude enumerates the requirements, edge cases, error states, and integration points that humans typically miss. You provide the user context and make the trade-off calls on complexity vs. value.
| Step | Time | Claude Does | You Do | |---|---|---|---| | Define the feature | 10 min | Structure the feature description, user value, and context | Confirm the framing matches intent | | Detail requirements | 15 min | Draft functional and non-functional requirements | Validate with engineering, flag unknowns | | Enumerate edge cases | 10 min | Systematically identify edge cases and error states | Decide which to handle in v1 vs. defer | | Define acceptance criteria | 10 min | Write testable acceptance criteria for each requirement | Confirm they match what "done" means | | Document integration points | 10 min | Map API contracts, data flows, and system dependencies | Verify with engineering leads |
I need to spec out a feature: [feature name] Context: - Epic it belongs to: [epic name/link] - User segment: [who uses this] - User value: [what job it does for the user — in their words] - Business value: [why the business cares] Current state: - What exists today: [current experience or workaround] - What changes: [what's new or different] Constraints known upfront: - [Technical constraints, platform limitations, compliance requirements] - [Timeline constraints — when does this need to ship?]
Draft the requirements for this feature: Functional requirements (what it must do): - [Requirement 1] — [why] - [Requirement 2] — [why] - [Requirement 3] — [why] For each requirement, specify: - Input: what triggers this behavior - Output: what the user sees or what the system does - Rules: business logic, validation, calculations Non-functional requirements: - Performance: [latency, throughput targets] - Scale: [expected usage volume, growth projections] - Security: [authentication, authorization, data handling] - Accessibility: [WCAG level, specific accommodations] - Compatibility: [browsers, devices, OS versions, screen sizes]
This is where AI adds disproportionate value. Humans tend to spec the happy path. Claude catches the rest.
For each functional requirement, enumerate edge cases: - Empty states: what does the user see before any data exists? - Error states: what happens when the request fails, times out, or returns unexpected data? - Boundary conditions: what happens at the minimum, maximum, and zero values? - Permission states: what happens when the user doesn't have access? - Concurrent states: what happens when two users modify the same data? - Interruption states: what happens when the user abandons mid-flow, loses connection, or navigates away? - Migration states: what happens for existing users vs. new users? - Degraded states: what happens when a dependency is slow or unavailable? For each edge case: what should the user see, and what should the system do?
Write acceptance criteria for each requirement and key edge case: Format: Given [precondition] When [action] Then [expected result] Rules: - Every criterion must be testable — if you can't write a manual or automated test, rewrite it - Include both positive cases (it works) and negative cases (it handles failure) - Specify exact values where possible, not "appropriate" or "reasonable" - Include performance criteria where relevant (e.g., "responds within 200ms")
Map the integration points for this feature: For each system this feature touches: - System: [name] - Integration type: [API call, event, webhook, database query, file transfer] - Direction: [reads from / writes to / both] - Contract: [endpoint, payload format, authentication] - Failure mode: [what happens when this integration fails] - Owner: [team responsible for the other side] Data flow: - What data does this feature create, read, update, or delete? - Where does it come from and where does it go? - What's the source of truth? - Any data retention or privacy implications?
1. **Happy path only.** The feature works great when everything goes right. What about when it doesn't? Edge cases and error states are where user trust is built or broken. 2. **"Intuitive" as a requirement.** Delete the word "intuitive" from your spec. Replace it with specific, measurable criteria for what the user can accomplish and how. 3. **Missing the migration case.** Existing users with existing data will encounter this feature differently than new users. Spec both paths. 4. **No per
AI-native product management skills that move at the speed your team needs. Traditional PM frameworks were built for a world without AI — multi-week discovery sprints, day-long planning offsites, months of analysis before a decision.
Deep dive into product analytics — investigate a question, surface insights, build a data narrative. Use when you need to go beyond dashboards to understand…
Evaluate whether to build in-house, buy a vendor solution, or partner. Use when facing a make-or-buy decision for a capability.
Build a complete business case for a product investment — strategic rationale, financial model, risk assessment, and recommendation. Use when you need…
Assess and respond to a competitor move within 24-48 hours. Use when a competitor launches, changes pricing, or makes a strategic shift.
Run a compressed 5-day product discovery cycle. Use when validating whether a problem is worth solving before committing engineering resources.
Define an epic with strategic context, feature breakdown, milestones, and success metrics. Use when scoping a large body of work for planning and tracking.