Skip to content

xinetzone/SpecWeave / .agents/skills/atomization-cmd

atomization-cmd

Verified

当用户提到'原子化'、'拆分文件'、'atomize'、'拆分大文档'、'文件拆分'、'拆分成多个文件'、'单一职责'、'文档重构'、'拆分文档'时,必须使用此技能。提供文档与代码的原子化拆分能力:分析源文件→制定拆分方案→执行拆分→修复链接→收尾验证。不要手动拆分文件——本Skill封装了链接修复、索引更新、一致性检查等必要步骤。

FileKindSize
SKILL.mdskill md11.9 KB
evals/evals.jsonconfig1.5 KB

evals/evals.json

View on GitHub
{
  "skill": "atomization-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": "atomize this long report into smaller files",
      "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": "这个文件太长了,内容太多拆分一下",
      "expected": true,
      "type": "should-trigger",
      "source": "validation"
    },
    {
      "prompt": "文件拆分后做收尾处理",
      "expected": true,
      "type": "should-trigger",
      "source": "validation"
    },
    {
      "prompt": "创建新功能",
      "expected": false,
      "type": "should-not-trigger",
      "source": "validation"
    },
    {
      "prompt": "跑pre-commit预检",
      "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: 468kUpdated 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: 321kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 321kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 321kUpdated Claude CodeCodexVerifiedInstall