---
_version: '1'
uuid: 123a0dcf-43b6-4aae-9c80-c43f2f883ec2
created: 2025-10-25T16:36:39.743455633Z
parents:
- uuid: 007f03ec-58ff-4cfb-b305-58fcf46be529
fingerprint: 694b343c0aa1e2d40ac2ff3e7805b6caa86fc25876c7dd700182dac26d31ec79
hrid: USR-006
---
# SYS-012 Default Template Application
## Statement
When creating a new requirement via `req add <KIND>`, if a template file exists for that kind, the tool shall use the template content as the default body content.
## Implementation Notes
- Check for template file at `.req/templates/{KIND}.md` when creating requirement
- If template exists, read file content and insert as requirement body
- If no template exists, create requirement with empty body
- Template matching tries full prefix first, then falls back to KIND only
- Template applied automatically without user intervention required
## Verification
- Creating requirement with existing template inserts template content
- Creating requirement without template results in empty body
- Template matching works for both simple (USR) and namespaced (AUTH-USR) kinds
- Template content appears correctly in created requirement file
- YAML frontmatter is added independently of template content