一键导入
task-update
Update an existing task by slug. Use when user says "update task", "change task status", "task-update", "mark task as", or "modify task".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update an existing task by slug. Use when user says "update task", "change task status", "task-update", "mark task as", or "modify task".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate a Gemini text-to-speech audio file for each narrative-style .md file in a directory tree, and attach a Listen link at the top of every file. Strips ASCII diagrams, navigation, and separators before synthesis — only paragraph prose is spoken. Use when user says "generate story audio", "text to speech for stories", "tts for markdown", "attach audio to stories", or "local-audio".
End-to-end ERP marketing article workflow — fetch today's marketing task, write the article with diagram and translations, upload to production, and mark the task as completed. Use when user says "marketing article", "erp marketing", "write today's marketing article", or "local-erp-marketing-article".
Assign the next 5 unchecked ERP features from data/erp_features.md as ERP Marketing tasks, distributed one per weekday (Mon–Fri) of the coming week. Use when user says "weekly assignment", "assign marketing tasks", "erp marketing weekly", or "local-erp-marketing-article-weekly-assignment".
Bulk-like posts on the TadReamk LinkedIn company page feed. Navigates to the admin feed, injects a JS script that likes posts with random delays, scrolls to load more, and monitors until the target count is reached. Use when user says "linkedin like", "like linkedin posts", "bulk like", or "local-erp-marketing-linkedin-like".
Generate a narrative user-story documentation set from a customer-requirement share URL. Fetches the document, saves it under data/customer_requirements/ as requirements.md (or requirements_cn.md + requirements_en.md if Chinese), then turns each feature into a human-centred, diagram-driven chapter under narrative_user_story/. Use when user says "generate narrative user story", "write narrative user story", "narrative story from requirements", "narrative docs", or "local-generate-narrative-user-story".
Sync the local .claude.prod/api_doc/ directory with the latest API documentation from the fullstack ERP project. Use when user says "update api doc", "sync api doc", "refresh api doc", or "api-doc-update".
| name | task-update |
| description | Update an existing task by slug. Use when user says "update task", "change task status", "task-update", "mark task as", or "modify task". |
| disable-model-invocation | true |
Update an existing task by slug.
This command requires a task slug and the fields to update (e.g., /task-update documentation-607495 status to in_queue).
Auth token is loaded from the WEBAPP_ACCESS_TOKEN variable — first from .env in the current working directory, then from ~/.claude/.env as a global fallback.
Load the auth token by reading .env in the current working directory and extracting the WEBAPP_ACCESS_TOKEN value. If the variable is missing or empty, try ~/.claude/.env as a fallback. If still missing in both locations, tell the user to set it in either .env (project-level) or ~/.claude/.env (global) and stop.
Extract from the command argument:
xxx-123456)status — one of: not_started, in_queue, in_progress, blocked, request_approval, completed, cancelledpriority — one of: low, medium, high, urgent, criticaltitle — new titledescription — new descriptionIf the slug is missing, tell the user to provide it and stop. If no updates are clear from the input, ask the user what they want to change using the AskUserQuestion tool with the following options:
For status, present these options:
not_started — Not yet plannedin_queue — Ready to startin_progress — Actively being worked onblocked — Waiting on somethingrequest_approval — Needs approvalcompleted — Donecancelled — No longer neededFor priority, present these options:
low — Low prioritymedium — Normal priorityhigh — High priorityurgent — Needs attention sooncritical — Needs immediate attentionFirst fetch the current task to show what will change:
curl -s "https://api-erp.tadreamk.com/api/v1/tasks/<slug>" \
-H "Authorization: Bearer <token>"
If the task is not found or access denied, display the error and stop.
Show the user what will change:
Updating task: <title> (<slug>)
Changes:
<field>: <old value> -> <new value>
...
Proceed?
curl -s -X PATCH "https://api-erp.tadreamk.com/api/v1/tasks/<slug>" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{"<field>": "<value>", ...}'
Only send the fields that are being updated. Use a temporary JSON file if the body contains special characters.
Parse the response. If the update fails, display the error and stop.
Task updated successfully!
Slug: <slug>
<field>: <new value>
...
URL: https://erp.tadreamk.com/tasks/<slug>