matt-flow
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "matt-flow" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-47625d229afc3ec926245097baddd27abbe94b4207872bb43896b7cb2a46560e. Verify the upstream source and version against https://skillhub.cn/skills/user_f0fbbd32/matt-flow before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Automates orchestration of Matt Pocock's workflow, implementing the iterative cycle grill → spec → tickets → implement → code-review. Designed to organize and automate the stages within that cyclical development process.
Introduction source: third_party · user_f0fbbd32 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: matt-flow
description: Matt Pocock Skills 的自动化编排。走完 grill → spec → tickets → implement → code-review 循环。
argument-hint: "<project-dir>"
disable-model-invocation: truematt-flow
Matt Pocock AI Coding Skills 的完整工作流编排。每步以 完成标志 结束。
入口:状态检查
用户调用 /matt-flow [project-dir] 时运行状态检查:
python3 <skill-dir>/scripts/auto-develop.py --status <project-dir>
从输出中提取 phase 字段,进入对应阶段:
| phase | 含义 | 下一步 |
|---|---|---|
init |
新项目,无 git / 无 scratch | 问用户是否 init-project.py 初始化 |
grill |
无 tickets,需从需求开始 | 问用户是否先调 /ask-matt → 或直接 Phase 1 |
implement |
有 tickets 未完成 | Phase 3 |
review |
所有 ticket 已完成 | Phase 4 |
状态检查也会列出已完成/待办的 ticket,每次走到入口时重新检查。
Phase 1:Grill + 分支决策
步骤 1:Grill with Docs
调用 /grill-with-docs 追问需求,产出 CONTEXT.md(领域术语表)和可选 ADR。
完成标志:CONTEXT.md 存在且用户确认"理解了"。
步骤 2:分支决策
评估工作量:
- 小改动(一个 ticket 能装下,~100K tokens)→ 直接调用
/implement this,跳到 Phase 4 - 大改动(需多个 ticket)→ 进入 Phase 2
问用户确认分支选择。
完成标志:用户确认了分支。
Phase 2:Spec + Tickets
步骤 3:to-spec
调用 /to-spec,产出 scratch/SPEC.md。
完成标志:scratch/SPEC.md 存在且内容完整(问题陈述 + 用户故事 + 验收标准 + 实施决策)。
步骤 4:to-tickets
调用 /to-tickets,将 spec 拆成多个 ticket,每个 ≈ 一个 context window(~100K tokens)。输出到 scratch/tickets/NNNN-name.md。
完成标志:scratch/tickets/ 下有 .md 文件。
Phase 3:Auto-Implement
两条路径,选一:
路径 A:自动(推荐)
python3 <skill-dir>/scripts/auto-develop.py <project-dir>
脚本行为:
- 按顺序读取
scratch/tickets/ - git log 检查是否已有
ticket-NNNN提交 → 跳过已完成的 - 未完成的 → 调
pi加载 Spec + Ticket 上下文,实现 ticket - 跑项目类型检查/构建/测试
- 调
pi子进程做 Code Review(双轴审查:对照 Spec + 对照代码标准) - 验证通过 → git commit;失败 → 重试最多 3 次
- 继续下一个 ticket
完成标志:脚本退出码为 0,表示所有 ticket 已提交。
路径 B:手动(逐条实现)
自动脚本不适用时,逐条执行:
- 加载 Spec + Ticket:
@scratch/SPEC.md @scratch/tickets/NNNN-name.md 实现这个 ticket,严格按照 SPEC.md 和 ticket 中的要求执行 - 实现完成后,agent 自动包含 Code Review(sub-agent 双轴审查:对照 Spec + 对照代码标准)
- 验证通过 →
git add -A && git commit -m "ticket-NNNN: name" - 清空上下文,进入下一条 ticket
完成标志:所有 ticket 文件对应的 ticket-NNNN 提交出现在 git log 中。
Phase 4:验收 & 下一轮
- 向用户展示当前 batch 的成果
- 如有失败 ticket,讨论修复方案
- 问用户:继续下一批还是结束?
- 继续 → 调
/ask-matt获取下一批的方向建议,展示给用户,回到 Phase 1 - 结束 → 完成
- 继续 → 调
完成标志:用户确认结束,或继续下一轮 Grill。
原则
- 一次只 grill 当前阶段 — 拆完一个即可开跑下一个
- git log 判定进度 — 已提交的 ticket 自动跳过
- 每个 ticket ≈ 一个 context window(~100K tokens) — 确保 AI 输出质量
- 每次 ticket 后清空上下文 — 保持上下文清洁(手动路径关键)
- 失败通知人 — 重试 3 次仍失败则暂停,等人处理
- 文件即记忆 — spec 和 tickets 存于文件,跨 session 可恢复
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供完整的 AI 编码工作流自动化编排,显著提升开发效率
- 明确解决 Matt Pocock Skills 使用者的流程管理痛点
Highlights
- 触发词精准完整,覆盖多种使用场景
- argument-hint 提供了清晰的参数提示
Areas to improve
-
文档过长 Reported severity: Minor
主文档超过500行,影响阅读体验
Recommendation: 考虑将部分详细说明拆分为子文档或附录
-
缺少 When to Use 章节 Reported severity: Minor
未明确说明适用场景和使用时机
Recommendation: 添加 When to Use 章节,帮助用户判断何时使用此 Skill
Highlights
- Phase 划分清晰,每个阶段有明确的完成标志
- 包含端到端示例和脚本调用说明
Areas to improve
-
脚本实现细节未完全透明 Reported severity: Minor
auto-develop.py 脚本的具体实现和错误处理细节未在文档中完全说明
Recommendation: 补充脚本的关键逻辑说明或提供脚本源码链接
Highlights
- 工具来源明确,参数使用正确
- 覆盖了主要异常处理(重试机制、git log 检查进度)
- 不可逆操作有验证机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.