How to Write Features

This document defines how a human must write feature requirements for the LLM.

Apply naming rules from prompts/flavors/01-semantic-sort-naming.md.

1. Feature Purpose

2. Feature File Location and Naming

3. Feature Structure

Every feature must contain these sections in order:

# Feature: <feature name>
    
    ## Purpose
    
    Describe the capability and the problem it solves.
    
    ## Requirements
    
    List the mandatory behavior and constraints.
    
    ## Behavior
    
    * Describe externally observable behavior.
    
    ## Dependencies
    
    * List directly required features, or state `None`.

4. Requirement Rules

5. Feature and Task Relationship

6. Feature Changes