Documentation update workflow. Use when modifying files in docs/ directory or any markdown files (*.md).
Workflow for documentation changes with SSOT awareness.
git-workflow Skill for branch, commit, and PR workflow.Critical: Before editing documentation, identify if the file is an SSOT or references one.
| Category | SSOT Location | Description |
|---|---|---|
| Agent behavior | AGENTS.md |
Entry point for all agents |
| Agent instruction design | docs/ai/design.md |
Command/Skill/Rule architecture |
| Label definitions | docs/guidelines/task-classification.md |
All label types and meanings |
| Label → Skill mapping | .claude/skills/label-context-mapping/ |
Operational routing |
| Coding conventions | docs/guidelines/coding-conventions.md |
Code style rules |
| Security rules | docs/guidelines/security.md |
Security requirements |
| Testing standards | docs/guidelines/testing.md |
Test requirements |
| Workflow | docs/guidelines/workflow.md |
Development workflow |
| Path | Type | Description |
|---|---|---|
AGENTS.md |
SSOT | Agent behavior entry point |
ARCHITECTURE.md |
SSOT | System architecture |
docs/guidelines/ |
SSOT | Project guidelines and standards |
docs/design/ |
Reference | Design documents |
docs/chains/ |
Reference | Chain-specific documentation |
docs/ai/task-contexts/ |
Context | Task-specific procedures |
internal/AGENTS.md |
Scoped SSOT | Internal package guidelines |
pkg/AGENTS.md |
Scoped SSOT | Public package guidelines |
AGENTS.md (entry point)
│
├─ docs/ai/design.md (instruction system design)
│
├─ docs/guidelines/ (guidelines and standards)
│ ├─ task-classification.md (label definitions, SSOT)
│ ├─ coding-conventions.md
│ ├─ security.md
│ ├─ testing.md
│ ├─ workflow.md
│ ├─ architecture.md
│ ├─ code-generation.md
│ └─ ...
│
└─ docs/ai/task-contexts/ (task-specific context)
├─ bug-fix.md, feature-add.md, etc.
└─ chains/ (chain-specific)
Before editing, determine:
If the information you're adding already exists elsewhere:
Follow markdown style guidelines:
#, ##, ###)After changes:
# Top Level (document title)
## Section
### Subsection
Always specify language:
```go
func example() {}
```
make go-lint
### Tables
Use tables for structured data:
```markdown
| Column 1 | Column 2 |
|----------|----------|
| Value 1 | Value 2 |
[link](../path/to/file.md)Use git-workflow skill for commits:
docsbtc, eth, standards, etc.)Example: docs(standards): update coding conventions for error handling
git-workflow - Branch, commit, PR workflow