一键导入
strategy-signoff
Sign off on a CI-approved strategy — pushes content and adds strat-creator-human-sign-off label. For rubric-pass strategies only.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Sign off on a CI-approved strategy — pushes content and adds strat-creator-human-sign-off label. For rubric-pass strategies only.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create strategies from approved RFEs by cloning them to RHAISTRAT in Jira, or guiding the user through manual cloning.
Refine a single strategy — add the HOW, dependencies, impacted teams/components, and non-functional requirements. Requires a strategy key argument.
Adversarial review of a single refined strategy. Scores against rubric, then runs independent forked reviewers for detailed prose. Requires a strategy key argument.
Reviews strategy features for testability — are acceptance criteria measurable, are edge cases covered, can this be validated?
Pull a RHAISTRAT issue from Jira into the local/ workspace for human review. Only works on post-CI strategies.
Push a locally-refined strategy back to Jira and resubmit to CI. For needs-attention strategies only.
| name | strategy-signoff |
| description | Sign off on a CI-approved strategy — pushes content and adds strat-creator-human-sign-off label. For rubric-pass strategies only. |
| user-invocable | true |
| allowed-tools | Read, Write, Edit, Bash, Glob, Grep |
You are signing off on a strategy that has passed CI review, marking it as feature-ready after human confirmation.
$ARGUMENTS must contain a RHAISTRAT key (e.g., RHAISTRAT-1520). If no key is provided, ask the user for one.
Read the strategy file from local/strat-tasks/RHAISTRAT-NNNN.md. Verify it exists.
Then fetch the current labels and parent from Jira:
python3 ${CLAUDE_SKILL_DIR}/scripts/fetch_issue.py RHAISTRAT-NNNN --fields labels,parent --markdown
Guard checks:
strat-creator-needs-attention (not rubric-pass): tell the user this strategy needs CI approval first. Suggest using /strategy-push to resubmit, then waiting for CI to approve before signing off. Stop here.strat-creator-rubric-pass: tell the user this strategy hasn't been CI-approved yet and cannot be signed off. Stop here./strategy-pull RHAISTRAT-NNNN first. Stop here.Parent check (non-blocking):
parent field set: print [WARNING] RHAISTRAT-NNNN has no parent Outcome set. Consider setting one in Jira for proper hierarchy navigation. Continue with sign-off.Before proceeding, show the user a summary:
local/strat-reviews/, show the score summaryAsk the user to confirm: "Ready to sign off on RHAISTRAT-NNNN? This will push the strategy content to Jira and add the strat-creator-human-sign-off label."
Push the updated strategy section to Jira:
python3 ${CLAUDE_SKILL_DIR}/scripts/push_strategy.py RHAISTRAT-NNNN local/strat-tasks/RHAISTRAT-NNNN.md
If a review summary exists at local/strat-reviews/RHAISTRAT-NNNN-review-summary.md, post it as a comment to the Jira issue:
python3 -c "
import sys; sys.path.insert(0, '${CLAUDE_SKILL_DIR}/scripts')
from jira_utils import add_comment, markdown_to_adf, require_env
s, u, t = require_env()
comment_md = open(sys.argv[1]).read()
add_comment(s, u, t, sys.argv[2], markdown_to_adf(comment_md))
" local/strat-reviews/RHAISTRAT-NNNN-review-summary.md RHAISTRAT-NNNN
Print [COMMENT] Review summary posted to RHAISTRAT-NNNN.
If the summary file does not exist, skip and print [SKIP] No review summary found — skipping comment.
If a full review file exists at local/strat-reviews/RHAISTRAT-NNNN-review.md, attach it to the Jira issue:
python3 -c "
import sys; sys.path.insert(0, '${CLAUDE_SKILL_DIR}/scripts')
from jira_utils import add_attachment, require_env
s, u, t = require_env()
add_attachment(s, u, t, sys.argv[1], sys.argv[2])
" RHAISTRAT-NNNN local/strat-reviews/RHAISTRAT-NNNN-review.md
Print [ATTACHMENT] Review file attached to RHAISTRAT-NNNN.
If the review file does not exist, skip and print [SKIP] No review file found — skipping attachment.
python3 -c "
import sys; sys.path.insert(0, '${CLAUDE_SKILL_DIR}/scripts')
from jira_utils import add_labels, require_env
s, u, t = require_env()
add_labels(s, u, t, 'RHAISTRAT-NNNN', ['strat-creator-human-sign-off'])
"
Print [LABEL] strat-creator-human-sign-off added to RHAISTRAT-NNNN.
Tell the user: "RHAISTRAT-NNNN signed off and marked feature-ready."
$ARGUMENTS