360 Secure SkillHub
360 安全技能中心

Docs Generator

核心功能是自动生成8类技术文档,涵盖API文档(REST/GraphQL)、README、CHANGELOG、贡献指南、架构文档、教程、FAQ、参考手册。典型场景为开发团队快速产出项目文档,减少手动编写时间。输入为通过bash脚本指定文档类型及对应参数,输出为对应格式的完整文档内容。

ckchzh
ckchzh
热度 63.03
最近更新 2026-05-11 17:30:20
分类:效率依赖:代码执行 / 内部调用大模型应用场景:文案创作 / 模板 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add docs-generator
Metadata
version
2.0.0
name
Docs Generator
description
Automated documentation generator. API docs, README, CHANGELOG, contributing guide, architecture docs, tutorials, FAQ, reference manual. REST, GraphQL.
author
BytesAgain
homepage
https://bytesagain.com
source
https://github.com/bytesagain/ai-skills

Docs Generator — Automated Documentation

Spend less time writing docs, more time writing code.

Command Map

┌─ api ──────── REST/GraphQL API documentation
├─ readme ───── Project README.md
├─ changelog ── Version change log
├─ contributing Contributing guide
├─ architecture System architecture docs
├─ tutorial ─── Tutorial / quick start guide
├─ faq ──────── Frequently asked questions
└─ reference ── Complete reference manual

Usage

bash scripts/docs-generator.sh api rest users
bash scripts/docs-generator.sh readme myproject "A cool tool"
bash scripts/docs-generator.sh changelog 2.0.0 "New features"

Arguments

  • api <type> <resource> — type: rest/graphql, resource name
  • readme <name> <desc> — project name and description
  • changelog <ver> <summary> — version and summary
  • contributing <project> — project name
  • architecture <project> <style> — style: monolith/microservice/serverless
  • tutorial <topic> <level> — level: beginner/intermediate/advanced
  • faq <topic> <count> — generate N FAQ entries
  • reference <lib> <lang> — library name and language

Philosophy

Documentation is a product. Good docs = more users = fewer issues.

💬 Feedback & Feature Requests: https://bytesagain.com/feedback Powered by BytesAgain | bytesagain.com