mcaf-feature-spec

Generate feature specifications from Feature-Template.md with business rules and verification plans.

52|6|Updated Dec 1, 2025
One-click install
npx skills add https://github.com/managedcode/MCAF --skill mcaf-feature-spec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcaf-feature-spec
Source: https://github.com/managedcode/MCAF/tree/main/skills/mcaf-feature-spec
Command: npx skills add https://github.com/managedcode/MCAF --skill mcaf-feature-spec

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manual and inconsistent feature planning drags down delivery speed. This skill automates the creation or update of feature specs using the canonical template to ensure consistency and traceability.

Core Features & Use Cases

  • Generates or updates docs/Features/<feature>.md from docs/templates/Feature-Template.md, embedding business rules, user flows, system behavior, Mermaid diagrams, verification plans, and a Definition of Done.
  • Keeps ADRs and architecture map references in sync when architectural changes occur.
  • Enables end-to-end verification by mapping spec items to tests and architecture boundaries.

Quick Start

Create or update a feature spec using the Feature-Template.md.

Frequently Asked Questions about mcaf-feature-spec

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create consistent feature specifications from templates?

To create feature specifications, generate or update docs/Features/<feature>.md using the canonical Feature-Template.md. This enforces consistent documentation by embedding business rules, user flows, Mermaid diagrams, verification plans, and a Definition of Done directly into the spec.

What is the best way to maintain traceability between feature specs and architecture decisions?

Maintain traceability by keeping ADR and architecture map references in sync within your feature specs. Mapping spec items to tests and architecture boundaries enables end-to-end verification and ensures explicit decisions align with the modules defined in your architecture overview.

How do I scope feature planning to specific architecture modules?

Scope feature planning to specific architecture modules by referencing docs/Architecture/Overview.md when generating specifications. This ensures the feature spec accurately reflects system boundaries and maintains alignment with the broader architectural map.

Can I update existing feature documentation instead of starting from scratch?

Yes, you can update existing feature documentation. The process reads your current docs/Features/<feature>.md and applies the canonical template to refresh business rules, user flows, diagrams, and verification plans without losing your original context.

Why do I need testable requirements and explicit verification steps in a feature spec?

Testable requirements and explicit verification steps are needed to enable end-to-end verification and automate delivery speed. By mapping spec items directly to tests, you prevent manual planning inconsistencies and ensure clear, verifiable system behavior.

What should a complete feature spec include for agile development teams?

A complete feature spec should include business rules, user flows, system behavior, Mermaid diagrams, verification plans, and a Definition of Done. It must also maintain traceability to ADRs and architecture maps to ensure consistent and testable requirements.