commit-push-pr
Skill341 starsChanged 6 months agoMITView on GitHub
提交、推送并创建 PR
- Reads credentials
- Commits and pushes
Files
上下文
- 当前 git 状态: !
git status - 当前 git diff(已暂存和未暂存的变更): !
git diff HEAD - 当前分支: !
git branch --show-current
Attribution 信息
每次 commit 的 body 和 PR 描述中必须附加以下 attribution 信息(使用上方上下文中的"当前模型"和"模型公司域名"):
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: <当前模型>你的任务
根据上述变更:
- 如果当前在 main 分支,则创建一个新分支
- 使用中文创建一个包含合适提交信息的 commit,commit body 中必须包含 ## Attribution 中指定的 attribution 信息
- 将分支推送到 origin
- 使用
gh pr create创建 Pull Request,PR 描述中必须包含 ## Attribution 中指定的 attribution 信息 - 你可以在单次响应中调用多个工具。你必须在单条消息中完成上述所有操作。不要使用任何其他工具或执行任何其他操作。除了工具调用之外,不要发送任何其他文本或消息。
Commit Message 格式要求
语言要求:Commit subject、body 和 PR 描述均必须使用中文编写。
Commit message 必须以以下格式结尾:
<commit subject 和 body>
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: <模型名称> <noreply@<对应主域名>>模型与域名映射
根据当前会话实际使用的模型,选择对应的 noreply 邮箱域名:
| 模型系列 | 域名示例 |
| GLM (智谱) | noreply@bigmodel.cn |
| Claude (Anthropic) | noreply@anthropic.com |
| GPT (OpenAI) | noreply@openai.com |
| Gemini (Google) | noreply@google.com |
| DeepSeek | noreply@deepseek.com |
| Qwen (通义) | noreply@alibabacloud.com |
如何获取模型名称
jq -r '.env.ANTHROPIC_MODEL' ~/.claude/settings.jsonOther versions22 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- shenjingnan/agentmote★ 989% same
Wrote their own version · 21
- llama-farm/llamafarm★ 837same name
- galacean/effects-runtime★ 749same name
- converge-ai-labs/agent-foundation★ 247same name
- RedWoodOG/Hermes-Desktop★ 177same name
- jh941213/ADLC-harness★ 125same name
- jh941213/my-cc-harness★ 125same name
- jh941213/my-claude-code-asset★ 125same name
- sneg55/agent-starter★ 76same name
- jackson-video-resources/skills★ 17same name
- dceoy/ai-coding-agent-skills★ 4same name
11 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use techdebt, simplify and 3 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
dbankscardSkilltechdebt
Find and report technical debt, duplicated code, and cleanup opportunities. Run at end of sessions.
Also in 3 projects that use this
Hugging FaceSkillsimplify
Refactor code after tests pass. The "Refactor" phase of Red-Green-Refactor.
Also in 3 projects that use this
OpenAISkillsystematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Also in 4 projects that use this
GoogleSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 4 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 3 projects that use this
In this repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- api-docsSkill
- ci-validatorSkill
- commitSkill
- dev-workflow-checkerSkill
- docs-creatorSkill
- docs-updaterSkill
- e2e-coverage-analyzerSkill
- fix-any-typesSkill
- fix-commentSkill
- gen-analyzeSkill
- gen-techSkill
- issue-hunterSkill
- localization-validatorSkill
- path-alias-validatorSkill
- playwright-cliSkill
- practical-development-validatorSkill
- security-auditSkill
- test-cleanerSkill
- test-creatorSkill
- test-fixerSkill
- todo-managerSkill
- type-validatorSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

