Document Types and Roles
This repository uses four primary document types, each with a distinct purpose and audience.
README.md (Human-Facing)
- Purpose: Human-oriented overview and orientation
- Audience: Human maintainers and new contributors
- Contains: Project description, setup instructions, links to detailed docs
- AI Behavior:
- Read for context only
- No AI-specific behavior rules
- Do not treat as authoritative for AI actions
- Only reference if an AGENTS.md explicitly directs to a specific fact
AGENTS.md (AI-Facing Strategy)
- Purpose: AI-facing strategy and scope definition
- Audience: AI systems (code models, assistants, task runners)
- Contains: Scope, allowed operations, boundaries, safety rules, relations to other AGENTS
- AI Behavior:
- Must follow strategy defined in the most local applicable AGENTS.md
- Start from the closest applicable AGENTS.md and obey its scope and restrictions
- Navigate up/down/sideways as directed by the Relations section
Standard Sections (Required)
Every AGENTS.md must include these sections:
| Section |
Purpose |
| 1. Scope & Role |
Which part of the repository and what decisions this doc guides |
| 2. Responsibilities & Boundaries |
What is in scope, what is out of scope or forbidden |
| 3. Input & Output Conventions |
What AI assumes and what it produces (optional: can be simplified) |
| 4. Typical Decisions |
Common questions and reasoning patterns for this scope |
| 5. Safety & Restrictions |
Forbidden actions, high-risk areas, required precautions |
| 6. Relations to Other AGENTS.md |
Upward, downward, and sideways navigation |
SSOT Docs (Skill Packages)
- Purpose: Single Source of Truth (SSOT) for durable, AI-facing guidance
- Audience: AI systems
- Contains: SSOT skill entrypoints (
SKILL.md) plus supporting docs (supporting files, examples/, etc.)
- AI Behavior:
- Reference for understanding concepts and patterns
- Discover via skills/workflows (start with the
repo-routing skill if unsure)
- Do not duplicate content in AGENTS.md
Required YAML Front Matter
Only SSOT skill entrypoints (SKILL.md) require YAML front matter. Supporting docs do not require a global metadata contract.
---
name: <skill-name>
description: One-line trigger description with keywords
---
Style Requirements (Knowledge)
- Write for AI consumption: concise, structured, do/dont callouts where helpful.
- Prefer abstract flows and constraints over platform-specific commands.
- Keep AGENTS.md as strategy; keep SSOT content in skill packages (avoid duplication).
Workdocs (workdocs/ directories)
- Purpose: Scenario-local task state
- Audience: AI systems during active work
- Contains: Plans, todos, context, outcomes
- AI Behavior:
- Read/write during task execution
- Create for non-trivial, multi-step, or cross-module tasks
- Archive when work is complete; promote stable outcomes into the relevant skill package under
/.system/skills/ssot/**
Standard Workdocs Structure
Workdocs use a "required core + optional extensions" model to support both simple tasks and complex scenarios.
Required core (minimum 3 files):
workdocs/active/T-YYYYMMDD-slug/
plan.md # Current approach and next steps
context.md # Constraints, assumptions, key pointers
tasks.md # Granular TODOs and checkpoints (verifiable items)
Optional extensions (add as needed for complex scenarios):
| File |
Purpose |
When to Use |
| preparation.md |
Prerequisites, assumptions, environment setup |
Complex multi-phase work |
| outcome.md |
Results, retrospectives, follow-ups |
Work requiring documented outcomes |
| task.md |
Single-sentence task description |
Quick reference for current focus |
Naming rules:
- Use tasks.md (plural) for the verifiable checklist; do not use task.md for checklists.
- Use task.md (singular) only for a brief task description, not for checklists.
- All workdocs file names use lower_snake_case.md
Related documents
- /.system/skills/ssot/repo/architecture-core-mechanisms/knowledge-metadata/SKILL.md
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: willyu1007-ai-first-template-document-types-and-roles3description: Document Types and Roles4---5# Document Types and Roles67This repository uses four primary document types, each with a distinct purpose and audience.89## README.md (Human-Facing)1011- Purpose: Human-oriented overview and orientation12- Audience: Human maintainers and new contributors13- Contains: Project description, setup instructions, links to detailed docs14- AI Behavior:15 - Read for context only16 - No AI-specific behavior rules17 - Do not treat as authoritative for AI actions18 - Only reference if an AGENTS.md explicitly directs to a specific fact1920## AGENTS.md (AI-Facing Strategy)2122- Purpose: AI-facing strategy and scope definition23- Audience: AI systems (code models, assistants, task runners)24- Contains: Scope, allowed operations, boundaries, safety rules, relations to other AGENTS25- AI Behavior:26 - Must follow strategy defined in the most local applicable AGENTS.md27 - Start from the closest applicable AGENTS.md and obey its scope and restrictions28 - Navigate up/down/sideways as directed by the Relations section2930### Standard Sections (Required)3132Every AGENTS.md must include these sections:3334| Section | Purpose |35|---------|---------|36| 1. Scope & Role | Which part of the repository and what decisions this doc guides |37| 2. Responsibilities & Boundaries | What is in scope, what is out of scope or forbidden |38| 3. Input & Output Conventions | What AI assumes and what it produces (optional: can be simplified) |39| 4. Typical Decisions | Common questions and reasoning patterns for this scope |40| 5. Safety & Restrictions | Forbidden actions, high-risk areas, required precautions |41| 6. Relations to Other AGENTS.md | Upward, downward, and sideways navigation |4243## SSOT Docs (Skill Packages)4445- Purpose: Single Source of Truth (SSOT) for durable, AI-facing guidance46- Audience: AI systems47- Contains: SSOT skill entrypoints (`SKILL.md`) plus supporting docs (supporting files, `examples/`, etc.)48- AI Behavior:49 - Reference for understanding concepts and patterns50 - Discover via skills/workflows (start with the `repo-routing` skill if unsure)51 - Do not duplicate content in AGENTS.md5253### Required YAML Front Matter5455Only SSOT skill entrypoints (`SKILL.md`) require YAML front matter. Supporting docs do not require a global metadata contract.5657```yaml58---59name: <skill-name>60description: One-line trigger description with keywords61---62```6364### Style Requirements (Knowledge)6566- Write for AI consumption: concise, structured, do/dont callouts where helpful.67- Prefer abstract flows and constraints over platform-specific commands.68- Keep AGENTS.md as strategy; keep SSOT content in skill packages (avoid duplication).6970## Workdocs (workdocs/ directories)7172- Purpose: Scenario-local task state73- Audience: AI systems during active work74- Contains: Plans, todos, context, outcomes75- AI Behavior:76 - Read/write during task execution77 - Create for non-trivial, multi-step, or cross-module tasks78 - Archive when work is complete; promote stable outcomes into the relevant skill package under `/.system/skills/ssot/**`7980### Standard Workdocs Structure8182Workdocs use a "required core + optional extensions" model to support both simple tasks and complex scenarios.8384Required core (minimum 3 files):8586```text87workdocs/active/T-YYYYMMDD-slug/88 plan.md # Current approach and next steps89 context.md # Constraints, assumptions, key pointers90 tasks.md # Granular TODOs and checkpoints (verifiable items)91```9293Optional extensions (add as needed for complex scenarios):9495| File | Purpose | When to Use |96|------|---------|-------------|97| preparation.md | Prerequisites, assumptions, environment setup | Complex multi-phase work |98| outcome.md | Results, retrospectives, follow-ups | Work requiring documented outcomes |99| task.md | Single-sentence task description | Quick reference for current focus |100101Naming rules:102103- Use tasks.md (plural) for the verifiable checklist; do not use task.md for checklists.104- Use task.md (singular) only for a brief task description, not for checklists.105- All workdocs file names use lower_snake_case.md106107## Related documents108109- /.system/skills/ssot/repo/architecture-core-mechanisms/knowledge-metadata/SKILL.md110111---112> Converted and distributed by [TomeVault](https://tomevault.io/claim/willyu1007) — claim your Tome and manage your conversions.113<!-- tomevault:4.0:skill_md:2026-04-14 -->