commit
Skill36 starsChanged 8 months agoMITView on GitHub
当用户想提交代码、git commit、推送更改时使用 — 自动检查代码规范、扫描敏感信息、生成规范的 commit message
- Reads credentials
193 other projects use a version of this.
Adopted by
Most recently taken up by
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- morodomi/dev-crewtheir own version, first seen Oct 5, 2026
- Magnus-Gille/claude-skillstheir own version, first seen Oct 5, 2026
- Kangentic/kangentictheir own version, first seen Oct 5, 2026
- Integralist/agent-skillstheir own version, first seen Oct 4, 2026
- tam159/next-roletheir own version, first seen Oct 4, 2026
Used with
Projects with it also use create-branch, review-r and 10 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.
SentrySkillcreate-branch
Create a git branch following Sentry naming conventions. Use when asked to "create a branch", "new branch", "start a branch", "make a branch", "switch to a new branch", or when starting new work on the default branch.
Also in 4 projects that use this
luischanciSkillreview-r
Run the R code review protocol on R scripts. Checks code quality, reproducibility, domain correctness, and professional standards. Produces a report without editing files.
Also in 3 projects that use this
MicrosoftSkillact-on-feedback
Act on user feedback attached to the current session. Use when the user submits feedback on the session's changes via the Submit Feedback button.
Also in 3 projects that use this
MicrosoftSkillgenerate-run-commands
Generate or modify run commands for the current session. Use when the user wants to set up or update run commands that appear in the session's Run button.
Also in 3 projects that use this
AWSSkillissue
Implement a GitHub issue end-to-end — branch, code, test, docs, and commit.
Also in 9 projects that use this
luischanciSkillvalidate-bib
Validate bibliography entries against citations in all manuscript files. Find missing entries and unused references.
Also in 3 projects that use this
- +2 more from luischanci
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- microsoft/vscode★ 196ksame name
- ToolJet/ToolJet★ 41ksame name
- openai/symphony★ 28ksame name
- EverMind-AI/EverOS★ 13ksame name
- GetStream/Vision-Agents★ 8.1ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- Windy3f3f3f3f/claude-code-from-scratch★ 2.7ksame name
- NeoLabHQ/context-engineering-kit★ 1.7ksame name
- pedrohcgs/claude-code-my-workflow★ 1.6ksame name
- bubblelabai/BubbleLab★ 1.1ksame name
183 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.
In this repository37 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- a11ySkill
- apiSkill
- authSkill
- blogSkill
- changelogSkill
- code-reviewSkill
- compareSkill
- componentSkill
- conceptSkill
- copySkill
- dashboard-adminSkill
- databaseSkill
- debugSkill
- deploySkill
- docSkill
- emailSkill
- envSkill
- explainSkill
- fixSkill
- formSkill
- gitsetupSkill
- install-pluginsSkill
- landingSkill
- learnSkill
- migrateSkill
- paymentSkill
- perfSkill
- readme-genSkill
- refactorSkill
- responsiveSkill
- scriptSkill
- seoSkill
- setupSkill
- starterSkill
- storageSkill
- testSkill
The file
Files
安全提交流程
按以下步骤执行提交,每一步都要完成才能进入下一步。
步骤
1. 检查是否有可提交的更改
运行 git status 查看当前状态。如果没有任何更改,告诉用户「没有需要提交的更改」并结束。
2. 运行代码规范检查
读取 CLAUDE.md 中的 lint 命令。如果配置了 lint 命令(不是「暂无」),运行它。
- 如果 lint 通过:继续下一步
- 如果 lint 失败:展示错误,询问用户「要我帮你修复这些问题吗?」
- 修复后重新运行 lint,直到通过
- 如果没有配置 lint:跳过这一步
3. 扫描敏感信息
检查所有 staged 文件,扫描以下内容:
.env文件或包含API_KEY、SECRET、PASSWORD、TOKEN赋值的行- 硬编码的密钥(长字符串,看起来像 key/token 的值)
- 私钥文件(.pem、.key)
如果发现敏感内容:
- 列出有问题的文件和行
- 建议用户移除这些文件或使用环境变量
- 在用户确认处理完之前,不要继续提交
如果没有发现问题:继续下一步。
4. 展示更改摘要
展示 git diff --staged 的摘要(改了哪些文件、大致改了什么)。不需要展示完整 diff,给出简洁的中文摘要即可。
5. 生成 commit message
根据更改内容,生成一个符合规范的 commit message:
- 格式:
type: 简短描述 - type 选择:feat / fix / docs / refactor / test / chore
- 描述用中文,简洁说明改了什么
展示生成的 message,询问用户:
提交信息:
xxx确认提交吗?可以直接说「好」,或者告诉我你想改成什么。
6. 执行提交
用户确认后,执行 git commit。展示提交结果。
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.

