xiaohongshu
xiaohongshu
api-doc-writer
Creates comprehensive API reference documentation following Diátaxis Reference pattern. Reads source code to verify every method signature, creates structured API docs with zero fabrication tolerance. Use when documenting APIs, packages, or public interfaces.
Full skill instructions
Create comprehensive, accurate API reference documentation by reading source code and extracting exact method signatures. Follows the Diátaxis Reference pattern for information-oriented documentation with zero tolerance for fabricated methods or incorrect signatures.
Reference Type Characteristics:
What NOT to Include:
For detailed step-by-step workflow with bash commands, templates, and verification checklists:
Read `~/.claude/skills/api-doc-writer/references/WORKFLOW-STEPS.md`
For API documentation templates (types, functions, constants):
Read `~/.claude/skills/api-doc-writer/references/TEMPLATE-EXAMPLES.md`
Use when: Performing API documentation, need specific templates, or understanding each step
For detailed pitfall examples with bad/good comparisons:
Read `~/.claude/skills/api-doc-writer/references/PITFALLS.md`
Use when: Need concrete examples of common mistakes to avoid
Primary Output: Markdown file with structured API reference
File Location:
docs/api/[package-name].md for package documentationAPI.md in project root for main APIdocs/reference/[module-name].md for module documentationInclude at end of document:
---
## Documentation Metadata
**Last Updated**: [Date]
**Source Code Version**: [Commit SHA or version]
**Verification Status**: ✅ All APIs verified against source code
**Source Files**:
- `path/to/file1.go`
- `path/to/file2.go`
## Verification Checklist Completed:
- ✅ All methods verified against source
- ✅ All signatures exactly match
- ✅ All examples use real imports
- ✅ No fabricated methods
- ✅ No marketing language
- ✅ Source references included
Small API (< 10 public methods): 30-45 minutes Medium API (10-30 public methods): 1-2 hours Large API (30+ public methods): 2-4 hours Complex API with types (many types and methods): 4-8 hours
# Manual invocation
/skill api-doc-writer
# With specific package
/skill api-doc-writer pkg/services/task
# User request
User: "Document the TaskService API"
Assistant: "I'll use the api-doc-writer skill to create comprehensive API documentation"
Documentation is complete when:
For comprehensive documentation guidance that coordinates this and other documentation skills, use the documentation-coordinator agent.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience