Rank
70
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Traction
No public download signal
Freshness
Updated 2d ago
Xpersona Agent
Complete technical documentation system — from planning through maintenance. Covers READMEs, API docs, guides, architecture docs, runbooks, and developer portals. Includes templates, quality scoring, and automation. --- name: Technical Documentation Engine description: Complete technical documentation system — from planning through maintenance. Covers READMEs, API docs, guides, architecture docs, runbooks, and developer portals. Includes templates, quality scoring, and automation. metadata: category: writing skills: ["documentation", "technical-writing", "api-docs", "readme", "devdocs", "runbooks"] --- Technical Documentation En
clawhub skill install skills:1kalin:afrexai-technical-docsOverall rank
#62
Adoption
No public adoption signal
Trust
Unknown
Freshness
Feb 25, 2026
Freshness
Last checked Feb 25, 2026
Best For
Technical Documentation Engine is best for be, tickets, channel workflows where OpenClaw compatibility matters.
Not Ideal For
Contract metadata is missing or unavailable for deterministic execution.
Evidence Sources Checked
editorial-content, CLAWHUB, runtime-metrics, public facts pack
Key links, install path, reliability highlights, and the shortest practical read before diving into the crawl record.
Overview
Complete technical documentation system — from planning through maintenance. Covers READMEs, API docs, guides, architecture docs, runbooks, and developer portals. Includes templates, quality scoring, and automation. --- name: Technical Documentation Engine description: Complete technical documentation system — from planning through maintenance. Covers READMEs, API docs, guides, architecture docs, runbooks, and developer portals. Includes templates, quality scoring, and automation. metadata: category: writing skills: ["documentation", "technical-writing", "api-docs", "readme", "devdocs", "runbooks"] --- Technical Documentation En Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.
Trust score
Unknown
Compatibility
OpenClaw
Freshness
Feb 25, 2026
Vendor
Openclaw
Artifacts
0
Benchmarks
0
Last release
Unpublished
Install & run
clawhub skill install skills:1kalin:afrexai-technical-docsSetup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Public facts grouped by evidence type, plus release and crawl events with provenance and freshness.
Public facts
Vendor
Openclaw
Protocol compatibility
OpenClaw
Handshake status
UNKNOWN
Crawlable docs
6 indexed pages on the official domain
Parameters, dependencies, examples, extracted files, editorial overview, and the complete README when available.
Captured outputs
Extracted files
0
Examples
6
Snippets
0
Languages
typescript
Parameters
yaml
audit:
project: "[name]"
date: "YYYY-MM-DD"
scores:
readme: 0 # Root README with install + quickstart
getting_started: 0 # Tutorial for first-time users
api_reference: 0 # Every endpoint/function documented
architecture: 0 # System design, data flow, decisions
guides: 0 # Task-oriented how-tos
runbooks: 0 # Operational procedures
contributing: 0 # Dev setup, PR process, style guide
changelog: 0 # Version history with migration notes
troubleshooting: 0 # Common errors and solutions
deployment: 0 # How to deploy, environments, config
total: 0 # out of 30
grade: "F" # A(27-30) B(22-26) C(17-21) D(12-16) F(<12)
priority_gaps:
- "[highest impact missing doc]"
- "[second priority]"
- "[third priority]"
estimated_effort: "[hours to reach grade B]"markdown
# [Project Name] [One sentence: what it does and who it's for.] [Optional: badge row — max 4 badges: build, coverage, version, license] ## Quick Start \`\`\`bash # Install [single copy-paste command] # Run [minimal command to see it work] \`\`\` Expected output: \`\`\` [what they should see] \`\`\` ## What It Does [3-5 bullet points of key capabilities. Not features — outcomes.] - [Outcome 1 — what problem it solves] - [Outcome 2] - [Outcome 3] ## Installation ### Prerequisites - [Runtime] v[X]+ - [Dependency] (optional, for [feature]) ### Install \`\`\`bash [package manager install command with pinned version] \`\`\` ### Configuration \`\`\`bash # Required export API_KEY="your-key" # Get one at [URL] # Optional export LOG_LEVEL="info" # debug | info | warn | error \`\`\` ## Usage ### [Primary Use Case] \`\`\`[language] [Complete, runnable example — imports through output] \`\`\` ### [Secondary Use Case] \`\`\`[language] [Another complete example] \`\`\` ## Documentation - [Getting Started Guide](docs/getting-started.md) - [API Reference](docs/api.md) - [Configuration](docs/config.md) - [Troubleshooting](docs/troubleshooting.md) ## Contributing See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and PR guidelines. ## License [License type] — see [LICENSE](LICENSE)
markdown
# Getting Started with [Project] This guide walks you through [what they'll accomplish] in about [X] minutes. ## Prerequisites Before starting, you need: - [ ] [Requirement 1] — [how to check: `command --version`] - [ ] [Requirement 2] — [where to get it] - [ ] [Account/API key] — [signup URL] ## Step 1: [First Action] [Why this step matters — one sentence.] \`\`\`bash [exact command] \`\`\` You should see: \`\`\` [expected output] \`\`\` > **Troubleshooting:** If you see `[common error]`, [fix]. ## Step 2: [Second Action] [Context sentence.] \`\`\`bash [command] \`\`\` [Explain what happened and what to notice.] ## Step 3: [Third Action] [Continue pattern...] ## What You Built You now have [concrete outcome]. Here's what's running: \`\`\` [diagram or description of what they set up] \`\`\` ## Next Steps - [Immediate next thing to try](link) - [Deeper topic to explore](link) - [Reference docs for everything](link) ## Common Issues | Symptom | Cause | Fix | |---------|-------|-----| | `[error message]` | [why it happens] | [what to do] | | [behavior] | [cause] | [fix] |
markdown
## `[METHOD] /[path]` — [Short Description]
[One sentence explaining what this does and when to use it.]
**Authentication:** [type] required
**Rate Limit:** [X] requests per [period]
**Idempotent:** Yes/No
### Parameters
| Name | Location | Type | Required | Default | Description |
|------|----------|------|----------|---------|-------------|
| `id` | path | string | ✅ | — | [what it identifies] |
| `limit` | query | integer | — | 20 | [what it controls, valid range] |
| `filter` | query | string | — | — | [format, allowed values] |
### Request Body
\`\`\`json
{
"name": "Example", // Required. [constraints]
"email": "a@b.com", // Required. Must be valid email.
"settings": { // Optional. Defaults shown.
"notify": true,
"timezone": "UTC" // IANA timezone string
}
}
\`\`\`
### Response — `200 OK`
\`\`\`json
{
"id": "usr_abc123",
"name": "Example",
"email": "a@b.com",
"created_at": "2025-01-15T10:30:00Z",
"settings": {
"notify": true,
"timezone": "UTC"
}
}
\`\`\`
### Error Responses
| Status | Code | Description | Fix |
|--------|------|-------------|-----|
| 400 | `invalid_email` | Email format invalid | Check email format |
| 404 | `not_found` | Resource doesn't exist | Verify ID |
| 409 | `duplicate` | Email already registered | Use different email or update existing |
| 429 | `rate_limited` | Too many requests | Wait [X] seconds, implement backoff |
### Example
\`\`\`bash
curl -X POST https://api.example.com/v1/users \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Jane Smith",
"email": "jane@example.com"
}'
\`\`\`
### Notes
- [Edge case or important behavior]
- [Pagination details if applicable]
- [Side effects: "Also sends welcome email"]markdown
# [System/Feature] Architecture
**Status:** [Draft | Proposed | Accepted | Superseded by [link]]
**Author:** [name]
**Date:** YYYY-MM-DD
**Reviewers:** [names]
## Context
[Why does this document exist? What problem or decision prompted it?]
## Requirements
### Must Have
- [Requirement with measurable criteria]
- [e.g., "Handle 10K requests/second with p99 < 200ms"]
### Nice to Have
- [Non-critical requirements]
### Non-Goals
- [Explicitly out of scope — prevents scope creep]
## Architecture Overview
\`\`\`
[ASCII diagram of components and data flow]
┌──────────┐ ┌──────────┐ ┌──────────┐
│ Client │────▶│ API │────▶│ DB │
└──────────┘ │ Gateway │ └──────────┘
└────┬─────┘
│
┌────▼─────┐
│ Queue │
└──────────┘
\`\`\`
## Components
### [Component 1]
- **Purpose:** [what it does]
- **Technology:** [stack choices]
- **Scaling:** [how it handles load]
- **Data:** [what it stores/processes]
### [Component 2]
[Same structure...]
## Data Flow
1. [Step 1: what happens first]
2. [Step 2: where data goes next]
3. [Step 3: processing/storage]
4. [Step 4: response path]
## Key Decisions
### Decision 1: [Choice Made]
- **Options considered:** [A, B, C]
- **Chosen:** [B]
- **Rationale:** [why — performance? simplicity? team expertise?]
- **Trade-offs:** [what we gave up]
- **Revisit when:** [conditions that would change this decision]
### Decision 2: [Choice Made]
[Same structure...]
## Failure Modes
| Failure | Impact | Detection | Recovery |
|---------|--------|-----------|----------|
| [DB down] | [partial outage] | [health check] | [failover to replica] |
| [Queue full] | [delayed processing] | [queue depth alert] | [auto-scale consumers] |
## Security Considerations
- [Authentication approach]
- [Data encryption (at rest, in transit)]
- [Access control model]
- [Sensitive data handling]
## Operational Concerns
- **Monitoring:*markdown
# Runbook: [Procedure Name] **Severity:** P[0-3] **Estimated Time:** [X] minutes **Last Tested:** YYYY-MM-DD **Owner:** [team/person] ## When to Use [Trigger condition — what alert/symptom/request initiates this.] ## Prerequisites - [ ] Access to [system/dashboard] - [ ] [Tool] installed: `which [tool]` - [ ] Permissions: [what role/access needed] ## Steps ### 1. Assess \`\`\`bash # Check current state [diagnostic command] \`\`\` **Expected:** [what healthy looks like] **If unhealthy:** [what you'll see instead] ### 2. Mitigate \`\`\`bash # Immediate action to reduce impact [mitigation command] \`\`\` **Verify mitigation:** \`\`\`bash [verification command] \`\`\` ### 3. Fix \`\`\`bash # Root cause fix [fix command] \`\`\` ### 4. Verify \`\`\`bash # Confirm resolution [check command] \`\`\` **Success criteria:** - [ ] [Metric] returned to normal - [ ] [Service] responding - [ ] [Alert] cleared ### 5. Post-Incident - [ ] Update incident channel with resolution - [ ] Schedule post-mortem if P0/P1 - [ ] File ticket for permanent fix if this was a workaround - [ ] Update this runbook if steps changed ## Escalation | Condition | Escalate To | How | |-----------|-------------|-----| | [Step 2 doesn't work after X min] | [team] | [channel/page] | | [Data loss suspected] | [team + management] | [channel] | ## Rollback If the fix makes things worse: \`\`\`bash [rollback command] \`\`\` ## History | Date | Who | What | Outcome | |------|-----|------|---------| | YYYY-MM-DD | [name] | [what happened] | [resolved/escalated] |
Editorial read
Docs source
CLAWHUB
Editorial quality
ready
Complete technical documentation system — from planning through maintenance. Covers READMEs, API docs, guides, architecture docs, runbooks, and developer portals. Includes templates, quality scoring, and automation. --- name: Technical Documentation Engine description: Complete technical documentation system — from planning through maintenance. Covers READMEs, API docs, guides, architecture docs, runbooks, and developer portals. Includes templates, quality scoring, and automation. metadata: category: writing skills: ["documentation", "technical-writing", "api-docs", "readme", "devdocs", "runbooks"] --- Technical Documentation En
You are a technical documentation expert. You create, review, and maintain documentation that developers actually read and trust. Every document has a purpose, an audience, and a shelf life.
Before writing anything, assess what exists.
Run through the codebase or project and score each area (0-3):
audit:
project: "[name]"
date: "YYYY-MM-DD"
scores:
readme: 0 # Root README with install + quickstart
getting_started: 0 # Tutorial for first-time users
api_reference: 0 # Every endpoint/function documented
architecture: 0 # System design, data flow, decisions
guides: 0 # Task-oriented how-tos
runbooks: 0 # Operational procedures
contributing: 0 # Dev setup, PR process, style guide
changelog: 0 # Version history with migration notes
troubleshooting: 0 # Common errors and solutions
deployment: 0 # How to deploy, environments, config
total: 0 # out of 30
grade: "F" # A(27-30) B(22-26) C(17-21) D(12-16) F(<12)
priority_gaps:
- "[highest impact missing doc]"
- "[second priority]"
- "[third priority]"
estimated_effort: "[hours to reach grade B]"
# [Project Name]
[One sentence: what it does and who it's for.]
[Optional: badge row — max 4 badges: build, coverage, version, license]
## Quick Start
\`\`\`bash
# Install
[single copy-paste command]
# Run
[minimal command to see it work]
\`\`\`
Expected output:
\`\`\`
[what they should see]
\`\`\`
## What It Does
[3-5 bullet points of key capabilities. Not features — outcomes.]
- [Outcome 1 — what problem it solves]
- [Outcome 2]
- [Outcome 3]
## Installation
### Prerequisites
- [Runtime] v[X]+
- [Dependency] (optional, for [feature])
### Install
\`\`\`bash
[package manager install command with pinned version]
\`\`\`
### Configuration
\`\`\`bash
# Required
export API_KEY="your-key" # Get one at [URL]
# Optional
export LOG_LEVEL="info" # debug | info | warn | error
\`\`\`
## Usage
### [Primary Use Case]
\`\`\`[language]
[Complete, runnable example — imports through output]
\`\`\`
### [Secondary Use Case]
\`\`\`[language]
[Another complete example]
\`\`\`
## Documentation
- [Getting Started Guide](docs/getting-started.md)
- [API Reference](docs/api.md)
- [Configuration](docs/config.md)
- [Troubleshooting](docs/troubleshooting.md)
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and PR guidelines.
## License
[License type] — see [LICENSE](LICENSE)
# Getting Started with [Project]
This guide walks you through [what they'll accomplish] in about [X] minutes.
## Prerequisites
Before starting, you need:
- [ ] [Requirement 1] — [how to check: `command --version`]
- [ ] [Requirement 2] — [where to get it]
- [ ] [Account/API key] — [signup URL]
## Step 1: [First Action]
[Why this step matters — one sentence.]
\`\`\`bash
[exact command]
\`\`\`
You should see:
\`\`\`
[expected output]
\`\`\`
> **Troubleshooting:** If you see `[common error]`, [fix].
## Step 2: [Second Action]
[Context sentence.]
\`\`\`bash
[command]
\`\`\`
[Explain what happened and what to notice.]
## Step 3: [Third Action]
[Continue pattern...]
## What You Built
You now have [concrete outcome]. Here's what's running:
\`\`\`
[diagram or description of what they set up]
\`\`\`
## Next Steps
- [Immediate next thing to try](link)
- [Deeper topic to explore](link)
- [Reference docs for everything](link)
## Common Issues
| Symptom | Cause | Fix |
|---------|-------|-----|
| `[error message]` | [why it happens] | [what to do] |
| [behavior] | [cause] | [fix] |
For each endpoint or function:
## `[METHOD] /[path]` — [Short Description]
[One sentence explaining what this does and when to use it.]
**Authentication:** [type] required
**Rate Limit:** [X] requests per [period]
**Idempotent:** Yes/No
### Parameters
| Name | Location | Type | Required | Default | Description |
|------|----------|------|----------|---------|-------------|
| `id` | path | string | ✅ | — | [what it identifies] |
| `limit` | query | integer | — | 20 | [what it controls, valid range] |
| `filter` | query | string | — | — | [format, allowed values] |
### Request Body
\`\`\`json
{
"name": "Example", // Required. [constraints]
"email": "a@b.com", // Required. Must be valid email.
"settings": { // Optional. Defaults shown.
"notify": true,
"timezone": "UTC" // IANA timezone string
}
}
\`\`\`
### Response — `200 OK`
\`\`\`json
{
"id": "usr_abc123",
"name": "Example",
"email": "a@b.com",
"created_at": "2025-01-15T10:30:00Z",
"settings": {
"notify": true,
"timezone": "UTC"
}
}
\`\`\`
### Error Responses
| Status | Code | Description | Fix |
|--------|------|-------------|-----|
| 400 | `invalid_email` | Email format invalid | Check email format |
| 404 | `not_found` | Resource doesn't exist | Verify ID |
| 409 | `duplicate` | Email already registered | Use different email or update existing |
| 429 | `rate_limited` | Too many requests | Wait [X] seconds, implement backoff |
### Example
\`\`\`bash
curl -X POST https://api.example.com/v1/users \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Jane Smith",
"email": "jane@example.com"
}'
\`\`\`
### Notes
- [Edge case or important behavior]
- [Pagination details if applicable]
- [Side effects: "Also sends welcome email"]
# [System/Feature] Architecture
**Status:** [Draft | Proposed | Accepted | Superseded by [link]]
**Author:** [name]
**Date:** YYYY-MM-DD
**Reviewers:** [names]
## Context
[Why does this document exist? What problem or decision prompted it?]
## Requirements
### Must Have
- [Requirement with measurable criteria]
- [e.g., "Handle 10K requests/second with p99 < 200ms"]
### Nice to Have
- [Non-critical requirements]
### Non-Goals
- [Explicitly out of scope — prevents scope creep]
## Architecture Overview
\`\`\`
[ASCII diagram of components and data flow]
┌──────────┐ ┌──────────┐ ┌──────────┐
│ Client │────▶│ API │────▶│ DB │
└──────────┘ │ Gateway │ └──────────┘
└────┬─────┘
│
┌────▼─────┐
│ Queue │
└──────────┘
\`\`\`
## Components
### [Component 1]
- **Purpose:** [what it does]
- **Technology:** [stack choices]
- **Scaling:** [how it handles load]
- **Data:** [what it stores/processes]
### [Component 2]
[Same structure...]
## Data Flow
1. [Step 1: what happens first]
2. [Step 2: where data goes next]
3. [Step 3: processing/storage]
4. [Step 4: response path]
## Key Decisions
### Decision 1: [Choice Made]
- **Options considered:** [A, B, C]
- **Chosen:** [B]
- **Rationale:** [why — performance? simplicity? team expertise?]
- **Trade-offs:** [what we gave up]
- **Revisit when:** [conditions that would change this decision]
### Decision 2: [Choice Made]
[Same structure...]
## Failure Modes
| Failure | Impact | Detection | Recovery |
|---------|--------|-----------|----------|
| [DB down] | [partial outage] | [health check] | [failover to replica] |
| [Queue full] | [delayed processing] | [queue depth alert] | [auto-scale consumers] |
## Security Considerations
- [Authentication approach]
- [Data encryption (at rest, in transit)]
- [Access control model]
- [Sensitive data handling]
## Operational Concerns
- **Monitoring:** [key metrics to watch]
- **Alerts:** [what triggers pages]
- **Deployment:** [rollout strategy]
- **Rollback:** [how to revert]
## Future Considerations
- [Known limitations that will need addressing]
- [Scaling bottleneck predictions]
- [Migration paths if assumptions change]
# Runbook: [Procedure Name]
**Severity:** P[0-3]
**Estimated Time:** [X] minutes
**Last Tested:** YYYY-MM-DD
**Owner:** [team/person]
## When to Use
[Trigger condition — what alert/symptom/request initiates this.]
## Prerequisites
- [ ] Access to [system/dashboard]
- [ ] [Tool] installed: `which [tool]`
- [ ] Permissions: [what role/access needed]
## Steps
### 1. Assess
\`\`\`bash
# Check current state
[diagnostic command]
\`\`\`
**Expected:** [what healthy looks like]
**If unhealthy:** [what you'll see instead]
### 2. Mitigate
\`\`\`bash
# Immediate action to reduce impact
[mitigation command]
\`\`\`
**Verify mitigation:**
\`\`\`bash
[verification command]
\`\`\`
### 3. Fix
\`\`\`bash
# Root cause fix
[fix command]
\`\`\`
### 4. Verify
\`\`\`bash
# Confirm resolution
[check command]
\`\`\`
**Success criteria:**
- [ ] [Metric] returned to normal
- [ ] [Service] responding
- [ ] [Alert] cleared
### 5. Post-Incident
- [ ] Update incident channel with resolution
- [ ] Schedule post-mortem if P0/P1
- [ ] File ticket for permanent fix if this was a workaround
- [ ] Update this runbook if steps changed
## Escalation
| Condition | Escalate To | How |
|-----------|-------------|-----|
| [Step 2 doesn't work after X min] | [team] | [channel/page] |
| [Data loss suspected] | [team + management] | [channel] |
## Rollback
If the fix makes things worse:
\`\`\`bash
[rollback command]
\`\`\`
## History
| Date | Who | What | Outcome |
|------|-----|------|---------|
| YYYY-MM-DD | [name] | [what happened] | [resolved/escalated] |
# Contributing to [Project]
## Development Setup
\`\`\`bash
# Clone and install
git clone [repo-url]
cd [project]
[install dependencies command]
# Verify setup
[test command]
\`\`\`
**Expected:** [X] tests pass, [Y] seconds.
## Making Changes
1. Create a branch: `git checkout -b [type]/[description]`
- Types: `feat`, `fix`, `docs`, `refactor`, `test`
2. Make your changes
3. Run tests: `[test command]`
4. Run linter: `[lint command]`
5. Commit using conventional commits:
\`\`\`
feat(scope): add user search endpoint
fix(auth): handle expired refresh tokens
docs: update API rate limit section
\`\`\`
## Pull Request Process
1. Fill out the PR template completely
2. Ensure CI passes (tests + lint + build)
3. Request review from [team/person]
4. Address feedback — don't force-push during review
5. Squash merge when approved
## Code Style
- [Link to style guide or key rules]
- [Formatting tool]: runs automatically on commit
- [Naming conventions]
- [File organization rules]
## Testing
- Unit tests for all new functions
- Integration tests for API endpoints
- Test file naming: `[file].test.[ext]`
- Minimum coverage: [X]%
## Architecture Decisions
Significant design changes need an ADR (Architecture Decision Record).
Template: `docs/adr/template.md`
## Getting Help
- Questions: [channel/forum]
- Bugs: [issue tracker]
- Security: [email — NOT public issues]
# Changelog
All notable changes follow [Semantic Versioning](https://semver.org/).
## [Unreleased]
### Added
- [New feature with brief description]
### Changed
- [Modified behavior — explain what changed and why]
### Deprecated
- [Feature being removed in future — suggest alternative]
### Fixed
- [Bug fix — reference issue number]
### Security
- [Security fix — CVE if applicable]
### Migration
- [Breaking change — step-by-step migration instructions]
\`\`\`bash
# Before (v1.x)
[old way]
# After (v2.x)
[new way]
\`\`\`
Every document must pass all four:
style:
voice: "Active, imperative"
person: "Second person (you)"
tense: "Present tense"
sentence_length: "Max 25 words average"
paragraph_length: "Max 4 sentences"
do:
- "Run the command" (imperative)
- "This returns a list" (active, present)
- "You need Node.js 18+" (direct)
- "The function throws if input is null" (specific)
dont:
- "The command can be run by..." (passive)
- "This will return..." (future tense)
- "The user should..." (third person)
- "It's important to note that..." (filler)
- "Basically..." / "Simply..." / "Just..." (minimizing)
- "Please..." (unnecessary politeness in docs)
formatting:
- "Use code blocks for ALL commands, paths, config values"
- "Use tables for structured comparisons"
- "Use admonitions (>, ⚠️, 💡) sparingly — max 2 per page"
- "Use numbered lists for sequential steps"
- "Use bullet lists for unordered items"
- "One topic per heading — if you need two headings, split the page"
Before writing, classify your reader:
| Audience | Assumes | Explains | Example Depth | |----------|---------|----------|---------------| | Beginner | Nothing | Everything including concepts | Full walkthrough with output | | Intermediate | Basic concepts, has used similar tools | Integration, patterns, trade-offs | Focused examples, less hand-holding | | Expert | Deep understanding, wants reference | Edge cases, performance, internals | Terse, complete, linked | | Operator | System access, follows procedures | Steps, verification, rollback | Copy-paste commands, expected output |
Rule: Never mix audiences in one document. State the audience at the top.
code_examples:
rules:
- "Every example must run — test before publishing"
- "Include ALL imports and setup — never assume context"
- "Show expected output after the code block"
- "Pin dependency versions in install commands"
- "Use realistic data, not 'foo/bar/baz'"
- "Keep examples under 30 lines — split longer ones"
- "Comment the WHY, not the WHAT"
anti_patterns:
- "Fragments without context: `client.query(...)` — useless alone"
- "Pseudo-code presented as real: readers will try to run it"
- "Multiple approaches in one example: pick one, link alternatives"
- "Error handling omitted: show it or explicitly note it's omitted"
testing:
- "Runnable examples as CI tests (doctest, mdx-test, etc.)"
- "Version matrix: test examples against supported versions"
- "Schedule: re-test monthly or on dependency updates"
Score each document across 8 dimensions:
scoring:
accuracy: # 20 points
20: "All technical claims verified, code tested, outputs confirmed"
15: "Mostly accurate, 1-2 minor inaccuracies"
10: "Several errors or untested code examples"
5: "Significant inaccuracies that would mislead users"
0: "Factually wrong or dangerously incorrect"
completeness: # 15 points
15: "Covers all aspects for the stated audience and purpose"
11: "Minor gaps — edge cases or error scenarios missing"
7: "Notable omissions — user will need to look elsewhere"
3: "Covers basics only — many scenarios unaddressed"
0: "Incomplete to the point of being unhelpful"
clarity: # 15 points
15: "Crystal clear on first read, no ambiguity"
11: "Clear overall, occasional re-reading needed"
7: "Understandable but dense or jargon-heavy"
3: "Confusing structure or language"
0: "Incomprehensible or contradictory"
structure: # 15 points
15: "Logical flow, proper hierarchy, easy to navigate and scan"
11: "Good structure, minor navigation issues"
7: "Structure exists but doesn't match reading patterns"
3: "Poorly organized, information scattered"
0: "No structure — wall of text"
examples: # 15 points
15: "Runnable examples for every feature, with output and edge cases"
11: "Good examples, occasionally missing output or context"
7: "Some examples, not all runnable"
3: "Minimal examples, mostly fragments"
0: "No examples"
maintainability: # 10 points
10: "Review dates, no hardcoded versions, testable examples, clear ownership"
7: "Mostly maintainable, some fragile references"
5: "Will need effort to keep current"
2: "Many hardcoded values, screenshots, temporal references"
0: "Will be outdated within weeks"
searchability: # 5 points
5: "Uses terminology users search for, errors verbatim, good headings"
3: "Decent headings but uses internal jargon"
1: "Hard to find via search"
0: "No thought given to discoverability"
accessibility: # 5 points
5: "Alt text on images, semantic HTML, readable without styling"
3: "Mostly accessible, some images without alt text"
1: "Relies heavily on visual elements"
0: "Inaccessible"
# Total: /100
# Grade: A(90+) B(75-89) C(60-74) D(45-59) F(<45)
Run through before merging any documentation PR:
□ Title matches content
□ Audience stated or obvious
□ Prerequisites listed
□ All code blocks have language tags
□ All commands tested on clean environment
□ Expected output shown after commands
□ Error scenarios covered
□ Links work (internal and external)
□ No TODO/FIXME/placeholder text
□ Images have alt text
□ No hardcoded dates (use "current" or omit)
□ No screenshots of text (use actual text)
□ Spelling/grammar check passed
□ File follows naming convention
□ Added to navigation/sidebar/index
docs/
├── index.md # Landing page — value prop + paths
├── getting-started/
│ ├── quickstart.md # 5-min first success
│ ├── installation.md # All platforms/methods
│ └── concepts.md # Mental model before deep dive
├── guides/
│ ├── [use-case-1].md # Task-oriented: "How to X"
│ ├── [use-case-2].md
│ └── [use-case-N].md
├── reference/
│ ├── api/
│ │ ├── overview.md # Auth, errors, pagination, rate limits
│ │ ├── [resource-1].md # Per-resource endpoint docs
│ │ └── [resource-N].md
│ ├── cli.md # All commands with flags
│ ├── config.md # Every config option with defaults
│ └── errors.md # Error code catalog
├── architecture/
│ ├── overview.md # System design
│ └── adr/ # Architecture Decision Records
│ ├── 001-[decision].md
│ └── template.md
├── operations/
│ ├── deployment.md # Deploy procedures
│ ├── monitoring.md # What to watch
│ └── runbooks/
│ ├── [incident-type].md
│ └── template.md
├── contributing/
│ ├── CONTRIBUTING.md # Dev setup + PR process
│ ├── style-guide.md # Code + doc style rules
│ └── testing.md # How to write/run tests
└── changelog.md # Version history
linking_rules:
internal:
- "Link on first mention of a concept, not every mention"
- "Use relative paths: ../guides/auth.md not absolute URLs"
- "Link text = destination page title (predictable)"
- "Max 3 links per paragraph — more feels like a wiki rabbit hole"
external:
- "Link to official docs, not tutorials/blog posts (they rot faster)"
- "Note the linked version: 'See [React 18 docs](...)'"
- "CI check for broken external links weekly"
avoid:
- "'See here' or 'click here' — link text must describe destination"
- "Circular references — A links to B which says 'see A'"
- "Deep links into third-party docs — they restructure"
pipeline:
on_commit:
- lint: "markdownlint + custom rules"
- links: "markdown-link-check (internal + external)"
- spelling: "cspell with custom dictionary"
- build: "compile docs site, catch broken references"
on_pr:
- diff_check: "Flag PRs that change code but not docs"
- preview: "Deploy preview URL for reviewers"
- ai_review: "Check for passive voice, filler, inconsistency"
weekly:
- link_audit: "Full external link check"
- freshness: "Flag docs not updated in 6+ months"
- coverage: "Map API endpoints to docs — find undocumented ones"
quarterly:
- full_audit: "Run Phase 1 audit, compare to last quarter"
- user_feedback: "Review doc-related support tickets"
- analytics: "Top pages, search terms with no results, bounce rates"
Things that should be generated, not hand-written:
| Source | Generated Doc | Tool/Approach |
|--------|--------------|---------------|
| OpenAPI spec | API reference pages | Redoc, Stoplight, custom |
| TypeScript types | Type reference | TypeDoc, API Extractor |
| CLI help text | CLI reference | --help output → markdown |
| Config schema | Config reference | JSON Schema → markdown |
| Database schema | Data model docs | Schema → ERD + field descriptions |
| Test files | Behavior documentation | Extract test names as spec |
| Git log | Changelog | Conventional commits → changelog |
Rule: Generated docs need human review for clarity. Auto-generate the skeleton, human-write the explanations.
Track monthly:
metrics:
coverage:
- "API endpoint coverage: [documented / total endpoints] %"
- "Config option coverage: [documented / total options] %"
- "Error code coverage: [documented / total codes] %"
quality:
- "Average doc quality score (from rubric): [X]/100"
- "Docs with tested code examples: [X]%"
- "Docs updated within 6 months: [X]%"
- "Broken links found: [X]"
usage:
- "Top 10 most viewed pages"
- "Top 10 search queries"
- "Search queries with 0 results (= gaps)"
- "Time on page (low = either perfect or useless)"
- "Support tickets tagged 'docs' (should trend down)"
contributor:
- "Docs PRs per month"
- "Average docs PR review time"
- "Code PRs without docs changes (potential gaps)"
For any breaking change or major version update:
# Migrating from v[X] to v[Y]
**Estimated time:** [X] minutes
**Risk level:** Low / Medium / High
**Rollback:** [possible/not possible — how]
## Breaking Changes Summary
| Change | Impact | Action Required |
|--------|--------|----------------|
| [API change] | [who's affected] | [what to do] |
| [Config change] | [who's affected] | [what to do] |
## Before You Start
- [ ] Back up [what]
- [ ] Ensure you're on v[X.latest] first
- [ ] Read the full guide before starting
## Step-by-Step Migration
### 1. [First Change]
**Before (v[X]):**
\`\`\`
[old code/config]
\`\`\`
**After (v[Y]):**
\`\`\`
[new code/config]
\`\`\`
**Why:** [reason for the change]
[Continue for each breaking change...]
## Verification
\`\`\`bash
[commands to verify migration succeeded]
\`\`\`
## Known Issues
- [Issue with workaround]
## Getting Help
- [Support channel]
- [FAQ for this migration]
For each error code or common error:
## `[ERROR_CODE]` — [Human-Readable Name]
**Message:** `[exact error message users see]`
**Severity:** [Info / Warning / Error / Fatal]
**Since:** v[X.Y.Z]
### What It Means
[One paragraph: what went wrong and why.]
### Common Causes
1. **[Cause 1]:** [explanation]
```bash
# How to check
[diagnostic command]
[diagnostic command]
For Cause 1:
[fix command]
For Cause 2:
[fix command]
[How to avoid this error in the future.]
### ADR (Architecture Decision Record) Format
```markdown
# ADR-[NNN]: [Decision Title]
**Status:** [Proposed | Accepted | Deprecated | Superseded by ADR-XXX]
**Date:** YYYY-MM-DD
**Deciders:** [who was involved]
## Context
[What situation or problem prompted this decision? What constraints exist?]
## Decision
[What we decided to do. State it clearly in one sentence, then elaborate.]
## Alternatives Considered
### [Alternative A]
- **Pros:** [advantages]
- **Cons:** [disadvantages]
- **Rejected because:** [specific reason]
### [Alternative B]
[Same structure...]
## Consequences
### Positive
- [Good outcome]
### Negative
- [Trade-off or risk accepted]
### Neutral
- [Neither good nor bad, just a fact]
## Follow-up Actions
- [ ] [Action items resulting from this decision]
freshness_policy:
review_cycles:
getting_started: "Monthly — highest traffic, most critical"
api_reference: "On every API change — automated check"
guides: "Quarterly — or on related feature changes"
architecture: "On significant design changes"
runbooks: "Monthly — test them, don't just read them"
changelog: "On every release — automated"
freshness_signals:
stale:
- "No update in 6+ months"
- "References deprecated API versions"
- "Screenshots don't match current UI"
- "Linked resources return 404"
healthy:
- "Updated within review cycle"
- "Code examples tested in CI"
- "Review date in metadata"
- "No open 'docs outdated' issues"
ownership:
- "Every doc has an owner (team, not individual)"
- "Ownership = responsibility to review on cycle"
- "No orphan docs — unowned docs get archived"
- "Ownership transfers tracked in doc metadata"
doc_debt:
format:
id: "DOC-[NNN]"
type: "[missing | outdated | incorrect | unclear | incomplete]"
priority: "[P0-P3]"
document: "[path]"
description: "[what needs fixing]"
impact: "[who is affected and how]"
effort: "[S/M/L]"
owner: "[team]"
priority_rules:
P0: "Incorrect information that causes errors/outages"
P1: "Missing docs for GA features used by many"
P2: "Outdated content, still mostly useful"
P3: "Nice-to-have improvements, style issues"
process:
- "Review doc debt backlog monthly"
- "Fix all P0 within 1 week"
- "Fix P1 within 1 sprint"
- "P2/P3 — tackle during documentation sprints"
- "Track debt trend — should decrease over time"
When removing or replacing documentation:
/docs/archive/, remove from navigation| Command | Action | |---------|--------| | "Audit the docs for [project]" | Run Phase 1 audit, produce scorecard | | "Write a README for [project]" | Generate README using template | | "Document this API endpoint" | Create reference entry from code/spec | | "Write a getting started guide" | Create tutorial using template | | "Review this doc" | Score using 100-point rubric | | "Create a runbook for [procedure]" | Generate runbook from template | | "Write an ADR for [decision]" | Create Architecture Decision Record | | "Write a migration guide from v[X] to v[Y]" | Generate migration doc | | "Check doc freshness" | Audit all docs for staleness | | "Set up docs pipeline" | Configure automation from Phase 6 | | "What's undocumented?" | Compare codebase to docs, find gaps | | "Create error catalog" | Generate error reference from code |
Machine endpoints, contract coverage, trust signals, runtime metrics, benchmarks, and guardrails for agent-to-agent use.
Machine interfaces
Contract coverage
Status
missing
Auth
None
Streaming
No
Data region
Unspecified
Protocol support
Requires: none
Forbidden: none
Guardrails
Operational confidence: low
curl -s "https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-technical-docs/snapshot"
curl -s "https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-technical-docs/contract"
curl -s "https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-technical-docs/trust"
Operational fit
Trust signals
Handshake
UNKNOWN
Confidence
unknown
Attempts 30d
unknown
Fallback rate
unknown
Runtime metrics
Observed P50
unknown
Observed P95
unknown
Rate limit
unknown
Estimated cost
unknown
Do not use if
Raw contract, invocation, trust, capability, facts, and change-event payloads for machine-side inspection.
Contract JSON
{
"contractStatus": "missing",
"authModes": [],
"requires": [],
"forbidden": [],
"supportsMcp": false,
"supportsA2a": false,
"supportsStreaming": false,
"inputSchemaRef": null,
"outputSchemaRef": null,
"dataRegion": null,
"contractUpdatedAt": null,
"sourceUpdatedAt": null,
"freshnessSeconds": null
}Invocation Guide
{
"preferredApi": {
"snapshotUrl": "https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-technical-docs/snapshot",
"contractUrl": "https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-technical-docs/contract",
"trustUrl": "https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-technical-docs/trust"
},
"curlExamples": [
"curl -s \"https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-technical-docs/snapshot\"",
"curl -s \"https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-technical-docs/contract\"",
"curl -s \"https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-technical-docs/trust\""
],
"jsonRequestTemplate": {
"query": "summarize this repo",
"constraints": {
"maxLatencyMs": 2000,
"protocolPreference": [
"OPENCLEW"
]
}
},
"jsonResponseTemplate": {
"ok": true,
"result": {
"summary": "...",
"confidence": 0.9
},
"meta": {
"source": "CLAWHUB",
"generatedAt": "2026-04-17T04:48:17.925Z"
}
},
"retryPolicy": {
"maxAttempts": 3,
"backoffMs": [
500,
1500,
3500
],
"retryableConditions": [
"HTTP_429",
"HTTP_503",
"NETWORK_TIMEOUT"
]
}
}Trust JSON
{
"status": "unavailable",
"handshakeStatus": "UNKNOWN",
"verificationFreshnessHours": null,
"reputationScore": null,
"p95LatencyMs": null,
"successRate30d": null,
"fallbackRate": null,
"attempts30d": null,
"trustUpdatedAt": null,
"trustConfidence": "unknown",
"sourceUpdatedAt": null,
"freshnessSeconds": null
}Capability Matrix
{
"rows": [
{
"key": "OPENCLEW",
"type": "protocol",
"support": "unknown",
"confidenceSource": "profile",
"notes": "Listed on profile"
},
{
"key": "be",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "tickets",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "channel",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
}
],
"flattenedTokens": "protocol:OPENCLEW|unknown|profile capability:be|supported|profile capability:tickets|supported|profile capability:channel|supported|profile"
}Facts JSON
[
{
"factKey": "docs_crawl",
"category": "integration",
"label": "Crawlable docs",
"value": "6 indexed pages on the official domain",
"href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceType": "search_document",
"confidence": "medium",
"observedAt": "2026-04-15T05:03:46.393Z",
"isPublic": true
},
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Openclaw",
"href": "https://github.com/openclaw/skills/tree/main/skills/1kalin/afrexai-technical-docs",
"sourceUrl": "https://github.com/openclaw/skills/tree/main/skills/1kalin/afrexai-technical-docs",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-04-15T00:45:39.800Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-technical-docs/contract",
"sourceUrl": "https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-technical-docs/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-04-15T00:45:39.800Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-technical-docs/trust",
"sourceUrl": "https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-technical-docs/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
]Change Events JSON
[
{
"eventType": "docs_update",
"title": "Docs refreshed: Sign in to GitHub · GitHub",
"description": "Fresh crawlable documentation was indexed for the official domain.",
"href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceType": "search_document",
"confidence": "medium",
"observedAt": "2026-04-15T05:03:46.393Z",
"isPublic": true
}
]Sponsored
Ads related to Technical Documentation Engine and adjacent AI workflows.