Handles all DingTalk contact directory queries through their API. You get user search by keyword, full employee details (name, phone, employee ID, department, unionId), department trees, member lists, and headcount stats. The workflow is strict: it identifies your task type first, validates only the config you need for that specific operation (AppKey and AppSecret are always required, plus your own userId if querying relative to yourself), then fetches tokens and executes. Includes a helper script for token management and config storage, with fallback logic for invalidated tokens. The actual API calls live in a separate reference file you grep by operation number, which keeps the main guide clean.
npx skills add https://github.com/breath57/dingtalk-skills --skill dingtalk-contact