Skip to content
cccskills
FreePublished on GitHub

devflow-codex

在 Codex 中运行 devflow。用户提到 devflow、start/resume/status/abort devflow、多 agent 工作流,或要求“按 Codex devflow 跑”时使用。

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md2.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

DevFlow Codex 工作流

这是 Codex 原生工作流入口。Codex 运行时只读取 .codex/,不读取 .codebuddy/。

.codex/ 与 .codebuddy/ 是两套独立工作流资产;二者应保持流程契约一致, 但互不作为运行时依赖。

必读文件

启动或恢复前必须读取:

  1. .codex/assets/devflow.defaults.yaml
  2. .codex/runtime/start-workflow.md
  3. .codex/runtime/workflow-state-spec.md
  4. TASK-01 需求澄清时读取 .codex/skills/superpowers/brainstorming/SKILL.md
  5. TASK-05 知识沉淀时读取 .codex/skills/knowledge-distillation/SKILL.md
  6. 当前阶段对应的 .codex/agents/<role>.md
  7. 当前阶段需要的 .codex/rules/ 和 .codex/checklists/

在 Codex 中如何触发

Codex 不会自动把仓库里的命令文件注册进 / 菜单。请用自然语言或显式 skill 触发:

$devflow-codex start 需求描述...
$devflow-codex status TASK_SLUG
$devflow-codex resume TASK_SLUG
$devflow-codex abort TASK_SLUG

也可以直接说:

用 devflow 跑这个需求:...

编排规则

  • 主 Codex 线程是唯一 orchestrator。
  • workflow-state.json 是阶段交接和审计的唯一持久化状态。
  • 不使用 CodeBuddy 的 team_create、send_message、team_delete。
  • medium/large 的 TASK-01 必须使用 superpowers:brainstorming 做需求澄清, 且必须等待用户明确回答或确认后才能进入 TASK-02。
  • TASK-02 及之后的角色阶段必须通过 Codex multi_agent_v1.spawn_agent 派发;只有工具不存在或返回 unavailable/not found 时,才允许主线程内联执行 并在 workflow-state.json.decisions[] 记录降级原因。
  • 阶段产物和状态 schema 必须保持 devflow 兼容。

启动协议

按 .codex/runtime/start-workflow.md 执行:

  1. 初始化 artifacts/{task_slug}/ 和 workflow-state.json。
  2. Phase 0 做需求草图、影响扫描和规模判定。
  3. small 进入 SOLO。
  4. medium/large 先由主 Codex 线程调用 superpowers:brainstorming 完成 TASK-01 需求分析与澄清,写入 01-requirement/requirement-report.md, 经用户确认后再进入 TASK-02。
  5. TASK-02 起使用 multi_agent_v1.spawn_agent 派发对应角色。
  6. 如果用户要求先确认方案,停在 TASK-03 前。

阶段协议

每个阶段:

  1. 先读取 workflow-state.json。
  2. 读取 .codex/agents/<role>.md。
  3. 写入阶段开始状态。
  4. 产出对应 artifact。
  5. 更新 workflow-state.json。
  6. 返回主线程,由主线程按 routing table 决定下一阶段。

完成协议

结束时生成 workflow-summary.md,更新 summary 字段,保留全部产物,并向用户 汇总改动、验证、审查和知识沉淀结果。

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Add or maintain CodeBuddy hook observability for projects that need local metrics for tool latency, transcript token usage, session cost, and multi-agent trace attribution. Use when wiring hook-based telemetry, debugging missing usage events, and validating AgentLens state.

The English summary is being prepared. Showing the original description.

Tencent/LoopForge56Updated Oct 16, 2026

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

The English summary is being prepared. Showing the original description.

Tencent/LoopForge56Updated Oct 16, 2026

在用户明确要求结构化、可恢复、多阶段的软件交付流程,或要求按 devflow 继续已有任务时使用。覆盖任务分级、需求、设计、计划、实现、设计稿还原、代码审查、测试、固定产物归档、知识沉淀和预览部署;适用于不同 Agent、语言、框架和仓库。普通的一次性小改、单独问答或无需流程编排的代码操作不应仅因属于软件开发而自动触发。

The English summary is being prepared. Showing the original description.

Tencent/LoopForge56Updated Oct 16, 2026

在技术设计前澄清软件交付需求,解决重要产品决策、隐含假设、范围边界、成功标准和未决分支。用于 DevFlow medium/large 的 REQUIREMENT 阶段,或功能请求过于模糊、无法安全设计时。只询问无法从项目证据中回答的问题;不实现、不提交、不写技术方案,也不调用计划类 skill。

The English summary is being prepared. Showing the original description.

Tencent/LoopForge56Updated Oct 16, 2026

通用知识沉淀能力 - 提供从项目交付过程中提炼可复用经验、教训和模式的标准化方法论,包括信息收集、精简提炼、结构化输出。不绑定任何特定工作流或存储方式。当用户说"帮我做知识沉淀"、"总结一下这次需求的经验"、"记录一下踩坑"、"沉淀一下这次的技术决策"、"做个复盘"时使用本技能。

The English summary is being prepared. Showing the original description.

Tencent/LoopForge56Updated Oct 16, 2026

通用知识沉淀能力。用于从 devflow 或其他交付过程的需求、设计、实现、审查、测试产物中提炼可复用经验、技术决策、踩坑记录和流程改进。

The English summary is being prepared. Showing the original description.

Tencent/LoopForge56Updated Oct 16, 2026

See all skills by Tencent

Report a problem with this skill