← 返回 Skills 市场
nogara

Chief Feature Workflow

作者 Luiz Gustavo Nogara · GitHub ↗ · v1.0.2
cross-platform ⚠ suspicious
437
总下载
1
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install chief-feature
功能描述
Create and implement new features in Chief-managed projects using the Chief CLI. Use when asked to create a new PRD, implement a feature with Chief, set up a...
使用说明 (SKILL.md)

Chief Feature Workflow

Chief is an AI-driven development loop: reads a prd.json, implements user stories one by one via Claude Code, commits each, and tracks progress.

Full Workflow

1. Clone / verify repo

Confirm the project is cloned locally.

2. Create a new PRD

Run interactively in the project root:

cd \x3Cproject>
chief new \x3Cprd-name>

Chief launches Claude Code in PRD-writer mode. It will ask clarifying questions with lettered options. Provide:

  • The full feature description / spec
  • Answers to clarifying questions (e.g. "1A, 2C, 3D")

When Chief asks "Do you want to create prd.md?" — approve (option 1 or 2).

Chief converts prd.mdprd.json on /exit. Watch for:

✓ PRD converted successfully

Files land at: .chief/prds/\x3Cprd-name>/prd.md and prd.json

3. Create a worktree + branch

git worktree add ../\x3Cproject>-\x3Cprd-name> -b feat/\x3Cprd-name>
mkdir -p ../\x3Cproject>-\x3Cprd-name>/.chief/prds/\x3Cprd-name>
cp .chief/prds/\x3Cprd-name>/prd.{md,json} ../\x3Cproject>-\x3Cprd-name>/.chief/prds/\x3Cprd-name>/

4. Commit the PRD

cd ../\x3Cproject>-\x3Cprd-name>
git add .chief/prds/\x3Cprd-name>/prd.md
git commit -m "docs: add \x3Cprd-name> PRD"

Only commit prd.mdprd.json is typically gitignored.

5. Delegate to a subagent (recommended for long runs)

Instead of running Chief manually and polling, spawn a subagent to handle the full implementation autonomously:

Spawn a subagent with this task:
- Working directory: ~/\x3Cproject>-\x3Cprd-name>
- Run `chief \x3Cprd-name>` with pty:true
- Press `s` to start the loop
- Approve bash prompts with `1` + Enter (or `2` to always allow)
- If stuck on a prompt, send hex `0d` (Enter)
- Poll until all stories show ✓ (100%)
- Commit progress.md, push, open PR
- Announce the PR URL when done

The subagent runs fully isolated and auto-announces on completion. You can spawn multiple subagents in parallel — one per PRD/worktree — for concurrent feature development.

Parallel runs: 2–3 concurrent subagents is the practical sweet spot. Each Chief run is API-heavy (runs Claude Code under the hood), so more than 3 parallel runs risks rate limits and high cost.

5b. Run Chief manually (alternative)

If you prefer to supervise directly:

chief \x3Cprd-name>

Press s in the TUI to start. Chief works through stories in priority order, runs verification (make test, pnpm typecheck, etc.), commits each passing story, and updates progress.md.

Monitor via process(action=poll) on the PTY session. Watch for **US-00X is complete**.

6. Commit progress + push

git add .chief/prds/\x3Cprd-name>/progress.md
git commit -m "docs: add \x3Cprd-name> progress"
git push -u origin feat/\x3Cprd-name>

7. Open a PR

gh pr create \
  --title "feat: \x3Cprd-name>" \
  --body "Implements the \x3Cprd-name> PRD. See .chief/prds/\x3Cprd-name>/prd.md for spec." \
  --base main

8. Clean up the worktree

After the PR is merged:

cd \x3Cproject>
git worktree remove ../\x3Cproject>-\x3Cprd-name>
git branch -d feat/\x3Cprd-name>

Use git worktree remove --force if the directory has uncommitted changes.

Tips

  • TUI bash prompts: use 1 (Yes) or 2 (Yes, always allow)
  • If stuck on a permission prompt, send hex: ["0d"] via process(send-keys)
  • If a story fails, Chief retries or logs the failure in progress.md
  • prd.json is typically gitignored — only commit prd.md and progress.md
  • Chief resumes automatically from the last completed story if restarted

Reference

See references/chief-commands.md for CLI commands, TUI keyboard shortcuts, and official links.

About Chief

Chief is an open-source AI-driven development loop built by minicodemonkey.

安全使用建议
This skill is coherent for automating Chief-based feature work, but review these practical points before installing: (1) Chief runs Claude Code and will observe repository contents and test outputs — do not use it on repos with secrets or sensitive data unless you accept that exposure. (2) The workflow expects git/gh credentials already configured; opening PRs will use those credentials and publish branches to your remote. (3) Spawning autonomous subagents can run long-lived processes and consume API/model credits — start with a small test PR in a safe repo or fork to confirm behavior. (4) If you don't already trust chiefloop.com / the Chief project, review their code/docs and run the CLI locally first. If you want more assurance, ask the publisher for a canonical homepage/repository link and verify the Chief CLI release sources before giving the skill network or repo-level access.
功能分析
Type: OpenClaw Skill Name: chief-feature Version: 1.0.2 The skill is designed to automate a development workflow using the 'chief' CLI tool, which inherently executes project-defined code (e.g., `make test`, `pnpm typecheck`). The `SKILL.md` instructs the AI agent to 'Approve bash prompts with `1` + Enter (or `2` to always allow)' and to delegate the entire process to a subagent for autonomous execution. This combination creates a significant remote code execution (RCE) vulnerability, as the agent is instructed to trust and execute potentially malicious build/test scripts from an untrusted project without explicit human oversight. While the skill itself does not contain malicious code, it provides the mechanism for an agent to execute arbitrary code from a compromised or malicious project, classifying it as suspicious due to this high-risk capability.
能力评估
Purpose & Capability
The name/description describe creating and implementing features using the Chief CLI and all runtime instructions are about running chief, creating worktrees, committing PRD/progress files, and opening PRs. There are no unrelated environment variables, binaries, or install steps requested.
Instruction Scope
The SKILL.md instructs the agent to run the Chief CLI (chief new / chief <prd-name>), spawn subagents to run long-lived interactive sessions (PTY), press keys/approve prompts, run verification commands (make test, pnpm typecheck), commit/push and open PRs. This is within the stated purpose, but it implies the agent (and the Chief/Claude Code service) will read and send repository content and test outputs to the AI backend — a potential data-exposure consideration that is expected for this workflow.
Install Mechanism
No install spec or code files are included (instruction-only). Nothing is downloaded or written by the skill itself, so there is no installation risk introduced by the skill bundle.
Credentials
The skill declares no required env vars, credentials, or config paths. The workflow assumes local tools (git, gh, chief) and existing repository/remotes are available; those are proportionate to the described tasks. Note: creating/pushing PRs requires Git/GitHub credentials already present in the environment, but the skill does not request or attempt to access them explicitly.
Persistence & Privilege
always:false and default autonomous invocation are used; the skill does not request permanent presence or modify other skills. The recommendation to spawn subagents allows long-running autonomous work, which increases operational reach but is consistent with the described feature-implementation workflow.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install chief-feature
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /chief-feature 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
Chief-feature v1.0.1 introduces support for spawning subagents to run multiple feature implementation loops in parallel. - New recommended workflow to spawn subagents for autonomous Chief runs, supporting parallel PRD implementation. - Added guidance on running 2–3 subagents concurrently for optimal throughput and resource usage. - Clarified manual vs. autonomous workflows, with detailed subagent instructions. - Added tips for resuming progress and proper file committing. - Cleaned up and clarified step order, emphasizing best practices for worktree management.
v1.0.1
- Added a recommended workflow using subagents to automate Chief feature implementation, enabling parallel PRD development. - Clarified the distinction between subagent and manual execution, providing guidance for both. - Included advice on parallel subagent usage and practical limits to avoid API rate limits. - Added tips for handling bash prompts, gitignored files, and Chief's resume behavior. - Reorganized and streamlined cleanup steps and overall workflow instructions.
v1.0.0
Initial release. Full end-to-end workflow for creating and implementing new features in Chief-managed projects: PRD creation via `chief new`, worktree setup, implementation loop via `chief <prd-name>`, progress commit, PR creation, and worktree cleanup.
元数据
Slug chief-feature
版本 1.0.2
许可证
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Chief Feature Workflow 是什么?

Create and implement new features in Chief-managed projects using the Chief CLI. Use when asked to create a new PRD, implement a feature with Chief, set up a... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 437 次。

如何安装 Chief Feature Workflow?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install chief-feature」即可一键安装,无需额外配置。

Chief Feature Workflow 是免费的吗?

是的,Chief Feature Workflow 完全免费(开源免费),可自由下载、安装和使用。

Chief Feature Workflow 支持哪些平台?

Chief Feature Workflow 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Chief Feature Workflow?

由 Luiz Gustavo Nogara(@nogara)开发并维护,当前版本 v1.0.2。

💬 留言讨论