tech-specs-writer
Guidelines for creating technical specification and API reference documentation. Use when writing factual, complete content about data models, API contracts, and configuration options.
What this skill does
# Reference Documentation Skill
This skill provides guidelines for creating **reference** documentation - information-oriented technical specifications in the Diataxis framework.
## Purpose
Reference documentation provides **factual information** for lookup. Users consult it when they need specific details about APIs, configuration, data models, etc.
## User Need
> "I need to look up Y."
## Characteristics
| Attribute | Description |
|-----------|-------------|
| **Orientation** | Information |
| **Focus** | Accuracy and completeness |
| **Goal** | Provide facts for lookup |
| **Tone** | Austere, precise, neutral |
## Target Directories
- `docs/reference/` - General reference (API, CLI, config)
- `docs/reference/api/` - API documentation
- `docs/technical/` - Technical specifications, data models
## Writing Guidelines
### DO
- Be factual and descriptive
- Structure consistently (tables, lists)
- Prioritize completeness and accuracy
- Match the structure of what you're documenting
- Use consistent formatting throughout
- Include all parameters, options, return values
- Provide type information
### DON'T
- Mix in tutorials or how-tos
- Explain concepts (link to explanations)
- Include opinions or recommendations
- Skip edge cases or error states
- Assume context (be explicit)
## Architecture-Agnostic Principles
Reference docs should work regardless of implementation. Focus on:
| DO Document | DON'T Document |
|-------------|----------------|
| Data requirements | UI components |
| API contracts | Framework-specific code |
| Validation rules | State management |
| Error codes | CSS/styling |
| Business logic | Route configuration |
**Test:** "Could a developer use this to build a CLI that does the same thing?"
## Examples of Good Reference Docs
- "API Endpoints Reference"
- "Configuration Options"
- "CLI Commands"
- "Data Models"
- "Error Codes"
---
## Template
Use this template when creating technical specification documentation:
```markdown
# [Feature/Component] Specification
*Last updated: [YYYY-MM-DD]*
*Version: [X.Y.Z]*
## Overview
[1-2 sentences describing what this document specifies]
## Requirements
### Functional Requirements
| ID | Requirement | Priority |
|----|-------------|----------|
| FR-1 | [Requirement description] | [Must/Should/Could] |
| FR-2 | [Requirement description] | [Must/Should/Could] |
### Non-Functional Requirements
| ID | Requirement | Metric |
|----|-------------|--------|
| NFR-1 | [Performance/Security/etc.] | [Measurable target] |
## Data Model
### [Entity Name]
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| id | string | Yes | Unique identifier |
| [field] | [type] | [Yes/No] | [Description] |
| [field] | [type] | [Yes/No] | [Description] |
### Relationships
[Entity A] 1──────* [Entity B]
│
└──────1 [Entity C]
## API Contract
### [Endpoint/Method Name]
**Endpoint:** `[METHOD] /path/to/resource`
**Request:**
{
"[field]": "[type] - [description]"
}
**Response:**
{
"[field]": "[type] - [description]"
}
**Errors:**
| Status | Code | Description |
|--------|------|-------------|
| 400 | INVALID_INPUT | [When this occurs] |
| 404 | NOT_FOUND | [When this occurs] |
## Validation Rules
| Field | Rule | Error Message |
|-------|------|---------------|
| [field] | [validation rule] | [user-facing message] |
## Constraints
- [Constraint 1 - e.g., Maximum 100 items per request]
- [Constraint 2 - e.g., Field X must be unique per user]
## Dependencies
| Dependency | Type | Purpose |
|------------|------|---------|
| [Service/Component] | [Internal/External] | [Why needed] |
## Security Considerations
- [Security requirement 1]
- [Security requirement 2]
## Related Documents
- [Architecture Decision Record](../architecture/ADR-XXX.md)
- [API Reference](../reference/api/ENDPOINT.md)
```
---
## Quality Checklist
Apply this checklist before finalizing any reference documentation.
### Completeness
- [ ] All parameters/options are documented
- [ ] All return values/responses are documented
- [ ] All error codes/states are documented
- [ ] All edge cases are covered
- [ ] No TODO or TBD sections remain
### Accuracy
- [ ] Information matches current implementation
- [ ] Code examples have been tested
- [ ] Type information is correct
- [ ] Default values are accurate
- [ ] Constraints are verified
### Structure
- [ ] Consistent format throughout
- [ ] Tables used for structured data
- [ ] Matches the structure of what's documented
- [ ] Logical organization
### Architecture-Agnostic
- [ ] Documents data requirements, not UI
- [ ] Documents API contracts, not framework code
- [ ] Could be used to build a CLI equivalent
- [ ] No implementation-specific details
### Clarity
- [ ] Descriptions are factual and precise
- [ ] No ambiguous language
- [ ] Technical terms are consistent
- [ ] Required vs optional is clear
### Neutrality
- [ ] No opinions or recommendations
- [ ] No tutorial-style instructions
- [ ] No how-to content mixed in
- [ ] Tone is austere and professional
### Maintainability
- [ ] Single source of truth (no duplicates)
- [ ] Version/date stamp if time-sensitive
- [ ] Cross-references use relative links
- [ ] Easy to update when API changes
### Formatting
- [ ] Consistent table structure
- [ ] Code blocks have language specified
- [ ] Proper use of inline code for values
- [ ] No broken links
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.