feishu-doc-verifier_skill

This skill verifies Feishu documents by using Playwright to load a doc URL, check accessibility, and save a verification result.
  • Python

5

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill rosalynyang/feishu-doc-creator-skill --skill feishu-doc-verifier

  • SKILL.md3.1 KB

Overview

This skill verifies that a Feishu document was created successfully and is reachable. It uses Playwright to open the document URL, confirm page load and title, capture a screenshot, and write a structured verification result to output. The skill supports saved login state to run headless after the first interactive login.

How this skill works

The verifier reads document metadata (ID and URL) from the doc_info.json produced by the creator. It launches Playwright with a persistent context: the first run opens a visible browser for QR login and saves the authentication state; subsequent runs reuse the saved state and run headless. The skill navigates to the document URL, checks page title and visible content, takes a screenshot, and writes a verify_result.json with success status, timestamps, and file pointers.

When to use it

  • After generating a Feishu document to confirm it was created and is accessible.
  • As a CI/automation step to validate document creation in workflow pipelines.
  • When debugging permission or access issues for a generated document.
  • Periodically to re-validate document availability using saved login state.

Best practices

  • Run the verifier interactively once to complete Feishu QR login so state.json is created.
  • Keep .claude/playwright_state backed up if you want repeatable headless runs.
  • Store outputs (verify_result.json and screenshot) with build artifacts for audits.
  • Remove .claude/playwright_state to force a fresh login when credentials expire.
  • Provide the exact doc_info.json generated by the creator skill to avoid mismatches.

Example use cases

  • A CI job runs the creator skill, then calls this verifier to fail the pipeline if the doc is not accessible.
  • A QA engineer verifies a batch of generated documents and collects screenshots for review.
  • An automation workflow checks that permission updates allowed external viewers to access the doc.
  • A scheduled task re-validates important documentation pages and reports availability.

FAQ

The verifier expects doc_info.json produced by the doc creator and an output directory path where verify_result.json and screenshot will be saved.

How is login handled?

On first run the browser opens for QR scan login and saves state to .claude/playwright_state/state.json; later runs reuse that state and run headless.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational