document-writing-skills
Teaches document writing patterns and templates that agents apply when generating documentation, reports, contracts, guides, and technical writing. Use when creating API docs, user guides, reports, changelogs, ADRs, or technical documentation.
What this skill does
# Document Writing Skills
**Purpose**: This skill provides comprehensive document writing patterns, templates, and best practices that agents can apply when generating professional documentation, reports, contracts, guides, and technical writing across various domains.
## When to Use Document Writing Skills
Use this skill when:
- Creating API documentation (REST/GraphQL/RPC)
- Writing technical documentation or user guides
- Generating research reports or incident reports
- Drafting architecture decision records (ADRs)
- Creating changelogs and release notes
- Writing legal memoranda or contracts
- Producing test reports or security assessments
- Authoring product requirement documents (PRDs)
## Core Writing Principles
### 1. Clarity and Conciseness
**Guidelines**:
- Use active voice: "The system processes requests" (not "Requests are processed by the system")
- Use present tense: "The function returns" (not "The function will return")
- Be specific: "Response time: 200ms" (not "Response time is fast")
- Avoid jargon unless domain-appropriate
- Use short sentences (15-20 words maximum)
- Break complex ideas into numbered steps
**Example - Before and After**:
```
❌ Before: "It should be noted that the API endpoint might be utilized for the purpose of retrieving user data."
✅ After: "Use this endpoint to retrieve user data."
```
### 2. Progressive Disclosure Structure
Organize documents from high-level to detailed:
1. **Summary/Overview** - What and why (2-3 sentences)
2. **Key Concepts** - Essential understanding
3. **Details** - Deep-dive information
4. **Reference** - Complete specifications
**Template**:
```markdown
# Document Title
## Summary
[2-3 sentences: What this is and why it matters]
## Quick Start
[Minimal steps to get started]
## Concepts
[Essential understanding]
## Detailed Guide
[In-depth information]
## Reference
[Complete specifications, API details, etc.]
```
### 3. Consistency Standards
**Maintain consistency in**:
- Terminology (create glossary for domain terms)
- Code formatting (use syntax highlighting)
- Section structure (follow templates)
- Date formats (ISO 8601: YYYY-MM-DD)
- Version numbers (Semantic Versioning: MAJOR.MINOR.PATCH)
---
## Document Type Templates
### API Documentation
**Structure**:
```markdown
# API Endpoint: [Method] /path/to/endpoint
## Overview
[Brief description of what this endpoint does]
## Authentication
[Required authentication method]
## Request
**Method**: [GET/POST/PUT/DELETE]
**URL**: `/api/v1/endpoint`
**Headers**:
| Header | Value | Required |
|--------|-------|----------|
| Authorization | Bearer {token} | Yes |
| Content-Type | application/json | Yes |
**Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| user_id | integer | Yes | Unique user identifier |
| limit | integer | No | Max results (default: 10) |
**Request Body** (JSON):
```json
{
"field1": "value",
"field2": 123
}
```
## Response
**Success Response** (200 OK):
```json
{
"status": "success",
"data": {
"id": 12345,
"name": "Example"
}
}
```
**Error Responses**:
| Status Code | Description | Response Body |
|-------------|-------------|---------------|
| 400 | Bad Request | `{"error": "Invalid parameters"}` |
| 401 | Unauthorized | `{"error": "Authentication required"}` |
| 404 | Not Found | `{"error": "Resource not found"}` |
| 500 | Server Error | `{"error": "Internal server error"}` |
## Example Usage
**cURL**:
```bash
curl -X POST https://api.example.com/v1/endpoint \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"field1": "value"}'
```
**Python**:
```python
import requests
response = requests.post(
"https://api.example.com/v1/endpoint",
headers={"Authorization": "Bearer YOUR_TOKEN"},
json={"field1": "value"}
)
```
## Rate Limiting
[Rate limit details if applicable]
## Notes
[Additional considerations, edge cases, deprecation warnings]
```
### Technical Report
**Structure**:
```markdown
# [Report Title]
**Author**: [Name/Role]
**Date**: [YYYY-MM-DD]
**Version**: [X.Y]
**Status**: [Draft/Final/Approved]
## Executive Summary
[2-3 paragraphs: Key findings, recommendations, impact]
## Background
[Context: Why this report exists, what problem it addresses]
## Methodology
[How the analysis was conducted, tools used, data sources]
## Findings
### Finding 1: [Title]
**Impact**: [High/Medium/Low]
**Evidence**: [Data, observations, metrics]
**Analysis**: [What this means]
### Finding 2: [Title]
[Same structure...]
## Recommendations
### Recommendation 1: [Action]
**Priority**: [High/Medium/Low]
**Effort**: [High/Medium/Low]
**Timeline**: [Timeframe]
**Rationale**: [Why this recommendation]
## Conclusion
[Summary of key points and next steps]
## Appendix
[Supporting data, detailed tables, raw results]
```
### Architecture Decision Record (ADR)
**Structure**:
```markdown
# ADR-[Number]: [Title]
**Status**: [Proposed/Accepted/Deprecated/Superseded]
**Date**: [YYYY-MM-DD]
**Deciders**: [Names/Roles]
## Context
[What is the issue we're addressing?]
## Decision
[What decision have we made?]
## Rationale
[Why did we make this decision?]
### Options Considered
#### Option 1: [Name]
**Pros**:
- [Advantage 1]
- [Advantage 2]
**Cons**:
- [Disadvantage 1]
- [Disadvantage 2]
#### Option 2: [Name]
[Same structure...]
### Decision Criteria
- [Criterion 1: Performance]
- [Criterion 2: Maintainability]
- [Criterion 3: Cost]
## Consequences
### Positive
- [Benefit 1]
- [Benefit 2]
### Negative
- [Trade-off 1]
- [Trade-off 2]
### Neutral
- [Impact 1]
## Implementation Notes
[Guidance for implementing this decision]
## Related Decisions
- [ADR-XXX: Related decision]
## References
- [Documentation links, research papers, discussions]
```
### User Guide
**Structure**:
```markdown
# [Product/Feature] User Guide
## Overview
[What this is and what it helps users accomplish]
## Getting Started
### Prerequisites
- [Requirement 1]
- [Requirement 2]
### Installation
1. [Step 1 with validation]
```bash
command-to-run
```
**Expected output**: [What success looks like]
2. [Step 2]
[Validation checkpoint]
## Tutorials
### Tutorial 1: [Basic Task]
**Goal**: [What you'll accomplish]
**Time**: [Estimated duration]
**Steps**:
1. [Action]
- **Why**: [Rationale]
- **Validation**: [How to verify success]
2. [Next action]
[Same structure...]
**Result**: [What you've achieved]
### Tutorial 2: [Advanced Task]
[Same structure...]
## Reference
### Feature 1
**Description**: [What it does]
**Usage**: [How to use it]
**Parameters**: [Options available]
**Examples**: [Common use cases]
## Troubleshooting
### Problem: [Common issue]
**Symptoms**: [How to identify this problem]
**Cause**: [Why this happens]
**Solution**: [Step-by-step fix]
### Problem: [Another issue]
[Same structure...]
## FAQ
**Q: [Common question]**
A: [Clear answer]
## Additional Resources
- [Link to API docs]
- [Link to community forum]
```
### Changelog
**Format**: Keep a Changelog (https://keepachangelog.com/en/1.0.0/)
**Structure**:
```markdown
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Added
- [New feature description]
### Changed
- [Change to existing functionality]
### Deprecated
- [Soon-to-be removed feature]
### Removed
- [Removed feature]
### Fixed
- [Bug fix]
### Security
- [Vulnerability fix]
## [1.2.0] - 2025-11-08
### Added
- User authentication with JWT tokens
- Password reset functionality
- Email verification
### Changed
- Improved API response times by 40%
- Updated database schema for better performance
### Fixed
- Issue #123: Login timeout on slow connections
- Memory leak in background worker
## [1.1.0] - 2025-10-15
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.