{"id":653,"date":"2026-07-22T18:14:45","date_gmt":"2026-07-22T10:14:45","guid":{"rendered":"https:\/\/blog.eastfond.com\/?p=653"},"modified":"2026-08-01T10:55:23","modified_gmt":"2026-08-01T02:55:23","slug":"trellis-%e5%ad%a6%e4%b9%a0%e5%bf%83%e5%be%97","status":"publish","type":"post","link":"https:\/\/blog.eastfond.com\/?p=653","title":{"rendered":"Trellis \u5b66\u4e60\u5fc3\u5f97"},"content":{"rendered":"<h1>\u524d\u8a00<\/h1>\n<p><a href=\"https:\/\/docs.trytrellis.app\/zh\" target=\"_blank\">\u5b98\u65b9\u6587\u6863\u8df3\u8f6c\u5730\u5740<\/a>\uff0c\u8fd9\u91cc\u6709\u5173\u4e8e\u8fd9\u4e2aHerness\u7684\u6bd4\u8f83\u5b8c\u6574\u7684\u89e3\u91ca\u548c\u4f7f\u7528\u3002<\/p>\n<h1>\u5feb\u901f\u4e0a\u624b<\/h1>\n<blockquote>\n<p>\u8fd9\u91cc\u53ea\u653e\u4e00\u4e9b\u5b89\u88c5\u3001\u5347\u7ea7\u7b49\u4e00\u4e9b\u6bd4\u8f83\u91cd\u8981\u7684\u5185\u5bb9\uff0c\u5176\u4ed6\u7684\u53ef\u4ee5\u770b\u5b98\u65b9\u3002<\/p>\n<\/blockquote>\n<h2>\u5b89\u88c5<\/h2>\n<pre><code># \u5168\u5c40\u5b89\u88c5\uff08beta \u901a\u9053\uff09\nnpm install -g @mindfoldhq\/trellis@latest\n\n# \u8fdb\u5165\u4f60\u7684\u9879\u76ee\u76ee\u5f55\ncd your-project<\/code><\/pre>\n<h2>\u521d\u59cb\u5316<\/h2>\n<pre><code># \u4ea4\u4e92\u5f0f\uff1a\u68c0\u6d4b\u5df2\u5b89\u88c5\u7684\u5e73\u53f0\u5e76\u8be2\u95ee\u8981\u914d\u7f6e\u54ea\u4e9b\ntrellis init -u your-name\n\n# \u663e\u5f0f\uff1a\u914d\u7f6e\u4e00\u4e2a\u6216\u591a\u4e2a\u5e73\u53f0\ntrellis init -u your-name --claude\ntrellis init -u your-name --claude --cursor --opencode\ntrellis init -u your-name --codex --gemini\ntrellis init -u your-name --pi<\/code><\/pre>\n<div class='admonition shadow-sm admonition-danger'><div class='admonition-title'>Codex\u914d\u7f6e<\/div><div class='admonition-body'><\/p>\n<p>\u4f7f\u7528Codex**\u5fc5\u987b\u5728 <code>~\/.codex\/config.toml<\/code> \u5f00\u542f hook\uff0c\u5426\u5219\u804a\u5929\u754c\u9762\u8f93\u5165 <code>\/<\/code> \u68c0\u7d22\u4e0d\u5230 Trellis \u7684\u4e09\u5927\u547d\u4ee4\uff08<code>\/start<\/code>\u3001<code>\/finish-work<\/code>\u3001<code>\/continue<\/code>\uff09\uff0c\u4e5f\u65e0\u6cd5\u7528 <code>\/start<\/code> \u542f\u52a8\u4f1a\u8bdd\u3002**<\/p>\n<p>```<br \/>\n[features]<br \/>\nhooks = true   # Codex 0.129+\u3002\u65e7\u7248\u7528 &#x60;codex_hooks = true&#x60;\u3002<br \/>\n```<\/p>\n<p>Codex 0.129+ \u8fd8\u8981\u5728 TUI \u91cc\u8dd1\u4e00\u6b21 <code>\/hooks<\/code> \u547d\u4ee4\uff0c\u5ba1\u6279 Trellis \u5b89\u88c5\u7684 <code>UserPromptSubmit<\/code> hook\uff0c\u5426\u5219 hook \u4e0d\u4f1a\u6fc0\u6d3b\u3001Trellis \u7684 command \/ skill \u4e0d\u4f1a\u51fa\u73b0\u5728 <code>\/<\/code> \u83dc\u5355\u3001workflow \u6307\u5f15\u4e5f\u4e0d\u4f1a\u81ea\u52a8\u6ce8\u5165\u3002\u5373\u4fbf\u6ca1\u5f00\uff0cTrellis \u5185\u7f6e fallback \u4f1a\u8ba9 AI \u624b\u52a8\u8bfb <code>trellis-start<\/code> skill\uff08\u9760 <code>AGENTS.md<\/code> prelude\uff09\uff0c\u4e0a\u4e0b\u6587\u4ecd\u5728\u2014\u2014\u4f46\u4f60\u6ca1\u6cd5\u4ece <code>\/<\/code> \u91cc\u70b9\u7528 Trellis \u547d\u4ee4\uff0c\u4f53\u9a8c\u660e\u663e\u4e0b\u964d\u3002\u4e4b\u540e\u76f4\u63a5\u63cf\u8ff0\u4efb\u52a1\u5373\u53ef\u3002Codex \u4f1a\u81ea\u52a8\u8bfb\u53d6 <code>AGENTS.md<\/code>\uff0c<code>UserPromptSubmit<\/code> hook \u4f1a\u6ce8\u5165\u5f53\u524d workflow-state breadcrumb\u3002\u6ca1\u6709 active task \u65f6\uff0c\u8fd9\u6bb5 breadcrumb \u53ef\u80fd\u5305\u542b <code>&lt;trellis-bootstrap&gt;<\/code>\uff0c\u63d0\u793a AI \u8bfb\u53d6\u4e00\u6b21 <code>trellis-start<\/code>\u3002<\/p>\n<p><\/div><\/div>\n<h2>\u5347\u7ea7<\/h2>\n<pre><code>trellis upgrade   # 1. \u5347\u7ea7\u5168\u5c40 CLI package\ntrellis update    # 2. \u5728\u6bcf\u4e2a\u9879\u76ee\u91cc\uff1a\u628a .trellis\/ \u548c\u5e73\u53f0\u6587\u4ef6\u540c\u6b65\u5230\u65b0 CLI<\/code><\/pre>\n<h2>\u76ee\u5f55\u7ed3\u6784<\/h2>\n<pre><code>your-project\/\n\u251c\u2500\u2500 .trellis\/                          # Trellis \u6838\u5fc3\uff08\u8de8\u5e73\u53f0\u4e00\u81f4\uff09\n\u2502   \u251c\u2500\u2500 .developer                     # \u5f00\u53d1\u8005\u8eab\u4efd\uff08gitignored\uff09\n\u2502   \u251c\u2500\u2500 .version                       # Trellis \u7248\u672c\u53f7\n\u2502   \u251c\u2500\u2500 .template-hashes.json          # \u6a21\u677f\u6587\u4ef6 hash\uff08update \u7528\uff09\n\u2502   \u251c\u2500\u2500 workflow.md                    # \u5f00\u53d1\u5de5\u4f5c\u6d41\u6307\u5357\n\u2502   \u251c\u2500\u2500 config.yaml                    # \u9879\u76ee\u914d\u7f6e\uff08packages\u3001update.skip\u3001hooks\uff09\n\u2502   \u2502\n\u2502   \u251c\u2500\u2500 .runtime\/                      # \u6bcf\u4e2a\u4f1a\u8bdd\u81ea\u5df1\u7684\u8fd0\u884c\u65f6\u72b6\u6001\uff08gitignored\uff09\n\u2502   \u2502   \u2514\u2500\u2500 sessions\/                  #   \u6bcf\u4e2a AI \u4f1a\u8bdd\/\u7a97\u53e3\u5bf9\u5e94\u4e00\u4e2a active task\n\u2502   \u2502       \u2514\u2500\u2500 &lt;session-key&gt;.json\n\u2502   \u2502\n\u2502   \u251c\u2500\u2500 spec\/                          # \u9879\u76ee spec \u5e93\n\u2502   \u2502   \u251c\u2500\u2500 frontend\/                  #   \u524d\u7aef spec\uff08monorepo \u53ef\u6309 package \u5206\u5c42\uff09\n\u2502   \u2502   \u251c\u2500\u2500 backend\/                   #   \u540e\u7aef spec\n\u2502   \u2502   \u2514\u2500\u2500 guides\/                    #   \u601d\u8003\u6307\u5357\n\u2502   \u2502\n\u2502   \u251c\u2500\u2500 workspace\/                     # \u5f00\u53d1\u8005\u5de5\u4f5c\u533a\n\u2502   \u2502   \u251c\u2500\u2500 index.md\n\u2502   \u2502   \u2514\u2500\u2500 {developer-name}\/\n\u2502   \u2502       \u251c\u2500\u2500 index.md\n\u2502   \u2502       \u2514\u2500\u2500 journal-N.md\n\u2502   \u2502\n\u2502   \u251c\u2500\u2500 tasks\/                         # \u4efb\u52a1\u76ee\u5f55\n\u2502   \u2502   \u251c\u2500\u2500 {MM-DD-task-name}\/         #   \u6d3b\u8dc3\u4efb\u52a1\n\u2502   \u2502   \u2502   \u251c\u2500\u2500 task.json              #     \u4efb\u52a1\u5143\u4fe1\u606f\n\u2502   \u2502   \u2502   \u251c\u2500\u2500 prd.md                 #     \u9700\u6c42\u6587\u6863\n\u2502   \u2502   \u2502   \u251c\u2500\u2500 design.md              #     \u590d\u6742\u4efb\u52a1\u7684\u6280\u672f\u8bbe\u8ba1\n\u2502   \u2502   \u2502   \u251c\u2500\u2500 implement.md           #     \u590d\u6742\u4efb\u52a1\u7684\u5b9e\u65bd\u8ba1\u5212\n\u2502   \u2502   \u2502   \u251c\u2500\u2500 implement.jsonl        #     \u5b9e\u73b0\u9636\u6bb5 spec\/research manifest\n\u2502   \u2502   \u2502   \u251c\u2500\u2500 check.jsonl            #     review \u9636\u6bb5 spec\/research manifest\n\u2502   \u2502   \u2502   \u2514\u2500\u2500 research\/              #     \u6301\u4e45\u8c03\u7814\u8bb0\u5f55\n\u2502   \u2502   \u2514\u2500\u2500 archive\/                   #   \u5f52\u6863\u4efb\u52a1\n\u2502   \u2502       \u2514\u2500\u2500 {YYYY-MM}\/\n\u2502   \u2502\n\u2502   \u2514\u2500\u2500 scripts\/                       # \u81ea\u52a8\u5316\u811a\u672c\uff08Python\uff09\n\u2502       \u251c\u2500\u2500 task.py                    #   \u4efb\u52a1\u7ba1\u7406\n\u2502       \u251c\u2500\u2500 get_context.py             #   \u4f1a\u8bdd\u4e0a\u4e0b\u6587\n\u2502       \u251c\u2500\u2500 add_session.py             #   \u8bb0\u5f55\u4f1a\u8bdd\n\u2502       \u251c\u2500\u2500 create_bootstrap.py        #   \u9996\u6b21 spec bootstrap\n\u2502       \u2514\u2500\u2500 common\/                    #   \u5171\u4eab\u5e93\n\u2502\n\u251c\u2500\u2500 .claude\/                           # Claude Code \u914d\u7f6e\n\u2502   \u251c\u2500\u2500 settings.json                  #   hook \u548c\u6743\u9650\u914d\u7f6e\n\u2502   \u251c\u2500\u2500 commands\/trellis\/              #   \u663e\u5f0f\u547d\u4ee4\n\u2502   \u2502   \u251c\u2500\u2500 start.md\n\u2502   \u2502   \u251c\u2500\u2500 finish-work.md\n\u2502   \u2502   \u2514\u2500\u2500 continue.md\n\u2502   \u251c\u2500\u2500 agents\/                        #   Sub-agent \u5b9a\u4e49\n\u2502   \u2502   \u251c\u2500\u2500 trellis-implement.md\n\u2502   \u2502   \u251c\u2500\u2500 trellis-check.md\n\u2502   \u2502   \u2514\u2500\u2500 trellis-research.md\n\u2502   \u251c\u2500\u2500 skills\/                        #   Auto-trigger skills\n\u2502   \u2502   \u251c\u2500\u2500 trellis-brainstorm\/\n\u2502   \u2502   \u251c\u2500\u2500 trellis-before-dev\/\n\u2502   \u2502   \u251c\u2500\u2500 trellis-check\/\n\u2502   \u2502   \u251c\u2500\u2500 trellis-update-spec\/\n\u2502   \u2502   \u2514\u2500\u2500 trellis-break-loop\/\n\u2502   \u2514\u2500\u2500 hooks\/                         #   Hook \u811a\u672c\n\u2502       \u251c\u2500\u2500 session-start.py\n\u2502       \u251c\u2500\u2500 inject-subagent-context.py\n\u2502       \u2514\u2500\u2500 inject-workflow-state.py\n\u2502\n\u251c\u2500\u2500 .cursor\/           # Cursor\uff1acommands\/ + rules\/\n\u251c\u2500\u2500 .opencode\/         # OpenCode\uff1acommands\/trellis\/\u3001agents\/\u3001skills\/\u3001plugins\/\n\u251c\u2500\u2500 .codex\/            # Codex\uff1aprompts\/\u3001skills\/ + \u4ed3\u5e93\u6839 AGENTS.md\n\u251c\u2500\u2500 .kiro\/             # Kiro\uff1asteering\/\u3001prompts\/\u3001skills\/\n\u251c\u2500\u2500 .gemini\/           # Gemini CLI\uff1acommands\/trellis\/\n\u251c\u2500\u2500 .qoder\/            # Qoder\uff1acommands\/\u3001skills\/\u3001agents\/\u3001hooks\/\n\u251c\u2500\u2500 .codebuddy\/        # CodeBuddy\uff1acommands\/trellis\/\n\u251c\u2500\u2500 .factory\/          # Droid\uff1acommands\/trellis\/\u3001skills\/\u3001hooks\/\n\u251c\u2500\u2500 .pi\/               # Pi Agent\uff1aprompts\/\u3001skills\/\u3001agents\/\u3001extensions\/trellis\/\n\u2514\u2500\u2500 .github\/           # Copilot\uff1acopilot-instructions.md\u3001prompts\/<\/code><\/pre>\n<h2>\u5de5\u4f5c\u6d41\u7a0b<\/h2>\n<p><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/image.eastfond.com\/file\/20260722165656285.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"https:\/\/image.eastfond.com\/file\/20260722165656285.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"Trellis \u957f\u671f\u4f7f\u7528\u5f00\u53d1\u6d41\" \/><\/div><\/p>\n<h1>Vibe Coding \u5230 Spec Coding<\/h1>\n<p>AI\u5199\u4ee3\u7801\u56fe\u7684\u5c31\u662f\u5feb\u901f\u3001\u65b9\u4fbf\uff0c\u4e3a\u4ec0\u4e48\u8981\u53bb\u8f6c\u5411\u5de5\u7a0b\u7ed3\u6784\u5316\uff0c\u8fd9\u6837\u53cd\u800c\u95ee\u9898\u590d\u6742\u5316\uff0c\u6211\u53ea\u9700\u8981\u7ed9AI\u9700\u6c42\uff0cAI\u5b8c\u6210\u5c31\u597d\u3002\u6211\u4e00\u5f00\u59cb\u5176\u5b9e\u4e5f\u662f\u8fd9\u6837\u7684\u60f3\u6cd5\uff0c\u4e5f\u8fd9\u6837\u6267\u884c\u4e86\u5f88\u957f\u65f6\uff0c\u5e76\u4e14\u6211\u5230\u73b0\u5728\u4e5f\u575a\u6301\u8ba4\u4e3a\uff0c\u5728<strong>\u77ed\u4efb\u52a1\u3001\u5c40\u90e8\u4efb\u52a1<\/strong>\u8fd9\u4e2a\u524d\u63d0\u4e0b\u662f\u5b8c\u5168\u6ca1\u95ee\u9898\u7684\uff0c\u4e5f\u5b8c\u5168\u65e0\u9700\u6b64\u7c7bHerness\u5de5\u4f5c\u6d41\u63d2\u4ef6\uff0c\u5426\u5219\u53cd\u800c\u4f1a\u9020\u6210<strong>\u6548\u7387\u548c\u6210\u672c<\/strong>\u7684\u4e0a\u6d6a\u8d39\u3002<\/p>\n<p>\u5173\u4e8e Vibe Coding \u5176\u5b9e\u6211\u5f88\u65e9\u4e4b\u524d\u5c31\u5f00\u59cb\u63a5\u89e6\u4e86\uff0c\u81ea\u4eceGPT-5.3-Codex \u51fa\u6765\u540e\u51e0\u4e4e90%\u7684\u4ee3\u7801\u90fd\u4e0d\u4f1a\u518d\u624b\u5199\u4e86\uff0c\u57fa\u672c\u4e0a\u90fd\u662f\u76f4\u63a5\u7ed9\u9700\u6c42\u8ba9AI\u53bb\u5199\uff0c\u968f\u7740AI\u80fd\u529b\u8d8a\u6765\u8d8a\u5f3a\u5927\uff0c\u51e0\u4e4e\u8fdeReview \u4ee3\u7801\u7684\u5de5\u4f5c\u5230\u540e\u9762\u90fd\u6ca1\u6709\u4e86\uff0c\u90fd\u662f\u5199\u5b8c\u76f4\u63a5\u6d4b\u8bd5\uff0c\u6ca1\u95ee\u9898\u5c31\u63d0\u4ea4\u3002<\/p>\n<p>\u4f46\u662f\u5728\u65e5\u79ef\u6708\u7d2f\u540e\u53bb\u770b\u4ee3\u7801\u7684\u65f6\u5019\u57fa\u672c\u4e0a\u8ddf\u5c4e\u5c71\u4e00\u6837\uff0c\u5230\u5904\u4e71\u62c9\u79c1\u6709\u65b9\u6cd5\uff0c\u4e71\u62c9\u5e38\u91cf\u7b49\u7b49\uff0c\u5728\u9605\u8bfb\u4ee3\u7801\u4e0a\u57fa\u672c\u4e0a\u4e0dDEBUG\u662f\u5b8c\u5168\u8bfb\u4e0d\u61c2\u7684\u3002\u7ef4\u62a4\u8d77\u6765\u6781\u5176\u56f0\u96be\uff0c\u5c31\u7b97\u8ba9AI\u57fa\u4e8e\u5f53\u524d\u65b9\u6cd5\u53bb\u6539\uff0c\u6709\u65f6\u5019\u4e5f\u4f1a\u51fa\u73b0\u4e00\u4e9b\u95ee\u9898\u3002\u6240\u4ee5\u5982\u679c\u4f60\u5bf9\u4e8e\u4ee3\u7801\u7684\u8981\u6c42\u5c31\u662f\u7eafAI\uff0c\u5199\u6539\u90fd\u662fAI\uff0c\u90a3\u4e48\u672c\u7bc7\u5fc3\u5f97\u5176\u5b9e\u770b\u5230\u8fd9\u91cc\u5df2\u7ecf\u7ed3\u675f\u4e86\u3002<\/p>\n<p>\u5982\u679c\u8fd9\u4e2a\u9879\u76ee\u662f\u53ea\u6709\u81ea\u5df1\u5199\u90a3\u4e48\u8fd8\u80fd\u51d1\u5408\uff0c\u8fd9\u79cd\u95ee\u9898\u771f\u6b63\u5f15\u8d77\u6211\u91cd\u89c6\u7684\u65f6\u5019\u5176\u5b9e\u662f\u56e2\u961f\u5408\u4f5c\u7684\u65f6\u5019\uff0c\u5728\u4e0a\u4e2a\u4ea4\u4ed8\u7684\u9879\u76ee\u867d\u7136\u8868\u9762\u5149\u9c9c\uff0c\u4f46\u5185\u90e8\u57fa\u672c\u4e0a\u662f\u707e\u96be\u7ea7\u522b\uff0c\u4e00\u4e2a\u6d41\u5f0f\u5c01\u88c5\u540c\u4e8b\u4eec\u5404\u6709\u4e00\u5957\uff0cAI\u5230\u5904\u4e71\u62c9\uff0cHTTP\u8bf7\u6c42\u5c01\u88c5\u4e5f\u662f\u4e00\u4eba\u4e00\u5957\u8fd8\u6709\u66f4\u591a\u7684\u7c7b\u7684\u7ee7\u627f\u3001\u5f02\u5e38\u5904\u7406\u7b49\u7b49\u90fd\u662f\u5404\u6709\u60f3\u6cd5\uff0c\u4ee3\u7801\u6f02\u79fb\u4e25\u91cd\uff0c\u540e\u9762\u867d\u6709\u5fc3\u4f46\u662f\u6839\u672c\u6539\u4e0d\u52a8\uff0c\u5b8c\u5168\u6ca1\u6709\u89c4\u8303\u3002<\/p>\n<p>\u6e10\u6e10\u7684\u5c31\u4f53\u4f1a\u51fa\u4e86\u4e00\u79cd\u611f\u53d7\uff0c<strong>\u7406\u6e05\u9700\u6c42\u2260AI\u80fd\u591f\u505a\u597d<\/strong>\u3002\u5728\u5f00\u53d1\u4e2d\uff0c\u9010\u6e10\u4f1a\u51fa\u73b0\u4ee5\u4e0b\u95ee\u9898\uff1a<\/p>\n<ul>\n<li>\u9879\u76ee\u89c4\u8303\u662f\u4ec0\u4e48\uff1f<\/li>\n<li>\u54ea\u4e9b\u4e1c\u897f\u662f\u4e0d\u80fd\u6539\u52a8\u7684\uff1f<\/li>\n<li>\u6709\u54ea\u4e9b\u7ecf\u9a8c\u8981\u6c89\u6dc0\u4e0b\u6765\uff1f<\/li>\n<\/ul>\n<p>\u8bd5\u60f3\u4e00\u4e0b\u5982\u679c\u6bcf\u6b21\u90fd\u8981\u5728\u4f1a\u8bdd\u91cc\u8865\u5145\u5c31\u4f1a\u5f88\u7d2f\uff0c\u800c\u4e14\u5982\u679c\u6709\u4e86\u65b0\u7684\u540c\u4e8b\u52a0\u5165\uff0c\u90a3\u4e48\u5f88\u5feb\u4ee3\u7801\u5c31\u53c8\u56de\u5230\u4e86\u5c4e\u5c71\u3002<\/p>\n<h2>Rules\/Prompt \u4e3a\u4ec0\u4e48\u4e0d\u884c\uff1f<\/h2>\n<p>\u5148\u8bf4Prompt\uff0c\u4e0d\u662f\u8bf4 Prompt \u5b8c\u5168\u6ca1\u7528\uff0c\u5bf9\u4e8e\u4e00\u4e9b\u4e00\u6b21\u6027\u7684\u9700\u6c42\u901a\u8fc7Prompt\u300c\u5f00\u5c40\u544a\u8bc9\u6a21\u578b\u89c4\u77e9\u300d\u662f\u53ef\u884c\u7684\uff0c\u4f46\u662f\u65b0\u5f00\u4e86\u5bf9\u8bdd\u5c31\u6709\u8981\u91cd\u65b0\u63cf\u8ff0\u4e00\u904d\uff0c\u5e76\u4e14\u5728\u957f\u5bf9\u8bdd\u8fc7\u7a0b\u4e2d\u6162\u6162\u7684\u4f1a\u5fd8\u8bb0\u7ea6\u675f\u3002<\/p>\n<p>\u518d\u8bf4Rules\u76f8\u5173\uff0c\u73b0\u5728\u591a\u5bb6\u7684Agent\u90fd\u4f1a\u6709Rules\u6587\u4ef6\uff0cClaude Code\u662fCLAUDE.md\u3001Codex\u662fAGENTS.md\u7b49\u7b49\uff0c\u8fd9\u91cc\u9762\u662f\u53ef\u4ee5\u5199\u4e00\u4e9b\u56fa\u5b9a\u4e0b\u6765\u7684\u89c4\u8303\u3001\u4ee3\u7801\u98ce\u683c\u7b49\uff0c\u4e5f\u5c31\u662f\u628aPrompt\u7684\u63cf\u8ff0\u653e\u5230\u8fd9\u91cc\u3002AI\u5728\u6267\u884c\u524d\u4f1a\u5148\u53bb\u9605\u8bfb\u8fd9\u4e9b\u89c4\u8303\uff0c\u80fd\u591f\u8282\u7701\u6211\u4eec\u5f88\u591a\u7684\u91cd\u590d\u5de5\u4f5c\uff0c\u4f46\u662f\u4e5f\u662f\u540c\u6837\u7684\u95ee\u9898\uff0c\u957f\u5bf9\u8bdd\u540e\u6216\u8005Compact\u540e\u89c4\u8303\u53d8\u5f97\u8d8a\u6765\u8d8a\u6a21\u7cca\uff0cAI\u7f16\u5199\u7684\u4ee3\u7801\u4f1a\u6e10\u6e10\u8131\u79bb\u98ce\u683c\u3002\u8fd8\u6709\u4e00\u70b9\uff0c\u7531\u4e8e\u6bcf\u5bb6\u7684Agent\u90fd\u6709\u81ea\u5df1\u89c4\u5b9a\u7684Rules\uff0c\u5728\u56e2\u961f\u5408\u4f5c\u7684\u65f6\u5019\u540c\u4e8bA\u7528\u7684Claude Code\u3001\u540c\u4e8bB\u7528\u7684Codex\u3001\u540c\u4e8bC\u7528\u7684Cursor....\u8fd9\u6837\u6bcf\u4e2a\u4eba\u90fd\u9700\u8981\u914d\u7f6e\u4e00\u904d\uff0c\u4e00\u4e2a\u540c\u4e8b\u6539\u4e86\uff0c\u5176\u4ed6\u540c\u4e8b\u4e5f\u8981\u6539\uff0c\u975e\u5e38\u4e0d\u65b9\u4fbf\u3002<\/p>\n<p>\u8fd9\u4e9b\u5176\u5b9e\u90fd\u662f\u9759\u6001\u7684\u9879\u76ee\u8bf4\u660e\uff0c\u5e76\u4e0d\u8d1f\u8d23<strong>\u4efb\u52a1\u72b6\u6001\u3001\u8de8\u4f1a\u8bdd\u7684\u5de5\u4f5c\u8bb0\u5f55\u7b49\u7b49<\/strong>\u8fd9\u4e9b\u8fd0\u884c\u65f6\u7684\u72b6\u6001\u3002<\/p>\n<h2>Skill\u7684\u5c40\u9650\u6027<\/h2>\n<p>Skill\u7684\u76ee\u7684\u662f\u7528\u6765\u56fa\u5316AI\u7684\u884c\u4e3a\uff0c\u6bd4\u5982Debug\u3001Review\u3001Test\u90fd\u53ef\u4ee5\u56fa\u5316\u4e0b\u6765\uff0c\u4f5c\u4e3a\u5de5\u4f5c\u6d41\u4e2d\u7684\u4e00\u73af\u8282\u3002\u4f46\u662f\u5728\u4efb\u52a1\u6267\u884c\u8fc7\u7a0b\u4e2d\u8fd8\u662f\u4f1a\u51fa\u73b0<strong>\u6ca1\u8c03\u7528\u6216\u8005\u6ca1\u6709\u5728\u6b63\u786e\u7684\u65f6\u673a\u8c03\u7528<\/strong>\u3002Skill\u5177\u4f53\u6267\u884c\u903b\u8f91\u662f<\/p>\n<pre><code>Agent\u770b\u5230 skill \u540d\u79f0\u548c\u63cf\u8ff0\n    -&gt; \u5224\u65ad\u8fd9\u6b21\u662f\u5426\u8981\u7528\n    -&gt; \u8bfb\u53d6 SKILL.md\n    -&gt; \u6309\u5267\u672c\u6267\u884c\n    -&gt; \u8fd9\u6b21\u8c03\u7528\u7ed3\u675f<\/code><\/pre>\n<p>\u6240\u4ee5\u771f\u6b63\u6709\u6548\u7684\u4e0d\u662f\uff1a<\/p>\n<blockquote>\n<p>\u201c\u6211\u5199\u4e86\u4e00\u4e2a\u5f88\u8be6\u7ec6\u7684 Skill\uff0c\u6a21\u578b\u4ee5\u540e\u5c31\u4e00\u76f4\u8bb0\u5f97\u3002\u201d<\/p>\n<\/blockquote>\n<p>\u800c\u662f\uff1a<\/p>\n<blockquote>\n<p>\u201c\u6bcf\u5230\u4e00\u4e2a\u660e\u786e\u9636\u6bb5\uff0c\u7cfb\u7edf\u90fd\u91cd\u65b0\u8c03\u7528\u6b63\u786e\u7684 Skill\uff0c\u5e76\u8ba9\u5b83\u91cd\u65b0\u8bfb\u53d6\u6b63\u786e\u7684\u6587\u4ef6\u3002\u201d<\/p>\n<\/blockquote>\n<p>\u8fd9\u4e5f\u662f\u4e3a\u4ec0\u4e48\u5373\u4f7f\u914d\u5408\u4e86Skill\u4e5f\u65e0\u6cd5\u8131\u79bb\u5931\u63a7\u7684\u539f\u56e0\u3002 <\/p>\n<h2>\u603b\u7ed3<\/h2>\n<p>\u901a\u8fc7\u4e0a\u8ff0\u63cf\u8ff0\uff0c\u5176\u5b9e\u5f52\u7eb3\u8d77\u6765\u6709\u51e0\u4e2a\u65b9\u9762\u3002<\/p>\n<p><strong>\u4f1a\u8bdd\u5931\u5fc6<\/strong><\/p>\n<p>\u957f\u5bf9\u8bdd\u6216\u8005Compact\u540e\uff0cAI\u4f1a\u5fd8\u8bb0\u4e4b\u524d\u7684\u8fdb\u5ea6\u548c\u80cc\u666f\uff0c\u4ee3\u7801\u5f00\u59cb\u6f02\u79fb\u3002\u65b0\u4f1a\u8bdd\u5f00\u59cb\uff0c\u5b8c\u5168\u4e0d\u77e5\u9053\u4e4b\u524d\u5bf9\u8bdd\u4e86\u4ec0\u4e48\uff0c\u4efb\u52a1\u6267\u884c\u5230\u4e86\u54ea\u4e00\u6b65\uff0c\u4efb\u52a1\u72b6\u6001\u662f\u4ec0\u4e48\u3002<\/p>\n<p><strong>\u591a Agent \u534f\u4f5c\u7f3a\u5c11\u7edf\u4e00\u7f16\u6392<\/strong><\/p>\n<p>\u8fd9\u4e2a\u662f\u76ee\u524d\u6700\u4e0d\u597d\u89e3\u51b3\u7684\uff0c\u56e0\u4e3a\u540c\u4e8b\u7684\u5de5\u5177\u4e94\u82b1\u516b\u95e8\uff0c\u53ea\u8981\u5207\u6362\u4e86Agent\uff0c\u5c31\u9700\u8981\u91cd\u5199\u4e00\u5957\u89c4\u8303\uff0c\u5f88\u591a\u540c\u4e8b\u90fd\u662f\u76f4\u63a5\u5f00\u59cbVibe Coding\uff0c\u6700\u540e\u4ee3\u7801\u5404\u5f0f\u5404\u6837\u96be\u4ee5\u7ba1\u7406\u3002<\/p>\n<p><strong>\u7f3a\u5c11\u751f\u547d\u5468\u671f\u95ed\u73af<\/strong><\/p>\n<p>\u8fd9\u4e00\u73af\u4e5f\u662f\u6574\u4e2aVibe Coding\u7684\u75db\u70b9\uff0c\u65e0\u8bba\u6211\u4eec\u5982\u4f55\u7cbe\u8fdbPrompt\/Rules\/Skills\u90fd\u662f\u5728\u505a\u4e00\u4e2a\u201c\u66f4\u957f\u201d\u7684plan.md\u3002\u6700\u540e\u7684\u6d41\u7a0b\u65e0\u975e\u5c31\u662f<\/p>\n<pre><code>prompt \/ rules \/ skill\n        \u2193\n\u5f53\u524d\u4f1a\u8bdd\n        \u2193\n\u4ee3\u7801\u6216\u56de\u7b54\n        \u2193\n\u5bf9\u8bdd\u7ed3\u675f<\/code><\/pre>\n<p>\u8fd9\u4e0d\u662f\u95ed\u73af\uff0c\u8fd9\u5c31\u662f\u4e00\u6761\u6d41\u6c34\u7ebf\uff0c\u771f\u6b63\u7684\u95ed\u73af\u5e94\u8be5\u662f<\/p>\n<pre><code class=\"language-mermaid\">flowchart LR\n    R[&quot;\u9700\u6c42&quot;] --&gt; T[&quot;\u4efb\u52a1\u4e0e\u9a8c\u6536\u6807\u51c6&quot;]\n    T --&gt; P[&quot;\u8bbe\u8ba1\u3001\u7814\u7a76\u3001\u5b9e\u65bd\u8ba1\u5212&quot;]\n    P --&gt; I[&quot;\u5b9e\u73b0&quot;]\n    I --&gt; C[&quot;\u68c0\u67e5\u3001\u6d4b\u8bd5\u3001\u5ba1\u67e5&quot;]\n    C --&gt;|&quot;\u5931\u8d25\u6216\u53d1\u73b0\u7f3a\u9677&quot;| P\n    C --&gt;|&quot;\u901a\u8fc7&quot;| F[&quot;\u63d0\u4ea4\u3001\u5f52\u6863\u3001\u4ea4\u63a5&quot;]\n    F --&gt; J[&quot;\u4f1a\u8bdd\u8bb0\u5f55&quot;]\n    F --&gt; S[&quot;\u89c4\u8303\u6f14\u8fdb&quot;]\n    S --&gt; N[&quot;\u4e0b\u4e00\u9879\u4efb\u52a1\u91cd\u65b0\u52a0\u8f7d&quot;]\n    N --&gt; T<\/code><\/pre>\n<h1>Trellis \u7684\u4f18\u70b9<\/h1>\n<h2>Harness<\/h2>\n<p>\u8fd9\u91cc\u9700\u8981\u5148\u4ecb\u7ecd\u4e00\u4e0bHarness\u4ee5\u514d\u548c\u8ba4\u77e5\u7684\u77e5\u8bc6\u4ea7\u751f\u6df7\u6dc6\uff0c<code>LLM + HARNESS = AGENT<\/code>\uff0c\u8fd9\u4e2a\u662fAgent\u5e7f\u4e49\u4e0a\u7684\u5b9a\u4e49\u3002<\/p>\n<p>Harness\u6307<\/p>\n<ul>\n<li>\u628a\u7528\u6237\u3001\u6a21\u578b\u3001\u5de5\u5177\u7ec4\u7ec7\u6210\u5faa\u73af<\/li>\n<li>\u63d0\u4f9b\u6587\u4ef6\u8bfb\u5199\u3001Shell\u3001\u6d4f\u89c8\u5668\u7b49\u5de5\u5177<\/li>\n<li>\u7ba1\u7406\u4e0a\u4e0b\u6587\u3001\u4f1a\u8bdd\u548c\u5de5\u5177\u8fd4\u56de\u503c<\/li>\n<li>\u5904\u7406\u6743\u9650\u3001\u6c99\u7bb1\u3001\u91cd\u8bd5\u3001\u538b\u7f29\u4e0a\u4e0b\u6587<\/li>\n<li>\u51b3\u5b9a\u6a21\u578b\u4e0b\u4e00\u6b65\u662f\u56de\u7b54\u8fd8\u662f\u8c03\u7528\u5de5\u5177<\/li>\n<\/ul>\n<p>\u4e0a\u8ff0\u7684\u6211\u79f0\u4e4b\u4e3a<strong>Core Harness<\/strong>\u5373\u4e00\u4e2aAgent\u5fc5\u987b\u62e5\u6709\u7684\u80fd\u529b\uff0c\u4f46\u662fTrellis\u3001Superpower\u3001Omo \u8fd9\u4e9b\u90fd\u662f\u6307<strong>Workflow Harness<\/strong>\u3002<\/p>\n<p><code>Agent + Workflow Harness = \u6709\u5de5\u7a0b\u65b9\u6cd5\u548c\u884c\u4e3a\u7ea6\u675f\u4ee5\u53ca\u95ed\u73af\u80fd\u529b\u7684 Agent \u7cfb\u7edf<\/code>\uff0c\u8fd9\u4e9b\u4f1a\u7ed9Agent\u589e\u5f3a\u4e00\u4e9b\u6d41\u7a0b\u548c\u95ed\u73af\u7684\u80fd\u529b\u3002<\/p>\n<ul>\n<li>\u9700\u6c42\u6f84\u6e05\u3001\u8bbe\u8ba1\u3001\u8ba1\u5212\u3001\u5b9e\u73b0\u3001\u9a8c\u8bc1\u6d41\u7a0b<\/li>\n<li>Skill\u3001Prompt\u3001\u9879\u76ee\u89c4\u5219\u548c\u4e0a\u4e0b\u6587\u7ec4\u7ec7<\/li>\n<li>\u4efb\u52a1\u62c6\u5206\u4e0e\u72b6\u6001\u7ba1\u7406<\/li>\n<li>\u6d4b\u8bd5\u3001\u4ee3\u7801\u5ba1\u67e5\u3001\u5b8c\u6210\u6761\u4ef6<\/li>\n<li>\u5b50 Agent \u7f16\u6392\u548c\u8d28\u91cf\u68c0\u67e5\u70b9<\/li>\n<\/ul>\n<h2>\u6838\u5fc3<\/h2>\n<p>\u4e00\u4e2a Trellis \u9879\u76ee\u662f\u5e26 <code>.trellis\/<\/code> \u7684\u4ed3\u5e93\uff0c\u518d\u52a0\u4e0a <code>.claude\/<\/code>\u3001<code>.codex\/<\/code>\u3001 <code>.cursor\/<\/code>\u3001<code>.opencode\/<\/code>\u3001<code>.kiro\/<\/code>\u3001<code>.pi\/<\/code> \u7b49\u5e73\u53f0\u76ee\u5f55\u3002<\/p>\n<p>\u5b83\u662f\u5982\u4f55\u89e3\u51b3\u8fd9\u4e09\u4e2a\u95ee\u9898\u5462\uff1f<\/p>\n<p><strong>\u4f1a\u8bdd\u5931\u5fc6<\/strong><\/p>\n<p>\u6bcf\u6b21\u4f1a\u8bdd\u7ed3\u675f\u540e\u90fd\u4f1a\u8bb2\u5de5\u4f5c\u5185\u5bb9\u5199\u4f1a<code>.trellis\/<\/code> \u76ee\u5f55<sup class='reference' id='ref_1_1' data-content='&lt;a href=&quot;https:\/\/docs.trytrellis.app\/zh\/start\/how-it-works#%E4%BC%9A%E8%AF%9D%E7%BB%93%E6%9D%9F%E5%90%8E%E7%95%99%E4%B8%8B%E4%BB%80%E4%B9%88&quot; target=&quot;_blank&quot;&gt; \u4f1a\u8bdd\u7ed3\u675f\u540e\u7559\u4e0b\u4ec0\u4e48&lt;\/a&gt;' tabindex='0'><a class='reference-link' href='#ref_1'>[1]<\/a><\/sup>\uff0c\u5373\u4f7f\u540e\u9762\u6211\u4eec\u6362\u4e86\u5176\u4ed6\u7684\u5de5\u5177\uff0c\u4e5f\u80fd\u591f\u77e5\u9053\u9879\u76ee\u6267\u884c\u5230\u54ea\u91cc\u4e86\u3001\u4e4b\u524d\u7684\u5bf9\u8bdd\u662f\u4ec0\u4e48\u3001\u4e0a\u4e2a\u4efb\u52a1\u7684\u6267\u884c\u72b6\u6001\u4ee5\u53ca\u8fdb\u5ea6<sup class='reference' id='ref_2_1' data-content='&lt;a href=&quot;https:\/\/docs.trytrellis.app\/zh\/start\/how-it-works#2-%E6%AF%8F%E6%9D%A1%E6%B6%88%E6%81%AF%E5%B8%A6%E5%BD%93%E5%89%8D%E5%B7%A5%E4%BD%9C%E6%B5%81%E7%8A%B6%E6%80%81&quot; target=&quot;_blank&quot;&gt;\u6bcf\u6761\u6d88\u606f\u5e26\u5f53\u524d\u5de5\u4f5c\u6d41\u72b6\u6001&lt;\/a&gt;' tabindex='0'><a class='reference-link' href='#ref_2'>[2]<\/a><\/sup>\u3002\u53ea\u8981Agent\u80fd\u591fhook\u5230\uff0c\u5c31\u53ef\u4ee5\u63a5\u7740\u4e0a\u4e2a\u5bf9\u8bdd\u7559\u4e0b\u7684\u5185\u5bb9\u7ee7\u7eed\u5de5\u4f5c\u3002<\/p>\n<p><strong>\u591a Agent \u534f\u4f5c\u7f3a\u5c11\u7edf\u4e00\u7f16\u6392<\/strong><\/p>\n<p>\u8fd9\u70b9\u6b63\u5982\u4e0a\u9762\u8bf4\u7684\uff0c\u9879\u76ee\u5171\u4eab\u4e86\u4e00\u5957<code>.trellis\/<\/code>\uff0c\u5373\u4f7f\u4eceCursor\u6362\u5230\u4e86Claude Code\u518d\u6362\u5230Codex\uff0c<code>.cursorrules<\/code>\u3001<code>.claude<\/code>\u3001<code>.codex<\/code>\u4e2d\u90fdhook\u4e86\u540c\u4e00\u4e2a<code>.trellis\/<\/code>\u6240\u4ee5\u4ed6\u4eec\u5462\u90fd\u80fd\u591f\u83b7\u53d6\u5230\u7edf\u4e00\u7684\u89c4\u8303\u548c\u4efb\u52a1\u8fdb\u5ea6\u3002<\/p>\n<p><strong>\u7f3a\u5c11\u751f\u547d\u5468\u671f\u95ed\u73af<\/strong><\/p>\n<p>trellis\u5c06\u4e00\u6b21\u9700\u6c42\u62c6\u5206\u6210\u4e86\u4e00\u7ec4\u6709\u6709\u8eab\u4efd\u3001\u72b6\u6001\u548c\u804c\u8d23\u7684\u4efb\u52a1\u8d44\u4ea7\uff0c\u4f8b\u5982<\/p>\n<table>\n<thead>\n<tr>\n<th>\u8d44\u4ea7<\/th>\n<th>\u8bb0\u5f55\u4ec0\u4e48<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>tasks\/<\/code><\/td>\n<td>\u5f53\u524d\u4efb\u52a1\u7684\u4e8b\u5b9e\u3001\u8981\u6c42\u3001\u51b3\u7b56\u548c\u8fdb\u5ea6<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><code>prd.md<\/code>\uff1a\u9700\u6c42\u3001\u8fb9\u754c\u548c\u9a8c\u6536\u6761\u4ef6\u3002<code>task.json<\/code>\uff1a\u8fd9\u4e2a\u4efb\u52a1\u662f\u8c01\u3001\u5f53\u524d\u72b6\u6001\u662f\u4ec0\u4e48\u3001\u7531\u8c01\u8d1f\u8d23\u3002<\/td>\n<\/tr>\n<tr>\n<td><code>workspace\/<\/code><\/td>\n<td>\u67d0\u4e2a\u4f1a\u8bdd\u505a\u8fc7\u4ec0\u4e48\u3001\u7559\u4e0b\u4ec0\u4e48\u4ea4\u63a5\u4fe1\u606f<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><code>journal-x.md<\/code>\uff1a\u5de5\u4f5c\u65e5\u5fd7\u3002<\/td>\n<\/tr>\n<tr>\n<td><code>spec\/<\/code><\/td>\n<td>\u4ee5\u540e\u6bcf\u6b21\u5199\u4ee3\u7801\u90fd\u5e94\u8be5\u9075\u5b88\u7684\u957f\u671f\u89c4\u5219<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><code>backend<\/code>\uff1a\u540e\u7aef\u4e2d\u7684\u89c4\u8303\u3002  <code>frontend<\/code>\uff1a\u524d\u7aef\u4e2d\u7684\u89c4\u8303\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5728\u4efb\u52a1\u6536\u5c3e\u9636\u6bb5\uff0cAI\u4f1a\u5f15\u5bfc\u6211\u4eec\u54ea\u4e9b\u4e1c\u897f\u662f\u53ef\u4ee5\u5199\u56de\u5230spec\u91cc\u7684\u4f5c\u4e3a\u4e00\u79cd\u957f\u671f\u7684\u89c4\u5b9a\u3002\u5c31\u5982<a href=\"#\u5de5\u4f5c\u6d41\u7a0b\">\u4e0a\u56fe<\/a>\u4e2d\u63cf\u8ff0\u7684\u4e00\u6837\u5b8c\u6210\u4e86\u4e00\u4e2a\u95ed\u73af\u3002<\/p>\n<p>trellis\u4e5f\u4e0d\u4f1a\u628a\u6240\u6709\u4e1c\u897f\u4e00\u80a1\u8111\u6254\u7ed9AI\uff0c\u800c\u662f\u6839\u636e\u4efb\u52a1\u53ea\u52a0\u8f7d\u6240\u9700\u7684\u5185\u5bb9\uff0c\u5bf9\u4e8etrellis\u4f1a\u5bf9\u7528\u6237\u7684\u9700\u6c42\u53bb\u521b\u5efa\u5bf9\u5e94\u7684\u4efb\u52a1\u3002<\/p>\n<p>\u4efb\u52a1\u76ee\u5f55\u5982\u4e0b:<\/p>\n<pre><code>.trellis\/tasks\/&lt;MM-DD-name&gt;\/\n\u251c\u2500\u2500 task.json\n\u251c\u2500\u2500 prd.md\n\u251c\u2500\u2500 implement.jsonl\n\u2514\u2500\u2500 check.jsonl<\/code><\/pre>\n<p><code>implement.jsonl<\/code> \u548c <code>check.jsonl<\/code> \u5217\u51fa implementation \u6216 review \u524d\u8981\u8bfb\u53d6\u7684\u7a33\u5b9a\u4e0a\u4e0b\u6587\u6587\u4ef6<sup class='reference' id='ref_3_1' data-content='&lt;a href=&quot;https:\/\/docs.trytrellis.app\/zh\/start\/how-it-works#6-context-manifest-%E4%BF%9D%E6%8C%81%E7%AA%84%E8%8C%83%E5%9B%B4&quot; target=&quot;_blank&quot;&gt; Context manifest \u4fdd\u6301\u7a84\u8303\u56f4&lt;\/a&gt;' tabindex='0'><a class='reference-link' href='#ref_3'>[3]<\/a><\/sup>\u3002<\/p>\n<div class='admonition shadow-sm admonition-warning'><div class='admonition-title'>\u4f7f\u7528\u5efa\u8bae<\/div><div class='admonition-body'><\/p>\n<p>\u5e76\u4e0d\u662f\u8bf4\u5b89\u88c5\u4e86Trellis\u5c31\u4e07\u4e8b\u5927\u5409\u4e86\uff0c\u5b83\u4e5f\u9700\u8981\u5b66\u4e60\u6210\u672c\uff0c\u548c\u524d\u671f\u6295\u5165\uff0c\u6211\u8ba4\u4e3a\u8fd9\u662f\u597d\u4e8b\u524d\u671f\u6295\u5165\u8d8a\u5927\u5728\u540e\u9762\u5f00\u59cbCoding\u7684\u9636\u6bb5\u624d\u4f1a\u8d8a\u8f7b\u677e\u3002<\/p>\n<p><\/div><\/div>\n<h1>Trellis \u7684\u673a\u5236<\/h1>\n<h2>\u4f1a\u8bdd\u6062\u590d<\/h2>\n<p>\u4e00\u822c\u60c5\u51b5\u4e0b\uff0c\u65e0\u8bba\u54ea\u4e2aAgent\u5728new session\u540e\u57fa\u672c\u4e0a\u5c31\u662f\u4e00\u7247\u7a7a\u767d\u4e86\uff0c \u6240\u6709\u7684\u89c4\u77e9\u3001\u4efb\u52a1\u7684\u6267\u884c\u90fd\u5b8c\u5168\u5fd8\u8bb0\u4e86\u3002<\/p>\n<p>\u4f46\u662fTrellis\u901a\u8fc7\u4e0b\u9762\u8fd9\u4e9b\u6587\u4ef6\u7ed9\u4e86Agent\u4e00\u4efd\u6bd4\u8f83\u5b8c\u6574\u4e0a\u4e0b\u6587\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">\u4e0a\u4e0b\u6587<\/th>\n<th style=\"text-align: left;\">\u6765\u6e90<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\">\u5f00\u53d1\u8005\u8eab\u4efd<\/td>\n<td style=\"text-align: left;\"><code>.trellis\/.developer<\/code><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">Git \u72b6\u6001<\/td>\n<td style=\"text-align: left;\">\u5f53\u524d\u5206\u652f\u3001\u810f\u6587\u4ef6\u3001\u6700\u8fd1\u63d0\u4ea4<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">Active task pointer<\/td>\n<td style=\"text-align: left;\"><code>.trellis\/.runtime\/sessions\/&lt;session-key&gt;.json<\/code>\uff1b\u53ea\u6709\u4e00\u4e2a runtime session \u65f6\u53ef\u505a single-session fallback<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">Active task \u5217\u8868<\/td>\n<td style=\"text-align: left;\"><code>.trellis\/tasks\/*\/task.json<\/code><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">Workflow index<\/td>\n<td style=\"text-align: left;\"><code>.trellis\/workflow.md<\/code> \u91cc\u7684\u7d27\u51d1 Phase Index<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">Spec index paths<\/td>\n<td style=\"text-align: left;\"><code>.trellis\/spec\/**\/index.md<\/code> \u8def\u5f84<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">Workspace memory<\/td>\n<td style=\"text-align: left;\"><code>.trellis\/workspace\/&lt;developer&gt;\/index.md<\/code> \u548c\u8fd1\u671f journal<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8fd9\u4e00\u6b65\u7ed3\u675f\u540e\uff0cAI \u5e94\u8be5\u77e5\u9053 Trellis \u4e0a\u4e0b\u6587\u5728\u54ea\u91cc\u3002\u5177\u4f53 phase \u7ec6\u8282\u901a\u8fc7 workflow-state breadcrumb\u3001skill \u6216 <code>get_context.py<\/code> \u6309\u9700\u52a0\u8f7d\u3002<\/p>\n<p>\u4f8b\u5982\u4e0b\u9762\u56fe\u7247\uff0c\u6211\u5728Claude Code\u4e2d\u7684\u4efb\u52a1\u6267\u884c\u4e00\u534a\u540e\u62a5\u9519\u4e14\u65e0\u6cd5\u7ee7\u7eed\u6267\u884c\uff0c\u7136\u540e\u6211\u5230Codex\u4e2d\u5f00\u4e86\u4e00\u4e2a\u65b0\u5bf9\u8bdd\u8fdb\u884c\u300207-30\u7684\u4efb\u52a1\u5c31\u662f\u6211\u6267\u884c\u4e86\u4e00\u534a\u7684\u4efb\u52a1\u3002<\/p>\n<p><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/image.eastfond.com\/file\/20260731101407890.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"https:\/\/image.eastfond.com\/file\/20260731101407890.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" \/><\/div><\/p>\n<blockquote>\n<p>\u6709 session start hook\u3001plugin \u6216 extension \u7684Agent \u6253\u5f00\u540e\u901a\u5e38\u4f1a\u81ea\u52a8\u6ce8\u5165\u8fd9\u4efd\u7d27\u51d1\u4e0a\u4e0b\u6587\uff08\u5373\u521d\u59cb\u5316\u7684\u65f6\u5019\u53ef\u4ee5\u9009\u62e9\u652f\u6301\u7684 flag\uff1a<code>--claude<\/code>\u3001<code>--cursor<\/code>\u3001<code>--opencode<\/code>\u3001<code>--codex<\/code>\u3001<code>--kiro<\/code>\u3001<code>--gemini<\/code>\u3001<code>--qoder<\/code>\u3001<code>--codebuddy<\/code>\u3001<code>--copilot<\/code>\u3001<code>--droid<\/code>\u3001<code>--pi<\/code>\u3001<code>--antigravity<\/code>\u3001<code>--devin<\/code>\uff08\u522b\u540d\uff1a<code>--windsurf<\/code>\uff0c\u5df2\u5e9f\u5f03\uff09\u3001<code>--kilo<\/code>\u3001<code>--reasonix<\/code>\u3001<code>--zcode<\/code>\u3001<code>--omp<\/code>\uff09\uff0c\u4f46\u662f\u6709\u4e9b\u662f\u6ca1\u6709\u7684\u4f8b\u5982\uff1asnow-cli\uff08\u5f88\u63a8\u8350\uff09\u8fd9\u4e9b\u7684\u8bdd\u5c31\u9700\u8981\u624b\u52a8\u8ba9snow\u53bb\u8bfb\u53d6\u4e00\u904d<code>trellis-start<\/code><\/p>\n<\/blockquote>\n<h2>\u4efb\u52a1\u72b6\u6001<\/h2>\n<p>Trellis\u6062\u590d\u5bf9\u8bdd\u540e\uff0c\u8fd8\u9700\u8981\u8bfb\u53d6\u5230\u5f53\u524d\u4efb\u52a1\u7684\u6267\u884c\u72b6\u6001\uff0c\u5728\u652f\u6301hook\u7684\u5e73\u53f0\u4e0a\uff0c\u6bcf\u6761\u5bf9\u8bdd\u90fd\u4f1a\u51fa\u53d1\u4e00\u6b21workflow-state\uff0c\u5bf9\u9f50\u4f1a\u8bdd\u548c\u4efb\u52a1\u72b6\u6001\u3002<\/p>\n<p>Hook \u4f1a\u89e3\u6790\u5f53\u524d session \u7684 active task\uff1a<\/p>\n<pre><code>-&gt; find .trellis\/\n-&gt; resolve session key\n-&gt; read .trellis\/.runtime\/sessions\/&lt;session-key&gt;.json\n-&gt; read .trellis\/tasks\/&lt;task&gt;\/task.json\n-&gt; read task.json.status<\/code><\/pre>\n<p>\u7136\u540e\u5b83\u5230 <code>.trellis\/workflow.md<\/code> \u91cc\u627e\u5339\u914d\u7684 block\uff1a<\/p>\n<pre><code>[workflow-state:STATUS]\n...\n[\/workflow-state:STATUS]<\/code><\/pre>\n<blockquote>\n<h3>workflow.md \u63a7\u5236\u4e86\u54ea\u4e9b\u4e1c\u897f<\/h3>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\"><code>workflow.md<\/code> \u91cc\u7684\u6bb5\u843d<\/th>\n<th style=\"text-align: left;\">\u8c01\u6765\u8bfb<\/th>\n<th style=\"text-align: left;\">\u6548\u679c<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><code>## Phase Index<\/code> + <code>## Phase 1\/2\/3<\/code><\/td>\n<td style=\"text-align: left;\">AI \u5728\u4f1a\u8bdd\u5f00\u59cb\u65f6\u8bfb\uff08\u901a\u8fc7 <code>SessionStart<\/code> hook\uff09<\/td>\n<td style=\"text-align: left;\">\u5b9a\u4e49\u4e09\u9636\u6bb5\u6d41\u7a0b\u548c\u6bcf\u4e2a\u9636\u6bb5\u7684 step \u7ea7 how-to<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>### Skill Routing<\/code><\/td>\n<td style=\"text-align: left;\">AI \u5728\u4f1a\u8bdd\u5f00\u59cb\u65f6\u8bfb<\/td>\n<td style=\"text-align: left;\">\u628a\u7528\u6237\u610f\u56fe\u6620\u5c04\u5230\u8981\u52a0\u8f7d\u7684 skill\uff08\u4f8b\u5982\u201d\u60f3\u505a\u65b0\u529f\u80fd\u201d\u2192 <code>trellis-brainstorm<\/code>\uff09<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>### DO NOT skip skills<\/code><\/td>\n<td style=\"text-align: left;\">AI \u5728\u4f1a\u8bdd\u5f00\u59cb\u65f6\u8bfb<\/td>\n<td style=\"text-align: left;\">\u5217\u51fa AI \u60f3\u8df3\u8fc7 skill \u65f6\u5e38\u89c1\u7684\u501f\u53e3\u4ee5\u53ca\u4e3a\u4ec0\u4e48\u4e0d\u5bf9<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>## Phase Index<\/code> \u4e0b\u7684 <code>[workflow-state:STATUS]<\/code> \u5757<\/td>\n<td style=\"text-align: left;\"><code>inject-workflow-state.py<\/code> \u5728\u6bcf\u6b21 <code>UserPromptSubmit<\/code> \u89e6\u53d1<\/td>\n<td style=\"text-align: left;\">\u6bcf\u8f6e\u7528 <code>&lt;workflow-state&gt;\u2026&lt;\/workflow-state&gt;<\/code> \u6ce8\u5165\u4e00\u6bb5\u9762\u5305\u5c51\uff0c\u5185\u5bb9\u6309\u5f53\u524d\u4efb\u52a1 status \u53d8<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>### Task System<\/code>\uff08task.py \u547d\u4ee4\u8868\uff09<\/td>\n<td style=\"text-align: left;\">AI \u5728\u4f1a\u8bdd\u5f00\u59cb\u65f6\u8bfb<\/td>\n<td style=\"text-align: left;\">16 \u4e2a <code>task.py<\/code> \u5b50\u547d\u4ee4\u6309\u7528\u9014\u5206\u7ec4\u7684\u53c2\u8003<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/blockquote>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">\u5173\u4e8e\u4efb\u52a1\u72b6\u6001\u6709\u4ee5\u4e0b\u8fd9\u51e0\u79cd\u72b6\u6001<\/th>\n<th style=\"text-align: left;\">Status<\/th>\n<th style=\"text-align: left;\">\u5199\u5165\u8005<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><code>no_task<\/code><\/td>\n<td style=\"text-align: left;\">Hook \u5408\u6210<\/td>\n<td style=\"text-align: left;\">\u5f53\u524d session \u6ca1\u6709 active task pointer\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>planning<\/code><\/td>\n<td style=\"text-align: left;\"><code>task.py create<\/code><\/td>\n<td style=\"text-align: left;\">\u9700\u6c42\u548c planning artifact \u9636\u6bb5\uff1b\u8f7b\u91cf\u4efb\u52a1\u53ef\u4ee5\u53ea\u6709 PRD\uff0c\u590d\u6742\u4efb\u52a1\u5728 start \u524d\u9700\u8981 <code>design.md<\/code> \u548c <code>implement.md<\/code>\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>in_progress<\/code><\/td>\n<td style=\"text-align: left;\"><code>task.py start<\/code><\/td>\n<td style=\"text-align: left;\">\u5b9e\u73b0\u3001\u9a8c\u6536\u3001\u6536\u5c3e\u9636\u6bb5\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>completed<\/code><\/td>\n<td style=\"text-align: left;\"><code>task.py archive<\/code><\/td>\n<td style=\"text-align: left;\">\u5f52\u6863\u524d\u77ac\u95f4\u5199\u5165\uff1b\u6b63\u5e38\u6d41\u7a0b\u91cc\u4e0d\u4f1a\u4f5c\u4e3a live breadcrumb \u51fa\u73b0\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5927\u6982\u5982\u4e0b\uff1a<\/p>\n<pre><code>## Phase Index\n\n[workflow-state:no_task]\nNo active task. First classify the current turn and ask for task-creation consent before creating any Trellis task.\n[\/workflow-state:no_task]\n\n### Phase 1: Plan\n\n[workflow-state:planning]\nLoad trellis-brainstorm; stay in planning.\nLightweight: prd.md can be enough. Complex: finish prd.md, design.md, and implement.md; ask for review before task.py start.\n[\/workflow-state:planning]\n\n### Phase 2: Execute\n\n[workflow-state:in_progress]\nFlow: implement \u2192 check \u2192 update-spec \u2192 finish\nCheck conversation history + git status to determine current step; do NOT skip check.\n[\/workflow-state:in_progress]\n\n### Phase 3: Finish\n\n[workflow-state:completed]\nUser commits changes; then run task.py archive.\n[\/workflow-state:completed]<\/code><\/pre>\n<h2>\u4efb\u52a1\u521b\u5efa<\/h2>\n<p>Trellis\u4e0d\u4f1a\u50cfsuperpower\u90a3\u6837\u6240\u6709\u7684\u4e8b\u60c5\u90fd\u4f1a\u521b\u5efa\u4efb\u52a1\uff0c\u5199prd\uff0c\u8d70\u6d41\u7a0b\uff0cTrellis\u4f1a\u5148\u8be2\u95ee\u7528\u6237\u7684\u9700\u6c42\uff0c\u9700\u8981\u7528\u6237\u540c\u610f\u540e\u624d\u4f1a\u8fdb\u884c\u521b\u5efa\uff0cworkflow.md \u5199\u5f97\u5f88\u6e05\u695a\uff1a<\/p>\n<ul>\n<li>\u7b80\u5355\u95f2\u804a \/ \u5c0f\u6539\u52a8\uff1a\u53ea\u95ee\u4e00\u53e5\u8981\u4e0d\u8981\u5efa Trellis task\uff1b\u4f60\u8bf4<code>\u4e0d\u8981<\/code>\uff0c\u672c session \u8df3\u8fc7 Trellis<\/li>\n<li>\u590d\u6742\u4efb\u52a1\uff1a\u624d\u5efa\u8bae\u5efa task \u8fdb\u89c4\u5212\u540c\u610f\u5efa task \u2260 \u540c\u610f\u5f00\u59cb\u5199\u4ee3\u7801\uff1b\u8fd8\u8981\u5148 plan\uff0c\u518d task.py start<\/li>\n<\/ul>\n<pre><code>\u4f60\u53d1\u4e00\u6761\u6d88\u606f\n    \u2502\n    \u25bc\n[\u81ea\u52a8] \u67e5 active task + status\n    \u2502\n    \u251c\u2500 \u6ca1\u6709\u4efb\u52a1 \u2500\u2500\u2192 \u95ee\u8981\u4e0d\u8981\u5efa task\uff1b\u4f60\u8bf4\u4e0d\u8981 \u2192 \u666e\u901a\u804a\u5929\uff0c\u4e0d\u8fdb\u56fe\u91cc\u6d41\u7a0b\n    \u2502\n    \u251c\u2500 planning \u2500\u2500\u2192 \u7ee7\u7eed\u6f84\u6e05\/\u5199 prd\u00b7design\u00b7implement\uff08\u8fd8\u5728\u4e0a\u56fe\u5de6\u534a\u8fb9\uff09\n    \u2502\n    \u251c\u2500 in_progress \u2500\u2192 \u7ee7\u7eed\u5b9e\u73b0\/\u68c0\u67e5\uff08\u4e0a\u56fe\u4e2d\u53f3\u534a\u8fb9\uff09\uff0c\u9700\u8981\u65f6\u624d\u6ce8\u5165 jsonl+spec\n    \u2502\n    \u2514\u2500 \u6536\u5c3e \u2500\u2500\u2500\u2500\u2500\u2500\u2192 finish \/ archive<\/code><\/pre>\n<h2>\u4efb\u52a1\u8d44\u4ea7\u8f6c\u6362<\/h2>\n<p>\u5728Planning \u9636\u6bb5Trellis\u4f1a\u8be6\u7ec6\u68b3\u7406\u7528\u6237\u9700\u6c42\u7136\u540e\u5199\u5165task\u76ee\u5f55\uff0c\u4ea7\u51fa\u4ee5\u4e0b\u7684\u6587\u4ef6<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Artifact<\/th>\n<th style=\"text-align: left;\">\u4ec0\u4e48\u65f6\u5019\u9700\u8981<\/th>\n<th style=\"text-align: left;\">\u4f5c\u7528<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><code>prd.md<\/code><\/td>\n<td style=\"text-align: left;\">\u6bcf\u4e2a\u4efb\u52a1<\/td>\n<td style=\"text-align: left;\">\u9700\u6c42\u3001\u7ea6\u675f\u3001\u9a8c\u6536\u6807\u51c6\u3001out-of-scope\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>design.md<\/code><\/td>\n<td style=\"text-align: left;\">\u590d\u6742\u4efb\u52a1<\/td>\n<td style=\"text-align: left;\">\u6280\u672f\u8bbe\u8ba1\uff1a\u8fb9\u754c\u3001contract\u3001\u6570\u636e\u6d41\u3001\u517c\u5bb9\u6027\u3001\u53d6\u820d\u3001\u56de\u6eda\u65b9\u5f0f\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>implement.md<\/code><\/td>\n<td style=\"text-align: left;\">\u590d\u6742\u4efb\u52a1<\/td>\n<td style=\"text-align: left;\">\u6267\u884c\u8ba1\u5212\uff1a\u6709\u5e8f checklist\u3001\u9a8c\u8bc1\u547d\u4ee4\u3001review gate\u3001\u56de\u6eda\u70b9\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>research\/*.md<\/code><\/td>\n<td style=\"text-align: left;\">\u9700\u8981\u8c03\u7814\u65f6<\/td>\n<td style=\"text-align: left;\">Planning \u9636\u6bb5\u53d1\u73b0\u7684\u6301\u4e45\u4e8b\u5b9e\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>implement.jsonl<\/code><\/td>\n<td style=\"text-align: left;\">\u9700\u8981\u4e0a\u4e0b\u6587 manifest \u65f6<\/td>\n<td style=\"text-align: left;\">\u5b9e\u73b0\u9636\u6bb5\u7684 spec\/research \u6587\u4ef6\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>check.jsonl<\/code><\/td>\n<td style=\"text-align: left;\">\u9700\u8981\u4e0a\u4e0b\u6587 manifest \u65f6<\/td>\n<td style=\"text-align: left;\">Review \u548c\u9a8c\u8bc1\u9636\u6bb5\u7684 spec\/research \u6587\u4ef6\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<blockquote>\n<p><code>implement.md<\/code> \u4e0d\u66ff\u4ee3 <code>implement.jsonl<\/code>\u3002Markdown \u6587\u4ef6\u662f\u4eba\u53ef\u8bfb\u7684\u8ba1\u5212\uff1bJSONL \u6587\u4ef6\u662f\u7a33\u5b9a\u4e0a\u4e0b\u6587\u6587\u4ef6\u7684 manifest\u3002\u8f7b\u91cf\u4efb\u52a1\u53ef\u4ee5\u53ea\u6709 PRD\u3002\u590d\u6742\u4efb\u52a1\u5728\u5f00\u59cb\u524d\u9700\u8981 <code>prd.md<\/code>\u3001<code>design.md<\/code>\u3001 <code>implement.md<\/code>\u3002<\/p>\n<\/blockquote>\n<p>AI\u63a5\u89e6\u5230\u8fd9\u4e9b\u6587\u4ef6\u540e\uff0c\u5c31\u80fd\u77e5\u9053\u4e0a\u4e0b\u6587\u662f\u4ec0\u4e48\uff0c\u901a\u8fc7\u4e0a\u4e0b\u6587\u83b7\u53d6\u5230\u8be6\u7ec6\u7684\u4efb\u52a1\u5b9a\u4e49\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00 \u5b98\u65b9\u6587\u6863\u8df3\u8f6c\u5730\u5740\uff0c\u8fd9\u91cc\u6709\u5173\u4e8e\u8fd9\u4e2aHerness\u7684\u6bd4\u8f83\u5b8c\u6574\u7684\u89e3\u91ca\u548c\u4f7f\u7528\u3002 \u5feb\u901f\u4e0a\u624b \u8fd9\u91cc\u53ea\u653e\u4e00\u4e9b\u5b89\u88c5\u3001\u5347\u7ea7 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,4],"tags":[31],"class_list":["post-653","post","type-post","status-publish","format-standard","hentry","category-ai","category-posts","tag-ai"],"_links":{"self":[{"href":"https:\/\/blog.eastfond.com\/index.php?rest_route=\/wp\/v2\/posts\/653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.eastfond.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.eastfond.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.eastfond.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.eastfond.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=653"}],"version-history":[{"count":10,"href":"https:\/\/blog.eastfond.com\/index.php?rest_route=\/wp\/v2\/posts\/653\/revisions"}],"predecessor-version":[{"id":665,"href":"https:\/\/blog.eastfond.com\/index.php?rest_route=\/wp\/v2\/posts\/653\/revisions\/665"}],"wp:attachment":[{"href":"https:\/\/blog.eastfond.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.eastfond.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.eastfond.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}