x-dev-pipeline: Instructions file for Claude Code

CLAUDE.md

x-dev-pipeline CLAUDE.md is an instructions file for Claude Code from KtKID/x-dev-pipeline. It costs 3,413 tokens per session, scanned A, original, MIT.

Repository instructions for a collection of AI-development workflow skills and slash commands, not a conventional runnable application. They describe the skill files and the task reports and checklists those skills produce.

In plain words
What is it for?
Use them when changing a workflow skill, creating task artefacts, or running verification, fixing, review, and quality-gate steps.
Why use it?
They prevent confusion about the repository layout and explain the required handoffs between workflow skills and their generated task files.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions .claude-plugin; mentions CLAUDE.md; mentions Claude Code.

This is KtKID/x-dev-pipeline's own configuration. It tells Claude Code how to work on x-dev-pipeline itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything x-dev-pipeline configures →

Reuse

Borrowing it

Nothing to install: this file belongs to KtKID/x-dev-pipeline. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/KtKID/x-dev-pipeline/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/KtKID/x-dev-pipeline

Made for: Claude Code.

Wrote 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.

agentmods badge for x-dev-pipeline CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ktkid/x-dev-pipeline/claude-md/github.svg)](https://agentmods.dev/instructions/ktkid/x-dev-pipeline/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/ktkid/x-dev-pipeline/claude-md"><img src="https://agentmods.dev/badge/instructions/ktkid/x-dev-pipeline/claude-md/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.

agentmods 80×15 button for x-dev-pipeline CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ktkid/x-dev-pipeline/claude-md"><img src="https://agentmods.dev/badge/instructions/ktkid/x-dev-pipeline/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,413 This file is loaded in full into every session.
When invoked 3,413 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.03413 $0.03413
Opus 5.5 $0.01365 $0.01365
Sonnet 5.5 $0.00683 $0.00683
Haiku 4.5 $0.00341 $0.00341

Measured 11d ago against content hash 5617f601e21f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

x-dev-pipeline CLAUDE.md 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 11d 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.

CLAUDE.md · 123 lines

How it starts

The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

仓库性质

这不是应用代码仓库,而是一个 AI 开发工作流 skill 集合——为 Claude Code / Codex 提供 /x-* 系列 slash command 的 plugin。仓库本身不包含可运行代码、没有 build、没有测试套件,所有"产物"都是 markdown skill 文件。

方案讲解要通俗: 不要自己乱造词汇,用大白话和用户套路方案,用户偏好费曼学习法,要多使用。 ⚠️ 命名陷阱:仓库叫 x-dev-pipeline;仓库内部的 dev-pipeline/tasks/ 保存历史 task 档案。当前 task 统一位于 docs/spec/<spec-name>/tasks/<task-name>/。

仓库布局

x-dev-pipeline/
├── skills/<name>/SKILL.md            # skill 定义(YAML frontmatter + 正文)
│   └── references/, templates/        # reviewer prompt、报告模板
├── docs/spec/<spec>/tasks/<task>/     # 当前 task 工件
│   ├── dev-checklist.md, diagram.md, dev-report.md
│   └── reports/                       # gate / fix / audit 报告
│       ├── .fix-counter               # 批量修轮数(verify 创建,fix 按轮递增,qa-gate 重置)
│       ├── verify/*.md, qa-gate/*.md  # Gate ①② 报告
│       ├── fix/*.md                   # 修复报告(按触发节点分类)
│       └── audit/*.md                 # 独立巡检报告
├── dev-pipeline/tasks/                # 历史 task 档案;工具不再识别、校验或编排
├── skills/x-dev/scripts/xdev.py       # 薄 CLI 路由器
├── skills/x-spec/scripts/             # spec 与包校验引擎
├── skills/x-req/scripts/              # task 引擎
├── skills/x-verify-spec/scripts/           # Gate ① 引擎
├── skills/x-qa-gate/scripts/          # QA issue 事务引擎
├── .claude-plugin/                    # Claude Code marketplace 注册
├── .codex-plugin/, .agents/           # Codex 注册
└── examples/, install.sh, install-codex.ps1

核心管线

x-spec ─→ x-adversarial-risk ─→ x-req ─→ x-dev ─→ x-verify-spec ─→ x-qa-gate ─→ x-fix
(docs/spec/)   双评分+对抗 Scenario    (task/)       验证是否符合spec.md      批量修+增量复审
                                                   命令+smoke/e2e 风险路由:默认 RC 综合 / 高危 R1→R2→R3

  • x-spec 产出 docs/spec/<spec-name>/spec.md 第一版,记录复杂度/重要性、预算和 initial-spec Scenario
  • x-adversarial-risk 按预算检查第一版;standard 不读错题集,deep/full 才读取自身独立错题集并补 adversarial-review Scenario
  • x-req 只接收风险状态为 skipped-standard 或 complete 的新风险契约,产出 docs/spec/<spec-name>/tasks/<task>/
  • skills/x-dev/scripts/xdev.py 只做 CLI 分流;package、task、verify、flag 逻辑分别归各自 skill 引擎
  • x-plan 已废弃,功能合并到 x-req

Read the full file on GitHub · 123 lines

Changes

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.

  1. 11d ago Changed · +7 tokens per session 5617f601e21f
  2. 1mo ago Changed · +16 lines · +749 tokens per session b40e18ecf819
  3. 1mo ago First seen · 107 lines · 2,657 tokens per session scan A 70c146f24667

Subscribe to this mod's changes

x-dev-pipeline CLAUDE.md is an instructions file published in the GitHub repository KtKID/x-dev-pipeline (12 stars, last pushed 11d ago), licensed MIT. It adds 3,413 tokens to every session, about $0.0137 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.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,581 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens