Agent Skills › mastra-ai/mastra › factory-complete-issue

factory-complete-issue

GitHub

自动将完成的 Factory 工作项关联的 GitHub Issue 标记为完成,移除相关状态标签,并根据 Issue 当前状态添加 pending-close 标签或发布通知评论。

mastracode/factory/factory-skills/factory-complete-issue/SKILL.md mastra-ai/mastra

Trigger Scenarios

需要更新已完成任务的 GitHub Issue 状态 清理 Issue 上的临时状态标签

Install

npx skills add mastra-ai/mastra --skill factory-complete-issue -g -y
More Options

Non-standard path

npx skills add https://github.com/mastra-ai/mastra/tree/main/mastracode/factory/factory-skills/factory-complete-issue -g -y

Use without installing

npx skills use mastra-ai/mastra@factory-complete-issue

指定 Agent (Claude Code)

npx skills add mastra-ai/mastra --skill factory-complete-issue -a claude-code -g -y

安装 repo 全部 skill

npx skills add mastra-ai/mastra --all -g -y

预览 repo 内 skill

npx skills add mastra-ai/mastra --list

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 triage
  • status: auto-triaged
  • status: 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

Same Skill Collection

.agents/skills/label-core-bugs/SKILL.md
.agents/skills/testing-core-processors/SKILL.md
.claude/skills/debugging-difficult-bugs/SKILL.md
.claude/skills/docs-audit/SKILL.md
.claude/skills/docs-diagrams/SKILL.md
.claude/skills/e2e-tests-studio/SKILL.md
.claude/skills/label-core-bugs/SKILL.md
.claude/skills/mastra-docs/SKILL.md
.claude/skills/mastra-frontend/SKILL.md
.claude/skills/mastra-smoke-test/SKILL.md
.claude/skills/pr-explainer/SKILL.md
.claude/skills/pr-splitter/SKILL.md
.claude/skills/ralph-plan/SKILL.md
.claude/skills/react-best-practices/SKILL.md
.claude/skills/smoke-test/SKILL.md
.claude/skills/tailwind-v4/SKILL.md
.claude/skills/testing-core-processors/SKILL.md
.claude/skills/testing-mastracode-tui/SKILL.md
.mastracode/skills/gh-bulk-issues/SKILL.md
.mastracode/skills/gh-review/SKILL.md
.mastracode/skills/herdr-kit-workflows/SKILL.md
.mastracode/skills/herdr-manager-query/SKILL.md
.mastracode/skills/label-core-bugs/SKILL.md
.mastracode/skills/pr-snapshot-release/SKILL.md
.mastracode/skills/understand-issue/SKILL.md
.mastracode/skills/understand-pr/SKILL.md
mastracode/factory/factory-skills/configure-factory-rules/SKILL.md
mastracode/factory/factory-skills/factory-gitlab-rereview/SKILL.md
mastracode/factory/factory-skills/factory-gitlab-review/SKILL.md
mastracode/factory/factory-skills/factory-plan/SKILL.md
mastracode/factory/factory-skills/factory-rereview/SKILL.md
mastracode/factory/factory-skills/factory-review/SKILL.md
mastracode/factory/factory-skills/factory-triage/SKILL.md
templates/template-claw-assistant/workspace/skills/general-tasks/SKILL.md
templates/template-claw-assistant/workspace/skills/research-tasks/SKILL.md
templates/template-github-review-agent/workspace/skills/code-standards/SKILL.md
templates/template-github-review-agent/workspace/skills/performance-review/SKILL.md
templates/template-github-review-agent/workspace/skills/security-review/SKILL.md
.claude/skills/builder-smoke-test/SKILL.md
.claude/skills/playground-msw-tests/SKILL.md
.mastracode/skills/triage-issue/SKILL.md

Metadata

Files
0
Version
263f4ce
Hash
64bd2957
Indexed
2026-08-20 17:27

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-25 21:46
浙ICP备14020137号-1