wecom-doc

Solid

Manage WeCom documents, smartpages, uploads, and smartsheets via the wecom CLI. Use when the user wants to read, create, edit, export, upload to, or manage WeCom docs, sheets, or smartpages, or when a doc.weixin.qq.com URL is mentioned.

Data & Documents 93 stars 12 forks Updated 4 days ago Apache-2.0

Install

View on GitHub

Quality Score: 85/100

Stars 20%
66
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

<objective> Manage WeCom documents, smartpages (formerly "智能主页" / "智能文档"), uploads, and smartsheets through the `wecom doc:*` subcommands. Help the agent route URLs to the correct tool family, build oclif flag commands, and poll async export/read tasks to completion. </objective> <quick_start> Read a document or sheet: ```bash wecom doc:get-doc-content --docid DOCID --type 2 ``` Create a document: ```bash wecom doc:create-doc --doc-type 3 --doc-name "Weekly Report" ``` Upload an image to a document: ```bash wecom doc:upload-doc-image --docid DOCID --file-path "images/chart.png" ``` Get smartsheet metadata: ```bash wecom doc:smartsheet-get-sheet --docid DOCID ``` Add a record to a smartsheet: ```bash wecom doc:smartsheet-add-records --docid DOCID --sheet-id SHEET --records '[{"field_values":{"Field1":"Value1"}}]' ``` Export every smartsheet in a document to one `.xlsx` file: ```bash wecom doc:smartsheet-export-excel --docid DOCID --output ./export.xlsx ``` If `wecom` is not in PATH, use `npx wecom` or `${WECOM_CLI_PATH}`. </quick_start> <workflow> 1. **Verify CLI version**: Before any operation, check the installed CLI version: ```bash wecom --version ``` Expected: `1.2.0` or higher. If lower, advise the user to update: ```bash npm install -g @webank/wecom@latest ``` If `wecom` is not found, check `npx wecom --version` or `${WECOM_CLI_PATH} --version`. If the CLI is not installed at all, advise installation: ```bash npm install -g...

Details

Author
ai-dvps
Repository
ai-dvps/comate
Created
3 months ago
Last Updated
4 days ago
Language
TypeScript
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category