TC

thaitype/chief

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

66 stars 质量 65 趋势 22MIT

一个便携式框架,减轻与AI编码代理合作时的认知负担——规划、构建、验证,逐步完成。

概览

为AI编码代理设计的结构化工作流程。把它放进任何项目,设定一次规则,别每次聊天都重新解释你的代码库。 酋长属于酋长-部落生态系统。它以鼠尾草作为行为基准。 每个项目都有背景——六个月前的决策、奇怪的变通方法、所有“为什么要这样做”的东西。这些都存在于你的脑海中。每次新的AI聊天都是空白的,所以你会重新解释。然后下一次聊天又会这样。 Chief会阻止这种情况。每个项目都用同样的形状——AGENTS.md 代表规则,.chief/_rules/代表标准,.chief/里程碑-N/代表当前工作。代理知道该读哪里写哪里。你的提示词缩小到一句话。 选择你想要的技能。确保包含了主装技能。 它问你用的是哪个编码代理,是符号链接还是复制,以及是否包含子代理。仅此而已。 会采访你关于你的栈和开发命令,写 .chief/project.md。如果你愿意,可以跳过它,之后手写文件。

概述(AI 翻译)

英语 |ไทย

📣 Chief v5 Alpha 来了 — 故事/票据模型,/chief-wayfinder,/chief-loop 工单前沿执行——现在采用并行模式(/chief-loop parallel:3)构建 多个工单同时存在,每个工单都放在独立的 git 工作树中——没有子代理名单。 公开阿尔法,准备测试。

安装:npx skills@latest add thaitype/chief#release/v5 · 发布说明 ·文档 release/v5

本 README 描述了当前稳定的 v4.2.0 系列。

为AI编码代理设计的结构化工作流程。把它放进任何项目,设定一次规则,别每次聊天都重新解释你的代码库。

酋长属于酋长-部落生态系统的一部分。它以鼠尾草作为行为基线。

为什么酋长存在

每个项目都有背景——六个月前的决策、奇怪的变通方法、所有“为什么要这样做”的东西。这些都存在于你的脑海中。每次新的AI聊天都是空白的,所以你会重新解释。然后下一次聊天又会这样。

主管会停止这种行为。每个项目都用同样的形状——AGENTS.md代表规则,.chief/_rules/代表标准,.chief/milestone-N/代表当前工作。代理知道该在哪里阅读和写作。你的提示词缩小到一句话。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Chief ⚔️

English | ไทย

📣 Chief v5 Alpha is here — Story/Ticket model, /chief-wayfinder, /chief-loop ticket-frontier execution — now with a parallel mode (/chief-loop parallel:3) that builds multiple tickets at once, each in its own isolated git worktree — no more subagent roster. Public alpha, ready for testing.

Install: npx skills@latest add thaitype/chief#release/v5 · Release notes · docs on release/v5

This README describes the current stable v4.2.0 line.

A structured workflow for AI coding agents. Drop it into any project, set your rules once, and stop re-explaining your codebase every chat.

Chief is part of the chief-tribe ecosystem. It uses sage as its behavioral baseline.

Why Chief exists

Every project has context — the decisions from six months ago, the weird workaround, all the “why we do it this way” stuff. It lives in your head. Every new AI chat starts blank, so you re-explain. Then again next chat.

Chief stops that. Give every project the same shape — AGENTS.md for rules, .chief/_rules/ for standards, .chief/milestone-N/ for current work. Agents know where to read and write. Your prompts shrink to one sentence.

→ Why Chief exists

Quickstart

Step 1 — Install skills:

npx skills@latest add thaitype/chief

Select the skills you want. Make sure chief-install is included.

Step 2 — Run /chief-install in your agent:

/chief-install

It asks which coding agent you use, whether to symlink or copy, and whether to include subagents. That’s it.

Step 3 — Bootstrap project context (optional):

/chief-init

Interviews you about your stack and dev commands, writes .chief/project.md. Skip it and write the file by hand later if you prefer.

→ Full tutorial: your first milestone→ Manual install options

Windows users: Symlink mode requires Developer Mode and git config --global core.symlinks true. The install skill auto-detects and falls back to copy mode.

How Chief works

Chief is markdown files in three places:

project/
├── AGENTS.md          ← framework + project rules (highest authority)
└── .chief/
    ├── project.md     ← tech stack, dev commands (written by /chief-init)
    ├── _rules/        ← standards that apply across all milestones
    └── milestone-1/   ← current work: goals, contracts, tasks

.chief/ is created lazily — nothing appears until you need it.

Rules hierarchy: AGENTS.md > .chief/_rules/ > .chief/milestone-N/_goal/. Higher always wins.

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add thaitype/chief
新手?先看 mcpskill.org 教程 →