factory-complete-issue
GitHub解析GitHub Issue URL或编号,读取当前状态与标签。移除待处理相关标签;若Issue未关闭,则添加pending-close标签并留言标记完成;已关闭则无操作。仅修改指定标签,不改变Issue其他状态。
Trigger Scenarios
Install
npx skills add mastra-ai/mastra --skill factory-complete-issue -g -y
SKILL.md
Frontmatter
{
"name": "factory-complete-issue",
"description": "Mark a GitHub issue as done and update its status labels"
}
Factory Complete Issue
Mark the GitHub issue behind a completed Factory work item as done and update its status labels.
Parse the issue URL or number from $ARGUMENTS, then read its current state and labels. Remove any of these labels that are present:
status: needs triagestatus: auto-triagedstatus: needs approval
Use gh issue edit to remove the listed triage labels. If the issue is open, add status: pending-close when it is not already present and post this comment unless the issue already has it:
This issue has now been marked as done.
If the issue is already closed, do not add status: pending-close or post the comment. Do not modify any other labels or issue fields.
Do not close, reopen, or assign the issue, and do not request another Factory transition.
Version History
- fb538c4 Current 2026-08-20 17:27


