Loading...
Loading...
Documentation-as-Source-of-Truth workflow. Use when working with projects that use docs/ as the canonical source for definitions, rules, and tasks. Routes to specialized sub-skills for specific documentation types.
npx skill4agent add opendndapps/ogt-skills ogt-docs┌─────────────────────────────────────────────────────────────────┐
│ THE DOC-FIRST PRINCIPLE │
├─────────────────────────────────────────────────────────────────┤
│ 1. Documentation DEFINES what something IS │
│ 2. Code IMPLEMENTS what documentation specifies │
│ 3. Conflicts RESOLVE in favor of documentation │
│ │
│ If docs say X and code does Y → CODE IS WRONG │
└─────────────────────────────────────────────────────────────────┘ogt-docsdocs/
├── definitions/ # WHAT things ARE
│ ├── business/ # Business model, pricing, users
│ ├── features/ # Product features and specs
│ ├── technical/ # Architecture, services, data
│ └── domain/ # Domain-specific concepts
│
├── rules/ # HOW to IMPLEMENT
│ ├── code/ # Coding standards
│ │ ├── frontend/
│ │ ├── backend/
│ │ └── infra/
│ ├── git/ # Version control rules
│ └── domain/ # Domain-specific rules
│
├── todo/ # TASK management
│ ├── pending/ # Not started
│ ├── in_progress/ # Being worked on
│ ├── review/ # Awaiting review
│ ├── blocked/ # Cannot proceed
│ ├── done/ # Completed & verified
│ └── rejected/ # Declined tasks
│
├── guides/ # HOW-TO documents
│ └── {topic}/
│
└── social/ # Marketing & communications
├── campaigns/
├── content/
└── branding/{item_slug}/
├── {type}.md # Primary document (task.md, feature.md, etc.)
├── {supporting_files}.md # Additional documentation
└── .{signal_files} # Status markers and metadata| Sub-Skill | Purpose | Use When |
|---|---|---|
| General definition guidance | Need overview of definition types |
| Business model, pricing, users | Defining business concepts |
| Product features and specs | Specifying a new feature |
| Technical architecture | Defining services, data models |
| Brand, messaging, audience | Marketing definitions |
| Visual identity, tone | Brand guidelines |
| Tooling and CLI specs | Defining developer tools |
| Sub-Skill | Purpose | Use When |
|---|---|---|
| General rules guidance | Need overview of rule types |
| Coding standards overview | General code rules |
| Frontend-specific rules | React, CSS, components |
| Backend-specific rules | API, database, services |
| Infrastructure rules | Docker, CI/CD, deployment |
| Version control rules | Commits, branches, PRs |
| Sub-Skill | Purpose | Use When |
|---|---|---|
| Create and manage tasks | Need to create/update a task |
| Verify task completion | Checking if task is truly done |
| Sub-Skill | Purpose | Use When |
|---|---|---|
| General creation guidance | Need to create any doc type |
| Marketing content | Creating social/marketing content |
| General audit guidance | Auditing documentation |
| Initialize docs structure | Setting up new project |
| Configuration options | Customizing docs workflow |
flowchart TB
subgraph define ["1. DEFINE"]
D1[Create Definition]
D2[Get Approval]
end
subgraph regulate ["2. REGULATE"]
R1[Create Rules]
R2[Add Examples]
end
subgraph implement ["3. IMPLEMENT"]
I1[Create Task]
I2[Write Code]
I3[Review]
end
subgraph verify ["4. VERIFY"]
V1[Run Checks]
V2[Confirm Match]
end
define --> regulate --> implement --> verify
verify -->|Mismatch| implement
verify -->|Docs Wrong| defineogt-docs-defineogt-docs-create-taskogt-docs-audit-taskogt-docs-rules-codeogt-docs-init| Element | Format | Example |
|---|---|---|
| Folder slugs | snake_case | |
| Primary files | lowercase type | |
| Supporting files | lowercase descriptive | |
| Signal files | dot + snake_case | |
| Signal | Type | Meaning |
|---|---|---|
| Content | Schema/doc version (JSON) |
| Empty | Item is blocked |
| Content | Why it's blocked |
| Empty | Approved for implementation |
| Empty | Who approved |
| Empty | Rejected |
| Content | Why rejected |
| Empty | Implementation verified |
| Content | Completion timestamp |
| Empty | Who's working on it |
| Content | Associated PR URL |
| Content | Dependencies list |