一键导入
deploy
Trigger a deployment workflow via GitHub Actions. Interactively selects environment, application, and deployment target. Usage - /deploy [application]
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Trigger a deployment workflow via GitHub Actions. Interactively selects environment, application, and deployment target. Usage - /deploy [application]
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | deploy |
| description | Trigger a deployment workflow via GitHub Actions. Interactively selects environment, application, and deployment target. Usage - /deploy [application] |
| user-invocable | true |
| allowed-tools | Bash(gh *), Bash(aws *), AskUserQuestion, Read, Grep, Glob |
| argument-hint | [application-name] |
Trigger a deployment workflow via gh workflow run.
If $ARGUMENTS is provided, use it as the application name. Otherwise, ask the user to select.
Valid applications: , , , ,
Ask the user (if not already specified):
Do NOT silently default to "latest from main". Always resolve available tags:
aws ecr describe-images \
--repository-name {application} \
--query 'sort_by(imageDetails,&imagePushedAt)[-3:].{tags:imageTags,pushed:imagePushedAt}' \
--output table \
--profile <env> \
--region <region>
Present the 3 most recent tags to the user and ask them to select one.
prod_deployments.yamlstg_deployments.yamlBefore triggering, show a summary:
Deploying:
Application: {application}
Environment: {environment}
Target: {deployment_target}
Image Tag: {image_tag}
Plan Only: {yes/no}
Workflow: {workflow_file}
Ask for explicit confirmation before proceeding.
gh workflow run {workflow_file} \
--repo <org>/<repo> \
--ref main \
-f application={application} \
-f deployment_name={deployment_target} \
-f terraform_plan={true|false} \
-f image_tag={tag}
After triggering:
sleep 5
gh run list --repo <org>/<repo> --workflow={workflow_file} --limit 1 --json databaseId,status,url --jq '.[0]'
Share the run URL with the user. Offer to watch for completion.
Capture a session state snapshot for context handoff between sessions. Records branch, changes, recent commits, and current work summary. Usage - /checkpoint
Post-deployment health check. Verifies pod status, logs, events, Helm release, and ingress for a deployed application. Usage - /verify-deploy [application] [target]