{
  "schemaVersion": "1.0",
  "item": {
    "slug": "chief-feature",
    "name": "Chief Feature Workflow",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/nogara/chief-feature",
    "canonicalUrl": "https://clawhub.ai/nogara/chief-feature",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/chief-feature",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=chief-feature",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "references/chief-commands.md",
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/chief-feature"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/chief-feature",
    "agentPageUrl": "https://openagent3.xyz/skills/chief-feature/agent",
    "manifestUrl": "https://openagent3.xyz/skills/chief-feature/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/chief-feature/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Chief Feature Workflow",
        "body": "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."
      },
      {
        "title": "1. Clone / verify repo",
        "body": "Confirm the project is cloned locally."
      },
      {
        "title": "2. Create a new PRD",
        "body": "Run interactively in the project root:\n\ncd <project>\nchief new <prd-name>\n\nChief launches Claude Code in PRD-writer mode. It will ask clarifying questions with lettered options. Provide:\n\nThe full feature description / spec\nAnswers to clarifying questions (e.g. \"1A, 2C, 3D\")\n\nWhen Chief asks \"Do you want to create prd.md?\" — approve (option 1 or 2).\n\nChief converts prd.md → prd.json on /exit. Watch for:\n\n✓ PRD converted successfully\n\nFiles land at: .chief/prds/<prd-name>/prd.md and prd.json"
      },
      {
        "title": "3. Create a worktree + branch",
        "body": "git worktree add ../<project>-<prd-name> -b feat/<prd-name>\nmkdir -p ../<project>-<prd-name>/.chief/prds/<prd-name>\ncp .chief/prds/<prd-name>/prd.{md,json} ../<project>-<prd-name>/.chief/prds/<prd-name>/"
      },
      {
        "title": "4. Commit the PRD",
        "body": "cd ../<project>-<prd-name>\ngit add .chief/prds/<prd-name>/prd.md\ngit commit -m \"docs: add <prd-name> PRD\"\n\nOnly commit prd.md — prd.json is typically gitignored."
      },
      {
        "title": "5. Delegate to a subagent (recommended for long runs)",
        "body": "Instead of running Chief manually and polling, spawn a subagent to handle the full implementation autonomously:\n\nSpawn a subagent with this task:\n- Working directory: ~/<project>-<prd-name>\n- Run `chief <prd-name>` with pty:true\n- Press `s` to start the loop\n- Approve bash prompts with `1` + Enter (or `2` to always allow)\n- If stuck on a prompt, send hex `0d` (Enter)\n- Poll until all stories show ✓ (100%)\n- Commit progress.md, push, open PR\n- Announce the PR URL when done\n\nThe subagent runs fully isolated and auto-announces on completion. You can spawn multiple subagents in parallel — one per PRD/worktree — for concurrent feature development.\n\nParallel 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."
      },
      {
        "title": "5b. Run Chief manually (alternative)",
        "body": "If you prefer to supervise directly:\n\nchief <prd-name>\n\nPress 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.\n\nMonitor via process(action=poll) on the PTY session. Watch for **US-00X is complete**."
      },
      {
        "title": "6. Commit progress + push",
        "body": "git add .chief/prds/<prd-name>/progress.md\ngit commit -m \"docs: add <prd-name> progress\"\ngit push -u origin feat/<prd-name>"
      },
      {
        "title": "7. Open a PR",
        "body": "gh pr create \\\n  --title \"feat: <prd-name>\" \\\n  --body \"Implements the <prd-name> PRD. See .chief/prds/<prd-name>/prd.md for spec.\" \\\n  --base main"
      },
      {
        "title": "8. Clean up the worktree",
        "body": "After the PR is merged:\n\ncd <project>\ngit worktree remove ../<project>-<prd-name>\ngit branch -d feat/<prd-name>\n\nUse git worktree remove --force if the directory has uncommitted changes."
      },
      {
        "title": "Tips",
        "body": "TUI bash prompts: use 1 (Yes) or 2 (Yes, always allow)\nIf stuck on a permission prompt, send hex: [\"0d\"] via process(send-keys)\nIf a story fails, Chief retries or logs the failure in progress.md\nprd.json is typically gitignored — only commit prd.md and progress.md\nChief resumes automatically from the last completed story if restarted"
      },
      {
        "title": "Reference",
        "body": "See references/chief-commands.md for CLI commands, TUI keyboard shortcuts, and official links."
      },
      {
        "title": "About Chief",
        "body": "Chief is an open-source AI-driven development loop built by minicodemonkey.\n\nWebsite: https://chiefloop.com/\nGitHub: https://github.com/minicodemonkey/chief"
      }
    ],
    "body": "Chief Feature Workflow\n\nChief is an AI-driven development loop: reads a prd.json, implements user stories one by one via Claude Code, commits each, and tracks progress.\n\nFull Workflow\n1. Clone / verify repo\n\nConfirm the project is cloned locally.\n\n2. Create a new PRD\n\nRun interactively in the project root:\n\ncd <project>\nchief new <prd-name>\n\n\nChief launches Claude Code in PRD-writer mode. It will ask clarifying questions with lettered options. Provide:\n\nThe full feature description / spec\nAnswers to clarifying questions (e.g. \"1A, 2C, 3D\")\n\nWhen Chief asks \"Do you want to create prd.md?\" — approve (option 1 or 2).\n\nChief converts prd.md → prd.json on /exit. Watch for:\n\n✓ PRD converted successfully\n\n\nFiles land at: .chief/prds/<prd-name>/prd.md and prd.json\n\n3. Create a worktree + branch\ngit worktree add ../<project>-<prd-name> -b feat/<prd-name>\nmkdir -p ../<project>-<prd-name>/.chief/prds/<prd-name>\ncp .chief/prds/<prd-name>/prd.{md,json} ../<project>-<prd-name>/.chief/prds/<prd-name>/\n\n4. Commit the PRD\ncd ../<project>-<prd-name>\ngit add .chief/prds/<prd-name>/prd.md\ngit commit -m \"docs: add <prd-name> PRD\"\n\n\nOnly commit prd.md — prd.json is typically gitignored.\n\n5. Delegate to a subagent (recommended for long runs)\n\nInstead of running Chief manually and polling, spawn a subagent to handle the full implementation autonomously:\n\nSpawn a subagent with this task:\n- Working directory: ~/<project>-<prd-name>\n- Run `chief <prd-name>` with pty:true\n- Press `s` to start the loop\n- Approve bash prompts with `1` + Enter (or `2` to always allow)\n- If stuck on a prompt, send hex `0d` (Enter)\n- Poll until all stories show ✓ (100%)\n- Commit progress.md, push, open PR\n- Announce the PR URL when done\n\n\nThe subagent runs fully isolated and auto-announces on completion. You can spawn multiple subagents in parallel — one per PRD/worktree — for concurrent feature development.\n\nParallel 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.\n\n5b. Run Chief manually (alternative)\n\nIf you prefer to supervise directly:\n\nchief <prd-name>\n\n\nPress 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.\n\nMonitor via process(action=poll) on the PTY session. Watch for **US-00X is complete**.\n\n6. Commit progress + push\ngit add .chief/prds/<prd-name>/progress.md\ngit commit -m \"docs: add <prd-name> progress\"\ngit push -u origin feat/<prd-name>\n\n7. Open a PR\ngh pr create \\\n  --title \"feat: <prd-name>\" \\\n  --body \"Implements the <prd-name> PRD. See .chief/prds/<prd-name>/prd.md for spec.\" \\\n  --base main\n\n8. Clean up the worktree\n\nAfter the PR is merged:\n\ncd <project>\ngit worktree remove ../<project>-<prd-name>\ngit branch -d feat/<prd-name>\n\n\nUse git worktree remove --force if the directory has uncommitted changes.\n\nTips\nTUI bash prompts: use 1 (Yes) or 2 (Yes, always allow)\nIf stuck on a permission prompt, send hex: [\"0d\"] via process(send-keys)\nIf a story fails, Chief retries or logs the failure in progress.md\nprd.json is typically gitignored — only commit prd.md and progress.md\nChief resumes automatically from the last completed story if restarted\nReference\n\nSee references/chief-commands.md for CLI commands, TUI keyboard shortcuts, and official links.\n\nAbout Chief\n\nChief is an open-source AI-driven development loop built by minicodemonkey.\n\nWebsite: https://chiefloop.com/\nGitHub: https://github.com/minicodemonkey/chief"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/nogara/chief-feature",
    "publisherUrl": "https://clawhub.ai/nogara/chief-feature",
    "owner": "nogara",
    "version": "1.0.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/chief-feature",
    "downloadUrl": "https://openagent3.xyz/downloads/chief-feature",
    "agentUrl": "https://openagent3.xyz/skills/chief-feature/agent",
    "manifestUrl": "https://openagent3.xyz/skills/chief-feature/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/chief-feature/agent.md"
  }
}