Skip to content

xinetzone/SpecWeave / .agents/skills/atomic-commit-cmd

atomic-commit-cmd

Verified

当用户提到'提交'、'commit'、'原子提交'、'代码提交'、'提交代码'、'提交变更'、'git commit'、'保存更改'时,必须使用此技能。提供Git原子化提交规范执行能力:检查变更(三查暂存法)→预提交验证→构建提交信息→执行提交→验证结果。遵循Conventional Commits规范,确保单次提交单一职责。不要直接git commit——本Skill封装了预检查、三查暂存验证、提交信息格式和验证流程。

FileKindSize
SKILL.mdskill md19.5 KB
evals/evals.jsonconfig1.4 KB

evals/evals.json

View on GitHub
{
  "skill": "atomic-commit-cmd",
  "queries": [
    {
      "prompt": "帮我提交代码",
      "expected": true,
      "type": "should-trigger",
      "source": "train"
    },
    {
      "prompt": "原子提交一下",
      "expected": true,
      "type": "should-trigger",
      "source": "train"
    },
    {
      "prompt": "保存当前修改",
      "expected": true,
      "type": "should-trigger",
      "source": "train"
    },
    {
      "prompt": "let's commit these changes",
      "expected": true,
      "type": "should-trigger",
      "source": "train"
    },
    {
      "prompt": "检查链接",
      "expected": false,
      "type": "should-not-trigger",
      "source": "train"
    },
    {
      "prompt": "拆分文档",
      "expected": false,
      "type": "should-not-trigger",
      "source": "train"
    },
    {
      "prompt": "用git commit保存一下",
      "expected": true,
      "type": "should-trigger",
      "source": "validation"
    },
    {
      "prompt": "提交这些变更,用规范的commit message",
      "expected": true,
      "type": "should-trigger",
      "source": "validation"
    },
    {
      "prompt": "画个mermaid流程图",
      "expected": false,
      "type": "should-not-trigger",
      "source": "validation"
    },
    {
      "prompt": "做个项目复盘",
      "expected": false,
      "type": "should-not-trigger",
      "source": "validation"
    }
  ]
}
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 466kUpdated Claude CodeCodexVerifiedInstall
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 466kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 319kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 319kUpdated Claude CodeCodexVerifiedInstall