用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/majiayu000/claude-skill-registry --skill push命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
LLM token logprobs and calibration. Per-decision confidence, ECE, Brier, reliability diagrams, low-confidence triage.
Analyze LLM token logprobs and calibration. Use for per-decision confidence, ECE, Brier scores, reliability diagrams, and low-confidence triage.
回顾最近 N 天的 Claude Code 使用记录——扫描原始会话数据,按主题分组汇总"我都做了什么",并从个人操作系统视角输出模式、风险与增删建议。当用户说 /recap、"看看我这几天做了什么"、"回顾一下我最近的会话"、"这两天我用 claude 干了啥"、"活动回顾" 时使用。
基于 SOC 职业分类
正在显示 SKILL.md
| name | push |
| description | Validate, commit, and push. |
| practices | ["continuous-delivery","gitops","dora-metrics"] |
| hexagonal_role | driving-adapter |
| consumes | ["git-changes"] |
| produces | ["git-changes"] |
| context_rel | [] |
| skill_api_version | 1 |
| user-invocable | true |
| context | {"window":"isolated","intent":{"mode":"none"},"sections":{"exclude":["HISTORY","INTEL","TASK"]},"intel_scope":"none"} |
| metadata | {"tier":"execution","dependencies":[],"triggers":["push","ship it","commit and push","push changes"]} |
| output_contract | git commit + push |
Atomic test-commit-push workflow. Catches failures before they reach the remote.
Determine which test suites apply:
go.mod (or cli/go.mod). If found, Go tests apply.requirements.txt, pyproject.toml, or setup.py. If found, Python tests apply..sh files. If found, shellcheck applies (if installed).Run ALL applicable test suites. Do NOT skip any.
Go projects:
cd cli && go vet ./...
cd cli && go test ./... -count=1 -short
Python projects:
python -m pytest --tb=short -q
Shell scripts (if shellcheck available):
shellcheck <modified .sh files>
If ANY test fails: STOP. Fix the failures before continuing. Do not commit broken code.
git add <specific files>
Stage only the files relevant to the current work. Do NOT use git add -A unless the user explicitly requests it. Review untracked files and skip anything that looks like secrets, temp files, or build artifacts.
Write a conventional commit message based on the diff:
type(scope): descriptionfeat, fix, refactor, docs, test, chore, style, perfgit commit -m "<message>"
git pull --rebase origin $(git branch --show-current)
If rebase conflicts occur: resolve them, re-run tests, then continue.
git push origin $(git branch --show-current)
Output a summary:
main or master without explicit user confirmation.env*, *credentials*, *secret*, *.key, *.pemgit pull --rebase fails, do NOT force push — ask the userUser says: /push
What happens:
Result: Verified, committed, and pushed changes in one atomic workflow.
| Problem | Cause | Fix |
|---|---|---|
| Tests fail | Code has errors | Fix failing tests before retrying |
| Push rejected | Remote has new commits | Pull and rebase, then retry |
| No changes to commit | Working tree is clean | Make changes first |