Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add KtKID/x-dev-pipeline --skill x-devgit clone --depth 1 https://github.com/KtKID/x-dev-pipelineWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ktkid/x-dev-pipeline/x-dev)<a href="https://agentmods.dev/skills/ktkid/x-dev-pipeline/x-dev"><img src="https://agentmods.dev/badge/skills/ktkid/x-dev-pipeline/x-dev/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ktkid/x-dev-pipeline/x-dev"><img src="https://agentmods.dev/badge/skills/ktkid/x-dev-pipeline/x-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00116 | $0.02550 |
| Opus 5.5 | $0.00046 | $0.01020 |
| Sonnet 5.5 | $0.00023 | $0.00510 |
| Haiku 4.5 | $0.00012 | $0.00255 |
Grade A, and why
x-dev scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
x-dev — task 执行
测试是硬规则
一个功能做完,要同时满足两条,少一条都不能报完成、不能交付:
- 全量测试跑过且全绿:项目原有的测试加上本次新写的测试,用真实命令跑,不是只跑新测试,也不是“应该能过”。
- 本次改动的代码行 100% 被测试跑到:开发者自己跑
xdev coverage算出来,不是估的;不到 100% 自己补测试。
测试是不是真的在测,由验收阶段的功能检查查一次(见 x-verify-spec;risk Q0 和没写场景的 qdev 不做),开发阶段不另派人查,所以写测试时就要守住下面几条。
写测试时就要守住:
- 测试必须调用项目里真实的代码入口。不许在测试里把业务流程或计算规则重写一遍,用来算期望值或代替调用;否则生产代码改了,测试照样绿,这个测试就废了。期望值写手算好的常量。
- 不许 mock 掉被测的函数本身或 tech-design 要验证的机制;mock 只用于网络、时钟这类外部依赖。
- 断言要检查场景要的结果,不能只断言“被调用了”“没报错”“不是 None”。数据要选得能区分对错,边界场景要测到边界值。
- 原有测试红了,不能删、不能跳过、不能改断言迁就新代码。先查是不是自己改坏的;确实是需求变了,按需求变化同步处理,并在「问题与处置」写明。
输入与边界
作用域是单个 task:docs/spec/<spec-name>/tasks/<task-name>/,入口是 dev-checklist.md,按头部 spec: 与 tech-design: 跟读相关场景、已确认的 C 约束、D 机制和编号用例。一次只做指定 task,不扫描或编排同级 task。checklist 有两个及以上并行组时,按 多 agent 协作开发 派给工人子 agent;被派为工人时,也按那份文件里工人的规则做。状态与写权见 执行规则。
交付只有一份文件:dev-checklist.md。开发结果写在它末尾的「结果」节,原始输出(测试日志、覆盖率记录、截图、人工验证记录)放同目录 evidence/。不另写 dev-report 和测试报告。声明 spec_version: 3 的旧契约包仍用 templates/dev-report-template.md。
本轮承接的 D 机制或用例主定义缺失、有等待用户拍板的取舍时,受影响行阻塞并交来源负责方补齐,不从实现猜设计。先读场景,再读约束。 要做的事是每一行回指的场景;C 约束(本 spec 里本轮用到的,包括用户定的“架构:”约束)只限制怎么做。只满足了约束、场景的 THEN 没有测试证明,这一行不算完成;约束做不到就停下问用户,不悄悄绕开。
checklist 的约定(由 x-req 生成):
- 按并行组和依赖执行:同组内行序即实现顺序;组之间按依赖先后,
xdev graph给出派工批次。只有一组时从 T1 开始逐行往下做。 - 场景回指定验收:一行做完 = 它回指的每个场景的 THEN 及适用 C 约束的预期/禁止结果都有测试证明。任务列的“用例 T1”回指 tech-design,不要和任务行 T1 混淆。
- 风险列为
高:的行,用例里至少一条是真实链路(smoke、集成或 e2e),不能只有 unit。 - 改动落在「涉及文件」范围内,不"顺便"改别的。
下文的 xdev 指 python3 <本 skill 目录>/scripts/xdev.py。
执行
- 开工:一次读完 checklist、被回指的场景与 C、tech-design 的 D 和用例、涉及的实现与测试文件。依次运行:
xdev validate <task>:报错先修 checklist 或交回 x-req。xdev impact <task>:报出需求变化时,按 需求变化同步 核对它列出的 D、T、任务行是否已同步;没同步的行不开工,交回来源负责方;已同步或只是措辞变化,运行xdev baseline <task>。xdev start <task>:把当前 git HEAD 记为「代码基线」(已有就不动),建evidence/。需要 git 仓库且至少有一个 commit;没有就先git init并提交现状。之后的覆盖率都和这个基线比。开工前已有的未提交代码改动会算进本次改动,它会提示出来。
- 逐行开发(多 agent 协作时状态列由主 agent 按工人回执回写,工人不改 checklist):
- 当前行改为
[ ] ▶️。 - 按场景 THEN 与用例的预期/禁止结果写测试,先跑,确认失败是因为目标行为还没有(有效红灯);构建、导入、环境或测试本身的错误不算,先排除。不得 mock 掉被验证的 D 机制。
- 写实现让测试变绿,改动留在涉及文件内。不能为了通过改低断言或验收标准;需求或设计有问题交来源负责方,改完按需求变化同步处理受影响的行。
- 不能自动化的,写清原因、步骤和实际看到的结果,存成
evidence/manual-<用例>.md,结果记“人工通过”。既有实现已满足的,跑一遍对应用例留证据,不伪造红灯。 - 在「结果 / 用例对应」表登记这一行的每个用例:
用例 | 测试位置 | 层级 | 结果,测试位置写到函数(如tests/test_loan.py::test_sixth_rejected)。行改为[x] 🟢。
- 当前行改为
- 行失败时:读完整输出,按根因一次修完所有关联位置。发现是测试写错就改测试,并在「问题与处置」记一行原因。同一行失败多次不改目标,回看场景定义,仍不清楚就停下问用户。失败中的行标
[!] 🔴,修好恢复。 - 覆盖率:全部行 🟢 后运行
What ships with it
8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago Changed 33cba3c6adf3
- 8d ago Changed · +38 lines · +42 tokens per session 2eff532aaa75
- 2mo ago Changed · +11 lines · +17 tokens per session 719754c44b86
- 3mo ago First seen · 31 lines · 57 tokens per session scan A dcae67798b14
x-dev is a skill published in the GitHub repository KtKID/x-dev-pipeline (12 stars, last pushed 7d ago), licensed MIT. It adds 116 tokens to every session and 2,550 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
x-dev compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| x-devKtKID/x-dev-pipeline | Skill | 12 | 7d ago | MIT | A | 116 | Claude Code |
| procoderazrtydxb/procoder | Skill | 212 | 21d ago | Apache-2.0 | A | 101 | Claude Code |
| backloga-lottes/aSPARK | Skill | 26 | 12d ago | MIT | A | 94 | Claude Code |
| test-auditQBall-Inc/the-bulwark | Skill | 9 | today | MIT | A | 0 | Claude Code |
| agent-team-protocolgosha70/code-copilot-team | Skill | 10 | today | MIT | A | 31 | Claude Code |
| code-reviewQBall-Inc/the-bulwark | Skill | 9 | today | MIT | A | 61 | Claude Code |
| spec-drift-checkQBall-Inc/the-bulwark | Skill | 9 | today | MIT | A | 54 | Claude Code |