agentsclimarketplace

Commit

Skill ALLBLUEUK/structural-modeling-for-economists/skills/commit

git 提交:检查 .gitignore、生成提交信息、避免提交受保护文件。当用户说"提交"、"commit"、"push"、"git"时调用。From its SKILL.md

Install
npx -y skills add ALLBLUEUK/structural-modeling-for-economists --skill commit

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.3 KB, as published. Nobody here has run it

commit — git 提交工具

触发场景

  • "提交一下当前进度"
  • "做个 commit"
  • "把这一节的修改 push 上去"

输入契约

字段类型说明
scopestr本次提交的主题
fileslist[path]?可选:白名单

步骤清单

  1. 跑 python scripts/check_data_safety.py --staged $(git diff --cached --name-only)。
  2. 若有暂存的 data/raw/ 或 data/derived/ → 拒绝并报警。
  3. 运行 git status 与 git diff 摘要。
  4. 依据 scope 与最近三个 commit 的风格,起草 commit message。
  5. 由用户确认后 git commit。

输出契约

文件必产说明
git commit✅新 commit
logs/commit_<ts>.log建议

不允许的操作

  • 强制 push(除非用户明确指令)
  • 提交 data/raw/ 或包含密钥的文件
  • 用 --no-verify 跳过 hooks

失败回退

症状处理
必备前置未满足报错并指出缺什么;不绕过
上游产物 stale重跑上游 skill;不"凭旧的 checkpoint 继续"
用户口径模糊调用 interview-me skill 反向访谈

Keep looking

Skills are one crate of 608,475. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.