This handles the full document lifecycle in DingTalk's knowledge base system, from creating workspaces and folders to reading and writing document content. You'll need your app credentials and user ID from the DingTalk admin console. It's built around a helper script that manages token caching and the userId to unionId conversion that DingTalk's API requires for every operation. The skill includes detailed API references for thirteen operations, covering everything from listing workspaces to managing member permissions. One thing to note is that DingTalk uses different identifiers for different operations, so you'll be juggling docKeys, dentryUuids, and nodeIds depending on whether you're reading content or deleting files.
npx skills add https://github.com/breath57/dingtalk-skills --skill dingtalk-document