Feishu doc verifier

From wulaosiji/skills · View interactive version

Feishu doc verifier is an AI agent skill from the GitHub repository wulaosiji/skills. 知识库文档验证子技能 / Feishu wiki document verifier sub-skill. 使用 Playwright 验证飞书知识库文档是否创建成功并可正常访问,截图留证。 Use when: "验证知识库文档", "verify wiki document", "知识库可访问性检查", "wiki accessibility check", "Playwright验证知识库", "playwright wiki verification", "知识库文档截图", "wiki document screenshot". 内部组件,由 feishu-wiki-orchestra

How to use this skill

Skill file

Feishu Wiki Document Verifier (Sub-skill)

使用 Playwright 访问飞书知识库文档,验证文档是否创建成功并可正常访问,截图留证。内部组件。

When to Use

Use this skill when:

Do NOT use this skill if:

Typical triggers:

Workflow

  1. 探查 (Probe)

从 doc_info.json 加载知识库文档 ID 和 URL。

  1. 约束 (Constrain)

使用 Playwright 持久化上下文启动浏览器,确保登录态有效。验证方式必须不同于生成路径(API 创建 → 浏览器验证)。知识库 URL 格式为 https://xxx.feishu.cn/wiki/xxx。

  1. 执行 (Execute)
  2. 启动 Playwright 浏览器
  3. 导航到知识库文档 URL,等待页面加载
  4. 检查页面标题和内容
  5. 确认文档在知识库节点树中的位置
  6. 截图保存
python scripts/doc_verifier.py workflow/step2_create/doc_info.json output
  1. 验证 (Verify)

确认 page_loaded 为 true,page_title 与预期标题匹配,截图文件已生成,知识库面包屑导航显示正确位置。

  1. 交付 (Deliver)

保存验证结果到 output/verify_result.json。

Output

{
  "success": true,
  "document_id": "U2wNd2rMkot6fzxr67ScN7hJn7c",
  "document_url": "https://feishu.cn/wiki/U2wNd2rMkot6fzxr67ScN7hJn7c",
  "page_loaded": true,
  "page_title": "文档标题",
  "wiki_location_correct": true,
  "screenshot": "output/screenshot.png",
  "verified_at": "2026-01-22T10:40:00"
}

Guardrails

Anti-patterns

Constraints

Related Skills

About UniqueClub

Part of the UniqueClub toolkit.

🌐 https://uniqueclub.ai

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.