← Back to Skills Marketplace
mojo-bo-coder

Hivulse蜂巢AI-Gen-Tech Docs 自动生成技术文档

by Bo Cao · GitHub ↗ · v0.1.4 · MIT-0
cross-platform ⚠ suspicious
402
Downloads
1
Stars
0
Active Installs
5
Versions
Install in OpenClaw
/install hivulse-openclaw-skill
Description
hivulse蜂巢 AI 是一款面向软件开发的自动化技术文档生成工具,通过指定目录代码一键生成多种规范化技术文档。目前已支持的文档类型包括:用户需求说明书、需求规格说明书、系统概要设计说明、系统详细设计说明等10几种报告。申请API Key请访问 www.hivulse.com
README (SKILL.md)

hivulseAI - 自动化技术文档生成工具

通过API接口将指定目录的文件上传并生成各种技术文档的完整自动化工具。

🚀 快速开始

环境变量设置

export HIVULSE_API_KEY="your-api-key-here"

📋 支持的文档类型

编号 文档类型 描述
19 用户需求说明书 用户需求分析文档
2 需求规格说明书 详细需求规格
4 系统概要设计说明 系统架构设计
5 系统详细设计说明 详细设计文档
8 软件单元测试计划 单元测试计划
9 软件单元测试用例 单元测试用例
10 软件单元测试报告 单元测试报告
1 系统测试计划 系统测试计划
12 系统测试用例 系统测试用例
15 系统测试报告 系统测试报告
13 网络安全漏洞自评报告 安全评估报告
20 软件用户测试用例 用户测试用例
21 软件用户测试报告 用户测试报告

🎯 触发关键词

在OpenClaw会话中,当用户提到以下关键词时会自动触发此技能:

  • "生成技术文档"
  • "创建文档"
  • "文档生成"
  • "hivulseAI"
  • "上传代码生成文档"
  • "需求规格说明书"
  • "系统设计文档"

🔧 OpenClaw技能调用方式

方式1:直接触发

在对话中直接使用触发关键词,例如:

  • "帮我生成技术文档"
  • "使用hivulseAI生成需求规格说明书"
  • "为这个项目创建系统设计文档"

📋 参数说明

参数 说明 示例
项目路径 要生成文档的代码项目目录 /Users/project/myapp
文档类型 文档类型编号(2-21) 2(需求规格说明书)
任务名称 可选,文档任务名称 "项目需求分析"

🌐 API配置

  • API密钥:通过配置文件设置,无需环境变量

配置文件位置:

~/.hivulseai/config.json

手动编辑配置:

{
  "api_key": "your-api-key-here",
  "last_used_directory": ""
}

📁 文件过滤规则

系统会自动过滤以下目录和文件:

  • node_modules - Node.js依赖目录
  • venv - Python虚拟环境
  • .git - Git版本控制
  • __pycache__ - Python缓存
  • .idea - IDE配置
  • .vscode - VS Code配置
  • *.pyc - Python编译文件
  • *.log - 日志文件

🔄 API调用流程

1. 文件上传阶段

POST /api/v1/repo/upload/file/
- 第一个文件:不带branch_id
- 后续文件:带branch_id(从第一个文件响应中获取)

2. 状态检查阶段

POST /api/v1/repo/upload/status/
- 参数:uuid(使用default_branch_id)

3. 文档生成阶段

POST /api/v1/template_wiki/
- 参数:task_name, template_base_id, branch_id, repo_id, is_advanced

⚠️ 注意事项

  1. API密钥安全:确保HIVULSE_API_KEY环境变量正确设置
  2. 网络连接:确保可以访问指定的API地址
  3. 文件权限:确保对目标目录有读取权限
  4. 文件大小:注意单个文件大小限制
  5. 备份重要文件:建议先备份重要代码

🛠️ 故障排除

常见错误

  • "API密钥未设置" → 检查HIVULSE_API_KEY环境变量
  • "目录不存在" → 检查路径是否正确
  • "上传失败" → 检查网络连接和API服务状态
  • "文档类型不支持" → 检查文档类型编号

📞 支持

如有问题,请检查:

  1. API服务是否正常运行
  2. 环境变量是否正确设置
  3. 网络连接是否正常
  4. 文件路径和权限是否正确
Usage Guidance
This skill appears to do what it claims (upload your project and call hivulse cloud APIs) and only needs an HIVULSE_API_KEY. Before installing or using it: 1) Audit the code or run in a sandbox: the tool will upload nearly all files under the directory you give it — ensure you do not upload secrets (environment files, private keys, credentials, .env, .pem, etc.), since those are not excluded by default. 2) Confirm the API endpoint and privacy policy for the hivulse service (the code uses 'https://cloud.hivulse.com' but other messages reference localhost — clarify which endpoint will be used). 3) Note minor sloppy items (a hard-coded path /Users/superlk in one code path and inconsistent endpoint mentions) — these look like developer leftovers rather than malicious behavior but justify checking the files before use. 4) If you must use on sensitive code, strip sensitive files from the project or run a filtered copy. 5) If you have low trust in the remote service, do not provide the API key or upload private repositories.
Capability Analysis
Type: OpenClaw Skill Name: hivulse-openclaw-skill Version: 0.1.4 The skill uploads entire local project directories to an external service (cloud.hivulse.com), which is a high-risk data handling practice even if aligned with its stated purpose. Most concerningly, hivulseAI.py and hivulseai_openclaw.py contain logic to programmatically read and parse the global OpenClaw configuration file (~/.openclaw/openclaw.json) using regex to extract API keys. Additionally, hivulseAI.py contains a hardcoded absolute path to a specific user's home directory (/Users/superlk/), which is highly irregular for a general-purpose tool. While these actions may be intended for configuration management, the ability to scrape the agent's global config and the bulk exfiltration of source code pose significant privacy and security risks.
Capability Assessment
Purpose & Capability
The skill name/description (automated technical-document generation from a project directory) matches what the code does: it collects files, filters common directories, uploads files to a hivulse API, checks status, and requests document generation. Requiring an HIVULSE_API_KEY is appropriate for this remote API integration.
Instruction Scope
Runtime instructions and code focus on the documented workflow (gather files, upload, request generation). However the tool will upload nearly all files in the specified directory (only node_modules, venv, .git, __pycache__, .idea, .vscode and *.pyc/*.log are explicitly excluded). It does not filter .env, *.pem, keys, or other secret files — so sensitive files in the project directory would be uploaded to the remote service. The code also reads OpenClaw configuration to find an API key (purpose-aligned), but one implementation path contains a hard-coded developer path (/Users/superlk/.openclaw/openclaw.json), which looks like a leftover and is inconsistent with other code that uses Path.home().
Install Mechanism
There is no remote installer or downloads; this is an instruction + Python script package with a small requirements.txt (requests, pathlib2). No external arbitrary download URLs or archive extraction are used in the provided files.
Credentials
The skill only requires a single credential (HIVULSE_API_KEY), which is proportional to contacting a remote API. The code attempts to source that key from several places (OpenClaw config, environment, local ~/.hivulseai/config.json). Reading the OpenClaw config is reasonable for convenience, but the code will read a file in the user's home directory (potentially exposing other configuration data during debugging/logging). The number of env vars requested is minimal and appropriate.
Persistence & Privilege
The skill does not request always:true and does not attempt to modify other skills or system-wide settings. It creates/uses a local config directory (~/.hivulseai) for storing its API key and last-used directory — this is normal for a CLI tool.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install hivulse-openclaw-skill
  3. After installation, invoke the skill by name or use /hivulse-openclaw-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.4
- Internal code updates made to hivulseAI.py. - No visible user-facing changes in functionality or documentation. - Version updated to 0.1.4 for maintenance and compatibility.
v0.1.3
hivulse-openclaw-skill v0.1.3 - Fully rebranded and expanded: new name, updated description, and fully rewritten documentation. - Added 7 new core files: config.py, main logic modules, interaction scripts, and package/requirements setup. - Enhanced documentation with clear usage steps, environment and API configuration, supported report types, file filtering, error handling, and troubleshooting. - OpenClaw integration now supports keyword invocation and flexible project/document type selection. - Improved clarity and usability for both configuration and day-to-day operation.
v0.1.2
- No changes detected in this version.
v0.1.1
- Added a new README.md file to the project. - Updated SKILL.md with minor formatting and content adjustments. - No changes to skill logic or configuration requirements.
v0.1.0
- Initial release of hivulse-docs skill for OpenClaw. - Generate structured, professional technical documentation from any codebase using HiVulse AI. - Supports Markdown, Word, and PDF output formats. - Features include dependency analysis, automatic UML diagrams, and changelogs. - Requires a HiVulse API Key for use; instructions provided for setup. - Can be triggered via command or natural language in OpenClaw.
Metadata
Slug hivulse-openclaw-skill
Version 0.1.4
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 5
Frequently Asked Questions

What is Hivulse蜂巢AI-Gen-Tech Docs 自动生成技术文档?

hivulse蜂巢 AI 是一款面向软件开发的自动化技术文档生成工具,通过指定目录代码一键生成多种规范化技术文档。目前已支持的文档类型包括:用户需求说明书、需求规格说明书、系统概要设计说明、系统详细设计说明等10几种报告。申请API Key请访问 www.hivulse.com. It is an AI Agent Skill for Claude Code / OpenClaw, with 402 downloads so far.

How do I install Hivulse蜂巢AI-Gen-Tech Docs 自动生成技术文档?

Run "/install hivulse-openclaw-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Hivulse蜂巢AI-Gen-Tech Docs 自动生成技术文档 free?

Yes, Hivulse蜂巢AI-Gen-Tech Docs 自动生成技术文档 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Hivulse蜂巢AI-Gen-Tech Docs 自动生成技术文档 support?

Hivulse蜂巢AI-Gen-Tech Docs 自动生成技术文档 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Hivulse蜂巢AI-Gen-Tech Docs 自动生成技术文档?

It is built and maintained by Bo Cao (@mojo-bo-coder); the current version is v0.1.4.

💬 Comments