requirements-engineering
Use when "requirements document", "acceptance criteria", "user stories", "EARS format", "specification", "feature spec", "product requirements"
What this skill does
# Requirements Engineering Structured approaches for capturing what to build before how to build it. --- ## Core Principle **Specify WHAT, not HOW.** Requirements describe outcomes and behaviors, not implementation details. --- ## EARS Format **Easy Approach to Requirements Syntax** - structured acceptance criteria. | Pattern | Template | Use Case | |---------|----------|----------| | **Event-driven** | WHEN [event] THEN [system] SHALL [response] | User actions, triggers | | **Conditional** | IF [condition] THEN [system] SHALL [response] | Business rules | | **State-driven** | WHILE [state] [system] SHALL [response] | Ongoing behaviors | | **Ubiquitous** | WHERE [feature] [system] SHALL [response] | Always-true rules | | **Unconditional** | [system] SHALL [response] | Basic capabilities | ### Examples | Type | Example | |------|---------| | Event | WHEN user clicks "Submit" THEN system SHALL validate all required fields | | Conditional | IF user is not authenticated THEN system SHALL redirect to login | | State | WHILE file is uploading system SHALL display progress indicator | | Ubiquitous | WHERE data is displayed system SHALL use consistent date format | --- ## User Story Format ``` As a [role] I want [capability] So that [benefit] ``` ### Good vs Bad | Bad | Good | |-----|------| | As a user I want to login | As a returning customer I want to login with my email so that I can access my order history | | As a user I want a button | As a content creator I want a publish button so that I can share my work publicly | **Key concept**: The "so that" clause reveals the actual need - often the stated "want" isn't what's really needed. --- ## Requirements Document Structure | Section | Content | |---------|---------| | **Problem Statement** | What problem are we solving? | | **User Stories** | Who wants what and why? | | **Acceptance Criteria** | How do we know it's done? (EARS) | | **Non-Functional** | Performance, security, accessibility | | **Out of Scope** | What we're NOT building | | **Success Metrics** | How do we measure success? | --- ## Constitution (Governing Principles) For complex projects, establish guiding principles before features: | Element | Purpose | |---------|---------| | **Core Values** | What matters most (simplicity > cleverness) | | **Technical Principles** | Architecture standards | | **Decision Framework** | How to make trade-offs | | **Quality Standards** | Testing, review requirements | **Key concept**: Constitution prevents scope creep and ensures consistency across features. --- ## Clarification Techniques Before implementation, resolve ambiguities: | Technique | When to Use | |-----------|-------------| | **Ask "what if"** | Edge cases, error scenarios | | **Present options** | Multiple valid approaches | | **Challenge assumptions** | "Is this actually required?" | | **Define boundaries** | What's in/out of scope | ### Questions to Ask - What happens when [edge case]? - What does success look like? - What's the minimum viable version? - What can we defer to later? --- ## Non-Functional Requirements | Category | Questions to Answer | |----------|---------------------| | **Performance** | Response time? Throughput? Concurrent users? | | **Security** | Authentication? Authorization? Data protection? | | **Accessibility** | WCAG level? Screen reader support? | | **Scalability** | Expected growth? Peak load? | | **Reliability** | Uptime requirements? Recovery time? | --- ## Anti-Patterns | Don't | Why | |-------|-----| | Specify implementation | "Use React" locks in decisions | | Assume requirements | Validate with stakeholders | | Skip edge cases | They become bugs later | | Mix requirements with design | Conflates what with how | | Write vague criteria | "System should be fast" is untestable | --- ## Testable vs Untestable | Untestable | Testable | |------------|----------| | "Fast response" | "Response under 200ms" | | "User-friendly" | "Task completable in <3 clicks" | | "Secure" | "Passwords hashed with bcrypt" | | "Scalable" | "Handles 10K concurrent users" | **Key concept**: If you can't write a test for it, it's not a requirement - it's a wish.
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.