zcode-expert-system 0.0.0-stage → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (457) hide show
  1. package/.zcode-plugin/plugin.json +25 -0
  2. package/LICENSE +30 -0
  3. package/README.md +680 -2
  4. package/README_CN.md +587 -0
  5. package/SKILL.md +357 -0
  6. package/agents/expert-academic-anthropologist.md +124 -0
  7. package/agents/expert-academic-geographer.md +126 -0
  8. package/agents/expert-academic-historian.md +122 -0
  9. package/agents/expert-academic-narratologist.md +117 -0
  10. package/agents/expert-academic-psychologist.md +117 -0
  11. package/agents/expert-academic-statistician.md +40 -0
  12. package/agents/expert-academic-study-planner.md +262 -0
  13. package/agents/expert-accounts-payable-agent.md +102 -0
  14. package/agents/expert-agentic-identity-trust.md +388 -0
  15. package/agents/expert-agents-orchestrator.md +366 -0
  16. package/agents/expert-authenticity-appraiser.md +38 -0
  17. package/agents/expert-automation-governance-architect.md +215 -0
  18. package/agents/expert-blender-addon-engineer.md +233 -0
  19. package/agents/expert-business-strategist.md +487 -0
  20. package/agents/expert-change-management-consultant.md +495 -0
  21. package/agents/expert-chief-executive-officer.md +104 -0
  22. package/agents/expert-chief-financial-officer.md +390 -0
  23. package/agents/expert-chief-marketing-officer.md +95 -0
  24. package/agents/expert-chief-of-staff.md +278 -0
  25. package/agents/expert-chief-operating-officer.md +88 -0
  26. package/agents/expert-chief-product-officer.md +91 -0
  27. package/agents/expert-chief-technology-officer.md +98 -0
  28. package/agents/expert-corporate-training-designer.md +191 -0
  29. package/agents/expert-customer-service.md +40 -0
  30. package/agents/expert-customer-success-manager.md +458 -0
  31. package/agents/expert-data-consolidation-agent.md +327 -0
  32. package/agents/expert-data-privacy-officer.md +411 -0
  33. package/agents/expert-design-brand-guardian.md +321 -0
  34. package/agents/expert-design-image-prompt-engineer.md +255 -0
  35. package/agents/expert-design-inclusive-visuals-specialist.md +177 -0
  36. package/agents/expert-design-persona-walkthrough.md +271 -0
  37. package/agents/expert-design-ui-designer.md +382 -0
  38. package/agents/expert-design-ui-finish-gate-reviewer.md +40 -0
  39. package/agents/expert-design-ux-architect.md +482 -0
  40. package/agents/expert-design-ux-researcher.md +328 -0
  41. package/agents/expert-design-video-prompt-engineer.md +110 -0
  42. package/agents/expert-design-visual-storyteller.md +159 -0
  43. package/agents/expert-design-whimsy-injector.md +453 -0
  44. package/agents/expert-economy-designer.md +40 -0
  45. package/agents/expert-engineering-ai-data-remediation-engineer.md +209 -0
  46. package/agents/expert-engineering-ai-engineer.md +161 -0
  47. package/agents/expert-engineering-api-platform-engineer.md +40 -0
  48. package/agents/expert-engineering-ats-validator-architect.md +38 -0
  49. package/agents/expert-engineering-autonomous-optimization-architect.md +115 -0
  50. package/agents/expert-engineering-backend-architect.md +234 -0
  51. package/agents/expert-engineering-china-network-engineer.md +33 -0
  52. package/agents/expert-engineering-cms-developer.md +534 -0
  53. package/agents/expert-engineering-code-reviewer.md +172 -0
  54. package/agents/expert-engineering-codebase-onboarding-engineer.md +172 -0
  55. package/agents/expert-engineering-data-engineer.md +324 -0
  56. package/agents/expert-engineering-data-visualization-engineer.md +40 -0
  57. package/agents/expert-engineering-database-optimizer.md +175 -0
  58. package/agents/expert-engineering-database-reliability-engineer.md +40 -0
  59. package/agents/expert-engineering-desktop-app-engineer.md +40 -0
  60. package/agents/expert-engineering-developer-tooling-engineer.md +40 -0
  61. package/agents/expert-engineering-devops-automator.md +375 -0
  62. package/agents/expert-engineering-dingtalk-integration-developer.md +574 -0
  63. package/agents/expert-engineering-drupal-performance.md +40 -0
  64. package/agents/expert-engineering-drupal-shopping-cart.md +359 -0
  65. package/agents/expert-engineering-email-intelligence-engineer.md +349 -0
  66. package/agents/expert-engineering-embedded-firmware-engineer.md +168 -0
  67. package/agents/expert-engineering-embedded-linux-driver-engineer.md +255 -0
  68. package/agents/expert-engineering-feishu-integration-developer.md +597 -0
  69. package/agents/expert-engineering-filament-optimization-specialist.md +283 -0
  70. package/agents/expert-engineering-finops-engineer.md +40 -0
  71. package/agents/expert-engineering-fpga-digital-design-engineer.md +227 -0
  72. package/agents/expert-engineering-frontend-developer.md +224 -0
  73. package/agents/expert-engineering-gaussdb-expert.md +40 -0
  74. package/agents/expert-engineering-git-workflow-master.md +220 -0
  75. package/agents/expert-engineering-i18n-engineer.md +40 -0
  76. package/agents/expert-engineering-identity-access-engineer.md +40 -0
  77. package/agents/expert-engineering-incident-response-commander.md +465 -0
  78. package/agents/expert-engineering-iot-fleet-engineer.md +40 -0
  79. package/agents/expert-engineering-iot-solution-architect.md +220 -0
  80. package/agents/expert-engineering-it-service-manager.md +560 -0
  81. package/agents/expert-engineering-knowledge-graph-engineer.md +40 -0
  82. package/agents/expert-engineering-llm-post-training-engineer.md +40 -0
  83. package/agents/expert-engineering-mechanical-design-engineer.md +311 -0
  84. package/agents/expert-engineering-minimal-change-engineer.md +206 -0
  85. package/agents/expert-engineering-mobile-app-builder.md +434 -0
  86. package/agents/expert-engineering-mobile-release-engineer.md +40 -0
  87. package/agents/expert-engineering-multi-agent-systems-architect.md +599 -0
  88. package/agents/expert-engineering-network-engineer-china.md +162 -0
  89. package/agents/expert-engineering-network-engineer.md +40 -0
  90. package/agents/expert-engineering-orgscript-engineer.md +112 -0
  91. package/agents/expert-engineering-payments-billing-engineer.md +40 -0
  92. package/agents/expert-engineering-pc-host-engineer.md +231 -0
  93. package/agents/expert-engineering-pdf-engine-architect.md +32 -0
  94. package/agents/expert-engineering-platform-engineer.md +32 -0
  95. package/agents/expert-engineering-privacy-engineer.md +40 -0
  96. package/agents/expert-engineering-prompt-engineer.md +203 -0
  97. package/agents/expert-engineering-rag-pipeline-engineer.md +40 -0
  98. package/agents/expert-engineering-rapid-prototyper.md +461 -0
  99. package/agents/expert-engineering-realtime-collaboration-engineer.md +40 -0
  100. package/agents/expert-engineering-rust-refactoring-specialist.md +40 -0
  101. package/agents/expert-engineering-search-relevance-engineer.md +40 -0
  102. package/agents/expert-engineering-section-508-specialist.md +40 -0
  103. package/agents/expert-engineering-security-engineer.md +303 -0
  104. package/agents/expert-engineering-senior-developer.md +177 -0
  105. package/agents/expert-engineering-servicenow-developer-mentor.md +32 -0
  106. package/agents/expert-engineering-software-architect.md +200 -0
  107. package/agents/expert-engineering-solidity-smart-contract-engineer.md +541 -0
  108. package/agents/expert-engineering-sre.md +233 -0
  109. package/agents/expert-engineering-technical-writer.md +409 -0
  110. package/agents/expert-engineering-threat-detection-engineer.md +553 -0
  111. package/agents/expert-engineering-universal-document-compiler.md +32 -0
  112. package/agents/expert-engineering-uswds-developer.md +40 -0
  113. package/agents/expert-engineering-video-streaming-engineer.md +40 -0
  114. package/agents/expert-engineering-voice-ai-integration-engineer.md +560 -0
  115. package/agents/expert-engineering-webassembly-engineer.md +40 -0
  116. package/agents/expert-engineering-wechat-mini-program-developer.md +288 -0
  117. package/agents/expert-engineering-wordpress-performance.md +40 -0
  118. package/agents/expert-engineering-wordpress-shopping-cart.md +345 -0
  119. package/agents/expert-esg-sustainability-officer.md +395 -0
  120. package/agents/expert-finance-bookkeeper-controller.md +271 -0
  121. package/agents/expert-finance-financial-analyst.md +244 -0
  122. package/agents/expert-finance-financial-forecaster.md +213 -0
  123. package/agents/expert-finance-fpa-analyst.md +272 -0
  124. package/agents/expert-finance-fraud-detector.md +241 -0
  125. package/agents/expert-finance-hk-stock-compliance-reviewer.md +316 -0
  126. package/agents/expert-finance-investment-researcher.md +283 -0
  127. package/agents/expert-finance-invoice-manager.md +242 -0
  128. package/agents/expert-finance-tax-strategist.md +250 -0
  129. package/agents/expert-game-audio-engineer.md +265 -0
  130. package/agents/expert-game-designer.md +168 -0
  131. package/agents/expert-gaokao-college-advisor.md +333 -0
  132. package/agents/expert-gis-3d-scene-developer.md +110 -0
  133. package/agents/expert-gis-analyst.md +90 -0
  134. package/agents/expert-gis-bim-specialist.md +107 -0
  135. package/agents/expert-gis-cartography-designer.md +149 -0
  136. package/agents/expert-gis-drone-reality-mapping.md +119 -0
  137. package/agents/expert-gis-geoai-ml-engineer.md +104 -0
  138. package/agents/expert-gis-geoprocessing-specialist.md +96 -0
  139. package/agents/expert-gis-qa-engineer.md +132 -0
  140. package/agents/expert-gis-solution-engineer.md +100 -0
  141. package/agents/expert-gis-spatial-data-engineer.md +96 -0
  142. package/agents/expert-gis-spatial-data-scientist.md +110 -0
  143. package/agents/expert-gis-technical-consultant.md +85 -0
  144. package/agents/expert-gis-web-gis-developer.md +107 -0
  145. package/agents/expert-godot-gameplay-scripter.md +335 -0
  146. package/agents/expert-godot-multiplayer-engineer.md +296 -0
  147. package/agents/expert-godot-shader-developer.md +267 -0
  148. package/agents/expert-government-digital-presales-consultant.md +362 -0
  149. package/agents/expert-grant-writer.md +510 -0
  150. package/agents/expert-healthcare-aging-parent-care-companion.md +40 -0
  151. package/agents/expert-healthcare-clinical-evidence-agent.md +40 -0
  152. package/agents/expert-healthcare-customer-service.md +388 -0
  153. package/agents/expert-healthcare-innovation-strategist.md +40 -0
  154. package/agents/expert-healthcare-marketing-compliance.md +394 -0
  155. package/agents/expert-healthcare-sovereign-health-systems-agent.md +40 -0
  156. package/agents/expert-hospitality-guest-services.md +597 -0
  157. package/agents/expert-hr-onboarding.md +450 -0
  158. package/agents/expert-hr-performance-reviewer.md +248 -0
  159. package/agents/expert-hr-recruiter.md +232 -0
  160. package/agents/expert-identity-graph-operator.md +270 -0
  161. package/agents/expert-language-translator.md +275 -0
  162. package/agents/expert-legal-billing-time-tracking.md +566 -0
  163. package/agents/expert-legal-client-intake.md +487 -0
  164. package/agents/expert-legal-contract-reviewer.md +240 -0
  165. package/agents/expert-legal-document-review.md +452 -0
  166. package/agents/expert-legal-policy-writer.md +308 -0
  167. package/agents/expert-level-designer.md +209 -0
  168. package/agents/expert-livestock-archive-auditor.md +135 -0
  169. package/agents/expert-loan-officer-assistant.md +549 -0
  170. package/agents/expert-lsp-index-engineer.md +334 -0
  171. package/agents/expert-ma-integration-manager.md +426 -0
  172. package/agents/expert-macos-spatial-metal-engineer.md +337 -0
  173. package/agents/expert-marketing-aeo-foundations.md +263 -0
  174. package/agents/expert-marketing-agentic-search-optimizer.md +312 -0
  175. package/agents/expert-marketing-ai-citation-strategist.md +169 -0
  176. package/agents/expert-marketing-app-store-optimizer.md +319 -0
  177. package/agents/expert-marketing-baidu-seo-specialist.md +220 -0
  178. package/agents/expert-marketing-bilibili-content-strategist.md +40 -0
  179. package/agents/expert-marketing-bilibili-strategist.md +194 -0
  180. package/agents/expert-marketing-book-co-author.md +109 -0
  181. package/agents/expert-marketing-carousel-growth-engine.md +215 -0
  182. package/agents/expert-marketing-china-ecommerce-operator.md +277 -0
  183. package/agents/expert-marketing-china-market-localization-strategist.md +282 -0
  184. package/agents/expert-marketing-content-creator.md +145 -0
  185. package/agents/expert-marketing-cross-border-ecommerce.md +260 -0
  186. package/agents/expert-marketing-daily-news-briefing.md +303 -0
  187. package/agents/expert-marketing-developer-community-builder.md +32 -0
  188. package/agents/expert-marketing-douyin-strategist.md +150 -0
  189. package/agents/expert-marketing-ecommerce-operator.md +216 -0
  190. package/agents/expert-marketing-email-strategist.md +248 -0
  191. package/agents/expert-marketing-global-podcast-strategist.md +204 -0
  192. package/agents/expert-marketing-growth-hacker.md +121 -0
  193. package/agents/expert-marketing-instagram-curator.md +179 -0
  194. package/agents/expert-marketing-knowledge-commerce-strategist.md +384 -0
  195. package/agents/expert-marketing-kuaishou-strategist.md +182 -0
  196. package/agents/expert-marketing-linkedin-content-creator.md +232 -0
  197. package/agents/expert-marketing-livestream-commerce-coach.md +303 -0
  198. package/agents/expert-marketing-multi-platform-publisher.md +216 -0
  199. package/agents/expert-marketing-podcast-strategist.md +278 -0
  200. package/agents/expert-marketing-pr-communications-manager.md +472 -0
  201. package/agents/expert-marketing-private-domain-operator.md +309 -0
  202. package/agents/expert-marketing-reddit-community-builder.md +127 -0
  203. package/agents/expert-marketing-search-growth-orchestrator.md +372 -0
  204. package/agents/expert-marketing-seo-specialist.md +298 -0
  205. package/agents/expert-marketing-short-video-editing-coach.md +413 -0
  206. package/agents/expert-marketing-social-media-strategist.md +118 -0
  207. package/agents/expert-marketing-tiktok-strategist.md +124 -0
  208. package/agents/expert-marketing-twitter-engager.md +132 -0
  209. package/agents/expert-marketing-video-optimization-specialist.md +128 -0
  210. package/agents/expert-marketing-wechat-official-account.md +158 -0
  211. package/agents/expert-marketing-wechat-operator.md +156 -0
  212. package/agents/expert-marketing-weibo-strategist.md +241 -0
  213. package/agents/expert-marketing-weixin-channels-strategist.md +297 -0
  214. package/agents/expert-marketing-x-twitter-intelligence-analyst.md +160 -0
  215. package/agents/expert-marketing-xiaohongshu-operator.md +139 -0
  216. package/agents/expert-marketing-xiaohongshu-specialist.md +151 -0
  217. package/agents/expert-marketing-zhihu-strategist.md +175 -0
  218. package/agents/expert-medical-billing-coding-specialist.md +489 -0
  219. package/agents/expert-narrative-designer.md +244 -0
  220. package/agents/expert-operations-manager.md +398 -0
  221. package/agents/expert-organizational-psychologist.md +390 -0
  222. package/agents/expert-paid-media-auditor.md +170 -0
  223. package/agents/expert-paid-media-creative-strategist.md +173 -0
  224. package/agents/expert-paid-media-paid-social-strategist.md +180 -0
  225. package/agents/expert-paid-media-ppc-strategist.md +180 -0
  226. package/agents/expert-paid-media-programmatic-buyer.md +177 -0
  227. package/agents/expert-paid-media-search-query-analyst.md +182 -0
  228. package/agents/expert-paid-media-tracking-specialist.md +199 -0
  229. package/agents/expert-personal-growth-mentor.md +158 -0
  230. package/agents/expert-product-behavioral-nudge-engine.md +246 -0
  231. package/agents/expert-product-dx-engineer.md +32 -0
  232. package/agents/expert-product-feedback-synthesizer.md +175 -0
  233. package/agents/expert-product-manager.md +474 -0
  234. package/agents/expert-product-sprint-prioritizer.md +133 -0
  235. package/agents/expert-product-trend-researcher.md +143 -0
  236. package/agents/expert-project-management-experiment-tracker.md +206 -0
  237. package/agents/expert-project-management-jira-workflow-steward.md +249 -0
  238. package/agents/expert-project-management-meeting-notes-specialist.md +94 -0
  239. package/agents/expert-project-management-project-shepherd.md +202 -0
  240. package/agents/expert-project-management-studio-operations.md +208 -0
  241. package/agents/expert-project-management-studio-producer.md +211 -0
  242. package/agents/expert-project-manager-senior.md +135 -0
  243. package/agents/expert-prompt-engineer.md +176 -0
  244. package/agents/expert-real-estate-buyer-seller.md +594 -0
  245. package/agents/expert-recruitment-specialist.md +49 -0
  246. package/agents/expert-report-distribution-agent.md +354 -0
  247. package/agents/expert-research-synthesist.md +40 -0
  248. package/agents/expert-resume-tailor.md +40 -0
  249. package/agents/expert-retail-customer-returns.md +564 -0
  250. package/agents/expert-roblox-avatar-creator.md +298 -0
  251. package/agents/expert-roblox-experience-designer.md +306 -0
  252. package/agents/expert-roblox-systems-scripter.md +325 -0
  253. package/agents/expert-sales-account-strategist.md +243 -0
  254. package/agents/expert-sales-coach.md +291 -0
  255. package/agents/expert-sales-data-extraction-agent.md +159 -0
  256. package/agents/expert-sales-deal-strategist.md +204 -0
  257. package/agents/expert-sales-discovery-coach.md +230 -0
  258. package/agents/expert-sales-engineer.md +200 -0
  259. package/agents/expert-sales-offer-lead-gen-strategist.md +256 -0
  260. package/agents/expert-sales-outbound-strategist.md +208 -0
  261. package/agents/expert-sales-outreach.md +40 -0
  262. package/agents/expert-sales-pipeline-analyst.md +284 -0
  263. package/agents/expert-sales-proposal-strategist.md +233 -0
  264. package/agents/expert-security-ai-generated-code-auditor.md +40 -0
  265. package/agents/expert-security-appsec-engineer.md +490 -0
  266. package/agents/expert-security-architect.md +303 -0
  267. package/agents/expert-security-blockchain-security-auditor.md +462 -0
  268. package/agents/expert-security-cloud-security-architect.md +522 -0
  269. package/agents/expert-security-compliance-auditor.md +157 -0
  270. package/agents/expert-security-incident-responder.md +436 -0
  271. package/agents/expert-security-penetration-tester.md +398 -0
  272. package/agents/expert-security-secrets-credential-engineer.md +40 -0
  273. package/agents/expert-security-senior-secops.md +751 -0
  274. package/agents/expert-security-threat-detection-engineer.md +533 -0
  275. package/agents/expert-security-threat-intelligence-analyst.md +643 -0
  276. package/agents/expert-specialized-ai-policy-writer.md +217 -0
  277. package/agents/expert-specialized-chief-of-staff.md +40 -0
  278. package/agents/expert-specialized-civil-engineer.md +355 -0
  279. package/agents/expert-specialized-codebase-archaeologist.md +40 -0
  280. package/agents/expert-specialized-cultural-intelligence-strategist.md +168 -0
  281. package/agents/expert-specialized-developer-advocate.md +334 -0
  282. package/agents/expert-specialized-document-generator.md +346 -0
  283. package/agents/expert-specialized-fedramp-rmf-compliance.md +40 -0
  284. package/agents/expert-specialized-focus-music-architect.md +32 -0
  285. package/agents/expert-specialized-french-consulting-market.md +46 -0
  286. package/agents/expert-specialized-korean-business-navigator.md +46 -0
  287. package/agents/expert-specialized-master-plan-architect.md +40 -0
  288. package/agents/expert-specialized-mcp-builder.md +351 -0
  289. package/agents/expert-specialized-meeting-assistant.md +236 -0
  290. package/agents/expert-specialized-model-qa.md +507 -0
  291. package/agents/expert-specialized-pricing-analyst.md +242 -0
  292. package/agents/expert-specialized-pricing-optimizer.md +254 -0
  293. package/agents/expert-specialized-risk-assessor.md +240 -0
  294. package/agents/expert-specialized-salesforce-architect.md +179 -0
  295. package/agents/expert-specialized-strategy-duel-agent.md +129 -0
  296. package/agents/expert-specialized-workflow-architect.md +596 -0
  297. package/agents/expert-study-abroad-advisor.md +281 -0
  298. package/agents/expert-supply-chain-garment-factory-planning-engineer.md +262 -0
  299. package/agents/expert-supply-chain-inventory-forecaster.md +212 -0
  300. package/agents/expert-supply-chain-route-optimizer.md +224 -0
  301. package/agents/expert-supply-chain-strategist.md +581 -0
  302. package/agents/expert-supply-chain-vendor-evaluator.md +232 -0
  303. package/agents/expert-support-analytics-reporter.md +364 -0
  304. package/agents/expert-support-executive-summary-generator.md +217 -0
  305. package/agents/expert-support-finance-tracker.md +447 -0
  306. package/agents/expert-support-infrastructure-maintainer.md +623 -0
  307. package/agents/expert-support-legal-compliance-checker.md +587 -0
  308. package/agents/expert-support-recruitment-specialist.md +508 -0
  309. package/agents/expert-support-support-responder.md +584 -0
  310. package/agents/expert-technical-artist.md +230 -0
  311. package/agents/expert-technical-translator-agent.md +167 -0
  312. package/agents/expert-terminal-integration-specialist.md +236 -0
  313. package/agents/expert-testing-accessibility-auditor.md +329 -0
  314. package/agents/expert-testing-api-tester.md +305 -0
  315. package/agents/expert-testing-embedded-qa-engineer.md +258 -0
  316. package/agents/expert-testing-evidence-collector.md +153 -0
  317. package/agents/expert-testing-performance-benchmarker.md +196 -0
  318. package/agents/expert-testing-reality-checker.md +235 -0
  319. package/agents/expert-testing-test-automation-engineer.md +40 -0
  320. package/agents/expert-testing-test-results-analyzer.md +313 -0
  321. package/agents/expert-testing-tool-evaluator.md +402 -0
  322. package/agents/expert-testing-workflow-optimizer.md +458 -0
  323. package/agents/expert-travel-planner.md +38 -0
  324. package/agents/expert-unity-architect.md +272 -0
  325. package/agents/expert-unity-editor-tool-developer.md +300 -0
  326. package/agents/expert-unity-multiplayer-engineer.md +238 -0
  327. package/agents/expert-unity-shader-graph-artist.md +270 -0
  328. package/agents/expert-unreal-multiplayer-architect.md +314 -0
  329. package/agents/expert-unreal-systems-engineer.md +311 -0
  330. package/agents/expert-unreal-technical-artist.md +256 -0
  331. package/agents/expert-unreal-world-builder.md +274 -0
  332. package/agents/expert-visionos-spatial-engineer.md +282 -0
  333. package/agents/expert-xr-cockpit-interaction-specialist.md +220 -0
  334. package/agents/expert-xr-immersive-developer.md +229 -0
  335. package/agents/expert-xr-interface-architect.md +253 -0
  336. package/agents/expert-zk-steward.md +228 -0
  337. package/agents/manager-academic-research.md +96 -0
  338. package/agents/manager-agent-governance.md +90 -0
  339. package/agents/manager-ai-llm.md +94 -0
  340. package/agents/manager-backend-architecture.md +106 -0
  341. package/agents/manager-business-strategy.md +102 -0
  342. package/agents/manager-business-support.md +96 -0
  343. package/agents/manager-customer-support.md +95 -0
  344. package/agents/manager-data-database.md +92 -0
  345. package/agents/manager-data-knowledge.md +88 -0
  346. package/agents/manager-data-testing.md +105 -0
  347. package/agents/manager-design-creative.md +103 -0
  348. package/agents/manager-devops-operations.md +92 -0
  349. package/agents/manager-embedded-iot.md +90 -0
  350. package/agents/manager-engineering-quality.md +94 -0
  351. package/agents/manager-finance-tax.md +99 -0
  352. package/agents/manager-frontend-client.md +116 -0
  353. package/agents/manager-game-dev.md +120 -0
  354. package/agents/manager-gis.md +104 -0
  355. package/agents/manager-government-public.md +84 -0
  356. package/agents/manager-healthcare.md +88 -0
  357. package/agents/manager-hr.md +87 -0
  358. package/agents/manager-language-translation.md +82 -0
  359. package/agents/manager-legal-compliance.md +86 -0
  360. package/agents/manager-marketing-growth.md +138 -0
  361. package/agents/manager-network-engineering.md +83 -0
  362. package/agents/manager-paid-media.md +92 -0
  363. package/agents/manager-product-management.md +90 -0
  364. package/agents/manager-project-management.md +94 -0
  365. package/agents/manager-sales-customer.md +97 -0
  366. package/agents/manager-security-compliance.md +109 -0
  367. package/agents/manager-spatial-computing.md +90 -0
  368. package/agents/manager-supply-chain.md +87 -0
  369. package/bin/cli.js +84 -0
  370. package/commands/wf/archive.md +111 -0
  371. package/commands/wf/check.md +68 -0
  372. package/commands/wf/deliver.md +76 -0
  373. package/commands/wf/design.md +56 -0
  374. package/commands/wf/dispatch.md +90 -0
  375. package/commands/wf/env.md +81 -0
  376. package/commands/wf/implement.md +96 -0
  377. package/commands/wf/plan.md +78 -0
  378. package/commands/wf/resume.md +59 -0
  379. package/commands/wf/spec.md +88 -0
  380. package/commands/wf/triage.md +50 -0
  381. package/commands/wf/verify.md +93 -0
  382. package/config/categories.json +557 -0
  383. package/config/experts.json +3318 -0
  384. package/config/workflow.json +848 -0
  385. package/context/context-manager.py +339 -0
  386. package/docs/workflow-fusion-design.md +239 -0
  387. package/hooks/claude-hooks.json +16 -0
  388. package/hooks/hooks.json +20 -0
  389. package/hooks/prepend-global-rules-reminder.mjs +342 -0
  390. package/icon.png +0 -0
  391. package/package.json +61 -3
  392. package/references/openspec-manual-mode.md +97 -0
  393. package/references/roles/analyst.md +62 -0
  394. package/references/roles/implementer.md +67 -0
  395. package/references/roles/investigator.md +88 -0
  396. package/references/roles/orchestrator.md +66 -0
  397. package/references/roles/reviewer.md +103 -0
  398. package/references/stage-S0-triage.md +68 -0
  399. package/references/stage-S1-design.md +53 -0
  400. package/references/stage-S2-spec.md +135 -0
  401. package/references/stage-S3-plan.md +84 -0
  402. package/references/stage-S4-env-baseline.md +81 -0
  403. package/references/stage-S5-implement.md +139 -0
  404. package/references/stage-S6-verify-review.md +80 -0
  405. package/references/stage-S7-deliver.md +81 -0
  406. package/references/stage-S8-sync-archive.md +168 -0
  407. package/references/workflow-tree.md +98 -0
  408. package/scripts/cc-uninstall.js +123 -0
  409. package/scripts/embedding_client.py +44 -0
  410. package/scripts/install-claude-code.js +477 -0
  411. package/scripts/install.js +1592 -0
  412. package/scripts/llm_client.py +202 -0
  413. package/scripts/openspec_engine.py +707 -0
  414. package/scripts/sdd/review-package +65 -0
  415. package/scripts/sdd/sdd-workspace +108 -0
  416. package/scripts/sdd/task-brief +49 -0
  417. package/scripts/target-menu.js +125 -0
  418. package/scripts/workflow_check.py +1955 -0
  419. package/skill_entry.py +193 -0
  420. package/templates/bug-report.md +86 -0
  421. package/templates/minimal-contract.md +54 -0
  422. package/templates/plan-sections.md +190 -0
  423. package/templates/progress.md +89 -0
  424. package/templates/review-report.md +51 -0
  425. package/templates/task-report.md +84 -0
  426. package/vendor/skills/LICENSE +21 -0
  427. package/vendor/skills/PROVENANCE.md +79 -0
  428. package/vendor/skills/zes-brainstorming/SKILL.md +302 -0
  429. package/vendor/skills/zes-brainstorming/builder-check-prompt.md +23 -0
  430. package/vendor/skills/zes-code-review/SKILL.md +103 -0
  431. package/vendor/skills/zes-finishing/SKILL.md +233 -0
  432. package/vendor/skills/zes-openspec-apply-change/SKILL.md +206 -0
  433. package/vendor/skills/zes-openspec-archive-change/SKILL.md +221 -0
  434. package/vendor/skills/zes-openspec-explore/SKILL.md +356 -0
  435. package/vendor/skills/zes-openspec-propose/SKILL.md +175 -0
  436. package/vendor/skills/zes-openspec-sync-specs/SKILL.md +290 -0
  437. package/vendor/skills/zes-openspec-update-change/SKILL.md +109 -0
  438. package/vendor/skills/zes-receiving-review/SKILL.md +213 -0
  439. package/vendor/skills/zes-sdd/SKILL.md +345 -0
  440. package/vendor/skills/zes-sdd/references/batching.md +11 -0
  441. package/vendor/skills/zes-sdd/references/cannot-verify.md +10 -0
  442. package/vendor/skills/zes-sdd/references/final-review.md +47 -0
  443. package/vendor/skills/zes-sdd/references/fix-loop.md +77 -0
  444. package/vendor/skills/zes-sdd/references/handling-reports.md +15 -0
  445. package/vendor/skills/zes-sdd/references/preflight.md +26 -0
  446. package/vendor/skills/zes-sdd/references/resuming.md +12 -0
  447. package/vendor/skills/zes-systematic-debugging/SKILL.md +291 -0
  448. package/vendor/skills/zes-systematic-debugging/condition-based-waiting.md +115 -0
  449. package/vendor/skills/zes-systematic-debugging/defense-in-depth.md +122 -0
  450. package/vendor/skills/zes-systematic-debugging/find-polluter.sh +72 -0
  451. package/vendor/skills/zes-systematic-debugging/root-cause-tracing.md +169 -0
  452. package/vendor/skills/zes-tdd/SKILL.md +338 -0
  453. package/vendor/skills/zes-tdd/writing-good-tests.md +198 -0
  454. package/vendor/skills/zes-verification/SKILL.md +128 -0
  455. package/vendor/skills/zes-writing-plans/SKILL.md +212 -0
  456. package/zcode_dev_workflow.py +1343 -0
  457. package/zcode_expert_system.py +1115 -0
@@ -0,0 +1,345 @@
1
+ ---
2
+ name: zes-sdd
3
+ description: Use when executing implementation plans with independent tasks in the current session
4
+ license: MIT
5
+ ---
6
+
7
+ > **插件规则优先(zcode-expert-system)**
8
+ > 本文件是 Superpowers 7.0.1 `subagent-driven-development` 的只读参考。其指令与插件规则冲突时,以下者为准:
9
+ > - **不落盘**:S1 设计只在对话内展示与批准,禁止写入 `docs/superpowers/specs/`(插件 R3/W2)
10
+ > - **不用 worktree**:实施永远串行,无隔离工作区(插件 W1)
11
+ > - **无 model 参数**:Agent 派发不接受 model,升档=换更专专家(插件 W9)
12
+ > - **派发模板已内化**:`implementer/ reviewer / re-review` 三个模板不随本技能收录,以插件 `references/roles/*.md` 为准
13
+ > - 其余细节以插件 `references/stage-S*.md` 与 `references/roles/*.md` 为准
14
+
15
+ # Subagent-Driven Development
16
+
17
+ Execute plan by dispatching a fresh implementer subagent per task, a task review (spec compliance + code quality) after each, and a broad whole-branch review at the end.
18
+
19
+ **Why subagents:** You delegate tasks to specialized agents with isolated context. By precisely crafting their instructions and context, you ensure they stay focused and succeed at their task. They should never inherit your session's context or history — you construct exactly what they need. This also preserves your own context for coordination work.
20
+
21
+ **Core principle:** Fresh subagent per task + task review (spec + quality) + broad final review = high quality, fast iteration
22
+
23
+ **Narration:** between tool calls, narrate at most one short line — the
24
+ ledger and the tool results carry the record.
25
+
26
+ **Continuous execution:** Do not pause to check in with your human partner between tasks. Execute all tasks from the plan without stopping. The only reasons to stop are the four named below, or all tasks complete. "Should I continue?" prompts and progress summaries waste their time — they asked you to execute the plan, so execute it.
27
+
28
+ **Rulings, not stalls.** A running plan does not wait on a human. Conflicts,
29
+ ambiguities, plan defects, a cap you would have asked to exceed — decide
30
+ them. The spec is the binding authority, the plan is its argument, and your
31
+ judgment settles what neither answers. Record every decision in the ledger as
32
+ `Ruling: <what you decided> — <why> — <what it costs if wrong>`, and keep
33
+ going. A wrong ruling costs rework your human partner can see and undo; a
34
+ session parked on a question costs their whole day and buys nothing.
35
+
36
+ Four things stop you, and only these: an irreversible or destructive
37
+ operation; a security-sensitive action; a side effect outside this worktree
38
+ that norms say you ask about first (a merge, a push to a shared branch, a
39
+ publish); and a plan so broken that every path forward is a guess. For those,
40
+ stop and ask.
41
+
42
+ ## When to Use
43
+
44
+ ```dot
45
+ digraph when_to_use {
46
+ "Have implementation plan?" [shape=diamond];
47
+ "Tasks mostly independent?" [shape=diamond];
48
+ "Partner chose inline, or no subagent tool?" [shape=diamond];
49
+ "subagent-driven-development" [shape=box];
50
+ "executing-plans" [shape=box];
51
+ "Manual execution or brainstorm first" [shape=box];
52
+
53
+ "Have implementation plan?" -> "Tasks mostly independent?" [label="yes"];
54
+ "Have implementation plan?" -> "Manual execution or brainstorm first" [label="no"];
55
+ "Tasks mostly independent?" -> "Partner chose inline, or no subagent tool?" [label="yes"];
56
+ "Tasks mostly independent?" -> "Manual execution or brainstorm first" [label="no - tightly coupled"];
57
+ "Partner chose inline, or no subagent tool?" -> "executing-plans" [label="yes"];
58
+ "Partner chose inline, or no subagent tool?" -> "subagent-driven-development" [label="no"];
59
+ }
60
+ ```
61
+
62
+ **vs. Executing Plans (inline):**
63
+ - Fresh subagent per task (no context pollution) instead of one context doing every task
64
+ - Review after each task (spec compliance + code quality) instead of only at the end
65
+ - Costs a fresh context per task and per review; inline costs one context plus one final reviewer
66
+ - Both run in this session, share the same plan workspace and ledger, and never pause between tasks
67
+
68
+ ## The Process
69
+
70
+ ```dot
71
+ digraph process {
72
+ rankdir=TB;
73
+
74
+ subgraph cluster_per_task {
75
+ label="Per Task";
76
+ "Dispatch implementer subagent (./implementer-prompt.md)" [shape=box];
77
+ "Implementer asks questions?" [shape=diamond];
78
+ "Answer questions, provide context" [shape=box];
79
+ "Implementer implements, tests, commits, self-reviews" [shape=box];
80
+ "Generate review package, dispatch task reviewer (./task-reviewer-prompt.md)" [shape=box];
81
+ "Spec ✅ and quality approved?" [shape=diamond];
82
+ "Fix loop: read references/fix-loop.md before every round" [shape=box];
83
+ "Append completion to ledger, mark todo complete" [shape=box];
84
+ }
85
+
86
+ "Setup: worktree, ledger check, read plan, pre-flight review" [shape=box];
87
+ "More tasks remain?" [shape=diamond];
88
+ "Final review and finish: read references/final-review.md" [shape=box];
89
+ "Final review clean: delete this plan's workspace" [shape=box];
90
+ "Use superpowers:finishing-a-development-branch" [shape=box style=filled fillcolor=lightgreen];
91
+
92
+ "Setup: worktree, ledger check, read plan, pre-flight review" -> "Dispatch implementer subagent (./implementer-prompt.md)";
93
+ "Dispatch implementer subagent (./implementer-prompt.md)" -> "Implementer asks questions?";
94
+ "Implementer asks questions?" -> "Answer questions, provide context" [label="yes"];
95
+ "Answer questions, provide context" -> "Implementer implements, tests, commits, self-reviews";
96
+ "Implementer asks questions?" -> "Implementer implements, tests, commits, self-reviews" [label="no"];
97
+ "Implementer implements, tests, commits, self-reviews" -> "Generate review package, dispatch task reviewer (./task-reviewer-prompt.md)";
98
+ "Generate review package, dispatch task reviewer (./task-reviewer-prompt.md)" -> "Spec ✅ and quality approved?";
99
+ "Spec ✅ and quality approved?" -> "Append completion to ledger, mark todo complete" [label="yes"];
100
+ "Spec ✅ and quality approved?" -> "Fix loop: read references/fix-loop.md before every round" [label="no"];
101
+ "Fix loop: read references/fix-loop.md before every round" -> "Append completion to ledger, mark todo complete" [label="addressed, or parked at the cap"];
102
+ "Append completion to ledger, mark todo complete" -> "More tasks remain?";
103
+ "More tasks remain?" -> "Dispatch implementer subagent (./implementer-prompt.md)" [label="yes"];
104
+ "More tasks remain?" -> "Final review and finish: read references/final-review.md" [label="no"];
105
+ "Final review and finish: read references/final-review.md" -> "Final review clean: delete this plan's workspace";
106
+ "Final review clean: delete this plan's workspace" -> "Use superpowers:finishing-a-development-branch";
107
+ }
108
+ ```
109
+
110
+ ## Setup
111
+
112
+ Ensure the work happens in an isolated workspace: use
113
+ superpowers:using-git-worktrees to create one or verify the existing one.
114
+ Never start implementation on a main/master branch without your human
115
+ partner's explicit consent.
116
+
117
+ Conversation memory does not survive compaction. In real sessions,
118
+ controllers that lost their place have re-dispatched entire completed task
119
+ sequences — the single most expensive failure observed. Track progress in
120
+ a ledger file, not only in todos.
121
+
122
+ - Each plan owns a workspace: at skill start, run this skill's
123
+ `bash scripts/sdd-workspace PLAN_FILE` — it prints the plan's git-ignored
124
+ directory (under `<repo-root>/.superpowers/sdd/`), home to
125
+ every artifact for THIS plan: ledger, briefs, reports, review packages.
126
+ Another plan's directory is never yours to read or write.
127
+ - Check for this plan's ledger at `<workspace>/progress.md`. If one exists,
128
+ read [references/resuming.md](references/resuming.md) before anything
129
+ else: it says whose ledger it is and where to resume.
130
+ - Create the ledger with its identity as the first line:
131
+ `# SDD ledger — plan: <plan file path>`.
132
+ - The ledger is your recovery map: the commits it names exist in git even
133
+ when your context no longer remembers creating them. After compaction,
134
+ trust the ledger and `git log` over your own recollection.
135
+ - `git clean -fdx` will destroy the workspace (it's git-ignored scratch); if
136
+ that happens, recover from `git log`.
137
+
138
+ Read the plan once, note its context and Global Constraints, and create a
139
+ todo per task. If the plan names a Spec, read that too: the spec is the
140
+ authority the plan argues from, and conflicts inside the plan resolve
141
+ against it. A plan with no reachable spec gets a ledger note saying so —
142
+ rulings made without one are provisional.
143
+
144
+ Before dispatching Task 1, read [references/preflight.md](references/preflight.md)
145
+ and run the conflict scan it describes. Its table and rulings go in the
146
+ ledger.
147
+
148
+ ## Model Selection
149
+
150
+ Use the least powerful model that can handle each role to conserve cost and increase speed.
151
+
152
+ **Mechanical implementation tasks** (isolated functions, clear specs, 1-2 files): use a fast, cheap model. Most implementation tasks are mechanical when the plan is well-specified.
153
+
154
+ **Integration and judgment tasks** (multi-file coordination, pattern matching, debugging): use a standard model.
155
+
156
+ **Architecture and design tasks**: use the most capable available model.
157
+ The final whole-branch review is one of these — dispatch it on the most
158
+ capable available model, not the session default.
159
+
160
+ **Review tasks**: choose the model with the same judgment, scaled to the
161
+ diff's size, complexity, and risk. A small mechanical diff does not need the
162
+ most capable model; a subtle concurrency change does. Scoped re-reviews of
163
+ small fix diffs take a cheap-to-mid tier.
164
+
165
+ **Fix-loop escalation (rounds 4-5)**: use a model at least one tier above
166
+ the implementer that got stuck.
167
+
168
+ **Always specify the model explicitly when dispatching a subagent.** An
169
+ omitted model inherits your session's model — often the most capable and
170
+ most expensive — which silently defeats this section.
171
+
172
+ **Turn count beats token price.** Wall-clock and context cost scale with how
173
+ many turns a subagent takes, and the cheapest models routinely take 2-3× the
174
+ turns on multi-step work — costing more overall. Use a mid-tier model as the
175
+ floor for reviewers and for implementers working from prose descriptions.
176
+ When the task's plan text contains the complete code to write, the
177
+ implementation is transcription plus testing: use the cheapest tier for
178
+ that implementer. Single-file mechanical fixes also take the cheapest tier.
179
+
180
+ **Task complexity signals (implementation tasks):**
181
+ - Touches 1-2 files with a complete spec → cheap model
182
+ - Touches multiple files with integration concerns → standard model
183
+ - Requires design judgment or broad codebase understanding → most capable model
184
+
185
+ ## The Task Loop
186
+
187
+ **Small same-shape work:** when the plan lists several small edits of the
188
+ same kind across files, read [references/batching.md](references/batching.md)
189
+ before dispatching them.
190
+
191
+ Everything you paste into a dispatch prompt — and everything a subagent
192
+ prints back — stays resident in your context for the rest of the session
193
+ and is re-read on every later turn. Hand artifacts over as files.
194
+
195
+ **Waiting on dispatched subagents:** never poll a wait interface with
196
+ short timeouts, and never sit in one silent, open-ended wait either.
197
+ While you have local work — ledger updates, packaging the next review,
198
+ reading reports — keep working; child results arrive on their own.
199
+ When you are genuinely idle, wait in bounded stretches (five to ten
200
+ minutes, where your platform allows), and between stretches post one
201
+ line of status and reconcile your live children: list them, and chase
202
+ any that finished without reporting. A bounded stretch keeps nearly
203
+ all of a long wait's efficiency while guaranteeing a stuck or lost
204
+ child is noticed within minutes, not at the end of the session.
205
+
206
+ ### 1. Dispatch the implementer
207
+
208
+ Record BASE (`git rev-parse HEAD`) before dispatching — the review package
209
+ and fix-round diffs need it.
210
+
211
+ - **Task brief:** before dispatching an implementer, run this skill's
212
+ `bash scripts/task-brief PLAN_FILE N` — it extracts the task's full text to a
213
+ uniquely named file and prints the path. Compose the dispatch so the
214
+ brief stays the single source of
215
+ requirements. Your dispatch should contain: (1) one line on where this
216
+ task fits in the project; (2) the brief path, introduced as "read this
217
+ first — it is your requirements, with the exact values to use verbatim";
218
+ (3) interfaces and decisions from earlier tasks that the brief cannot
219
+ know; (4) your resolution of any ambiguity you noticed in the brief;
220
+ (5) the report-file path and report contract. Exact values (numbers,
221
+ magic strings, signatures, test cases) appear only in the brief. Never
222
+ make a subagent read the whole plan file.
223
+ - **Report file:** name the implementer's report file after the brief
224
+ (brief `…/task-N-brief.md` → report `…/task-N-report.md`) and put it in
225
+ the dispatch prompt. The implementer writes the full report there and
226
+ returns only status, commits, a one-line test summary, and concerns.
227
+ - A dispatch prompt describes one task, not the session's history. Do not
228
+ paste accumulated prior-task summaries ("state after Tasks 1-3") into
229
+ later dispatches — a real session's dispatch hit 42k chars of which 99%
230
+ was pasted history. A fresh subagent needs its task, the interfaces it
231
+ touches, and the global constraints. Nothing else.
232
+ - The dispatch carries the no-subagents contract (it is in the
233
+ implementer template): the implementer never dispatches subagents —
234
+ not helpers, and never a reviewer. Review arrives from you, after the
235
+ report. In real sessions, every reviewer a worker spawned duplicated
236
+ the task review the controller dispatched anyway — a full extra
237
+ review seat per task.
238
+ - If an earlier task parked a finding in the area this task touches, carry
239
+ a pointer to that ledger entry in the dispatch.
240
+ - Record the implementer's agent identity from the dispatch result —
241
+ fix-loop rounds 1-3 resume this agent.
242
+ - Never dispatch multiple implementation subagents in parallel (conflicts).
243
+
244
+ Template: [implementer-prompt.md](implementer-prompt.md)
245
+
246
+ ### 2. Handle the report
247
+
248
+ Implementer subagents report one of four statuses. Handle each appropriately:
249
+
250
+ **DONE:** Generate the review package (`bash scripts/review-package PLAN_FILE BASE HEAD`, from this skill's directory — it prints the unique file path it wrote; BASE is the commit you recorded before dispatching the implementer — never `HEAD~1`, which silently drops all but the last commit of a multi-commit task), then dispatch the task reviewer with the printed path.
251
+
252
+ **Any other status** (DONE_WITH_CONCERNS, NEEDS_CONTEXT, BLOCKED): read
253
+ [references/handling-reports.md](references/handling-reports.md) and follow
254
+ it, every time you get one.
255
+
256
+ If the implementer asks questions — before starting or mid-task — answer
257
+ clearly and completely, provide additional context if needed, and don't
258
+ rush it into implementation.
259
+
260
+ ### 3. Review the task
261
+
262
+ Per-task reviews are task-scoped gates. The broad review happens once, at the
263
+ final whole-branch review. Never skip the task review, and never accept a
264
+ report missing either verdict — spec compliance AND task quality are both
265
+ required. Implementer self-review never replaces the task review; both are
266
+ needed.
267
+
268
+ - Hand the reviewer its diff as a file: run this skill's
269
+ `bash scripts/review-package PLAN_FILE BASE HEAD` and pass the reviewer the file path
270
+ it prints (or, without bash: `git log --oneline`, `git diff --stat`,
271
+ and `git diff -U10` for the range, redirected to one uniquely named
272
+ file). The output never enters your own context, and the reviewer sees
273
+ the commit list, stat summary, and full diff with context in one Read
274
+ call. Use the BASE you recorded before dispatching the implementer —
275
+ never `HEAD~1`, which silently truncates multi-commit tasks. Never
276
+ dispatch a task reviewer without a diff file.
277
+ - **Reviewer inputs:** the task reviewer gets three paths — the same brief
278
+ file, the report file, and the review package — plus the global
279
+ constraints that bind the task.
280
+ - The global-constraints block you hand the reviewer is its attention
281
+ lens. Copy the binding requirements verbatim from the plan's Global
282
+ Constraints section or the spec: exact values, exact formats, and the
283
+ stated relationships between components ("same layout as X", "matches
284
+ Y"). The reviewer's template already carries the process rules (YAGNI,
285
+ test hygiene, review method) — the constraints block is for what THIS
286
+ project's spec demands.
287
+ - Do not add open-ended directives like "check all uses" or "run race tests
288
+ if useful" without a concrete, task-specific reason
289
+ - Do not ask a reviewer to re-run tests the implementer already ran on the
290
+ same code — the implementer's report carries the test evidence
291
+ - Do not pre-judge findings for the reviewer — never instruct a reviewer to
292
+ ignore or not flag a specific issue. If you believe a finding would be a
293
+ false positive, let the reviewer raise it and adjudicate it in the review
294
+ loop. If the prompt you are writing contains "do not flag," "don't treat X
295
+ as a defect," "at most Minor," or "the plan chose" — stop: you are
296
+ pre-judging, usually to spare yourself a review loop.
297
+ If the reviewer reports "⚠️ Cannot verify from diff" items, read
298
+ [references/cannot-verify.md](references/cannot-verify.md) before you mark
299
+ the task complete.
300
+
301
+ Template: [task-reviewer-prompt.md](task-reviewer-prompt.md)
302
+
303
+ ### 4. The fix loop
304
+
305
+ The loop triggers when the review reports spec ❌, any Critical or Important
306
+ finding, or a ⚠️ item you confirmed as a real gap.
307
+
308
+ When it triggers, read [references/fix-loop.md](references/fix-loop.md) and
309
+ follow it. Read it again before every round, even if you read it earlier in
310
+ this session: it holds the round cap, the breaker, and the ledger line each
311
+ round writes, and your memory of it does not survive compaction.
312
+
313
+ ### 5. Complete the task
314
+
315
+ When the review comes back clean — or every open finding is parked with a
316
+ ruling at the cap — append the completion line to the ledger in the same
317
+ message as your other bookkeeping:
318
+
319
+ - `Task <N>: complete (commits <base7>..<head7>, review clean)`
320
+ - `Task <N>: complete (commits <base7>..<head7>, <K> parked)` after a
321
+ tripped breaker
322
+
323
+ Then mark the todo complete and move on. Never move to the next task while
324
+ the review has open Critical/Important issues that are neither fixed nor
325
+ parked-with-ruling at the cap.
326
+
327
+ ## Final Review
328
+
329
+ When every task is complete, read
330
+ [references/final-review.md](references/final-review.md) and follow it. It
331
+ covers the whole-branch review, its single fix wave, and how you finish.
332
+
333
+ ## Common Rationalizations
334
+
335
+ | Excuse | Reality |
336
+ |--------|---------|
337
+ | "Close enough on spec compliance" | Reviewer found spec gaps = not done. Fix or hit the cap and adjudicate — those are the only exits. |
338
+ | "I'll fix it myself, dispatching is overhead" | Controller fixes pollute your context and skip review. Resume the implementer. |
339
+ | "One more round will converge" | Past the cap, rounds don't converge — the failure is structural. Adjudicate and route. |
340
+ | "The reviewer will just find something new anyway" | Scoped re-reviews verify fixes; they cannot wander. New findings on untouched code go to the ledger, not the loop. |
341
+ | "This finding is obviously wrong, I'll drop it" | You adjudicate only at the cap, and every ruling is a ledger entry. Silent discards are forbidden. |
342
+ | "The fix was small, skip the re-review" | Unreviewed fixes are how regressions land. Every round ends with a scoped re-review. |
343
+ | "Reviews slow the loop down" | The loop without reviews is just unverified churn. Reviews are the loop's brakes and steering. |
344
+ | "Ledger bookkeeping is overhead" | The ledger is what survives compaction. Controllers without one have re-dispatched entire completed task sequences. |
345
+ | "The implementer spawned its own reviewer — free extra assurance" | It's a duplicate seat reviewing the same diff; the task review is the gate. A worker-spawned reviewer is a defect to flag, not rigor. |
@@ -0,0 +1,11 @@
1
+ # Batching Small Same-Shape Work
2
+
3
+ Part of superpowers:subagent-driven-development.
4
+
5
+ **Batch small same-shape work.** When the plan lists several tasks that are
6
+ each a small, independent edit of the same kind — the same one-line fix,
7
+ constant change, or field addition repeated across files — do not dispatch
8
+ one subagent per task. Compose ONE dispatch brief listing every file and
9
+ its change, send the whole batch to a single subagent, and review its diff
10
+ as one unit. Reserve one-dispatch-per-task for work that needs its own
11
+ judgment, its own tests, or its own review surface.
@@ -0,0 +1,10 @@
1
+ # "Cannot Verify From Diff" Items
2
+
3
+ Part of superpowers:subagent-driven-development.
4
+
5
+ The task reviewer may report "⚠️ Cannot verify from diff" items — requirements
6
+ that live in unchanged code or span tasks. These do not block the rest of the
7
+ review, but you must resolve each one yourself before marking the task
8
+ complete: you hold the plan and cross-task context the reviewer
9
+ lacks. If you confirm an item is a real gap, treat it as a failed spec
10
+ review — it enters the fix loop with the other findings.
@@ -0,0 +1,47 @@
1
+ # Final Review and Finish
2
+
3
+ Part of superpowers:subagent-driven-development. Every task in the plan is
4
+ complete.
5
+
6
+ The final whole-branch review gets a package too: run
7
+ `bash scripts/review-package PLAN_FILE MERGE_BASE HEAD` (MERGE_BASE = the commit the
8
+ branch started from, e.g. `git merge-base main HEAD`) and include the
9
+ printed path in the final review dispatch, so the final reviewer reads
10
+ one file instead of re-deriving the branch diff with git commands. Dispatch
11
+ on the most capable available model (see SKILL.md's Model Selection), using
12
+ superpowers:requesting-code-review's
13
+ [code-reviewer.md](../../requesting-code-review/code-reviewer.md). Point it at
14
+ the ledger's deferred-minor and parked lines so it can triage which must be
15
+ fixed before merge.
16
+
17
+ If the final whole-branch review returns findings, dispatch ONE fix subagent
18
+ with the complete findings list — not one fixer per finding.
19
+ Per-finding fixers each rebuild context and re-run suites; a real
20
+ session's final-review fix wave cost more than all its tasks combined.
21
+ Then run exactly one scoped re-review of the fix wave
22
+ (`bash scripts/review-package PLAN_FILE FIX_BASE HEAD` over the fix range,
23
+ [re-review-prompt.md](../re-review-prompt.md)).
24
+ Adjudicate any residual findings as in the fix loop's breaker
25
+ (references/fix-loop.md): park with rulings, or rule on the load-bearing
26
+ ones and ledger what you decided. Only the four things that stop a running
27
+ plan (top of SKILL.md) stop you here. There is no second fix wave —
28
+ residual load-bearing findings surface to your human partner when
29
+ finishing-a-development-branch presents the options.
30
+
31
+ ### Finish
32
+
33
+ Before you delete anything, collect every ledger line containing `Ruling:` —
34
+ preflight rulings, parked findings, breaker adjudications, all of them — into
35
+ your final message under "Rulings I made", in the order you made them, each
36
+ with what it costs if wrong. The list is exhaustive: if the ledger holds a
37
+ ruling, the list holds it. That list is the only place the decisions you
38
+ took on your human partner's behalf reach them — they read it and rework
39
+ whatever you got wrong. A ruling that dies with the workspace was a decision
40
+ made in secret.
41
+
42
+ When the final whole-branch review is clean and its fixes are merged,
43
+ delete this plan's workspace (`rm -rf <workspace>`) — the git history is
44
+ the record now. Sibling directories belong to other plans; leave them
45
+ alone.
46
+
47
+ Use superpowers:finishing-a-development-branch.
@@ -0,0 +1,77 @@
1
+ # The Fix Loop
2
+
3
+ Part of superpowers:subagent-driven-development. The task review reported
4
+ spec ❌, a Critical or Important finding, or a ⚠️ item you confirmed as a real
5
+ gap.
6
+
7
+ Before the loop starts, two routes leave it immediately:
8
+
9
+ - Record Minor findings in the progress ledger as you go
10
+ (`Task <N>: minor (deferred): <one-liner>`), and point the final
11
+ whole-branch review at that list so it can triage which must be fixed
12
+ before merge. A roll-up nobody reads is a silent discard. Minor findings
13
+ never enter the loop.
14
+ - A finding labeled plan-mandated — or any finding that conflicts with
15
+ what the plan's text requires — is yours to rule on: weigh the finding
16
+ against the plan text, decide with the spec as the binding authority, and
17
+ ledger the ruling before you act on it. Do not dismiss the finding because
18
+ the plan mandates it, and do not dispatch a fix that contradicts the plan
19
+ without a recorded ruling.
20
+ Everything else enters the loop. A fix round is one fix dispatch plus one
21
+ scoped re-review. Five rounds maximum per task:
22
+
23
+ **Rounds 1-3 — resume the original implementer.** Send it the open findings
24
+ verbatim. Its context is intact: it knows the task, the code, and its own
25
+ choices. If your harness cannot send another message to a live subagent,
26
+ dispatch a fresh implementer carrying the brief path, the report-file path,
27
+ and the findings — the report file is the persistent memory either way.
28
+
29
+ **Rounds 4-5 — dispatch a fresh implementer on a more capable model** (per
30
+ SKILL.md's Model Selection), with the brief path, the report-file path, the open
31
+ findings, and this framing: "A prior implementer attempted this task
32
+ [N] times; you own it now. Read the report file for what was tried." A loop
33
+ that survives three resumes usually means the implementer cannot see its
34
+ own problem — fresh eyes and a capability bump in one move.
35
+
36
+ **Every round, either way:** the implementer fixes, re-runs the tests
37
+ covering the amended code, appends its fix report to the same report file,
38
+ and returns the short contract. Before re-dispatching the reviewer, confirm
39
+ the fix report contains the covering tests, the command run, and the
40
+ output; dispatch the re-review once all three are present. Name the
41
+ covering test files in the fix message — a one-line fix does not need the
42
+ whole suite.
43
+
44
+ **The re-review is scoped.** Run `bash scripts/review-package PLAN_FILE FIX_BASE HEAD`
45
+ where FIX_BASE is the head the previous review saw, and dispatch
46
+ [re-review-prompt.md](../re-review-prompt.md) with the findings list, the
47
+ brief, the report file, and the printed diff path. The re-reviewer verdicts
48
+ each finding ADDRESSED or NOT ADDRESSED and flags new breakage in the fix
49
+ diff only. New Critical/Important breakage in the fix diff joins the open
50
+ findings list. Out-of-scope observations go to the ledger as deferred
51
+ minors — they never extend the loop.
52
+
53
+ **After each round,** append to the ledger:
54
+ `Task <N>: fix round <R>/5 (<X> addressed, <Y> open — <finding one-liners>; commits <a7>..<b7>)`
55
+
56
+ Never fix findings yourself in the controller session — your context stays
57
+ clean for coordination, and controller fixes skip review.
58
+
59
+ **The breaker.** When round 5's re-review still leaves findings open, stop
60
+ dispatching. Adjudicate each open finding yourself — you hold the plan and
61
+ the cross-task context the reviewer lacks:
62
+
63
+ - **The reviewer is wrong, or the point is contestable:** park it —
64
+ `Task <N>: parked — <finding> — Ruling: <why the code stands>`. The final
65
+ review sees both sides.
66
+ - **Real, but nothing downstream builds on it:** park it the same way, with
67
+ a ruling that says it's real and deferred.
68
+ - **Real and load-bearing** — a later task builds on it, or it reveals a
69
+ plan defect: rule on the smallest change that unblocks the dependent work,
70
+ ledger it as `Task <N>: Ruling: <finding> — <what you decided and why>`,
71
+ and carry it into the next task's dispatch. Parking a structural failure
72
+ silently lets every dependent task build on it. Stop only when the defect
73
+ leaves every path forward a guess.
74
+
75
+ Adjudicate only at the cap. Adjudicating earlier to end a loop is
76
+ pre-judging with a different name. Every adjudication is a ledger entry —
77
+ a silent discard is forbidden.
@@ -0,0 +1,15 @@
1
+ # Handling a Report That Isn't DONE
2
+
3
+ Part of superpowers:subagent-driven-development.
4
+
5
+ **DONE_WITH_CONCERNS:** The implementer completed the work but flagged doubts. Read the concerns before proceeding. If the concerns are about correctness or scope, address them before review. If they're observations (e.g., "this file is getting large"), note them and proceed to review.
6
+
7
+ **NEEDS_CONTEXT:** The implementer needs information that wasn't provided. Provide the missing context and re-dispatch.
8
+
9
+ **BLOCKED:** The implementer cannot complete the task. Assess the blocker:
10
+ 1. If it's a context problem, provide more context and re-dispatch with the same model
11
+ 2. If the task requires more reasoning, re-dispatch with a more capable model
12
+ 3. If the task is too large, break it into smaller pieces
13
+ 4. If the plan itself is wrong, rule on the correction, ledger it, and re-dispatch with the ruling carried in the dispatch
14
+
15
+ **Never** ignore an escalation or force the same model to retry without changes. If the implementer said it's stuck, something needs to change.
@@ -0,0 +1,26 @@
1
+ # The Pre-flight Scan
2
+
3
+ Part of superpowers:subagent-driven-development. Run it once, before
4
+ dispatching Task 1.
5
+
6
+ Before dispatching Task 1, scan the plan once for conflicts, writing down
7
+ what you checked as you check it:
8
+
9
+ - tasks that contradict each other or the plan's Global Constraints
10
+ - anything the plan explicitly mandates that the review rubric treats as a
11
+ defect (a test that asserts nothing, verbatim duplication of a logic block)
12
+
13
+ The scan's output is a table, not a verdict. One row for every pair of tasks
14
+ that share a file or an interface: the two tasks, what one produces against
15
+ what the other consumes, and what you found. One row for every task: whether
16
+ its own text agrees with itself — the tests it specifies against the code it
17
+ specifies, the files it creates against the files it later touches. "The scan
18
+ is clean" without those rows is not a scan you ran.
19
+
20
+ Write the table to the ledger. Rule on everything you find before execution
21
+ begins — each finding against the plan text that mandates it — and record
22
+ each ruling in the ledger. If the scan is clean, proceed without comment.
23
+ Rule on each conflict it surfaces — the spec is the binding authority, the
24
+ plan is its argument — record the ruling beside its row, and dispatch
25
+ Task 1. The review loop remains the net for conflicts that only emerge from
26
+ implementation.
@@ -0,0 +1,12 @@
1
+ # Resuming From an Existing Ledger
2
+
3
+ Part of superpowers:subagent-driven-development. This plan's workspace
4
+ already has a ledger at `<workspace>/progress.md`.
5
+
6
+ If the ledger's first line names your plan file, tasks with a `Task <N>:
7
+ complete` line are DONE — do not re-dispatch them; resume at the first
8
+ task without one. A task whose last line is a fix round is mid-loop:
9
+ resume the loop at the next round. A ledger whose first line names a
10
+ different plan file — or a stray ledger at the old flat path
11
+ `.superpowers/sdd/progress.md` — is another plan's progress: leave it in
12
+ place and start your own, fresh.