用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/stevehuang0115/crewly --skill complete-task命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | Complete Task |
| description | Mark a task as complete with a summary of the work done. |
| version | 1.2.0 |
| category | task-management |
| skillType | claude-skill |
| assignableRoles | ["developer","qa","tpm","designer","frontend-developer","backend-developer","fullstack-dev","qa-engineer","product-manager","architect","generalist","sales","support"] |
| triggers | ["complete task","finish task","mark done","task done"] |
| tags | ["task","completion","status"] |
| execution | {"type":"script","script":{"file":"execute.sh","interpreter":"bash","timeoutMs":15000}} |
Mark a task as complete with a summary of the work done. If the task has an output schema, provide structured output that will be validated against the schema. Optionally skip quality gates if they have already been verified separately.
| Parameter | Required | Description |
|---|---|---|
workItemId | Preferred | ID of the V3 WorkItem to complete. This is the only input that selects the WorkItem |
sessionName | Yes | Your agent session name |
summary | Yes | Summary of the work completed |
absoluteTaskPath | No | Legacy (V1). Still accepted so older callers keep working, but it does NOT identify a WorkItem |
output | No | Structured output object (required if task has an output schema) |
skipGates | Rejected | Not supported. This endpoint runs no quality gates, so there is nothing to skip. Passing it is a hard error. Use the check-quality-gates skill for gates. |
Resolution order:
workItemId, if you pass it — always wins.running against your
sessionName (GET /api/task-pool/items?status=running&target=<session>).Pass workItemId whenever you know it — the lookup in step 2 depends on the
pool state at that instant and cannot disambiguate two concurrently running
items for one session.
bash config/skills/agent/core/complete-task/execute.sh '{"workItemId":"wi-abc123","sessionName":"dev-1","summary":"Implemented login form with validation and tests"}'
bash config/skills/agent/core/complete-task/execute.sh
bash config/skills/agent/core/complete-task/execute.sh '{"workItemId":"wi-abc123","sessionName":"dev-1","summary":"Implemented login","output":{"summary":"Login form with validation","filesChanged":["src/login.tsx","src/login.test.tsx"],"testsAdded":2}}'
Note: a summary key inside output overrides the top-level summary.
bash config/skills/agent/core/complete-task/execute.sh '{"absoluteTaskPath":"/projects/app/.crewly/tasks/in_progress/implement-login.md","sessionName":"dev-1","summary":"Implemented login"}'
absoluteTaskPath is carried for logging context only; the WorkItem is still
resolved by step 2 above.
If the task markdown contains an ## Output Schema section with a JSON Schema definition, your output object must validate against that schema. If validation fails, the response will include the errors and you can retry (up to 2 retries). After max retries, the task will be moved to blocked/.
Before calling this skill, verify:
JSON confirmation of task completion status. If validation fails:
{
"success": false,
"validationFailed": true,
"errors": ["error details"],
"retryCount": 1,
"maxRetries": 2,
"message": "Output validation failed. 1 retries remaining."
}