skills/markdown-writer/SKILL.md
Generate well-structured technical documentation in Markdown. Use when a user asks to write docs, create a README, document an API, write a how-to guide, generate technical documentation, create a changelog, write a project wiki, or produce any structured Markdown content. Follows documentation best practices for clarity and completeness.
npx skillsauth add alextiannus/ClawTheater-skills-project markdown-writerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate well-structured technical documentation in Markdown format. Covers READMEs, API docs, how-to guides, changelogs, and any structured technical content using documentation best practices.
When a user asks you to write documentation or Markdown content, follow these steps:
| Type | Purpose | Audience | |------|---------|----------| | README | Project introduction, setup, usage | New users and contributors | | API docs | Endpoint reference with parameters and responses | Developers integrating the API | | How-to guide | Step-by-step walkthrough for a specific task | Users solving a problem | | Tutorial | Learning-oriented, progressive complexity | Beginners | | Reference | Complete technical specification | Experienced users | | Changelog | Version history with changes | All users | | ADR | Architecture decision record | Team members |
Before writing, collect:
README template:
# Project Name
One-line description of what this project does.
## Installation
\`\`\`bash
npm install project-name
\`\`\`
## Quick Start
\`\`\`javascript
const lib = require('project-name');
lib.doSomething();
\`\`\`
## Usage
### Feature One
Explain the feature with a code example.
### Feature Two
Explain the feature with a code example.
## API Reference
### `functionName(param1, param2)`
- `param1` (string): Description
- `param2` (number, optional): Description. Default: `10`
- Returns: `Promise<Result>`
## Configuration
| Option | Type | Default | Description |
|--------|------|---------|-------------|
| `port` | number | `3000` | Server port |
| `debug` | boolean | `false` | Enable debug logging |
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md).
## License
MIT
API endpoint documentation:
### Create a User
\`\`\`
POST /api/users
\`\`\`
**Request body:**
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `name` | string | Yes | Full name |
| `email` | string | Yes | Email address |
| `role` | string | No | Default: `"user"` |
**Example request:**
\`\`\`bash
curl -X POST https://api.example.com/users \
-H "Content-Type: application/json" \
-d '{"name": "Jane Doe", "email": "[email protected]"}'
\`\`\`
**Response (201 Created):**
\`\`\`json
{
"id": 42,
"name": "Jane Doe",
"email": "[email protected]",
"role": "user",
"created_at": "2024-03-15T10:30:00Z"
}
\`\`\`
**Error responses:**
| Status | Description |
|--------|-------------|
| `400` | Invalid request body |
| `409` | Email already exists |
How-to guide template:
# How to Deploy to Production
## Prerequisites
- Docker 20+ installed
- AWS CLI configured with credentials
## Steps
### 1. Build the image
\`\`\`bash
docker build -t myapp:latest .
\`\`\`
### 2. Push to registry
\`\`\`bash
docker tag myapp:latest ecr.example.com/myapp:latest
docker push ecr.example.com/myapp:latest
\`\`\`
### 3. Deploy
\`\`\`bash
aws ecs update-service --cluster prod --service myapp --force-new-deployment
\`\`\`
## Troubleshooting
**Build fails with "out of memory":**
Increase Docker memory limit to at least 4GB in Docker Desktop settings.
**Deployment times out:**
Check that the health check endpoint returns 200 within 30 seconds.
Checklist before delivering:
User request: "Write a README for my Node.js CLI tool that converts images"
Output structure:
# img-convert
Fast image format conversion from the command line.
## Installation
npm install -g img-convert
## Usage
img-convert input.png output.webp
img-convert --quality 80 --resize 800x600 photo.jpg photo.webp
img-convert --batch src/*.png --format webp --outdir dist/
## Options (table with flag, type, default, description)
## Supported Formats (table)
## Examples (3-4 real usage scenarios)
## Contributing
## License
User request: "Generate API docs from my Express routes"
Process:
Output structure:
# API Reference
Base URL: `https://api.example.com/v1`
Authentication: Bearer token in Authorization header
## Users
### GET /users - List all users
### GET /users/:id - Get a user
### POST /users - Create a user
### PUT /users/:id - Update a user
### DELETE /users/:id - Delete a user
## Orders
### GET /orders - List orders
### POST /orders - Create an order
Each endpoint includes parameters table, example request, and example response.
name field is the name" adds no value.tools
模仿"会说话的肘子"(《大王饶命》作者)的写作风格创作网络小说。适用于都市异能、轻松搞笑、系统流小说创作,主角擅长气人、对话驱动、禁止内心独白。当用户要求写肘子风格、轻松幽默网文、气人主角、系统流小说时触发。
data-ai
严格叙事规范。解决AI写作中最常见也最致命的问题:画外音(作者跳出故事向读者解释/总结/评论)。提供Deep POV原则、画外音检测清单、MRU因果结构、感官沉浸技法。当写出的文字被评价为"像作者在讲解而不是角色在经历"时触发。
testing
When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, Facebook, or other platforms. Also use when the user mentions 'LinkedIn post,' 'Twitter thread,' 'social media,' 'content calendar,' 'social scheduling,' 'engagement,' or 'viral content.' This skill covers content creation, repurposing, and platform-specific strategies.
tools
# 爽文小说工程学 > **定位:** 本技能是网文爽文的专项工程手册。不讲"怎么写好句子"(那是 `strict-narration` 的工作),只讲"怎么让读者从第一句话开始爽到停不下来"。 > > **与其他技能的关系:** > > | 技能 | 本技能借用的部分 | 本技能新增的部分 | > |------|----------------|----------------| > | `novel-writing` | 四层框架、世界观构建 | 爽文专属的世界观设计原则 | > | `reader-psychology` | 翻页引擎、信息差 | 爽点工程的完整公式体系 | > | `bestseller-structure` | 四幕结构、情绪弧线 | 黄金三章、打脸节奏、升级曲线 | > | `scene-craft` | 场景结构、对话工艺 | 打脸场景模板、装逼反转场景模板 | > | `zhouzi-style` | 幽默对话、系统漫才 | 适用于所有风格的爽文通用法则 | --- ## 一、爽文的底层逻辑 爽文的本质不是"主角很强",而是**读者的情绪需求被