360 Secure SkillHub
360 安全技能中心

DocMate

DocMate是Agent平台的文档QA修复助手,核心功能包括路由文档查询至指定仓库,区分纯文档问题与需代码验证的问题,生成含证据的文档缺口报告,支持三种修复模式,在临时工作区修复不污染主分支,还可提交GitHub PR或GitLab MR。适用于需Agent处理文档问答、验证文档代码一致性、修复文档漏洞的场景。此为安装通知,需参考官方仓库文档配置使用。

wufei-png
wufei-png
热度 20.97
最近更新 2026-07-13 23:09:52
分类:效率依赖:读写文件 / 第三方 API / 内部调用大模型应用场景:校对润色 / 报告撰写 / API 集成 / 代码审查

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add docmate
Metadata
name
docmate
description
Documentation QA and repair skill for agent platforms: answer from project docs, verify stale implementation-sensitive claims against code, report documentation gaps, and optionally open GitHub PRs or GitLab MRs. This ClawHub package is an install notice; follow the official repository documentation for the runtime skill.

DocMate

DocMate is a skill-first documentation QA and documentation repair assistant for agent platforms. It helps an agent answer from project documentation, verify docs against code when runtime behavior matters, report missing or stale documentation, and optionally repair confirmed documentation gaps through GitHub pull requests or GitLab merge requests.

DocMate is useful when you want an agent to:

  • route documentation questions to configured repositories through docmate.catalog.json;
  • distinguish docs-only answers from questions that must verify implementation details in code;
  • produce concise gap reports with document evidence, code evidence, affected docs, and confidence;
  • use ask, auto, or off modes for controlled documentation repair;
  • repair docs in temporary git worktrees without dirtying the user's main checkout.

Install

This ClawHub package is an install notice, not the DocMate runtime skill body. DocMate is configured at installation time, so use the official repository's installation documentation and review the current source before making any local agent-host changes.

Official repository: https://github.com/wufei-png/DocMate

The native setup selects an English or Chinese runtime skill, creates references/docmate.catalog.json, records the documentation repositories you want DocMate to use, and links the skill into the selected agent hosts.

After installation, use the installed DocMate skill and edit the generated catalog path printed by the installer.