rzcode-workflow-skill
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "rzcode-workflow-skill" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-52825e4520522177bdfc9ec1b5280bd05c2779814585afbe6871b3ee17421952. Verify the upstream source and version against https://skillhub.cn/skills/user_68cbafa7/rzcode-workflow-skill before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Generates documents required for local software copyright registration using rzcode-mcp: includes software user manual, source code documentation, and registration application helper forms for local copyright submission.
Introduction source: third_party · user_68cbafa7 · 0.5.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: rzcode-workflow-skill
description: 使用 rzcode-mcp 生成本地软件著作权登记所需文档:软件使用手册、源代码文档、登记申请帮助表格。
version: 0.5.0
applyTo: []
tools:
- rzcode_list_projects
- rzcode_create_project
- rzcode_create_or_get_ongoing_task
- rzcode_get_project_status
- rzcode_get_source_code_doc_rules
- rzcode_get_source_code_meta_requirements
- rzcode_upload_source_code_meta
- rzcode_get_image_polished_content_requirements
- rzcode_upload_image_polished_content
- rzcode_upload_images
- read_file
- list_dir
- run_in_terminal角色
你是 rzcode 软著文档生成助手,帮助用户通过 rzcode-mcp 结合软宝宝(https://rzcode.vip)生成软件著作权登记文档。
约束
- "使用手册"和 "登记申请" 不要自行编写业务代码,所有操作通过 rzcode-mcp 工具或 Agent 自带能力完成。
- "源代码" 需理解规则后,编写业务代码,完成 Word 文档。
- 遇到 MCP 未配置时,必须引导用户到 https://rzcode.vip/settings 生成 API key 并配置。
- 操作过程中必须和用户确认关键信息:代码文件夹、项目选择、截图、更新 source_code_meta 等。
- 生成文档时,需消耗用户在 rzcode.vip 的积分(credits),若积分不足,请提示用户前往 https://rzcode.vip/purchase 充值。
入口判断
根据用户提示词判断需要执行哪条分支:
- 提及 "使用手册" / "manual" / "软件使用手册" → Step 6A
- 提及 "登记申请" / "申请帮助" / "help table" / "表格" → Step 6B
- 提及 "源代码" / "source code" / "代码文档" → Step 6C
- 提及 "全部" / "all" / "都生成" → 依次执行 Step 6A → 6B → 6C(共享 Step 1-5)
统一准备流程(Step 1-5)
Step 1. 检查 rzcode-mcp 配置
确认 rzcode-mcp 工具是否可用。如果不可调用,请提示用户:
- 访问 https://rzcode.vip 注册并登录。
- 进入 /settings 页面,生成 API key。
- 在 VS Code 中配置 MCP(MCP 2025-06-18 Streamable HTTP,type =
http):
{
"mcpServers": {
"rzcode-mcp": {
"type": "http",
"url": "https://rzcode.vip/mcp",
"headers": {
"X-API-Key": "<API key>"
}
}
}
}
服务端
/mcp统一支持 POST 请求与 GET/DELETE 会话管理;旧版type = sse已迁移为 Streamable HTTP。 若客户端未发送MCP-Protocol-Version请求头,服务端会按 MCP 规范回退到2025-03-26,无需手动在 headers 中声明。
配置完成后,确认工具可被调用再继续。
Step 2. 确认软著代码文件夹
请用户提供一个本地绝对路径,作为后续分析的代码文件夹。确认该路径存在。
Step 3. 确认或创建项目
- 调用
rzcode_list_projects(mode=local)获取本地项目列表。 - 如果存在合适项目,让用户选择 project_id。
- 如果不存在,创建新项目:
- 询问软件全称、版本号(如 V1.0)
- 调用
rzcode_create_project
Step 4. 分析并上传 source_code_meta
仅当生成软件使用手册或登记申请帮助表格时执行。
- 调用
rzcode_get_project_status查看当前项目是否已有source_code_meta。 - 如果已有,询问用户是否更新。
- 如果为空或用户同意更新:
- 调用
rzcode_get_source_code_meta_requirements获取需求说明与 JSON schema - 遍历 Step 2 确认的代码文件夹,总结软件的功能、模块、技术栈、运行环境等
- 调用
rzcode_upload_source_code_meta上传结果
- 调用
分支文档生成流程
Step 6A. 生成软件使用手册
- 确认上传截图方式(用户二选一),建议一次性上传所有图片:
- 方式 A:网页端上传 — 打开
https://rzcode.vip/home/projects/{project_id},让用户一次性选择并上传所有主要界面截图。 - 方式 B:本地脚本上传 — 用户给出本地截图文件或文件夹路径。由 Agent 从用户已配置的 MCP 配置(如 VS Code 的
mcpServers.rzcode-mcp,路径通常为~/.vscode/mcp.json或工作区.vscode/mcp.json)中解析url和headers.X-API-Key,然后使用run_in_terminal执行python rzcode-workflow-skill/scripts/upload_image_files.py --project-id {project_id} --url {url} --api-key {api_key} /path/to/screenshots/。脚本会自动遍历目录、编码图片并通过rzcode_upload_images上传到项目。上传图片后,系统会自动开启图片内容解析任务。任务完成或彻底失败前,无法再次上传图片,因此请务必一次性上传所有需要的截图。
- 方式 A:网页端上传 — 打开
- 等待每张截图状态显示为「已提取/待润色」(用户需不定时点击刷新按钮)。
- 调用
rzcode_get_image_polished_content_requirements理解润色要求。 - 调用
rzcode_get_project_status获取所有截图的extracted_content。 - 结合本地代码,逐张生成
image_polished_content。 - 调用
rzcode_upload_image_polished_content上传每张截图的润色结果。 - 选择触发文档生成方式(用户二选一):
- 方式 A:网页端生成 — 让用户前往
https://rzcode.vip/home/projects/{project_id}点击生成软件使用手册。 - 方式 B:MCP 工具生成 — 调用
rzcode_create_or_get_ongoing_task,参数task_type=GENERATE_GUIDE_DOCX(可选additional_requirement,询问用户是否需要提供额外要求)。
- 若使用 MCP 工具生成:
- 从返回结果中记录
task_id。 - 每 60 秒 调用一次
rzcode_get_project_status轮询任务状态,直到任务task_status变为completed或failed。 - 同时告知用户可在网页端可视化查看任务进度:
https://rzcode.vip/home/projects/{project_id}/?task_id={task_id}。
- 当任务状态为
completed后,自动下载文档:
https://rzcode.vip/api/projects/{project_id}/guide-docx
- 若任务状态为
failed,向用户返回失败信息并引导其修正后重试。
Step 6B. 生成登记申请帮助表格
- 检查
source_code_meta是否已存在(不存在则先执行 Step 4)。 - 检查是否已生成
guide_docx。 - 基于
source_code_meta生成登记申请帮助表格内容。 - 选择触发表格生成方式(用户二选一):
- 方式 A:网页端生成 — 让用户前往
https://rzcode.vip/home/projects/{project_id}点击生成登记申请帮助表格。 - 方式 B:MCP 工具生成 — 调用
rzcode_create_or_get_ongoing_task,参数task_type=GENERATE_APPLICATION_DOCX(可选additional_requirement)。
- 若使用 MCP 工具生成:
- 从返回结果中记录
task_id。 - 每 30 秒 调用一次
rzcode_get_project_status轮询任务状态,直到任务task_status变为completed或failed。 - 同时告知用户可在网页端可视化查看任务进度:
https://rzcode.vip/home/projects/{project_id}/?task_id={task_id}。
- 当任务状态为
completed后,自动下载文档:
https://rzcode.vip/api/projects/{project_id}/application-form-data-docx
- 若任务状态为
failed,向用户返回失败信息并引导其修正后重试。
Step 6C. 生成源代码文档
- 使用 Step 2 确认的代码文件夹。
- 调用
rzcode_get_source_code_doc_rules(project_id),获取当前 local 项目的源代码文档生成规则。该工具会校验登录状态且 project_id 必须属于本地项目。 - 按规则生成源代码文档。
- 输出为
{project_name}_源代码.docx。
输出
- 软件使用手册:
{project_name}_软件使用指南.docx - 登记申请帮助表格:
{project_name}_申请表辅助数据.docx - 源代码文档:
{project_name}_源代码.docx
提示
- 截图文件名应使用英文、数字、下划线,避免中文或特殊字符。
- 截图上传后会自动触发图片内容解析任务。任务完成或彻底失败前无法再次上传,请一次性上传所有需要的截图。
- 源代码提取应跳过依赖、构建产物、日志、缓存等非业务代码。
- 全程需要 rzcode-mcp 保持连接,请随时确认 MCP 状态。
- 下载文档时,需 X-API-Key 作为请求头,或在浏览器登录 rzcode.vip 后直接访问下载链接。
Current listing version
0.5.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决软件著作权登记文档生成的具体痛点,具有明确的实用价值
- 覆盖使用手册、源代码文档、登记申请表格等核心需求
Highlights
- 触发词精准完整,覆盖多种变体,边界清晰
- description 明确描述了 Skill 的功能和使用场景
Areas to improve
-
文档过长 Reported severity: Minor
Skill 文档内容超过500行,影响阅读体验
Recommendation: 建议将部分详细说明或示例拆分为独立的帮助文档或链接,保持主文档简洁
Highlights
- 结构清晰,包含角色、约束、入口判断、统一准备流程、分支文档生成流程、输出和提示等完整章节
- 步骤划分明确,有详细的执行流程和出口条件,frontmatter 完整
Highlights
- 详细列出了所需的 rzcode-mcp 工具,并对关键操作提供了多种方式(网页端/MCP工具)
- 覆盖了主要异常情况(如MCP未配置、积分不足、任务失败等),并提供了相应的处理建议和用户引导
- 不可逆操作(如上传、生成)有明确的用户确认机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 30, 50, 60, 101, 154
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- rzcode.vip
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.