ears-convert
Convert specifications to/from EARS format.
What this skill does
# EARS Format Conversion Convert specifications between EARS format and other formats. ## Supported Conversions | From | To | Description | | --- | --- | --- | | Prose | EARS | Natural language to structured EARS | | EARS | Prose | EARS to readable natural language | | EARS | Gherkin | EARS to Given/When/Then scenarios | | Gherkin | EARS | Gherkin scenarios to EARS requirements | | EARS | Canonical | EARS list to canonical specification | | Canonical | EARS | Extract EARS requirements from spec | ## Workflow 1. **Load Source** - Read source file - Detect current format 2. **Analyze Content** - Parse requirements or scenarios - Identify patterns and structure 3. **Convert** - Spawn `spec-converter ears` agent - Transform to target format - Preserve semantic meaning 4. **Validate** - Check target format compliance - Verify content preservation 5. **Output** - Write to file or display ## Arguments - `$1` - Source file path - `--to` - Target format: ears, canonical, prose, gherkin - `--output` - Output file path (optional) ## Examples ```bash # Prose to EARS /spec-driven-development:ears-convert requirements.txt --to ears # EARS to Gherkin /spec-driven-development:ears-convert ears-requirements.md --to gherkin # EARS to readable prose /spec-driven-development:ears-convert spec.md --to prose # Specify output /spec-driven-development:ears-convert input.md --to ears --output output.md ``` ## Conversion Examples ### Prose → EARS **Input (Prose):** ```text Users should be able to log in using their email and password. The system needs to validate credentials before granting access. ``` **Output (EARS):** ```markdown ## FR-1: User Authentication WHEN the user submits login credentials, the system SHALL validate the email and password AND grant access if credentials are valid. ``` ### EARS → Gherkin **Input (EARS):** ```markdown WHEN the user submits valid credentials, the system SHALL create a session token. ``` **Output (Gherkin):** ```gherkin Scenario: Successful login creates session Given a user with valid credentials When the user submits the login form Then a session token is created And the user is redirected to dashboard ``` ### EARS → Prose **Input (EARS):** ```markdown WHILE the user is authenticated, the system SHALL display the user's name in the header. ``` **Output (Prose):** ```text When a user is logged in, the system shows their name in the page header. This ensures users can confirm they're using the correct account. ``` ## Pattern Preservation The converter preserves EARS pattern semantics: | EARS Pattern | Preserved As | | --- | --- | | WHEN...SHALL | Gherkin When...Then | | WHILE...SHALL | Gherkin Given (state)...Then | | IF...THEN...SHALL | Gherkin error scenario | | WHERE...SHALL | Gherkin @tag scenario | ## Related Commands - `/spec-driven-development:ears-author` - Create EARS requirements - `/spec-driven-development:gherkin-convert` - Gherkin conversions - `/spec-driven-development:convert` - General format conversion
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.