autopilot-commit SKILL.md skillA

autopilot-commit from strzhao/autopilot is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add strzhao/autopilot/autopilot-commit@git:20260523.651ba81

Pins git:20260523.651ba81 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
strzhao/autopilot
Path
plugins/autopilot/skills/autopilot-commit/SKILL.md
Versions recorded
5
Latest version
git:20260523.651ba81, committed May 23, 2026
First version recorded
Mar 27, 2026
Size
11,033 bytes
Repository stars
32
License
MIT

当用户需要提交代码、运行 git commit、或说"提交"时使用。.

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

# Git 智能提交工作流

这是一个高效的 Git 提交工具,在提交前自动分析代码改动,调用相关优化技能,并生成高质量的提交信息。

## 核心原则

**信任 AI 的智能判断**:您已经具备强大的代码分析能力,本工具旨在提供框架而非限制您的判断。

**高自由度设计**:React 检测、优化应用、提交信息生成都依赖上下文判断,您可以根据具体情况选择最佳方法。

**简洁高效**:只提供必要的工作框架,避免过度指导。

**并行优先**:Phase 2 中的任务彼此独立,应在同一轮响应中并行发起(多个 Agent 或工具调用)。只有存在数据依赖时才串行等待。某个任务被跳过时不需要等待——直接标记跳过,继续推进。

**假设需要证据**:代码中对外部世界的假设(数据格式、接口行为、环境状态、第三方响应结构)不能仅凭文档或推理确认。提交前必须有运行时证据证明关键假设成立。这条原则贯穿 Bugfix 验证和代码理解测验。

## 上下文感知

autopilot-commit 有两种调用场景,需要智能判断并跳过多余步骤:

- **主链路模式**:当前项目根目录存在活跃 autopilot 状态文件(`.autopilot/runtime/active.ptr` 指向的 `.autopilot/runtime/requirements/<slug>/state.md`,worktree 中位于 `.autopilot/runtime/sessions/<name>/requirements/<slug>/state.md`)且 phase 为 `"merge"` → 代码已通过五层 QA,跳过 Phase 1.5(代码优化)、Bugfix 验证、代码理解测验。再优化可能破坏已验证状态。
- **独立模式**:其他所有情况 → 执行完整流程。

## 工作框架

创建一个简洁的任务列表来跟踪进度:

```
使用 TaskCreate 工具创建 Git 提交工作流:

Phase 1 — 基础分析(串行)
- [ ] 分析 Git 状态:检查可提交更改,分析改动内容和类型

Phase 1.5 — 代码优化(串行,会修改代码,后续任务需基于优化后的代码)
- [ ] 代码优化(条件性):检测 React 代码 + 调用优化技能 + 用户确认
      跳过条件:主链路模式 / 无需优化

Phase 2 — 独立任务(并行执行,基于优化后的代码)
- [ ] Bugfix 验证(主链路模式跳过)
- [ ] 代码理解测验(主链路模式跳过)
- [ ] 项目元数据更新(CLAUDE.md + 版本号)

Phase 3 — 收尾流程(串行,等待 Phase 2 全部完成)
- [ ] 执行智能提交 + 任务同步(ai-todo)+ 提交总结
```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add strzhao/autopilot/autopilot-commit@sha256:8e24cc44103367fa

The line at the top of this page pins the label git:20260523.651ba81, 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_iwsmalypwwxxdvtq.svg)](https://markdownregistry.com/a/art_iwsmalypwwxxdvtq)

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

Versions

The registry has recorded 5 versions of this file, between Mar 27, 2026 and May 23, 2026, about one every 14 days.

versioncommittedcommitsizeaudit
git:20260523.651ba81 latest2026-05-23 651ba81 11,033 BA view · diff
git:20260410.caffe022026-04-10 caffe02 9,820 BA view · diff
git:20260404.d87865b2026-04-04 d87865b 9,814 BA view · diff
git:20260327.31f937b2026-03-27 31f937b 9,821 BA view · diff
git:20260327.af32af72026-03-27 af32af7 9,780 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 (11033 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

strzhao/autopilot · 32 stars · license MIT · pushed 2026-10-28 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_iwsmalypwwxxdvtq
GET https://markdownregistry.com/api/v1/resolve?ref=strzhao/autopilot/autopilot-commit
GET https://markdownregistry.com/api/v1/blob/8e24cc44103367fa1f75d4d625f0f4bcd83fbe9e6963904b4a138aa8fe719858

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 strzhao/autopilot

autopilot-codex SKILL.md skill
strzhao/autopilot · .agents/skills/autopilot-codex/SKILL.md · 在 Codex 中使用本仓库的 autopilot 全闭环 runtime 时使用。适用于用户提到 /autopilot、自动驾驶、红蓝对抗、设计审批、五层 QA、或希望在 Codex 中继续使用 autopilot 的场景。不要在…
git:20260925.0f59687 · audit A · 32 stars
autopilot-commit-codex SKILL.md skill
strzhao/autopilot · .agents/skills/autopilot-commit-codex/SKILL.md · 在 Codex 中执行 autopilot 风格的智能提交时使用。适用于用户提到 autopilot commit、git commit、智能提交、提交代码、生成中文提交信息等场景。
git:20260330.f115aca · audit A · 32 stars
autopilot-doctor-codex SKILL.md skill
strzhao/autopilot · .agents/skills/autopilot-doctor-codex/SKILL.md · 在 Codex 中执行 autopilot doctor 时使用。适用于用户提到 doctor、工程健康诊断、为什么 autopilot 效果不好、Codex readiness、工程成熟度评估等场景。
git:20260330.f115aca · audit A · 32 stars
AGENTS.md@.codex AGENTS.md file
strzhao/autopilot · .codex/AGENTS.md
git:20260404.d87865b · audit A · 32 stars
CLAUDE.md CLAUDE.md file
strzhao/autopilot · CLAUDE.md
git:20261028.07f9c71 · audit A · 32 stars
autopilot-codex SKILL.md skill
strzhao/autopilot · codex/plugins/autopilot-codex/skills/autopilot-codex/SKILL.md · 在 Codex 中使用 autopilot 的全闭环 runtime 时使用。适用于用户提到 /autopilot、自动驾驶、设计审批、红蓝对抗、五层 QA,或希望在 Codex 中继续沿用 autopilot 方法论的场景。
git:20260925.0f59687 · audit A · 32 stars
autopilot-commit-codex SKILL.md skill
strzhao/autopilot · codex/plugins/autopilot-codex/skills/autopilot-commit-codex/SKILL.md · 在 Codex 中执行 autopilot 风格的智能提交时使用。适用于用户提到 autopilot commit、git commit、智能提交、提交代码、生成中文提交信息等场景。
git:20260330.f115aca · audit A · 32 stars
autopilot-doctor-codex SKILL.md skill
strzhao/autopilot · codex/plugins/autopilot-codex/skills/autopilot-doctor-codex/SKILL.md · 在 Codex 中执行 autopilot doctor 时使用。适用于用户提到 doctor、工程健康诊断、为什么 autopilot 效果不好、Codex readiness、工程成熟度评估等场景。
git:20260404.d87865b · audit A · 32 stars
autopilot-brainstorm SKILL.md skill
strzhao/autopilot · plugins/autopilot/skills/autopilot-brainstorm/SKILL.md · autopilot design 阶段需求探索专用。在写设计文档前通过逐个澄清问题理解用户意图,提出 2-3 方案让用户选择,输出共识总结到 brainstorm.md 后交回主 skill。当 autopilot skill 在…
git:20260927.fed289e · audit A · 32 stars
autopilot-doctor SKILL.md skill
strzhao/autopilot · plugins/autopilot/skills/autopilot-doctor/SKILL.md · 诊断项目工程健康度,评估 autopilot 兼容性并提供改进建议。当用户说"诊断"、"doctor"、"工程健康"、"为什么 autopilot 效果不好"时使用。
git:20260927.fed289e · audit B · 32 stars
autopilot-project SKILL.md skill
strzhao/autopilot · plugins/autopilot/skills/autopilot-project/SKILL.md · 管理 autopilot 项目模式的任务 DAG。当用户运行 /autopilot status(有项目时)或 /autopilot next 时提供上下文参考。
git:20261028.07f9c71 · audit A · 32 stars
autopilot SKILL.md skill
strzhao/autopilot · plugins/autopilot/skills/autopilot/SKILL.md · 当用户需要从目标描述到代码合并的端到端自动化、或说"自动驾驶"时使用。
git:20260927.81bd426 · audit A · 32 stars

Every file in strzhao/autopilot

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