Templates · Project Scaffolding模板 · 项目脚手架模板 · 項目腳手架

Project
Scaffolding
for
AI-Native
Builders
面向
AI 原生构建者
的项目脚手架
面向
AI 原生建構者
的項目腳手架

Coding Agent Constitution turns vague software intent into durable project files before agents, collaborators, or students start building.Coding Agent Constitution 会在 agents、协作者或学生开始构建前,把模糊的软件意图转化为持久的项目文件。Coding Agent Constitution 會在 agents、協作者或學生開始建構前,把模糊的軟件意圖轉化為持久的項目文件。

Purpose目标目標
Transform chat-only intent into reusable repository governance.把只存在于聊天中的意图转化为可复用的仓库治理文件。把只存在於聊天中的意圖轉化為可復用的倉庫治理文件。
Outputs输出輸出
SPEC, ARCH, RULES, CONTRACTS, TASKS, AGENTS, and tool-specific rules.SPEC、ARCH、RULES、CONTRACTS、TASKS、AGENTS 与工具专属规则。SPEC、ARCH、RULES、CONTRACTS、TASKS、AGENTS 與工具專屬規則。
Compatible兼容兼容
Codex, Cursor, Claude Code, and human review workflows.适配 Codex、Cursor、Claude Code 与人工评审工作流。適配 Codex、Cursor、Claude Code 與人工評審工作流。

Make product intent legible before code exists.在代码出现之前,让产品意图清晰可读。在代碼出現之前,讓產品意圖清晰可讀。

The repository gives non-engineering builders a structured way to describe goals, boundaries, architecture, interfaces, tasks, and review rules.该仓库为非工程背景的构建者提供结构化方式,用来描述目标、边界、架构、接口、任务与评审规则。該倉庫為非工程背景的建構者提供結構化方式,用來描述目標、邊界、架構、接口、任務與評審規則。

Product Definition产品定义產品定義

SPEC.md

Captures product goals, target users, boundaries, non-goals, and acceptance criteria.记录产品目标、目标用户、边界、非目标与验收标准。記錄產品目標、目標用戶、邊界、非目標與驗收標準。

  • Goals目标目標
  • Boundaries边界邊界
  • Non-goals非目标非目標
Technical Shape技术形态技術形態

ARCH.md and CONTRACTSARCH.md 与 CONTRACTSARCH.md 與 CONTRACTS

Records architecture choices, module boundaries, API contracts, schemas, events, and file formats.记录架构选择、模块边界、API 合约、schema、事件与文件格式。記錄架構選擇、模組邊界、API 合約、schema、事件與文件格式。

  • Architecture架构架構
  • Interfaces接口接口
  • Schemas
Execution Control执行控制執行控制

RULES.md and TASKSRULES.md 与 TASKSRULES.md 與 TASKS

Converts broad intent into smaller reviewable tasks with safety rules and verification expectations.将宽泛意图拆成更小、可评审的任务,并附带安全规则和验证预期。將寬泛意圖拆成更小、可評審的任務,並附帶安全規則和驗證預期。

  • Rules规则規則
  • Tasks任务任務
  • Verification验证驗證
Agent AdaptersAgent 适配器Agent 適配器

AGENTS, Cursor, Claude

Provides shared instructions and tool-specific rule files so different agents read the same project baseline.提供共享指令和工具专属规则文件,让不同 agents 读取同一套项目基线。提供共享指令和工具專屬規則文件,讓不同 agents 讀取同一套項目基線。

  • Codex
  • Cursor
  • Claude Code

From business idea to executable task.从商业想法到可执行任务。從商業想法到可執行任務。

Governance Route治理路线治理路線

Slow down before implementation.在实现前先慢下来。在實現前先慢下來。

The skill creates reviewable project memory so agent work does not depend on fragile chat history.这套 skill 会创建可评审的项目记忆,让 agent 工作不再依赖脆弱的聊天历史。這套 skill 會創建可評審的項目記憶,讓 agent 工作不再依賴脆弱的聊天歷史。

01
Clarify the product intent澄清产品意图澄清產品意圖
Capture the business problem, audience, value proposition, and boundaries.记录商业问题、受众、价值主张与边界。記錄商業問題、受眾、價值主張與邊界。
02
Shape architecture and contracts塑造架构与合约塑造架構與合約
Decide the technical structure before implementation decisions spread across the codebase.在实现决策扩散到代码库之前,先确定技术结构。在實現決策擴散到代碼庫之前,先確定技術結構。
03
Break work into bounded tasks拆分为有边界的任务拆分為有邊界的任務
Turn the plan into small implementation slices that can be reviewed one at a time.将计划转化为小型实现切片,便于逐一评审。將計劃轉化為小型實現切片,便於逐一評審。
04
Review and promote durable decisions评审并沉淀持久决策評審並沉澱持久決策
Feed discoveries back into governance files so future work starts from the latest truth.把新发现回写到治理文件,让未来工作从最新事实开始。把新發現回寫到治理文件,讓未來工作由最新事實開始。

A bridge between business language and buildable software.连接商业语言与可构建软件的桥梁。連接商業語言與可建構軟件的橋樑。

For Students面向学生面向學生

Write clearer requirements写出更清晰的需求寫出更清晰的需求

Students learn to express a market opportunity in a form that agents and engineers can execute.学生学习如何把市场机会表达成 agents 和工程师都能执行的形式。學生學習如何把市場機會表達成 agents 和工程師都能執行的形式。

For Teams面向团队面向團隊

Keep decisions portable让决策可迁移讓決策可遷移

Project memory lives in files, so it survives handoffs, review cycles, and tool changes.项目记忆保存在文件里,因此可以穿过交接、评审周期和工具变化。項目記憶保存在文件裏,因此可以穿過交接、評審週期和工具變化。

For Agents面向 Agents面向 Agents

Reduce drift减少漂移減少漂移

Boundaries, contracts, and rules give coding agents a smaller and safer target.边界、合约与规则为 coding agents 提供更小、更安全的目标。邊界、合約與規則為 coding agents 提供更小、更安全的目標。

For Review面向评审面向評審

Make quality visible让质量可见讓質量可見

Tasks and verification notes make it easier to inspect whether implementation matched intent.任务和验证说明让人更容易检查实现是否匹配意图。任務和驗證說明讓人更容易檢查實現是否匹配意圖。

Open the project scaffolding repository.打开项目脚手架仓库。打開項目腳手架倉庫。

Browse the skill, governance templates, compatibility guides, worked examples, and validation script.浏览 skill、治理模板、兼容指南、worked examples 与验证脚本。瀏覽 skill、治理模板、兼容指南、worked examples 與驗證腳本。