mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-11 02:33:51 +08:00
1 line
25 KiB
JavaScript
1 line
25 KiB
JavaScript
"use strict";(globalThis.webpackChunkccw_docs=globalThis.webpackChunkccw_docs||[]).push([[273],{1184(e,n,s){s.d(n,{R:()=>d,x:()=>i});var l=s(3696);const r={},c=l.createContext(r);function d(e){const n=l.useContext(c);return l.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:d(e.components),l.createElement(c.Provider,{value:n},e.children)}},1290(e,n,s){s.r(n),s.d(n,{assets:()=>x,contentTitle:()=>t,default:()=>j,frontMatter:()=>h,metadata:()=>l,toc:()=>o});const l=JSON.parse('{"id":"overview","title":"\u6b22\u8fce\u4f7f\u7528 CCW","description":"CCW \u662f\u4e00\u4e2a\u4e13\u4e1a\u7684\u5de5\u4f5c\u6d41\u81ea\u52a8\u5316\u5e73\u53f0\uff0c\u7ed3\u5408\u4e86 AI \u9a71\u52a8\u7684\u667a\u80fd\u4e0e\u7ed3\u6784\u5316\u5f00\u53d1\u5de5\u4f5c\u6d41\u3002\u51ed\u501f 40+ \u547d\u4ee4\u548c 15 \u4e2a\u96c6\u6210\u5de5\u4f5c\u6d41\uff0cCCW \u5f7b\u5e95\u6539\u53d8\u4e86\u60a8\u6784\u5efa\u3001\u6d4b\u8bd5\u548c\u4ea4\u4ed8\u8f6f\u4ef6\u7684\u65b9\u5f0f\u3002","source":"@site/i18n/zh/docusaurus-plugin-content-docs/current/overview.mdx","sourceDirName":".","slug":"/overview","permalink":"/docs/zh/overview","draft":false,"unlisted":false,"editUrl":"https://github.com/ccw/docs/tree/main/docs/overview.mdx","tags":[],"version":"current","sidebarPosition":1,"frontMatter":{"title":"\u6b22\u8fce\u4f7f\u7528 CCW","sidebar_label":"\u6982\u89c8","sidebar_position":1},"sidebar":"docs","previous":{"title":"\u9996\u9875","permalink":"/docs/zh/"},"next":{"title":"/ccw","permalink":"/docs/zh/commands/general/ccw"}}');var r=s(2540),c=s(1184),d=s(1540),i=s(2436);const h={title:"\u6b22\u8fce\u4f7f\u7528 CCW",sidebar_label:"\u6982\u89c8",sidebar_position:1},t="\u6b22\u8fce\u4f7f\u7528 CCW",x={},o=[{value:"\u4ec0\u4e48\u662f CCW\uff1f",id:"\u4ec0\u4e48\u662f-ccw",level:2},{value:"\u5feb\u901f\u94fe\u63a5",id:"\u5feb\u901f\u94fe\u63a5",level:2},{value:"\u6838\u5fc3\u529f\u80fd",id:"\u6838\u5fc3\u529f\u80fd",level:2},{value:"40+ \u547d\u4ee4",id:"40-\u547d\u4ee4",level:3},{value:"15 \u4e2a\u96c6\u6210\u5de5\u4f5c\u6d41",id:"15-\u4e2a\u96c6\u6210\u5de5\u4f5c\u6d41",level:3},{value:"AI \u9a71\u52a8\u7684\u667a\u80fd",id:"ai-\u9a71\u52a8\u7684\u667a\u80fd",level:3},{value:"\u4f1a\u8bdd\u7ba1\u7406",id:"\u4f1a\u8bdd\u7ba1\u7406",level:3},{value:"\u5feb\u901f\u5165\u95e8",id:"\u5feb\u901f\u5165\u95e8",level:2},{value:"\u9009\u62e9\u60a8\u7684\u8d77\u70b9",id:"\u9009\u62e9\u60a8\u7684\u8d77\u70b9",level:3},{value:"\u5feb\u901f\u5165\u95e8\u793a\u4f8b",id:"\u5feb\u901f\u5165\u95e8\u793a\u4f8b",level:3},{value:"\u67b6\u6784\u6982\u89c8",id:"\u67b6\u6784\u6982\u89c8",level:2},{value:"\u4e0b\u4e00\u6b65",id:"\u4e0b\u4e00\u6b65",level:2},{value:"\u5b66\u4e60\u57fa\u7840\u77e5\u8bc6",id:"\u5b66\u4e60\u57fa\u7840\u77e5\u8bc6",level:3},{value:"\u6309\u4f7f\u7528\u573a\u666f\u63a2\u7d22",id:"\u6309\u4f7f\u7528\u573a\u666f\u63a2\u7d22",level:3},{value:"\u8bd5\u7528\u4e00\u4e0b",id:"\u8bd5\u7528\u4e00\u4e0b",level:3},{value:"\u652f\u6301",id:"\u652f\u6301",level:2}];function a(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",hr:"hr",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,c.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"\u6b22\u8fce\u4f7f\u7528-ccw",children:"\u6b22\u8fce\u4f7f\u7528 CCW"})}),"\n",(0,r.jsx)(n.p,{children:"CCW \u662f\u4e00\u4e2a\u4e13\u4e1a\u7684\u5de5\u4f5c\u6d41\u81ea\u52a8\u5316\u5e73\u53f0\uff0c\u7ed3\u5408\u4e86 AI \u9a71\u52a8\u7684\u667a\u80fd\u4e0e\u7ed3\u6784\u5316\u5f00\u53d1\u5de5\u4f5c\u6d41\u3002\u51ed\u501f 40+ \u547d\u4ee4\u548c 15 \u4e2a\u96c6\u6210\u5de5\u4f5c\u6d41\uff0cCCW \u5f7b\u5e95\u6539\u53d8\u4e86\u60a8\u6784\u5efa\u3001\u6d4b\u8bd5\u548c\u4ea4\u4ed8\u8f6f\u4ef6\u7684\u65b9\u5f0f\u3002"}),"\n",(0,r.jsx)(n.h2,{id:"\u4ec0\u4e48\u662f-ccw",children:"\u4ec0\u4e48\u662f CCW\uff1f"}),"\n",(0,r.jsx)(n.p,{children:"CCW (Claude Code Workflows) \u662f\u4e00\u4e2a\u9ad8\u7ea7\u5f00\u53d1\u73af\u5883\uff0c\u7f16\u6392 AI \u4ee3\u7406\u3001\u5de5\u4f5c\u6d41\u548c\u5de5\u5177\u4ee5\u52a0\u901f\u8f6f\u4ef6\u5f00\u53d1\uff0c\u540c\u65f6\u4fdd\u6301\u8d28\u91cf\u6807\u51c6\u3002"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"\u6838\u5fc3\u80fd\u529b\uff1a"})}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"AI \u9a71\u52a8\u5f00\u53d1"})," - \u5229\u7528\u591a\u79cd AI \u6a21\u578b\uff08Gemini\u3001Codex\u3001Claude\u3001Qwen\uff09\u8fdb\u884c\u4ee3\u7801\u5206\u6790\u3001\u751f\u6210\u548c\u5ba1\u67e5"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"\u7ed3\u6784\u5316\u5de5\u4f5c\u6d41"})," - \u4ece\u5feb\u901f\u6267\u884c\u5230\u667a\u80fd\u7f16\u6392\u7684 15 \u4e2a\u5de5\u4f5c\u6d41\u7ea7\u522b"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"40+ \u547d\u4ee4"})," - \u8986\u76d6\u89c4\u5212\u3001\u6267\u884c\u3001\u6d4b\u8bd5\u3001\u5ba1\u67e5\u548c\u7ef4\u62a4\u7684\u5168\u9762\u547d\u4ee4\u96c6"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"\u4f1a\u8bdd\u7ba1\u7406"})," - \u5b8c\u6574\u7684\u72b6\u6001\u6301\u4e45\u5316\uff0c\u652f\u6301\u53ef\u6062\u590d\u7684\u4f1a\u8bdd"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"\u591a\u4ee3\u7406\u534f\u8c03"})," - \u5177\u6709\u4f9d\u8d56\u611f\u77e5\u4efb\u52a1\u5206\u914d\u7684\u5e76\u884c\u6267\u884c"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"\u8d28\u91cf\u5173\u5361"})," - \u5185\u7f6e\u7684\u6d4b\u8bd5\u3001\u9a8c\u8bc1\u548c\u4ee3\u7801\u5ba1\u67e5\u5de5\u4f5c\u6d41"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"\u5feb\u901f\u94fe\u63a5",children:"\u5feb\u901f\u94fe\u63a5"}),"\n",(0,r.jsxs)("div",{className:"row",children:[(0,r.jsx)("div",{className:"col col--4",children:(0,r.jsxs)(i.A,{to:"/workflows/introduction",className:"card padding--lg",children:[(0,r.jsx)("div",{className:"card__header",children:(0,r.jsx)("h3",{children:"\u5de5\u4f5c\u6d41"})}),(0,r.jsx)("div",{className:"card__body",children:(0,r.jsx)("p",{children:"\u63a2\u7d22\u4ece\u5feb\u901f\u6267\u884c\u5230\u667a\u80fd\u7f16\u6392\u7684 15 \u4e2a\u5de5\u4f5c\u6d41\u7ea7\u522b"})})]})}),(0,r.jsx)("div",{className:"col col--4",children:(0,r.jsxs)(i.A,{to:"/commands/general/ccw",className:"card padding--lg",children:[(0,r.jsx)("div",{className:"card__header",children:(0,r.jsx)("h3",{children:"\u547d\u4ee4"})}),(0,r.jsx)("div",{className:"card__body",children:(0,r.jsx)("p",{children:"\u5de5\u4f5c\u6d41\u3001\u95ee\u9898\u3001CLI \u548c\u5185\u5b58\u64cd\u4f5c\u7684\u5b8c\u6574\u547d\u4ee4\u53c2\u8003"})})]})}),(0,r.jsx)("div",{className:"col col--4",children:(0,r.jsxs)(i.A,{to:"/faq",className:"card padding--lg",children:[(0,r.jsx)("div",{className:"card__header",children:(0,r.jsx)("h3",{children:"\u5e38\u89c1\u95ee\u9898"})}),(0,r.jsx)("div",{className:"card__body",children:(0,r.jsx)("p",{children:"\u5e38\u89c1\u95ee\u9898\u3001\u6545\u969c\u6392\u9664\u63d0\u793a\u548c\u6700\u4f73\u5b9e\u8df5"})})]})})]}),"\n",(0,r.jsx)(n.h2,{id:"\u6838\u5fc3\u529f\u80fd",children:"\u6838\u5fc3\u529f\u80fd"}),"\n",(0,r.jsx)(n.h3,{id:"40-\u547d\u4ee4",children:"40+ \u547d\u4ee4"}),"\n",(0,r.jsx)(n.p,{children:"CCW \u63d0\u4f9b\u6309\u7c7b\u522b\u7ec4\u7ec7\u7684\u5168\u9762\u547d\u4ee4\u96c6\uff1a"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"\u7c7b\u522b"}),(0,r.jsx)(n.th,{children:"\u547d\u4ee4\u6570"}),(0,r.jsx)(n.th,{children:"\u7528\u9014"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"\u5de5\u4f5c\u6d41"})}),(0,r.jsx)(n.td,{children:"13 \u547d\u4ee4"}),(0,r.jsx)(n.td,{children:"\u89c4\u5212\u3001\u6267\u884c\u3001\u5ba1\u67e5\u3001\u6e05\u7406"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"\u95ee\u9898"})}),(0,r.jsx)(n.td,{children:"7 \u547d\u4ee4"}),(0,r.jsx)(n.td,{children:"\u95ee\u9898\u53d1\u73b0\u3001\u89c4\u5212\u3001\u89e3\u51b3"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"CLI"})}),(0,r.jsx)(n.td,{children:"2 \u547d\u4ee4"}),(0,r.jsx)(n.td,{children:"CLI \u521d\u59cb\u5316\u548c\u5ba1\u67e5"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"\u5185\u5b58"})}),(0,r.jsx)(n.td,{children:"6 \u547d\u4ee4"}),(0,r.jsx)(n.td,{children:"\u77e5\u8bc6\u7ba1\u7406\u548c\u6587\u6863"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"\u901a\u7528"})}),(0,r.jsx)(n.td,{children:"7+ \u547d\u4ee4"}),(0,r.jsx)(n.td,{children:"\u534f\u8c03\u3001\u8c03\u8bd5\u3001\u6d41\u7a0b\u521b\u5efa"})]})]})]}),"\n",(0,r.jsx)(n.h3,{id:"15-\u4e2a\u96c6\u6210\u5de5\u4f5c\u6d41",children:"15 \u4e2a\u96c6\u6210\u5de5\u4f5c\u6d41"}),"\n",(0,r.jsx)(d.A,{chart:'\n graph TB\n subgraph Main["\u4e3b\u5de5\u4f5c\u6d41 (5 \u4e2a\u7ea7\u522b)"]\n L1["\u7ea7\u522b 1: \u5feb\u901f<br/>lite-lite-lite"]\n L2["\u7ea7\u522b 2: \u8f7b\u91cf\u7ea7<br/>lite-plan, lite-fix, multi-cli-plan"]\n L3["\u7ea7\u522b 3: \u6807\u51c6<br/>plan, tdd-plan, test-fix-gen"]\n L4["\u7ea7\u522b 4: \u5934\u8111\u98ce\u66b4<br/>brainstorm:auto-parallel"]\n L5["\u7ea7\u522b 5: \u667a\u80fd\u5316<br/>ccw-coordinator"]\n L1 --\x3e L2 --\x3e L3 --\x3e L4 --\x3e L5\n end\n\n subgraph Issue["\u95ee\u9898\u5de5\u4f5c\u6d41"]\n I1["\u9636\u6bb5 1: \u79ef\u7d2f"]\n I2["\u9636\u6bb5 2: \u89e3\u51b3"]\n I1 --\x3e I2\n end\n\n Main -.->|\u5f00\u53d1\u540e| Issue\n\n classDef level1 fill:#e3f2fd,stroke:#1976d2\n classDef level2 fill:#bbdefb,stroke:#1976d2\n classDef level3 fill:#90caf9,stroke:#1976d2\n classDef level4 fill:#64b5f6,stroke:#1976d2\n classDef level5 fill:#42a5f5,stroke:#1976d2\n classDef issue fill:#fff3e0,stroke:#f57c00\n\n class L1 level1,L2 level2,L3 level3,L4 level4,L5 level5,I1,I2 issue\n'}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"\u4e3b\u5de5\u4f5c\u6d41\u7ea7\u522b\uff1a"})}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"\u7ea7\u522b 1"}),"\uff1a\u96f6\u5f00\u9500\u7684\u8d85\u8f7b\u91cf\u7ea7\u76f4\u63a5\u6267\u884c"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"\u7ea7\u522b 2"}),"\uff1a\u8f7b\u91cf\u7ea7\u89c4\u5212 (lite-plan)\u3001\u9519\u8bef\u4fee\u590d (lite-fix)\u3001\u591a CLI \u5206\u6790 (multi-cli-plan)"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"\u7ea7\u522b 3"}),"\uff1a\u6807\u51c6\u89c4\u5212 (plan)\u3001\u6d4b\u8bd5\u9a71\u52a8\u5f00\u53d1 (tdd-plan)\u3001\u6d4b\u8bd5\u4fee\u590d\u751f\u6210 (test-fix-gen)"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"\u7ea7\u522b 4"}),"\uff1a\u591a\u89d2\u8272\u5e76\u884c\u5206\u6790\u7684\u5934\u8111\u98ce\u66b4"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"\u7ea7\u522b 5"}),"\uff1a\u81ea\u52a8\u547d\u4ee4\u9009\u62e9\u7684\u667a\u80fd\u7f16\u6392"]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"\u95ee\u9898\u5de5\u4f5c\u6d41\uff1a"})}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"\u79ef\u7d2f\u9636\u6bb5"}),"\uff1adiscover\u3001new"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"\u89e3\u51b3\u9636\u6bb5"}),"\uff1aplan\u3001queue\u3001execute"]}),"\n"]}),"\n",(0,r.jsx)(n.h3,{id:"ai-\u9a71\u52a8\u7684\u667a\u80fd",children:"AI \u9a71\u52a8\u7684\u667a\u80fd"}),"\n",(0,r.jsx)(n.p,{children:"CCW \u96c6\u6210\u591a\u79cd AI \u6a21\u578b\u63d0\u4f9b\u667a\u80fd\u8f85\u52a9\uff1a"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"\u6a21\u578b"}),(0,r.jsx)(n.th,{children:"\u80fd\u529b"}),(0,r.jsx)(n.th,{children:"\u4f7f\u7528\u573a\u666f"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"Gemini"})}),(0,r.jsx)(n.td,{children:"\u5206\u6790 + \u5199\u5165"}),(0,r.jsx)(n.td,{children:"\u4ee3\u7801\u5ba1\u67e5\u3001\u8c03\u8bd5\u3001\u91cd\u6784"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"Codex"})}),(0,r.jsx)(n.td,{children:"\u5206\u6790 + \u5199\u5165 + \u5ba1\u67e5"}),(0,r.jsx)(n.td,{children:"Git \u611f\u77e5\u4ee3\u7801\u5ba1\u67e5\u3001\u5b9e\u73b0"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"Claude"})}),(0,r.jsx)(n.td,{children:"\u5206\u6790 + \u5199\u5165"}),(0,r.jsx)(n.td,{children:"\u590d\u6742\u63a8\u7406\u3001\u6587\u6863"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.strong,{children:"Qwen"})}),(0,r.jsx)(n.td,{children:"\u5206\u6790 + \u5199\u5165"}),(0,r.jsx)(n.td,{children:"\u4ee3\u7801\u751f\u6210\u3001\u6a21\u5f0f\u5339\u914d"})]})]})]}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"\u591a CLI \u534f\u4f5c\uff1a"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:'# \u6bd4\u8f83\u591a\u4e2a AI \u89c6\u89d2\u7684\u89e3\u51b3\u65b9\u6848\r\n/ccw multi-cli-plan "\u6bd4\u8f83 Redis vs RabbitMQ \u7528\u4e8e\u6d88\u606f\u961f\u5217"\n'})}),"\n",(0,r.jsx)(n.h3,{id:"\u4f1a\u8bdd\u7ba1\u7406",children:"\u4f1a\u8bdd\u7ba1\u7406"}),"\n",(0,r.jsx)(n.p,{children:"CCW \u4e3a\u6240\u6709\u5de5\u4f5c\u6d41\u4f1a\u8bdd\u63d0\u4f9b\u5b8c\u6574\u7684\u72b6\u6001\u6301\u4e45\u5316\uff1a"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:'# \u542f\u52a8\u89c4\u5212\u4f1a\u8bdd\r\n/ccw workflow:plan "\u5b9e\u73b0\u7528\u6237\u8ba4\u8bc1"\r\n\r\n# \u6062\u590d\u6682\u505c\u7684\u4f1a\u8bdd\r\n/ccw workflow:session:resume WFS-user-auth\r\n\r\n# \u5217\u51fa\u6240\u6709\u4f1a\u8bdd\r\n/ccw workflow:session:list\r\n\r\n# \u5b8c\u6210\u5e76\u5f52\u6863\r\n/ccw workflow:session:complete WFS-user-auth\n'})}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"\u4f1a\u8bdd\u7ed3\u6784\uff1a"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:".workflow/active/WFS-{session}/\r\n\u251c\u2500\u2500 workflow-session.json # \u4f1a\u8bdd\u5143\u6570\u636e\r\n\u251c\u2500\u2500 IMPL_PLAN.md # \u5b9e\u73b0\u8ba1\u5212\r\n\u251c\u2500\u2500 TODO_LIST.md # \u8fdb\u5ea6\u8ddf\u8e2a\r\n\u251c\u2500\u2500 .task/\r\n\u2502 \u251c\u2500\u2500 IMPL-001.json # \u4efb\u52a1\u5b9a\u4e49\r\n\u2502 \u2514\u2500\u2500 ...\r\n\u2514\u2500\u2500 .summaries/\r\n \u251c\u2500\u2500 IMPL-001-summary.md # \u5b8c\u6210\u6458\u8981\r\n \u2514\u2500\u2500 ...\n"})}),"\n",(0,r.jsx)(n.h2,{id:"\u5feb\u901f\u5165\u95e8",children:"\u5feb\u901f\u5165\u95e8"}),"\n",(0,r.jsx)(n.h3,{id:"\u9009\u62e9\u60a8\u7684\u8d77\u70b9",children:"\u9009\u62e9\u60a8\u7684\u8d77\u70b9"}),"\n",(0,r.jsxs)("div",{className:"row",children:[(0,r.jsx)("div",{className:"col col--6",children:(0,r.jsxs)("div",{className:"card padding--md",children:[(0,r.jsx)("div",{className:"card__header",children:(0,r.jsx)("h3",{children:"CCW \u65b0\u624b\uff1f"})}),(0,r.jsxs)("div",{className:"card__body",children:[(0,r.jsxs)("p",{children:["\u4ece ",(0,r.jsx)("strong",{children:"\u7ea7\u522b 1 \u5de5\u4f5c\u6d41"})," \u5f00\u59cb\u5904\u7406\u7b80\u5355\u4efb\u52a1\uff1a"]}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:"\u5feb\u901f\u4fee\u590d\u548c\u914d\u7f6e\u8c03\u6574"}),(0,r.jsx)("li",{children:"\u7b80\u5355\u529f\u80fd\u5b9e\u73b0"}),(0,r.jsx)("li",{children:"\u65e0\u89c4\u5212\u5f00\u9500\u7684\u76f4\u63a5\u6267\u884c"})]}),(0,r.jsx)(i.A,{to:"/workflows/level-1-ultra-lightweight",className:"button button--primary button--sm",children:"\u5b66\u4e60\u7ea7\u522b 1"})]})]})}),(0,r.jsx)("div",{className:"col col--6",children:(0,r.jsxs)("div",{className:"card padding--md",children:[(0,r.jsx)("div",{className:"card__header",children:(0,r.jsx)("h3",{children:"\u7ecf\u9a8c\u4e30\u5bcc\u7684\u5f00\u53d1\u8005\uff1f"})}),(0,r.jsxs)("div",{className:"card__body",children:[(0,r.jsxs)("p",{children:["\u76f4\u63a5\u8df3\u5230 ",(0,r.jsx)("strong",{children:"\u7ea7\u522b 3 \u5de5\u4f5c\u6d41"})," \u5904\u7406\u590d\u6742\u529f\u80fd\uff1a"]}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:"\u591a\u6a21\u5757\u53d8\u66f4"}),(0,r.jsx)("li",{children:"\u6d4b\u8bd5\u9a71\u52a8\u5f00\u53d1"}),(0,r.jsx)("li",{children:"\u5e26\u9a8c\u8bc1\u7684\u5b8c\u6574\u89c4\u5212"})]}),(0,r.jsx)(i.A,{to:"/workflows/level-3-standard",className:"button button--primary button--sm",children:"\u5b66\u4e60\u7ea7\u522b 3"})]})]})})]}),"\n",(0,r.jsx)(n.h3,{id:"\u5feb\u901f\u5165\u95e8\u793a\u4f8b",children:"\u5feb\u901f\u5165\u95e8\u793a\u4f8b"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"\u5feb\u901f\u4fee\u590d (\u7ea7\u522b 1)\uff1a"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:'# \u7b80\u5355\u66f4\u6539\u7684\u76f4\u63a5\u6267\u884c\r\n/ccw lite-lite-lite "\u4fee\u590d\u767b\u5f55\u6309\u94ae\u4e2d\u7684\u62fc\u5199\u9519\u8bef"\n'})}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"\u5e26\u8bca\u65ad\u7684\u9519\u8bef\u4fee\u590d (\u7ea7\u522b 2)\uff1a"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:'# \u667a\u80fd\u9519\u8bef\u8bca\u65ad\u548c\u4fee\u590d\r\n/ccw lite-fix "\u7528\u6237\u5728\u4e2a\u4eba\u8d44\u6599\u66f4\u65b0\u65f6\u9047\u5230 500 \u9519\u8bef"\n'})}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"\u529f\u80fd\u5f00\u53d1 (\u7ea7\u522b 3)\uff1a"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:'# \u5b8c\u6574\u7684\u89c4\u5212\u548c\u6267\u884c\r\n/ccw workflow:plan "\u6dfb\u52a0 OAuth2 \u8ba4\u8bc1"\r\n/ccw workflow:execute --session WFS-oauth-auth\n'})}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"\u65b0\u529f\u80fd\u8bbe\u8ba1 (\u7ea7\u522b 4)\uff1a"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:'# \u591a\u89d2\u8272\u5934\u8111\u98ce\u66b4\r\n/ccw brainstorm:auto-parallel "\u8bbe\u8ba1\u5b9e\u65f6\u901a\u77e5\u7cfb\u7edf"\n'})}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"\u4e0d\u786e\u5b9a\u7684\u547d\u4ee4 (\u7ea7\u522b 5)\uff1a"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:'# \u81ea\u52a8\u5206\u6790\u5e76\u63a8\u8350\u547d\u4ee4\u94fe\r\n/ccw ccw-coordinator "\u9700\u8981\u91cd\u6784\u6574\u4e2a API \u5c42"\n'})}),"\n",(0,r.jsx)(n.h2,{id:"\u67b6\u6784\u6982\u89c8",children:"\u67b6\u6784\u6982\u89c8"}),"\n",(0,r.jsx)(d.A,{chart:"\n flowchart LR\n User[\u5f00\u53d1\u8005] --\x3e CCW[CCW CLI]\n CCW --\x3e Workflow{\u5de5\u4f5c\u6d41\u5f15\u64ce}\n\n Workflow --\x3e L1[\u7ea7\u522b 1: \u76f4\u63a5]\n Workflow --\x3e L2[\u7ea7\u522b 2: \u8f7b\u91cf\u7ea7]\n Workflow --\x3e L3[\u7ea7\u522b 3: \u6807\u51c6]\n Workflow --\x3e L4[\u7ea7\u522b 4: \u5934\u8111\u98ce\u66b4]\n Workflow --\x3e L5[\u7ea7\u522b 5: \u667a\u80fd\u5316]\n\n L1 --\x3e Agent[\u4ee3\u7406\u6267\u884c]\n L2 --\x3e Agent\n L3 --\x3e Agent\n L4 --\x3e MultiAgent[\u591a\u4ee3\u7406\u5e76\u884c]\n L5 --\x3e Coordinator[\u667a\u80fd\u534f\u8c03\u5668]\n\n Agent --\x3e AI[AI \u6a21\u578b]\n MultiAgent --\x3e AI\n Coordinator --\x3e AI\n\n AI --\x3e Output[\u4ee3\u7801 + \u5de5\u4ef6]\n Output --\x3e Repo[Git \u4ed3\u5e93]\n Repo --\x3e Session[\u4f1a\u8bdd\u72b6\u6001]\n\n classDef user fill:#f3f9ff,stroke:#1976d2\n classDef ccw fill:#e3f2fd,stroke:#1976d2,stroke-width:2px\n classDef agent fill:#c8e6c9,stroke:#388e3c\n classDef ai fill:#fff9c4,stroke:#f57c00\n classDef storage fill:#f1f8e9,stroke:#33691e\n\n class User user,CCW ccw,Workflow ccw,Agent agent,MultiAgent agent,Coordinator ccw,AI ai,Output storage,Repo storage,Session storage\n"}),"\n",(0,r.jsx)(n.h2,{id:"\u4e0b\u4e00\u6b65",children:"\u4e0b\u4e00\u6b65"}),"\n",(0,r.jsx)(n.h3,{id:"\u5b66\u4e60\u57fa\u7840\u77e5\u8bc6",children:"\u5b66\u4e60\u57fa\u7840\u77e5\u8bc6"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.a,{href:"/workflows/introduction",children:"\u5de5\u4f5c\u6d41\u7b80\u4ecb"})})," - \u4e86\u89e3\u5de5\u4f5c\u6d41\u7ea7\u522b\u548c\u9009\u62e9"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.a,{href:"/commands/general/ccw",children:"\u547d\u4ee4\u53c2\u8003"})})," - \u5b8c\u6574\u7684\u547d\u4ee4\u6587\u6863"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:(0,r.jsx)(n.a,{href:"/faq",children:"\u5e38\u89c1\u95ee\u9898"})})," - \u5e38\u89c1\u95ee\u9898\u548c\u6545\u969c\u6392\u9664"]}),"\n"]}),"\n",(0,r.jsx)(n.h3,{id:"\u6309\u4f7f\u7528\u573a\u666f\u63a2\u7d22",children:"\u6309\u4f7f\u7528\u573a\u666f\u63a2\u7d22"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"\u4f7f\u7528\u573a\u666f"}),(0,r.jsx)(n.th,{children:"\u63a8\u8350\u5de5\u4f5c\u6d41"}),(0,r.jsx)(n.th,{children:"\u6587\u6863"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"\u5feb\u901f\u4fee\u590d"}),(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"lite-lite-lite"})}),(0,r.jsx)(n.td,{children:(0,r.jsx)(n.a,{href:"/docs/zh/workflows/level-1-ultra-lightweight",children:"\u7ea7\u522b 1"})})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"\u9519\u8bef\u8bca\u65ad"}),(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"lite-fix"})}),(0,r.jsx)(n.td,{children:(0,r.jsx)(n.a,{href:"/docs/zh/workflows/level-2-rapid",children:"\u7ea7\u522b 2"})})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"\u529f\u80fd\u5f00\u53d1"}),(0,r.jsxs)(n.td,{children:[(0,r.jsx)(n.code,{children:"plan"})," \u2192 ",(0,r.jsx)(n.code,{children:"execute"})]}),(0,r.jsx)(n.td,{children:(0,r.jsx)(n.a,{href:"/docs/zh/workflows/level-3-standard",children:"\u7ea7\u522b 3"})})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"\u6d4b\u8bd5\u9a71\u52a8\u5f00\u53d1"}),(0,r.jsxs)(n.td,{children:[(0,r.jsx)(n.code,{children:"tdd-plan"})," \u2192 ",(0,r.jsx)(n.code,{children:"execute"})]}),(0,r.jsx)(n.td,{children:(0,r.jsx)(n.a,{href:"/docs/zh/workflows/level-3-standard",children:"\u7ea7\u522b 3"})})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"\u67b6\u6784\u8bbe\u8ba1"}),(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"brainstorm:auto-parallel"})}),(0,r.jsx)(n.td,{children:(0,r.jsx)(n.a,{href:"/docs/zh/workflows/level-4-brainstorm",children:"\u7ea7\u522b 4"})})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"\u590d\u6742\u5de5\u4f5c\u6d41"}),(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"ccw-coordinator"})}),(0,r.jsx)(n.td,{children:(0,r.jsx)(n.a,{href:"/docs/zh/workflows/level-5-intelligent",children:"\u7ea7\u522b 5"})})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:"\u95ee\u9898\u8ddf\u8e2a"}),(0,r.jsx)(n.td,{children:"\u95ee\u9898\u5de5\u4f5c\u6d41"}),(0,r.jsx)(n.td,{children:(0,r.jsx)(n.a,{href:"/docs/zh/workflows/faq",children:"\u5de5\u4f5c\u6d41 FAQ"})})]})]})]}),"\n",(0,r.jsx)(n.h3,{id:"\u8bd5\u7528\u4e00\u4e0b",children:"\u8bd5\u7528\u4e00\u4e0b"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"\u5b89\u88c5\uff1a"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"npm install -g @ccw/cli\n"})}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"\u521d\u59cb\u5316\u9879\u76ee\uff1a"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"ccw init\n"})}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"\u7b2c\u4e00\u4e2a\u5de5\u4f5c\u6d41\uff1a"})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:'# \u7b80\u5355\u4efb\u52a1\r\nccw lite-lite-lite "\u6dfb\u52a0\u7528\u6237\u4e2a\u4eba\u8d44\u6599\u9875\u9762"\r\n\r\n# \u590d\u6742\u529f\u80fd\r\nccw workflow:plan "\u5b9e\u73b0\u8d2d\u7269\u8f66"\n'})}),"\n",(0,r.jsx)(n.h2,{id:"\u652f\u6301",children:"\u652f\u6301"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"\u6587\u6863"}),": ",(0,r.jsx)(n.a,{href:"https://docs.ccw.dev",children:"docs.ccw.dev"})]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"GitHub"}),": ",(0,r.jsx)(n.a,{href:"https://github.com/ccw/ccw",children:"github.com/ccw/ccw"})]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"\u95ee\u9898"}),": ",(0,r.jsx)(n.a,{href:"https://github.com/ccw/ccw/issues",children:"github.com/ccw/ccw/issues"})]}),"\n"]}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"\u51c6\u5907\u5f00\u59cb\u4e86\u5417\uff1f"})," \u63a2\u7d22 ",(0,r.jsx)(n.a,{href:"/docs/zh/workflows/introduction",children:"\u5de5\u4f5c\u6d41\u7b80\u4ecb"})," \u4e86\u89e3\u6240\u6709 15 \u4e2a\u5de5\u4f5c\u6d41\u7ea7\u522b\u3002"]})]})}function j(e={}){const{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}}}]); |