用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/GavinGreenwood/agentic-workflow-template --skill capture命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | capture |
| description | User-invoked only. Turn the current conversation into a tracked ticket + commit |
| disable-model-invocation | true |
Review the full conversation so far and do the following:
Check that JIRA_BASE_URL, JIRA_API_TOKEN, JIRA_EMAIL, and JIRA_ACCOUNT_ID are set in .env. If any are missing, stop and ask the user to add them. Source .env before all Jira API calls.
source .env && curl -s -u "$JIRA_EMAIL:$JIRA_API_TOKEN" \
-X POST "$JIRA_BASE_URL/rest/api/3/issue" \
-H "Content-Type: application/json" \
-d "{
\"fields\": {
\"project\": { \"key\": \"$JIRA_PROJECT_KEY\" },
\"issuetype\": { \"name\": \"<Bug|Story|Task>\" },
\"summary\": \"<concise summary of what was discussed/fixed>\",
\"description\": {
\"type\": \"doc\",
\"version\": 1,
\"content\": [{
\"type\": \"paragraph\",
\"content\": [{
\"type\": \"text\",
\"text\": \"<brief description: what the problem was, what was done, any relevant context>\"
}]
}]
},
\"assignee\": { \"accountId\": \"$JIRA_ACCOUNT_ID\" }
}
}"
Capture the ticket key from the response key field (e.g. PROJ-999).
If JIRA_BOARD_ID is set in .env, move the ticket onto the active board:
source .env && curl -s -u "$JIRA_EMAIL:$JIRA_API_TOKEN" \
-X POST "$JIRA_BASE_URL/rest/agile/1.0/board/$JIRA_BOARD_ID/issue" \
-H "Content-Type: application/json" \
-d "{\"issues\": [\"<TICKET_KEY>\"]}"
First, get available transitions:
source .env && curl -s -u "$JIRA_EMAIL:$JIRA_API_TOKEN" \
"$JIRA_BASE_URL/rest/api/3/issue/<TICKET_KEY>/transitions"
Find the transition whose name matches "In Progress" (case-insensitive). Use its id to apply it:
source .env && curl -s -u "$JIRA_EMAIL:$JIRA_API_TOKEN" \
-X POST "$JIRA_BASE_URL/rest/api/3/issue/<TICKET_KEY>/transitions" \
-H "Content-Type: application/json" \
-d '{"transition": {"id": "<transition-id>"}}'
Check git status. If there are modified/untracked files relevant to what was discussed:
<TICKET_KEY>: <type>: <short description>fix, feat, refactor, choreIf there are no changes, skip the commit and confirm the ticket was created.
Tell the user:
$JIRA_BASE_URL/browse/<TICKET_KEY>