Feishu doc verifier

From wulaosiji/skills · View interactive version

Feishu doc verifier is an AI agent skill from the GitHub repository wulaosiji/skills. 文档验证子技能 / Feishu document verifier sub-skill. 使用 Playwright 验证飞书文档是否创建成功并可正常访问,截图留证。 Use when: "验证飞书文档", "verify feishu document", "文档可访问性检查", "doc accessibility check", "Playwright验证", "playwright verification", "文档截图", "document screenshot". 内部组件,由 feishu-doc-orchestrator 编排调用,使用不同于生成路径的方式回读验证。Cro

How to use this skill

Skill file

Feishu 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 创建 → 浏览器验证)。

  1. 执行 (Execute)
  2. 启动 Playwright 浏览器
  3. 导航到文档 URL,等待页面加载
  4. 检查页面标题和内容
  5. 截图保存
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/docx/U2wNd2rMkot6fzxr67ScN7hJn7c",
  "page_loaded": true,
  "page_title": "文档标题",
  "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.