Skip to content

[Change] Intent Engineering Skills — SQUER Workflow for AI IDEs #349

@djm81

Description

@djm81

Why

AI IDEs generate requirements, architecture, and code but have no structured intent-capture workflow. The result is "green specs, wrong product" — every contract passes but the shipped feature misses the business outcome because no tool validated the upstream intent. ai-integration-01-agent-skill ships general spec-validation skills; it does not provide the upstream intent-engineering workflow (structured business intent interview, requirements decomposition, architecture derivation, trace validation). A dedicated intent skills set — following the SQUER intent interview model and the open Agent Skills standard — closes this gap by making persona-outcome capture and traceability validation available as first-class IDE slash commands across all supported AI IDE platforms.

What Changes

  • NEW: Intent-engineering Agent Skills at skills/specfact-intent/:
    • skills/specfact-intent/SKILL.md — umbrella intent skills entrypoint (~80 tokens at rest)
    • skills/specfact-intent-capture/SKILL.md — SQUER 7-question intent interview; captures to .specfact/requirements/{id}.req.yaml
    • skills/specfact-intent-decompose/SKILL.md — Decomposes BusinessOutcome into BusinessRule (G/W/T) and ArchitecturalConstraint
    • skills/specfact-intent-architecture/SKILL.md — Generates ADRs from requirements via specfact architecture derive
    • skills/specfact-intent-trace-validate/SKILL.md — Validates full traceability chain and generates structured fix prompts for gaps
    • skills/specfact-intent-evidence-check/SKILL.md — Checks evidence completeness across the intent-to-code chain
  • NEW: specfact ide skill install --type intent — installs intent skills to the IDE-appropriate location
  • EXTEND: specfact ide skill install — adds --type {spec,intent,all} option (backwards-compatible default: spec)
  • EXTEND: specfact ide skill list — enumerates both spec and intent skill types with install status

Acceptance Criteria

  • All 6 intent skill files are present and have valid YAML frontmatter
  • specfact ide skill install --type intent installs all 6 files successfully
  • specfact ide skill install (no --type) behaves identically to pre-change behaviour
  • specfact ide skill list shows both spec and intent skill types
  • SQUER 7-question interview maps correctly to BusinessOutcome fields
  • Each skill verifies CLI prerequisites before activation
  • Unit and contract tests pass; docs updated

Dependencies

OpenSpec Change Proposal: ai-integration-04-intent-skills

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions