gateflow SKILL.md skillA

gateflow from noho/code-is-cheap is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add noho/code-is-cheap/gateflow@git:20261013.32a244d

Pins git:20261013.32a244d in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
noho/code-is-cheap
Path
skills/gateflow/SKILL.md
Versions recorded
8
Latest version
git:20261013.32a244d, committed Oct 13, 2026
First version recorded
Jun 14, 2026
Size
19,085 bytes
Repository stars
92
License
Apache-2.0

单个 work unit 的 gated 开发流程。用于 feature、issue、bug fix、migration、refactor、schema/public contract change 或 architecture-sensitive task;可选接收 design document;确认目标后,以最小必要计划、适用计划审核、实现与验证、一轮完整代码审核、必要修复及受影响面复审、draft PR 交付核对和 final closeout 自动推进。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Gateflow

Gateflow 只定义单个 `work unit` 的流程和 gate。work unit 可以是 feature、issue、bug fix、migration、refactor、
schema/public contract change 或 architecture-sensitive task。

## Core Principles

- 先看代码和事实,再判断 work unit 是否成立。
- 进入 plan 前,先用通俗语言向用户确认目标、非目标、边界和成功信号。
- Goal confirmation 是 binding scope contract。改变目标、公共契约、兼容性承诺、验收标准或未获授权的重大架构边界,
  先让用户重新确认;已确认目标内、保持对外承诺的必要实现选择和内部重构由总控继续处理,不重复请示已授权的变化。
- 最小必要设计是减少不必要的机制,不是减少修改行数。基于代码与事实明确目标行为和正确职责 owner,优先复用适用机制;
  对已证实的缺陷或结构性问题解决根因,允许范围明确的内部重构或旧机制替换,不靠特例、旁路、重复判断或兜底保留错误模型。
  最佳实践须有当前需求、具体风险和收益依据,不为假设未来需求引入框架、抽象或基础设施。
- 保留可追踪的计划、实现/验证、审核/裁决和交付事实;可同文件维护或引用已有记录,不要求每个 gate 独立文件或 commit。
  conversation-only 结果不足以通过 gate。
- draft PR gate 自动推进到 `draft-PR-pass`;merge、approve、mark ready for review、request reviewers、delete branch、
  对外 comment、创建/修改外部 issue 仍需用户额外授权。

## Invocation

典型调用:

```text
使用 $gateflow 开发 <work-unit>。
```

可选参数:

```text
使用 $gateflow design_doc=<path> base_ref=<ref> 开发 <work-unit>。
```

如果传入 `design_doc`,它是当前 work unit 的设计依据之一。若未传入,则以用户需求和代码事实为准。

## Preflight

任何 discussion、plan 或文件修改前,先检查:

```text
git branch --show-current
git status --short
```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add noho/code-is-cheap/gateflow@sha256:a89544cc5a841f9b

The line at the top of this page pins the label git:20261013.32a244d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_bsy7r6grtbrnrh2g.svg)](https://markdownregistry.com/a/art_bsy7r6grtbrnrh2g)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 8 versions of this file, between Jun 14, 2026 and Oct 13, 2026, about one every 17 days.

versioncommittedcommitsizeaudit
git:20261013.32a244d latest2026-10-13 32a244d 19,085 BA view · diff
git:20261012.eb8a3842026-10-12 eb8a384 19,458 BA view · diff
git:20261012.83e534f2026-10-12 83e534f 16,452 BA view · diff
git:20260930.4f0106a2026-09-30 4f0106a 15,415 BA view · diff
git:20260730.4e0808b2026-07-30 4e0808b 14,940 BA view · diff
git:20260620.4cc086c2026-06-20 4cc086c 12,894 BA view · diff
git:20260620.1bb745b2026-06-20 1bb745b 10,217 BA view · diff
git:20260614.70af0da2026-06-14 70af0da 8,250 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (19085 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

noho/code-is-cheap · 92 stars · license Apache-2.0 · pushed 2026-10-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_bsy7r6grtbrnrh2g
GET https://markdownregistry.com/api/v1/resolve?ref=noho/code-is-cheap/gateflow
GET https://markdownregistry.com/api/v1/blob/a89544cc5a841f9ba59441223af292f34fbfc03ef555e9a3368620f0a2c4f5ad

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from noho/code-is-cheap

AGENTS.md AGENTS.md file
noho/code-is-cheap · AGENTS.md
git:20261023.2cb3127 · audit A · 92 stars
deepreview SKILL.md skill
noho/code-is-cheap · skills/deepreview/SKILL.md · 用于对当前未合并 workspace changes、指定 GitHub Pull Request 或仓库全部代码做严格深度 code review;支持 `$deepreview`、`$deepreview…
git:20261013.32a244d · audit A · 92 stars
phaseflow SKILL.md skill
noho/code-is-cheap · skills/phaseflow/SKILL.md · 项目分步总控。基于 design_doc 和 control_doc 推进 phase/work unit;总控读取 Gateflow 的 Gate Order 和 Gate State Machine,完成 preflight、goal…
git:20261013.32a244d · audit A · 92 stars
planreview SKILL.md skill
noho/code-is-cheap · skills/planreview/SKILL.md · 对重要契约、架构、迁移或状态机决策,以及显式指定的 plan 做 evidence-based adversarial review;判断是否足以指导已确认目标的正确实现,挑战假设、范围、切分、目标实现方案和过度设计,产出 plan…
git:20261013.32a244d · audit A · 92 stars
sub-agents SKILL.md skill
noho/code-is-cheap · skills/sub-agents/SKILL.md · 通过 claude-agent-run 或 codex-agent-run 启动外部子 Agent,派发独立或并行任务,等待退出并取得最终答复。需要时可选用 canary、产物检查及 macOS 禁读隔离。
git:20261023.2cb3127 · audit A · 92 stars
tmux-agents SKILL.md skill
noho/code-is-cheap · skills/tmux-agents/SKILL.md · 通过 tmux pane 与已运行的 CLI Agent 通信。用于 pane discovery、session clear、CLI skill 语法选择,以及 tmux-cli send/wait_idle/capture。
git:20260930.4f0106a · audit A · 92 stars

Every file in noho/code-is-cheap

Browse by kind, by grade A, or by owner.