基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/davila7/claude-with-skills --skill manual-only-deploy命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Explains code in plain language for someone unfamiliar with the programming language. Use when asked to explain code, walk through logic, describe what a function does, or when the user says "explain this" or "walk me through this".
Summarizes uncommitted git changes in a concise machine-readable format. Use in CI pipelines, scripts, or headless invocations where the output will be piped or captured.
Explains what a skill is and demonstrates that skills are working. Use when testing skills, when asked about skills, or when asked to demonstrate how skills work.
| title | manual-only-deploy |
| name | manual-only-deploy |
| description | Deploy the application to production. Only invoke this manually when you are ready to deploy. |
| disable-model-invocation | true |
| allowed-tools | Bash(npm run build) Bash(npm test) Bash(git push *) Bash(git tag *) Bash(git status) Bash(cat *) |
This skill deploys the application. It runs a series of checks before touching anything remote. If any step fails, it stops immediately and reports the failure. It does not retry automatically.
Run:
git status
If the output shows modified or untracked files, stop here. Report: "Deploy aborted: there are uncommitted changes. Commit or stash them before deploying." Do not proceed.
Run:
npm test
If any test fails, stop here. Report which tests failed and do not proceed.
Run:
npm run build
If the build fails, stop here. Report the error output and do not proceed.
Read the current version from package.json:
cat package.json
Extract the version field. Create a git tag in the format v<version>-<YYYYMMDD>:
git tag v<version>-<YYYYMMDD>
For example, if the version is 2.3.1 and today is 2026-05-13, the tag is v2.3.1-20260513.
If a tag with that name already exists, append a counter: v2.3.1-20260513-2.
Run:
git push origin <tag-name>
If the push fails, report the error. Do not retry.
Print a summary:
git rev-parse HEAD)Example output:
Deploy complete.
Tag: v2.3.1-20260513
Commit: a1b2c3d4e5f6
Time: 2026-05-13 14:32:07 UTC