oc-bugfix skillA
oc-bugfix is agent-read markdown (skill) from krillinai/opencreator: 处理并回写 OpenCreator 飞书 Bug 文档中的问题,依次完成事实排查、详细方案确认、修复、功能测试和原因/方案回写。仅在用户明确要求处理该 Bug 文档或明确调用本 skill 时使用;普通开发修复不自动启用。.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified before it reaches your agent: the main file against the SHA-256 recorded here, the others against the git hashes of its source commit. The deterministic audit below grades the latest version, and the same checks always give the same file the same grade.
What the file says
# OpenCreator Bug Fix 默认问题文档:`https://q1trqz6q9x7.feishu.cn/wiki/D0O5wUHqGiZoXHk9QPqcZjYhnwh`。 遵守仓库根目录 `AGENTS.md`。本流程中的用户确认只授权已说明的修复方案,不自动授权 Git commit、push、发布、添加文档协作者或修改共享权限。 ## 飞书工具铁律 - 本项目已验证可用的 Lark CLI 集成是 `lark-mcp mcp`。必须通过 Node MCP SDK 的 `StdioClientTransport` 启动并调用它;不得在交互式 PTY 中向进程直接发送原始 JSON,因为终端回显和控制字符会导致请求挂起或协议失效。 - 使用 OAuth `user_access_token`,调用工具时设置 `useUAT: true`。启动时只开放本次需要的 docx 工具,例如读取使用 `docx.v1.documentBlock.list`,追加内容使用 `docx.v1.documentBlockChildren.create`。 - 不得因为 `whoami` 或 scope 展示中未出现 docx 权限,就直接判断文档不可编辑。编辑能力以实际的受控 API 调用结果为准;先读目标块,再执行最小写入,并回读验证。 - 写入前读取最新问题块及其 children,确认目标文本、目标 block ID、插入位置和已有图片没有变化。若文档内容与排查时记录不一致,停止写入并重新定位,避免覆盖他人修改。 - 写入必须针对原问题块做最小范围追加,并使用稳定、可复用的 `client_token` 防止重试产生重复内容。禁止覆盖原问题、删除原图片或把内容追加到无关位置。 - 写入后立即重新读取目标问题及相邻块;只有新增内容的位置和文本正确、原有内容与图片仍然存在时,才算回写成功。 - 命令、认证参数或本机凭据来源不明确时,先检查已安装包、CLI 帮助和现有安全存储配置。不得凭空猜测命令,也不得通过登出、重新授权、修改协作者或共享权限来试错。 ## 进入流程 只有用户明确调用 `$oc-bugfix`,或明确要求读取、处理、修复、测试或回写上述飞书 Bug 文档时才启用。用户只提出普通 Bug、开发或体验优化时,直接按常规开发流程处理,不读取或回写飞书文档。 1. 通过上述 `lark-mcp mcp` CLI 集成,以 OAuth 用户身份解析 Wiki 节点并读取最新正文;不要依赖先前对话中的文档副本。 2. 用户未指定问题时,根据其描述在文档中定位;存在多个合理匹配时,列出候选并请用户选择,不得猜测。 3. 记录问题在文档中的原始描述和相邻上下文,后续回写必须落在该问题下面,不得只追加到文档末尾。 …
Read the whole file at its exact version.
How to install
mdr add krillinai/opencreator/oc-bugfix@git:20260922.e951aaamdr add krillinai/opencreator/oc-bugfix@sha256:0b1aa3df95259c67Pin to a label to follow the author's releases, or to a sha256 for exact bytes. Either way the resolved hash is written to mdr.lock, and mdr install fetches those bytes again and checks them, so it installs them exactly or fails.
[](https://markdownregistry.com/a/art_x3ejf7fwofyjt477)
2 badge views in 30 days
Versions
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6666 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
krillinai/opencreator · 12,463 stars · license Apache-2.0 · pushed 2026-09-26 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_x3ejf7fwofyjt477 GET https://markdownregistry.com/api/v1/resolve?ref=krillinai/opencreator/oc-bugfix GET https://markdownregistry.com/api/v1/blob/0b1aa3df95259c6741df1dc6aea763980c98881be7f5a7f8461a8bb619637006
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.