@ngxtm/devkit 3.7.0 → 3.8.0

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 (769) hide show
  1. package/merged-commands/3d-web-experience.md +254 -0
  2. package/merged-commands/ab-test-setup.md +232 -0
  3. package/merged-commands/accessibility-compliance-accessibility-audit.md +42 -0
  4. package/merged-commands/active-directory-attacks.md +383 -0
  5. package/merged-commands/address-github-comments.md +55 -0
  6. package/merged-commands/aesthetic.md +134 -0
  7. package/merged-commands/agent-evaluation.md +64 -0
  8. package/merged-commands/agent-framework-azure-hosted-agents.md +332 -0
  9. package/merged-commands/agent-manager-skill.md +40 -0
  10. package/merged-commands/agent-memory-mcp.md +82 -0
  11. package/merged-commands/agent-memory-systems.md +67 -0
  12. package/merged-commands/agent-orchestration-improve-agent.md +349 -0
  13. package/merged-commands/agent-orchestration-multi-agent-optimize.md +239 -0
  14. package/merged-commands/agent-tool-builder.md +53 -0
  15. package/merged-commands/agile-product-owner.md +31 -0
  16. package/merged-commands/ai-agents-architect.md +90 -0
  17. package/merged-commands/ai-artist.md +75 -0
  18. package/merged-commands/ai-engineer.md +171 -0
  19. package/merged-commands/ai-multimodal.md +109 -0
  20. package/merged-commands/ai-product.md +54 -0
  21. package/merged-commands/ai-wrapper-product.md +273 -0
  22. package/merged-commands/airflow-dag-patterns.md +41 -0
  23. package/merged-commands/algolia-search.md +66 -0
  24. package/merged-commands/algorithmic-art.md +405 -0
  25. package/merged-commands/analytics-tracking.md +404 -0
  26. package/merged-commands/angular-architect.md +97 -0
  27. package/merged-commands/angular-migration.md +428 -0
  28. package/merged-commands/anti-reversing-techniques.md +42 -0
  29. package/merged-commands/api-design-principles.md +37 -0
  30. package/merged-commands/api-designer.md +101 -0
  31. package/merged-commands/api-documentation-generator.md +484 -0
  32. package/merged-commands/api-documenter.md +184 -0
  33. package/merged-commands/api-fuzzing-bug-bounty.md +433 -0
  34. package/merged-commands/api-patterns.md +81 -0
  35. package/merged-commands/api-security-best-practices.md +907 -0
  36. package/merged-commands/api-testing-observability-api-mock.md +46 -0
  37. package/merged-commands/app-builder.md +75 -0
  38. package/merged-commands/app-store-optimization.md +403 -0
  39. package/merged-commands/application-performance-performance-optimization.md +154 -0
  40. package/merged-commands/architect-review.md +174 -0
  41. package/merged-commands/architecture-decision-records.md +441 -0
  42. package/merged-commands/architecture-designer.md +89 -0
  43. package/merged-commands/architecture-patterns.md +37 -0
  44. package/merged-commands/architecture.md +55 -0
  45. package/merged-commands/arm-cortex-expert.md +306 -0
  46. package/merged-commands/artifacts-builder.md +74 -0
  47. package/merged-commands/ask-questions-if-underspecified.md +81 -0
  48. package/merged-commands/async-python-patterns.md +39 -0
  49. package/merged-commands/atlassian-mcp.md +100 -0
  50. package/merged-commands/attack-tree-construction.md +38 -0
  51. package/merged-commands/auth-implementation-patterns.md +39 -0
  52. package/merged-commands/automate-whatsapp.md +257 -0
  53. package/merged-commands/autonomous-agent-patterns.md +761 -0
  54. package/merged-commands/autonomous-agents.md +68 -0
  55. package/merged-commands/avalonia-layout-zafiro.md +59 -0
  56. package/merged-commands/avalonia-viewmodels-zafiro.md +29 -0
  57. package/merged-commands/avalonia-zafiro-development.md +29 -0
  58. package/merged-commands/aws-agentic-ai.md +117 -0
  59. package/merged-commands/aws-cdk-development.md +278 -0
  60. package/merged-commands/aws-cost-operations.md +317 -0
  61. package/merged-commands/aws-penetration-testing.md +405 -0
  62. package/merged-commands/aws-serverless-eda.md +757 -0
  63. package/merged-commands/aws-serverless.md +323 -0
  64. package/merged-commands/aws-skills.md +22 -0
  65. package/merged-commands/azd-deployment.md +296 -0
  66. package/merged-commands/azure-ai-agents-python.md +277 -0
  67. package/merged-commands/azure-ai-search-python.md +198 -0
  68. package/merged-commands/azure-ai-voicelive-skill.md +294 -0
  69. package/merged-commands/azure-functions.md +42 -0
  70. package/merged-commands/backend-architect.md +333 -0
  71. package/merged-commands/backend-dev-guidelines.md +342 -0
  72. package/merged-commands/backend-development-feature-development.md +180 -0
  73. package/merged-commands/backend-development.md +155 -0
  74. package/merged-commands/backend-security-coder.md +156 -0
  75. package/merged-commands/backtesting-frameworks.md +39 -0
  76. package/merged-commands/bash-defensive-patterns.md +43 -0
  77. package/merged-commands/bash-linux.md +199 -0
  78. package/merged-commands/bash-pro.md +310 -0
  79. package/merged-commands/bats-testing-patterns.md +34 -0
  80. package/merged-commands/bazel-build-optimization.md +397 -0
  81. package/merged-commands/beautiful-prose.md +22 -0
  82. package/merged-commands/behavioral-modes.md +242 -0
  83. package/merged-commands/best-practices.md +500 -0
  84. package/merged-commands/better-auth.md +204 -0
  85. package/merged-commands/billing-automation.md +42 -0
  86. package/merged-commands/binary-analysis-patterns.md +450 -0
  87. package/merged-commands/blockchain-developer.md +208 -0
  88. package/merged-commands/blockrun.md +292 -0
  89. package/merged-commands/brainstorming.md +230 -0
  90. package/merged-commands/brand-guidelines-anthropic.md +73 -0
  91. package/merged-commands/brand-guidelines-community.md +73 -0
  92. package/merged-commands/brand-guidelines.md +73 -0
  93. package/merged-commands/broken-authentication.md +476 -0
  94. package/merged-commands/browser-automation.md +70 -0
  95. package/merged-commands/browser-extension-builder.md +261 -0
  96. package/merged-commands/building-ai-agent-on-cloudflare.md +391 -0
  97. package/merged-commands/building-mcp-server-on-cloudflare.md +265 -0
  98. package/merged-commands/bullmq-specialist.md +57 -0
  99. package/merged-commands/bun-development.md +691 -0
  100. package/merged-commands/burp-suite-testing.md +380 -0
  101. package/merged-commands/business-analyst.md +182 -0
  102. package/merged-commands/busybox-on-windows.md +30 -0
  103. package/merged-commands/c-pro.md +56 -0
  104. package/merged-commands/c4-architecture-c4-architecture.md +389 -0
  105. package/merged-commands/c4-code.md +244 -0
  106. package/merged-commands/c4-component.md +153 -0
  107. package/merged-commands/c4-container.md +171 -0
  108. package/merged-commands/c4-context.md +150 -0
  109. package/merged-commands/canvas-design.md +130 -0
  110. package/merged-commands/cc-skill-backend-patterns.md +584 -0
  111. package/merged-commands/cc-skill-clickhouse-io.md +431 -0
  112. package/merged-commands/cc-skill-coding-standards.md +522 -0
  113. package/merged-commands/cc-skill-continuous-learning.md +10 -0
  114. package/merged-commands/cc-skill-frontend-patterns.md +633 -0
  115. package/merged-commands/cc-skill-project-guidelines-example.md +352 -0
  116. package/merged-commands/cc-skill-security-review.md +496 -0
  117. package/merged-commands/cc-skill-strategic-compact.md +10 -0
  118. package/merged-commands/changelog-automation.md +38 -0
  119. package/merged-commands/changelog-generator.md +104 -0
  120. package/merged-commands/chaos-engineer.md +98 -0
  121. package/merged-commands/chrome-devtools.md +407 -0
  122. package/merged-commands/cicd-automation-workflow-automate.md +51 -0
  123. package/merged-commands/clarity-gate.md +22 -0
  124. package/merged-commands/claude-ally-health.md +22 -0
  125. package/merged-commands/claude-code-guide.md +68 -0
  126. package/merged-commands/claude-d3js-skill.md +820 -0
  127. package/merged-commands/claude-scientific-skills.md +22 -0
  128. package/merged-commands/claude-speed-reader.md +22 -0
  129. package/merged-commands/claude-win11-speckit-update-skill.md +22 -0
  130. package/merged-commands/clean-code.md +201 -0
  131. package/merged-commands/clerk-auth.md +56 -0
  132. package/merged-commands/cli-developer.md +97 -0
  133. package/merged-commands/cloud-architect.md +135 -0
  134. package/merged-commands/cloud-penetration-testing.md +501 -0
  135. package/merged-commands/cloudflare-expert.md +227 -0
  136. package/merged-commands/code-documentation-code-explain.md +46 -0
  137. package/merged-commands/code-documentation-doc-generate.md +48 -0
  138. package/merged-commands/code-documentation.md +263 -0
  139. package/merged-commands/code-documenter.md +95 -0
  140. package/merged-commands/code-refactoring-context-restore.md +179 -0
  141. package/merged-commands/code-refactoring-refactor-clean.md +51 -0
  142. package/merged-commands/code-refactoring-tech-debt.md +386 -0
  143. package/merged-commands/code-refactoring.md +209 -0
  144. package/merged-commands/code-review-ai-ai-review.md +450 -0
  145. package/merged-commands/code-review-checklist.md +444 -0
  146. package/merged-commands/code-review-excellence.md +40 -0
  147. package/merged-commands/code-review.md +121 -0
  148. package/merged-commands/code-reviewer.md +178 -0
  149. package/merged-commands/codebase-cleanup-deps-audit.md +51 -0
  150. package/merged-commands/codebase-cleanup-refactor-clean.md +51 -0
  151. package/merged-commands/codebase-cleanup-tech-debt.md +386 -0
  152. package/merged-commands/codex-review.md +37 -0
  153. package/merged-commands/commit.md +171 -0
  154. package/merged-commands/competitive-ads-extractor.md +293 -0
  155. package/merged-commands/competitive-landscape.md +34 -0
  156. package/merged-commands/competitor-alternatives.md +750 -0
  157. package/merged-commands/comprehensive-review-full-review.md +146 -0
  158. package/merged-commands/comprehensive-review-pr-enhance.md +46 -0
  159. package/merged-commands/computer-use-agents.md +315 -0
  160. package/merged-commands/concise-planning.md +62 -0
  161. package/merged-commands/conductor-implement.md +388 -0
  162. package/merged-commands/conductor-manage.md +39 -0
  163. package/merged-commands/conductor-new-track.md +433 -0
  164. package/merged-commands/conductor-revert.md +372 -0
  165. package/merged-commands/conductor-setup.md +426 -0
  166. package/merged-commands/conductor-status.md +338 -0
  167. package/merged-commands/conductor-validator.md +62 -0
  168. package/merged-commands/content-creator.md +248 -0
  169. package/merged-commands/content-marketer.md +170 -0
  170. package/merged-commands/content-research-writer.md +538 -0
  171. package/merged-commands/context-compression.md +266 -0
  172. package/merged-commands/context-degradation.md +238 -0
  173. package/merged-commands/context-driven-development.md +400 -0
  174. package/merged-commands/context-engineering.md +107 -0
  175. package/merged-commands/context-fundamentals.md +192 -0
  176. package/merged-commands/context-management-context-restore.md +179 -0
  177. package/merged-commands/context-management-context-save.md +177 -0
  178. package/merged-commands/context-manager.md +185 -0
  179. package/merged-commands/context-optimization.md +186 -0
  180. package/merged-commands/context-window-management.md +53 -0
  181. package/merged-commands/context7-auto-research.md +36 -0
  182. package/merged-commands/conversation-memory.md +61 -0
  183. package/merged-commands/copy-editing.md +439 -0
  184. package/merged-commands/copywriting.md +225 -0
  185. package/merged-commands/core-components.md +264 -0
  186. package/merged-commands/cosmos-db-python-skill.md +198 -0
  187. package/merged-commands/cost-optimization.md +286 -0
  188. package/merged-commands/cpp-pro.md +59 -0
  189. package/merged-commands/cqrs-implementation.md +35 -0
  190. package/merged-commands/create-pr.md +192 -0
  191. package/merged-commands/crewai.md +243 -0
  192. package/merged-commands/csharp-developer.md +94 -0
  193. package/merged-commands/csharp-pro.md +59 -0
  194. package/merged-commands/culture-index.md +43 -0
  195. package/merged-commands/customer-support.md +170 -0
  196. package/merged-commands/daily-news-report.md +356 -0
  197. package/merged-commands/data-engineer.md +224 -0
  198. package/merged-commands/data-engineering-data-driven-feature.md +182 -0
  199. package/merged-commands/data-engineering-data-pipeline.md +201 -0
  200. package/merged-commands/data-quality-frameworks.md +40 -0
  201. package/merged-commands/data-scientist.md +199 -0
  202. package/merged-commands/data-storytelling.md +465 -0
  203. package/merged-commands/database-admin.md +165 -0
  204. package/merged-commands/database-architect.md +268 -0
  205. package/merged-commands/database-cloud-optimization-cost-optimize.md +44 -0
  206. package/merged-commands/database-design.md +52 -0
  207. package/merged-commands/database-migration.md +436 -0
  208. package/merged-commands/database-migrations-migration-observability.md +420 -0
  209. package/merged-commands/database-migrations-sql-migrations.md +53 -0
  210. package/merged-commands/database-optimizer.md +167 -0
  211. package/merged-commands/databases.md +232 -0
  212. package/merged-commands/dbt-transformation-patterns.md +34 -0
  213. package/merged-commands/debugger.md +49 -0
  214. package/merged-commands/debugging-strategies.md +34 -0
  215. package/merged-commands/debugging-toolkit-smart-debug.md +197 -0
  216. package/merged-commands/debugging-wizard.md +93 -0
  217. package/merged-commands/debugging.md +84 -0
  218. package/merged-commands/deep-research.md +114 -0
  219. package/merged-commands/defi-protocol-templates.md +466 -0
  220. package/merged-commands/dependency-management-deps-audit.md +44 -0
  221. package/merged-commands/dependency-upgrade.md +421 -0
  222. package/merged-commands/deployment-engineer.md +170 -0
  223. package/merged-commands/deployment-pipeline-design.md +371 -0
  224. package/merged-commands/deployment-procedures.md +241 -0
  225. package/merged-commands/deployment-validation-config-validate.md +496 -0
  226. package/merged-commands/design-md.md +178 -0
  227. package/merged-commands/design-orchestration.md +167 -0
  228. package/merged-commands/developer-growth-analysis.md +322 -0
  229. package/merged-commands/devops-engineer.md +92 -0
  230. package/merged-commands/devops-troubleshooter.md +161 -0
  231. package/merged-commands/devops.md +285 -0
  232. package/merged-commands/discord-bot-architect.md +277 -0
  233. package/merged-commands/dispatching-parallel-agents.md +180 -0
  234. package/merged-commands/distributed-debugging-debug-trace.md +44 -0
  235. package/merged-commands/distributed-tracing.md +450 -0
  236. package/merged-commands/django-expert.md +89 -0
  237. package/merged-commands/django-pro.md +180 -0
  238. package/merged-commands/doc-coauthoring.md +375 -0
  239. package/merged-commands/docker-expert.md +409 -0
  240. package/merged-commands/docs-architect.md +98 -0
  241. package/merged-commands/docs-seeker.md +102 -0
  242. package/merged-commands/documentation-generation-doc-generate.md +48 -0
  243. package/merged-commands/documentation-templates.md +194 -0
  244. package/merged-commands/docx-official.md +197 -0
  245. package/merged-commands/docx.md +197 -0
  246. package/merged-commands/domain-name-brainstormer.md +212 -0
  247. package/merged-commands/dotnet-architect.md +197 -0
  248. package/merged-commands/dotnet-backend-patterns.md +37 -0
  249. package/merged-commands/dotnet-core-expert.md +96 -0
  250. package/merged-commands/dx-optimizer.md +83 -0
  251. package/merged-commands/e2e-testing-patterns.md +41 -0
  252. package/merged-commands/elixir-pro.md +59 -0
  253. package/merged-commands/email-sequence.md +925 -0
  254. package/merged-commands/email-systems.md +54 -0
  255. package/merged-commands/embedded-systems.md +98 -0
  256. package/merged-commands/embedding-strategies.md +491 -0
  257. package/merged-commands/employment-contract-templates.md +39 -0
  258. package/merged-commands/environment-setup-guide.md +479 -0
  259. package/merged-commands/error-debugging-error-analysis.md +47 -0
  260. package/merged-commands/error-debugging-error-trace.md +43 -0
  261. package/merged-commands/error-debugging-multi-agent-review.md +216 -0
  262. package/merged-commands/error-detective.md +53 -0
  263. package/merged-commands/error-diagnostics-error-analysis.md +47 -0
  264. package/merged-commands/error-diagnostics-error-trace.md +48 -0
  265. package/merged-commands/error-diagnostics-smart-debug.md +197 -0
  266. package/merged-commands/error-handling-patterns.md +35 -0
  267. package/merged-commands/ethical-hacking-methodology.md +466 -0
  268. package/merged-commands/evaluation.md +238 -0
  269. package/merged-commands/event-sourcing-architect.md +58 -0
  270. package/merged-commands/event-store-design.md +449 -0
  271. package/merged-commands/exa-search.md +36 -0
  272. package/merged-commands/executing-plans.md +76 -0
  273. package/merged-commands/expo-app-design.md +22 -0
  274. package/merged-commands/expo-deployment.md +72 -0
  275. package/merged-commands/fal-audio.md +22 -0
  276. package/merged-commands/fal-generate.md +22 -0
  277. package/merged-commands/fal-image-edit.md +22 -0
  278. package/merged-commands/fal-platform.md +22 -0
  279. package/merged-commands/fal-upscale.md +22 -0
  280. package/merged-commands/fal-workflow.md +22 -0
  281. package/merged-commands/fastapi-expert.md +93 -0
  282. package/merged-commands/fastapi-pro.md +192 -0
  283. package/merged-commands/fastapi-router.md +52 -0
  284. package/merged-commands/fastapi-templates.md +32 -0
  285. package/merged-commands/feature-forge.md +90 -0
  286. package/merged-commands/ffuf-claude-skill.md +22 -0
  287. package/merged-commands/file-organizer.md +250 -0
  288. package/merged-commands/file-path-traversal.md +486 -0
  289. package/merged-commands/file-uploads.md +22 -0
  290. package/merged-commands/find-bugs.md +86 -0
  291. package/merged-commands/fine-tuning-expert.md +98 -0
  292. package/merged-commands/finishing-a-development-branch.md +200 -0
  293. package/merged-commands/firebase.md +56 -0
  294. package/merged-commands/firecrawl-scraper.md +37 -0
  295. package/merged-commands/firmware-analyst.md +320 -0
  296. package/merged-commands/fix-review.md +53 -0
  297. package/merged-commands/fixing.md +72 -0
  298. package/merged-commands/flutter-expert.md +200 -0
  299. package/merged-commands/form-cro.md +441 -0
  300. package/merged-commands/foundry-iq-agent.md +15 -0
  301. package/merged-commands/foundry-iq-python.md +275 -0
  302. package/merged-commands/foundry-nextgen-frontend.md +555 -0
  303. package/merged-commands/foundry-sdk-python.md +290 -0
  304. package/merged-commands/fp-ts-errors.md +856 -0
  305. package/merged-commands/fp-ts-pragmatic.md +598 -0
  306. package/merged-commands/fp-ts-react.md +796 -0
  307. package/merged-commands/framework-migration-code-migrate.md +48 -0
  308. package/merged-commands/framework-migration-deps-upgrade.md +48 -0
  309. package/merged-commands/framework-migration-legacy-modernize.md +132 -0
  310. package/merged-commands/free-tool-strategy.md +576 -0
  311. package/merged-commands/frontend-design.md +272 -0
  312. package/merged-commands/frontend-dev-guidelines.md +359 -0
  313. package/merged-commands/frontend-developer.md +171 -0
  314. package/merged-commands/frontend-development.md +399 -0
  315. package/merged-commands/frontend-mobile-development-component-scaffold.md +403 -0
  316. package/merged-commands/frontend-mobile-security-xss-scan.md +322 -0
  317. package/merged-commands/frontend-security-coder.md +170 -0
  318. package/merged-commands/frontend-slides.md +770 -0
  319. package/merged-commands/full-stack-orchestration-full-stack-feature.md +135 -0
  320. package/merged-commands/fullstack-guardian.md +99 -0
  321. package/merged-commands/game-developer.md +94 -0
  322. package/merged-commands/game-development.md +167 -0
  323. package/merged-commands/gcp-cloud-run.md +288 -0
  324. package/merged-commands/gdpr-data-handling.md +33 -0
  325. package/merged-commands/geo-fundamentals.md +156 -0
  326. package/merged-commands/git-advanced-workflows.md +412 -0
  327. package/merged-commands/git-pr-workflows-git-workflow.md +140 -0
  328. package/merged-commands/git-pr-workflows-onboard.md +416 -0
  329. package/merged-commands/git-pr-workflows-pr-enhance.md +48 -0
  330. package/merged-commands/git-pushing.md +33 -0
  331. package/merged-commands/github-actions-templates.md +345 -0
  332. package/merged-commands/github-workflow-automation.md +846 -0
  333. package/merged-commands/gitlab-ci-patterns.md +283 -0
  334. package/merged-commands/gitops-workflow.md +303 -0
  335. package/merged-commands/go-concurrency-patterns.md +33 -0
  336. package/merged-commands/godot-gdscript-patterns.md +33 -0
  337. package/merged-commands/golang-pro.md +179 -0
  338. package/merged-commands/google-adk-python.md +243 -0
  339. package/merged-commands/grafana-dashboards.md +381 -0
  340. package/merged-commands/graphql-architect.md +182 -0
  341. package/merged-commands/graphql.md +68 -0
  342. package/merged-commands/haskell-pro.md +56 -0
  343. package/merged-commands/helm-chart-scaffolding.md +34 -0
  344. package/merged-commands/hr-pro.md +126 -0
  345. package/merged-commands/html-injection-testing.md +498 -0
  346. package/merged-commands/hubspot-integration.md +42 -0
  347. package/merged-commands/hugging-face-cli.md +198 -0
  348. package/merged-commands/hugging-face-jobs.md +1038 -0
  349. package/merged-commands/hybrid-cloud-architect.md +168 -0
  350. package/merged-commands/hybrid-cloud-networking.md +238 -0
  351. package/merged-commands/hybrid-search-implementation.md +32 -0
  352. package/merged-commands/i18n-localization.md +154 -0
  353. package/merged-commands/idor-testing.md +442 -0
  354. package/merged-commands/image-enhancer.md +99 -0
  355. package/merged-commands/imagen.md +77 -0
  356. package/merged-commands/incident-responder.md +213 -0
  357. package/merged-commands/incident-response-incident-response.md +168 -0
  358. package/merged-commands/incident-response-smart-fix.md +29 -0
  359. package/merged-commands/incident-runbook-templates.md +395 -0
  360. package/merged-commands/infinite-gratitude.md +26 -0
  361. package/merged-commands/inngest.md +55 -0
  362. package/merged-commands/interactive-portfolio.md +223 -0
  363. package/merged-commands/internal-comms-anthropic.md +32 -0
  364. package/merged-commands/internal-comms-community.md +32 -0
  365. package/merged-commands/internal-comms.md +32 -0
  366. package/merged-commands/invoice-organizer.md +446 -0
  367. package/merged-commands/ios-developer.md +219 -0
  368. package/merged-commands/issue-creator.md +137 -0
  369. package/merged-commands/istio-traffic-management.md +337 -0
  370. package/merged-commands/iterate-pr.md +150 -0
  371. package/merged-commands/java-architect.md +95 -0
  372. package/merged-commands/java-pro.md +177 -0
  373. package/merged-commands/javascript-mastery.md +645 -0
  374. package/merged-commands/javascript-pro.md +57 -0
  375. package/merged-commands/javascript-testing-patterns.md +35 -0
  376. package/merged-commands/javascript-typescript-typescript-scaffold.md +361 -0
  377. package/merged-commands/javascript-typescript.md +142 -0
  378. package/merged-commands/jira-issues.md +181 -0
  379. package/merged-commands/job-application.md +90 -0
  380. package/merged-commands/julia-pro.md +209 -0
  381. package/merged-commands/k8s-manifest-generator.md +35 -0
  382. package/merged-commands/k8s-security-policies.md +346 -0
  383. package/merged-commands/kaizen.md +730 -0
  384. package/merged-commands/kotlin-specialist.md +94 -0
  385. package/merged-commands/kpi-dashboard-design.md +440 -0
  386. package/merged-commands/kubernetes-architect.md +170 -0
  387. package/merged-commands/kubernetes-specialist.md +117 -0
  388. package/merged-commands/langchain-architecture.md +350 -0
  389. package/merged-commands/langfuse.md +238 -0
  390. package/merged-commands/langgraph.md +287 -0
  391. package/merged-commands/laravel-specialist.md +101 -0
  392. package/merged-commands/last30days.md +421 -0
  393. package/merged-commands/launch-strategy.md +344 -0
  394. package/merged-commands/lead-research-assistant.md +199 -0
  395. package/merged-commands/learn.md +476 -0
  396. package/merged-commands/legacy-modernizer.md +53 -0
  397. package/merged-commands/legal-advisor.md +70 -0
  398. package/merged-commands/linear-claude-skill.md +543 -0
  399. package/merged-commands/linkerd-patterns.md +321 -0
  400. package/merged-commands/lint-and-validate.md +45 -0
  401. package/merged-commands/linux-privilege-escalation.md +504 -0
  402. package/merged-commands/linux-shell-scripting.md +504 -0
  403. package/merged-commands/llm-app-patterns.md +760 -0
  404. package/merged-commands/llm-application-dev-ai-assistant.md +35 -0
  405. package/merged-commands/llm-application-dev-langchain-agent.md +246 -0
  406. package/merged-commands/llm-application-dev-prompt-optimize.md +37 -0
  407. package/merged-commands/llm-application-dev.md +216 -0
  408. package/merged-commands/llm-evaluation.md +483 -0
  409. package/merged-commands/loki-mode.md +721 -0
  410. package/merged-commands/machine-learning-ops-ml-pipeline.md +314 -0
  411. package/merged-commands/makepad-skills.md +22 -0
  412. package/merged-commands/malware-analyst.md +247 -0
  413. package/merged-commands/markdown-novel-viewer.md +281 -0
  414. package/merged-commands/market-sizing-analysis.md +425 -0
  415. package/merged-commands/marketing-ideas.md +221 -0
  416. package/merged-commands/marketing-psychology.md +255 -0
  417. package/merged-commands/mcp-builder.md +236 -0
  418. package/merged-commands/mcp-developer.md +94 -0
  419. package/merged-commands/mcp-management.md +209 -0
  420. package/merged-commands/media-processing.md +358 -0
  421. package/merged-commands/meeting-insights-analyzer.md +327 -0
  422. package/merged-commands/memory-forensics.md +491 -0
  423. package/merged-commands/memory-safety-patterns.md +33 -0
  424. package/merged-commands/memory-systems.md +228 -0
  425. package/merged-commands/mermaid-expert.md +59 -0
  426. package/merged-commands/mermaidjs-v11.md +115 -0
  427. package/merged-commands/metasploit-framework.md +478 -0
  428. package/merged-commands/micro-saas-launcher.md +212 -0
  429. package/merged-commands/microservices-architect.md +102 -0
  430. package/merged-commands/microservices-patterns.md +35 -0
  431. package/merged-commands/minecraft-bukkit-pro.md +126 -0
  432. package/merged-commands/ml-engineer.md +168 -0
  433. package/merged-commands/ml-pipeline-workflow.md +257 -0
  434. package/merged-commands/ml-pipeline.md +111 -0
  435. package/merged-commands/mlops-engineer.md +219 -0
  436. package/merged-commands/mobile-design.md +284 -0
  437. package/merged-commands/mobile-developer.md +205 -0
  438. package/merged-commands/mobile-development.md +212 -0
  439. package/merged-commands/mobile-security-coder.md +184 -0
  440. package/merged-commands/modern-javascript-patterns.md +35 -0
  441. package/merged-commands/monitoring-expert.md +92 -0
  442. package/merged-commands/monorepo-architect.md +61 -0
  443. package/merged-commands/monorepo-management.md +35 -0
  444. package/merged-commands/moodle-external-api-development.md +597 -0
  445. package/merged-commands/mtls-configuration.md +359 -0
  446. package/merged-commands/multi-agent-brainstorming.md +256 -0
  447. package/merged-commands/multi-agent-patterns.md +262 -0
  448. package/merged-commands/multi-cloud-architecture.md +189 -0
  449. package/merged-commands/multi-platform-apps-multi-platform.md +203 -0
  450. package/merged-commands/n8n-code-python.md +750 -0
  451. package/merged-commands/n8n-mcp-tools-expert.md +654 -0
  452. package/merged-commands/n8n-node-configuration.md +796 -0
  453. package/merged-commands/nanobanana-ppt-skills.md +22 -0
  454. package/merged-commands/neon-postgres.md +56 -0
  455. package/merged-commands/nestjs-expert.md +552 -0
  456. package/merged-commands/network-101.md +342 -0
  457. package/merged-commands/network-engineer.md +169 -0
  458. package/merged-commands/nextjs-app-router-patterns.md +33 -0
  459. package/merged-commands/nextjs-best-practices.md +203 -0
  460. package/merged-commands/nextjs-developer.md +97 -0
  461. package/merged-commands/nextjs-supabase-auth.md +56 -0
  462. package/merged-commands/nft-standards.md +395 -0
  463. package/merged-commands/nodejs-backend-patterns.md +35 -0
  464. package/merged-commands/nodejs-best-practices.md +333 -0
  465. package/merged-commands/nosql-expert.md +111 -0
  466. package/merged-commands/notebooklm-skill.md +269 -0
  467. package/merged-commands/notebooklm.md +269 -0
  468. package/merged-commands/notion-template-business.md +216 -0
  469. package/merged-commands/nx-workspace-patterns.md +464 -0
  470. package/merged-commands/observability-engineer.md +237 -0
  471. package/merged-commands/observability-monitoring-monitor-setup.md +48 -0
  472. package/merged-commands/observability-monitoring-slo-implement.md +43 -0
  473. package/merged-commands/observe-whatsapp.md +109 -0
  474. package/merged-commands/obsidian-clipper-template-creator.md +64 -0
  475. package/merged-commands/on-call-handoff-patterns.md +453 -0
  476. package/merged-commands/onboarding-cro.md +433 -0
  477. package/merged-commands/openapi-spec-generation.md +33 -0
  478. package/merged-commands/page-cro.md +343 -0
  479. package/merged-commands/paid-ads.md +551 -0
  480. package/merged-commands/pandas-pro.md +96 -0
  481. package/merged-commands/parallel-agents.md +175 -0
  482. package/merged-commands/payment-integration.md +77 -0
  483. package/merged-commands/paypal-integration.md +479 -0
  484. package/merged-commands/paywall-upgrade-cro.md +570 -0
  485. package/merged-commands/pci-compliance.md +478 -0
  486. package/merged-commands/pdf-official.md +294 -0
  487. package/merged-commands/pdf.md +294 -0
  488. package/merged-commands/pentest-checklist.md +334 -0
  489. package/merged-commands/pentest-commands.md +438 -0
  490. package/merged-commands/performance-engineer.md +180 -0
  491. package/merged-commands/performance-profiling.md +143 -0
  492. package/merged-commands/performance-testing-review-ai-review.md +450 -0
  493. package/merged-commands/performance-testing-review-multi-agent-review.md +216 -0
  494. package/merged-commands/personal-tool-builder.md +289 -0
  495. package/merged-commands/php-pro.md +63 -0
  496. package/merged-commands/plaid-fintech.md +50 -0
  497. package/merged-commands/plan-writing.md +152 -0
  498. package/merged-commands/planning-with-files.md +211 -0
  499. package/merged-commands/planning.md +95 -0
  500. package/merged-commands/plans-kanban.md +166 -0
  501. package/merged-commands/playwright-expert.md +87 -0
  502. package/merged-commands/playwright-skill.md +453 -0
  503. package/merged-commands/podcast-generation.md +121 -0
  504. package/merged-commands/popup-cro.md +346 -0
  505. package/merged-commands/posix-shell-pro.md +304 -0
  506. package/merged-commands/postgres-best-practices.md +57 -0
  507. package/merged-commands/postgres-pro.md +98 -0
  508. package/merged-commands/postgresql.md +230 -0
  509. package/merged-commands/postmortem-writing.md +386 -0
  510. package/merged-commands/powershell-windows.md +167 -0
  511. package/merged-commands/pptx-official.md +484 -0
  512. package/merged-commands/pptx.md +484 -0
  513. package/merged-commands/pricing-strategy.md +356 -0
  514. package/merged-commands/prisma-expert.md +355 -0
  515. package/merged-commands/privilege-escalation-methods.md +333 -0
  516. package/merged-commands/problem-solving.md +96 -0
  517. package/merged-commands/product-manager-toolkit.md +351 -0
  518. package/merged-commands/product-strategist.md +26 -0
  519. package/merged-commands/production-code-audit.md +540 -0
  520. package/merged-commands/programmatic-seo.md +351 -0
  521. package/merged-commands/projection-patterns.md +33 -0
  522. package/merged-commands/prometheus-configuration.md +404 -0
  523. package/merged-commands/prompt-caching.md +61 -0
  524. package/merged-commands/prompt-engineer.md +272 -0
  525. package/merged-commands/prompt-engineering-patterns.md +213 -0
  526. package/merged-commands/prompt-engineering.md +171 -0
  527. package/merged-commands/prompt-library.md +322 -0
  528. package/merged-commands/protocol-reverse-engineering.md +29 -0
  529. package/merged-commands/pydantic-models.md +58 -0
  530. package/merged-commands/pypict-skill.md +22 -0
  531. package/merged-commands/python-development-python-scaffold.md +331 -0
  532. package/merged-commands/python-development.md +139 -0
  533. package/merged-commands/python-packaging.md +36 -0
  534. package/merged-commands/python-patterns.md +441 -0
  535. package/merged-commands/python-performance-optimization.md +36 -0
  536. package/merged-commands/python-pro.md +158 -0
  537. package/merged-commands/python-testing-patterns.md +37 -0
  538. package/merged-commands/qa-regression.md +337 -0
  539. package/merged-commands/quant-analyst.md +53 -0
  540. package/merged-commands/radix-ui-design-system.md +847 -0
  541. package/merged-commands/raffle-winner-picker.md +159 -0
  542. package/merged-commands/rag-architect.md +100 -0
  543. package/merged-commands/rag-engineer.md +90 -0
  544. package/merged-commands/rag-implementation.md +421 -0
  545. package/merged-commands/rails-expert.md +97 -0
  546. package/merged-commands/react-best-practices.md +121 -0
  547. package/merged-commands/react-expert.md +98 -0
  548. package/merged-commands/react-flow-node.md +66 -0
  549. package/merged-commands/react-modernization.md +34 -0
  550. package/merged-commands/react-native-architecture.md +33 -0
  551. package/merged-commands/react-native-expert.md +88 -0
  552. package/merged-commands/react-patterns.md +198 -0
  553. package/merged-commands/react-state-management.md +441 -0
  554. package/merged-commands/react-ui-patterns.md +289 -0
  555. package/merged-commands/readme.md +775 -0
  556. package/merged-commands/receiving-code-review.md +213 -0
  557. package/merged-commands/red-team-tactics.md +199 -0
  558. package/merged-commands/red-team-tools.md +310 -0
  559. package/merged-commands/reference-builder.md +188 -0
  560. package/merged-commands/referral-program.md +602 -0
  561. package/merged-commands/remotion-best-practices.md +45 -0
  562. package/merged-commands/repomix.md +275 -0
  563. package/merged-commands/requesting-code-review.md +105 -0
  564. package/merged-commands/research-engineer.md +135 -0
  565. package/merged-commands/research.md +191 -0
  566. package/merged-commands/reverse-engineer.md +173 -0
  567. package/merged-commands/risk-manager.md +61 -0
  568. package/merged-commands/risk-metrics-calculation.md +33 -0
  569. package/merged-commands/ruby-pro.md +56 -0
  570. package/merged-commands/rust-async-patterns.md +33 -0
  571. package/merged-commands/rust-engineer.md +96 -0
  572. package/merged-commands/rust-pro.md +178 -0
  573. package/merged-commands/saga-orchestration.md +496 -0
  574. package/merged-commands/sales-automator.md +55 -0
  575. package/merged-commands/salesforce-developer.md +105 -0
  576. package/merged-commands/salesforce-development.md +51 -0
  577. package/merged-commands/sast-configuration.md +212 -0
  578. package/merged-commands/scala-pro.md +82 -0
  579. package/merged-commands/scanning-tools.md +589 -0
  580. package/merged-commands/schema-markup.md +360 -0
  581. package/merged-commands/screen-reader-testing.md +33 -0
  582. package/merged-commands/screenshots.md +401 -0
  583. package/merged-commands/scroll-experience.md +263 -0
  584. package/merged-commands/search-specialist.md +80 -0
  585. package/merged-commands/secrets-management.md +364 -0
  586. package/merged-commands/secure-code-guardian.md +93 -0
  587. package/merged-commands/security-auditor.md +169 -0
  588. package/merged-commands/security-bluebook-builder.md +22 -0
  589. package/merged-commands/security-compliance-compliance-check.md +55 -0
  590. package/merged-commands/security-requirement-extraction.md +33 -0
  591. package/merged-commands/security-reviewer.md +94 -0
  592. package/merged-commands/security-scanning-security-dependencies.md +43 -0
  593. package/merged-commands/security-scanning-security-hardening.md +147 -0
  594. package/merged-commands/security-scanning-security-sast.md +495 -0
  595. package/merged-commands/segment-cdp.md +50 -0
  596. package/merged-commands/senior-architect.md +209 -0
  597. package/merged-commands/senior-backend.md +209 -0
  598. package/merged-commands/senior-computer-vision.md +226 -0
  599. package/merged-commands/senior-data-engineer.md +226 -0
  600. package/merged-commands/senior-data-scientist.md +226 -0
  601. package/merged-commands/senior-devops.md +209 -0
  602. package/merged-commands/senior-frontend.md +209 -0
  603. package/merged-commands/senior-fullstack.md +209 -0
  604. package/merged-commands/senior-ml-engineer.md +226 -0
  605. package/merged-commands/senior-prompt-engineer.md +226 -0
  606. package/merged-commands/senior-qa.md +209 -0
  607. package/merged-commands/senior-secops.md +209 -0
  608. package/merged-commands/senior-security.md +209 -0
  609. package/merged-commands/seo-audit.md +487 -0
  610. package/merged-commands/seo-authority-builder.md +136 -0
  611. package/merged-commands/seo-cannibalization-detector.md +123 -0
  612. package/merged-commands/seo-content-auditor.md +83 -0
  613. package/merged-commands/seo-content-planner.md +108 -0
  614. package/merged-commands/seo-content-refresher.md +118 -0
  615. package/merged-commands/seo-content-writer.md +96 -0
  616. package/merged-commands/seo-fundamentals.md +173 -0
  617. package/merged-commands/seo-keyword-strategist.md +95 -0
  618. package/merged-commands/seo-meta-optimizer.md +92 -0
  619. package/merged-commands/seo-snippet-hunter.md +114 -0
  620. package/merged-commands/seo-structure-architect.md +108 -0
  621. package/merged-commands/sequential-thinking.md +94 -0
  622. package/merged-commands/server-management.md +161 -0
  623. package/merged-commands/service-mesh-expert.md +58 -0
  624. package/merged-commands/service-mesh-observability.md +395 -0
  625. package/merged-commands/sharp-edges.md +70 -0
  626. package/merged-commands/shellcheck-configuration.md +466 -0
  627. package/merged-commands/shodan-reconnaissance.md +503 -0
  628. package/merged-commands/shopify-apps.md +42 -0
  629. package/merged-commands/shopify-development.md +366 -0
  630. package/merged-commands/shopify-expert.md +102 -0
  631. package/merged-commands/signup-flow-cro.md +355 -0
  632. package/merged-commands/similarity-search-patterns.md +33 -0
  633. package/merged-commands/skill-creator.md +356 -0
  634. package/merged-commands/skill-developer.md +426 -0
  635. package/merged-commands/skill-rails-upgrade.md +408 -0
  636. package/merged-commands/skill-seekers.md +22 -0
  637. package/merged-commands/skill-share.md +80 -0
  638. package/merged-commands/slack-bot-builder.md +264 -0
  639. package/merged-commands/slack-gif-creator.md +254 -0
  640. package/merged-commands/slo-implementation.md +341 -0
  641. package/merged-commands/smtp-penetration-testing.md +500 -0
  642. package/merged-commands/social-content.md +807 -0
  643. package/merged-commands/software-architecture.md +75 -0
  644. package/merged-commands/solidity-security.md +34 -0
  645. package/merged-commands/spark-engineer.md +100 -0
  646. package/merged-commands/spark-optimization.md +427 -0
  647. package/merged-commands/spec-miner.md +88 -0
  648. package/merged-commands/spring-boot-engineer.md +104 -0
  649. package/merged-commands/sql-injection-testing.md +448 -0
  650. package/merged-commands/sql-optimization-patterns.md +35 -0
  651. package/merged-commands/sql-pro.md +173 -0
  652. package/merged-commands/sqlmap-database-pentesting.md +400 -0
  653. package/merged-commands/sre-engineer.md +98 -0
  654. package/merged-commands/ssh-penetration-testing.md +488 -0
  655. package/merged-commands/startup-analyst.md +328 -0
  656. package/merged-commands/startup-business-analyst-business-case.md +487 -0
  657. package/merged-commands/startup-business-analyst-financial-projections.md +353 -0
  658. package/merged-commands/startup-business-analyst-market-opportunity.md +240 -0
  659. package/merged-commands/startup-financial-modeling.md +467 -0
  660. package/merged-commands/startup-metrics-framework.md +34 -0
  661. package/merged-commands/stitch-ui-design.md +378 -0
  662. package/merged-commands/stride-analysis-patterns.md +33 -0
  663. package/merged-commands/stripe-integration.md +454 -0
  664. package/merged-commands/subagent-driven-development.md +240 -0
  665. package/merged-commands/superpowers-lab.md +22 -0
  666. package/merged-commands/swift-expert.md +94 -0
  667. package/merged-commands/swiftui-expert-skill.md +275 -0
  668. package/merged-commands/systematic-debugging.md +296 -0
  669. package/merged-commands/systems-programming-rust-project.md +440 -0
  670. package/merged-commands/tailwind-design-system.md +33 -0
  671. package/merged-commands/tailwind-patterns.md +269 -0
  672. package/merged-commands/tavily-web.md +36 -0
  673. package/merged-commands/tdd-orchestrator.md +205 -0
  674. package/merged-commands/tdd-workflow.md +149 -0
  675. package/merged-commands/tdd-workflows-tdd-cycle.md +221 -0
  676. package/merged-commands/tdd-workflows-tdd-green.md +73 -0
  677. package/merged-commands/tdd-workflows-tdd-red.md +164 -0
  678. package/merged-commands/tdd-workflows-tdd-refactor.md +187 -0
  679. package/merged-commands/team-collaboration-issue.md +37 -0
  680. package/merged-commands/team-collaboration-standup-notes.md +44 -0
  681. package/merged-commands/team-composition-analysis.md +413 -0
  682. package/merged-commands/telegram-bot-builder.md +254 -0
  683. package/merged-commands/telegram-mini-app.md +279 -0
  684. package/merged-commands/template-skill.md +6 -0
  685. package/merged-commands/temporal-python-pro.md +370 -0
  686. package/merged-commands/temporal-python-testing.md +170 -0
  687. package/merged-commands/terraform-engineer.md +97 -0
  688. package/merged-commands/terraform-module-library.md +261 -0
  689. package/merged-commands/terraform-skill.md +517 -0
  690. package/merged-commands/terraform-specialist.md +166 -0
  691. package/merged-commands/test-automator.md +224 -0
  692. package/merged-commands/test-driven-development.md +371 -0
  693. package/merged-commands/test-fixing.md +119 -0
  694. package/merged-commands/test-master.md +104 -0
  695. package/merged-commands/testing-patterns.md +259 -0
  696. package/merged-commands/theme-factory.md +59 -0
  697. package/merged-commands/threat-mitigation-mapping.md +33 -0
  698. package/merged-commands/threat-modeling-expert.md +60 -0
  699. package/merged-commands/threejs-skills.md +22 -0
  700. package/merged-commands/threejs.md +89 -0
  701. package/merged-commands/tool-design.md +318 -0
  702. package/merged-commands/top-web-vulnerabilities.md +543 -0
  703. package/merged-commands/track-management.md +38 -0
  704. package/merged-commands/trigger-dev.md +67 -0
  705. package/merged-commands/turborepo-caching.md +419 -0
  706. package/merged-commands/tutorial-engineer.md +139 -0
  707. package/merged-commands/twilio-communications.md +295 -0
  708. package/merged-commands/typescript-advanced-types.md +35 -0
  709. package/merged-commands/typescript-expert.md +429 -0
  710. package/merged-commands/typescript-pro.md +55 -0
  711. package/merged-commands/ui-design-system.md +32 -0
  712. package/merged-commands/ui-skills.md +22 -0
  713. package/merged-commands/ui-styling.md +321 -0
  714. package/merged-commands/ui-ux-designer.md +209 -0
  715. package/merged-commands/ui-ux-pro-max.md +351 -0
  716. package/merged-commands/ui-visual-validator.md +214 -0
  717. package/merged-commands/unit-testing-test-generate.md +319 -0
  718. package/merged-commands/unity-developer.md +230 -0
  719. package/merged-commands/unity-ecs-patterns.md +33 -0
  720. package/merged-commands/unreal-engine-cpp-pro.md +114 -0
  721. package/merged-commands/upgrading-expo.md +118 -0
  722. package/merged-commands/upstash-qstash.md +68 -0
  723. package/merged-commands/using-git-worktrees.md +217 -0
  724. package/merged-commands/using-neon.md +84 -0
  725. package/merged-commands/using-superpowers.md +87 -0
  726. package/merged-commands/uv-package-manager.md +37 -0
  727. package/merged-commands/ux-researcher-designer.md +30 -0
  728. package/merged-commands/varlock-claude-skill.md +22 -0
  729. package/merged-commands/vector-database-engineer.md +60 -0
  730. package/merged-commands/vector-index-tuning.md +42 -0
  731. package/merged-commands/vercel-deploy-claimable.md +120 -0
  732. package/merged-commands/vercel-deploy.md +22 -0
  733. package/merged-commands/vercel-deployment.md +79 -0
  734. package/merged-commands/verification-before-completion.md +139 -0
  735. package/merged-commands/vexor.md +22 -0
  736. package/merged-commands/video-downloader.md +106 -0
  737. package/merged-commands/viral-generator-builder.md +199 -0
  738. package/merged-commands/voice-agents.md +68 -0
  739. package/merged-commands/voice-ai-development.md +302 -0
  740. package/merged-commands/voice-ai-engine-development.md +721 -0
  741. package/merged-commands/vue-expert-js.md +91 -0
  742. package/merged-commands/vue-expert.md +374 -0
  743. package/merged-commands/vulnerability-scanner.md +276 -0
  744. package/merged-commands/wcag-audit-patterns.md +41 -0
  745. package/merged-commands/web-artifacts-builder.md +74 -0
  746. package/merged-commands/web-design-guidelines.md +36 -0
  747. package/merged-commands/web-frameworks.md +324 -0
  748. package/merged-commands/web-performance-optimization.md +646 -0
  749. package/merged-commands/web3-testing.md +427 -0
  750. package/merged-commands/webapp-testing.md +96 -0
  751. package/merged-commands/websocket-engineer.md +96 -0
  752. package/merged-commands/windows-privilege-escalation.md +496 -0
  753. package/merged-commands/wireshark-analysis.md +497 -0
  754. package/merged-commands/wordpress-penetration-testing.md +485 -0
  755. package/merged-commands/wordpress-pro.md +105 -0
  756. package/merged-commands/workflow-automation.md +68 -0
  757. package/merged-commands/workflow-orchestration-patterns.md +333 -0
  758. package/merged-commands/workflow-patterns.md +38 -0
  759. package/merged-commands/writing-plans.md +116 -0
  760. package/merged-commands/writing-skills.md +125 -0
  761. package/merged-commands/x-article-publisher-skill.md +22 -0
  762. package/merged-commands/xlsx-official.md +289 -0
  763. package/merged-commands/xlsx.md +289 -0
  764. package/merged-commands/xss-html-injection.md +499 -0
  765. package/merged-commands/youtube-transcript.md +415 -0
  766. package/merged-commands/zapier-make-patterns.md +67 -0
  767. package/merged-commands/zustand-store.md +68 -0
  768. package/package.json +1 -1
  769. package/scripts/merge-commands.js +21 -0
@@ -0,0 +1,721 @@
1
+ ---
2
+ name: loki-mode
3
+ description: Multi-agent autonomous startup system for Claude Code. Triggers on "Loki Mode". Orchestrates 100+ specialized agents across engineering, QA, DevOps, security, data/ML, business operations, marketing, HR, and customer success. Takes PRD to fully deployed, revenue-generating product with zero human intervention. Features Task tool for subagent dispatch, parallel code review with 3 specialized reviewers, severity-based issue triage, distributed task queue with dead letter handling, automatic deployment to cloud providers, A/B testing, customer feedback loops, incident response, circuit breakers, and self-healing. Handles rate limits via distributed state checkpoints and auto-resume with exponential backoff. Requires --dangerously-skip-permissions flag.
4
+ ---
5
+
6
+ # Loki Mode - Multi-Agent Autonomous Startup System
7
+
8
+ > **Version 2.35.0** | PRD to Production | Zero Human Intervention
9
+ > Research-enhanced: OpenAI SDK, DeepMind, Anthropic, AWS Bedrock, Agent SDK, HN Production (2025)
10
+
11
+ ---
12
+
13
+ ## Quick Reference
14
+
15
+ ### Critical First Steps (Every Turn)
16
+ 1. **READ** `.loki/CONTINUITY.md` - Your working memory + "Mistakes & Learnings"
17
+ 2. **RETRIEVE** Relevant memories from `.loki/memory/` (episodic patterns, anti-patterns)
18
+ 3. **CHECK** `.loki/state/orchestrator.json` - Current phase/metrics
19
+ 4. **REVIEW** `.loki/queue/pending.json` - Next tasks
20
+ 5. **FOLLOW** RARV cycle: REASON, ACT, REFLECT, **VERIFY** (test your work!)
21
+ 6. **OPTIMIZE** Opus=planning, Sonnet=development, Haiku=unit tests/monitoring - 10+ Haiku agents in parallel
22
+ 7. **TRACK** Efficiency metrics: tokens, time, agent count per task
23
+ 8. **CONSOLIDATE** After task: Update episodic memory, extract patterns to semantic memory
24
+
25
+ ### Key Files (Priority Order)
26
+ | File | Purpose | Update When |
27
+ |------|---------|-------------|
28
+ | `.loki/CONTINUITY.md` | Working memory - what am I doing NOW? | Every turn |
29
+ | `.loki/memory/semantic/` | Generalized patterns & anti-patterns | After task completion |
30
+ | `.loki/memory/episodic/` | Specific interaction traces | After each action |
31
+ | `.loki/metrics/efficiency/` | Task efficiency scores & rewards | After each task |
32
+ | `.loki/specs/openapi.yaml` | API spec - source of truth | Architecture changes |
33
+ | `CLAUDE.md` | Project context - arch & patterns | Significant changes |
34
+ | `.loki/queue/*.json` | Task states | Every task change |
35
+
36
+ ### Decision Tree: What To Do Next?
37
+
38
+ ```
39
+ START
40
+ |
41
+ +-- Read CONTINUITY.md ----------+
42
+ | |
43
+ +-- Task in-progress? |
44
+ | +-- YES: Resume |
45
+ | +-- NO: Check pending queue |
46
+ | |
47
+ +-- Pending tasks? |
48
+ | +-- YES: Claim highest priority
49
+ | +-- NO: Check phase completion
50
+ | |
51
+ +-- Phase done? |
52
+ | +-- YES: Advance to next phase
53
+ | +-- NO: Generate tasks for phase
54
+ | |
55
+ LOOP <-----------------------------+
56
+ ```
57
+
58
+ ### SDLC Phase Flow
59
+
60
+ ```
61
+ Bootstrap -> Discovery -> Architecture -> Infrastructure
62
+ | | | |
63
+ (Setup) (Analyze PRD) (Design) (Cloud/DB Setup)
64
+ |
65
+ Development <- QA <- Deployment <- Business Ops <- Growth Loop
66
+ | | | | |
67
+ (Build) (Test) (Release) (Monitor) (Iterate)
68
+ ```
69
+
70
+ ### Essential Patterns
71
+
72
+ **Spec-First:** `OpenAPI -> Tests -> Code -> Validate`
73
+ **Code Review:** `Blind Review (parallel) -> Debate (if disagree) -> Devil's Advocate -> Merge`
74
+ **Guardrails:** `Input Guard (BLOCK) -> Execute -> Output Guard (VALIDATE)` (OpenAI SDK)
75
+ **Tripwires:** `Validation fails -> Halt execution -> Escalate or retry`
76
+ **Fallbacks:** `Try primary -> Model fallback -> Workflow fallback -> Human escalation`
77
+ **Explore-Plan-Code:** `Research files -> Create plan (NO CODE) -> Execute plan` (Anthropic)
78
+ **Self-Verification:** `Code -> Test -> Fail -> Learn -> Update CONTINUITY.md -> Retry`
79
+ **Constitutional Self-Critique:** `Generate -> Critique against principles -> Revise` (Anthropic)
80
+ **Memory Consolidation:** `Episodic (trace) -> Pattern Extraction -> Semantic (knowledge)`
81
+ **Hierarchical Reasoning:** `High-level planner -> Skill selection -> Local executor` (DeepMind)
82
+ **Tool Orchestration:** `Classify Complexity -> Select Agents -> Track Efficiency -> Reward Learning`
83
+ **Debate Verification:** `Proponent defends -> Opponent challenges -> Synthesize` (DeepMind)
84
+ **Handoff Callbacks:** `on_handoff -> Pre-fetch context -> Transfer with data` (OpenAI SDK)
85
+ **Narrow Scope:** `3-5 steps max -> Human review -> Continue` (HN Production)
86
+ **Context Curation:** `Manual selection -> Focused context -> Fresh per task` (HN Production)
87
+ **Deterministic Validation:** `LLM output -> Rule-based checks -> Retry or approve` (HN Production)
88
+ **Routing Mode:** `Simple task -> Direct dispatch | Complex task -> Supervisor orchestration` (AWS Bedrock)
89
+ **E2E Browser Testing:** `Playwright MCP -> Automate browser -> Verify UI features visually` (Anthropic Harness)
90
+
91
+ ---
92
+
93
+ ## Prerequisites
94
+
95
+ ```bash
96
+ # Launch with autonomous permissions
97
+ claude --dangerously-skip-permissions
98
+ ```
99
+
100
+ ---
101
+
102
+ ## Core Autonomy Rules
103
+
104
+ **This system runs with ZERO human intervention.**
105
+
106
+ 1. **NEVER ask questions** - No "Would you like me to...", "Should I...", or "What would you prefer?"
107
+ 2. **NEVER wait for confirmation** - Take immediate action
108
+ 3. **NEVER stop voluntarily** - Continue until completion promise fulfilled
109
+ 4. **NEVER suggest alternatives** - Pick best option and execute
110
+ 5. **ALWAYS use RARV cycle** - Every action follows Reason-Act-Reflect-Verify
111
+ 6. **NEVER edit `autonomy/run.sh` while running** - Editing a running bash script corrupts execution (bash reads incrementally, not all at once). If you need to fix run.sh, note it in CONTINUITY.md for the next session.
112
+ 7. **ONE FEATURE AT A TIME** - Work on exactly one feature per iteration. Complete it, commit it, verify it, then move to the next. Prevents over-commitment and ensures clean progress tracking. (Anthropic Harness Pattern)
113
+
114
+ ### Protected Files (Do Not Edit While Running)
115
+
116
+ These files are part of the running Loki Mode process. Editing them will crash the session:
117
+
118
+ | File | Reason |
119
+ |------|--------|
120
+ | `~/.claude/skills/loki-mode/autonomy/run.sh` | Currently executing bash script |
121
+ | `.loki/dashboard/*` | Served by active HTTP server |
122
+
123
+ If bugs are found in these files, document them in `.loki/CONTINUITY.md` under "Pending Fixes" for manual repair after the session ends.
124
+
125
+ ---
126
+
127
+ ## RARV Cycle (Every Iteration)
128
+
129
+ ```
130
+ +-------------------------------------------------------------------+
131
+ | REASON: What needs to be done next? |
132
+ | - READ .loki/CONTINUITY.md first (working memory) |
133
+ | - READ "Mistakes & Learnings" to avoid past errors |
134
+ | - Check orchestrator.json, review pending.json |
135
+ | - Identify highest priority unblocked task |
136
+ +-------------------------------------------------------------------+
137
+ | ACT: Execute the task |
138
+ | - Dispatch subagent via Task tool OR execute directly |
139
+ | - Write code, run tests, fix issues |
140
+ | - Commit changes atomically (git checkpoint) |
141
+ +-------------------------------------------------------------------+
142
+ | REFLECT: Did it work? What next? |
143
+ | - Verify task success (tests pass, no errors) |
144
+ | - UPDATE .loki/CONTINUITY.md with progress |
145
+ | - Check completion promise - are we done? |
146
+ +-------------------------------------------------------------------+
147
+ | VERIFY: Let AI test its own work (2-3x quality improvement) |
148
+ | - Run automated tests (unit, integration, E2E) |
149
+ | - Check compilation/build (no errors or warnings) |
150
+ | - Verify against spec (.loki/specs/openapi.yaml) |
151
+ | |
152
+ | IF VERIFICATION FAILS: |
153
+ | 1. Capture error details (stack trace, logs) |
154
+ | 2. Analyze root cause |
155
+ | 3. UPDATE CONTINUITY.md "Mistakes & Learnings" |
156
+ | 4. Rollback to last good git checkpoint (if needed) |
157
+ | 5. Apply learning and RETRY from REASON |
158
+ +-------------------------------------------------------------------+
159
+ ```
160
+
161
+ ---
162
+
163
+ ## Model Selection Strategy
164
+
165
+ **CRITICAL: Use the right model for each task type. Opus is ONLY for planning/architecture.**
166
+
167
+ | Model | Use For | Examples |
168
+ |-------|---------|----------|
169
+ | **Opus 4.5** | PLANNING ONLY - Architecture & high-level decisions | System design, architecture decisions, planning, security audits |
170
+ | **Sonnet 4.5** | DEVELOPMENT - Implementation & functional testing | Feature implementation, API endpoints, bug fixes, integration/E2E tests |
171
+ | **Haiku 4.5** | OPERATIONS - Simple tasks & monitoring | Unit tests, docs, bash commands, linting, monitoring, file operations |
172
+
173
+ ### Task Tool Model Parameter
174
+ ```python
175
+ # Opus for planning/architecture ONLY
176
+ Task(subagent_type="Plan", model="opus", description="Design system architecture", prompt="...")
177
+
178
+ # Sonnet for development and functional testing
179
+ Task(subagent_type="general-purpose", description="Implement API endpoint", prompt="...")
180
+ Task(subagent_type="general-purpose", description="Write integration tests", prompt="...")
181
+
182
+ # Haiku for unit tests, monitoring, and simple tasks (PREFER THIS for speed)
183
+ Task(subagent_type="general-purpose", model="haiku", description="Run unit tests", prompt="...")
184
+ Task(subagent_type="general-purpose", model="haiku", description="Check service health", prompt="...")
185
+ ```
186
+
187
+ ### Opus Task Categories (RESTRICTED - Planning Only)
188
+ - System architecture design
189
+ - High-level planning and strategy
190
+ - Security audits and threat modeling
191
+ - Major refactoring decisions
192
+ - Technology selection
193
+
194
+ ### Sonnet Task Categories (Development)
195
+ - Feature implementation
196
+ - API endpoint development
197
+ - Bug fixes (non-trivial)
198
+ - Integration tests and E2E tests
199
+ - Code refactoring
200
+ - Database migrations
201
+
202
+ ### Haiku Task Categories (Operations - Use Extensively)
203
+ - Writing/running unit tests
204
+ - Generating documentation
205
+ - Running bash commands (npm install, git operations)
206
+ - Simple bug fixes (typos, imports, formatting)
207
+ - File operations, linting, static analysis
208
+ - Monitoring, health checks, log analysis
209
+ - Simple data transformations, boilerplate generation
210
+
211
+ ### Parallelization Strategy
212
+ ```python
213
+ # Launch 10+ Haiku agents in parallel for unit test suite
214
+ for test_file in test_files:
215
+ Task(subagent_type="general-purpose", model="haiku",
216
+ description=f"Run unit tests: {test_file}",
217
+ run_in_background=True)
218
+ ```
219
+
220
+ ### Advanced Task Tool Parameters
221
+
222
+ **Background Agents:**
223
+ ```python
224
+ # Launch background agent - returns immediately with output_file path
225
+ Task(description="Long analysis task", run_in_background=True, prompt="...")
226
+ # Output truncated to 30K chars - use Read tool to check full output file
227
+ ```
228
+
229
+ **Agent Resumption (for interrupted/long-running tasks):**
230
+ ```python
231
+ # First call returns agent_id
232
+ result = Task(description="Complex refactor", prompt="...")
233
+ # agent_id from result can resume later
234
+ Task(resume="agent-abc123", prompt="Continue from where you left off")
235
+ ```
236
+
237
+ **When to use `resume`:**
238
+ - Context window limits reached mid-task
239
+ - Rate limit recovery
240
+ - Multi-session work on same task
241
+ - Checkpoint/restore for critical operations
242
+
243
+ ### Routing Mode Optimization (AWS Bedrock Pattern)
244
+
245
+ **Two dispatch modes based on task complexity - reduces latency for simple tasks:**
246
+
247
+ | Mode | When to Use | Behavior |
248
+ |------|-------------|----------|
249
+ | **Direct Routing** | Simple, single-domain tasks | Route directly to specialist agent, skip orchestration |
250
+ | **Supervisor Mode** | Complex, multi-step tasks | Full decomposition, coordination, result synthesis |
251
+
252
+ **Decision Logic:**
253
+ ```
254
+ Task Received
255
+ |
256
+ +-- Is task single-domain? (one file, one skill, clear scope)
257
+ | +-- YES: Direct Route to specialist agent
258
+ | | - Faster (no orchestration overhead)
259
+ | | - Minimal context (avoid confusion)
260
+ | | - Examples: "Fix typo in README", "Run unit tests"
261
+ | |
262
+ | +-- NO: Supervisor Mode
263
+ | - Full task decomposition
264
+ | - Coordinate multiple agents
265
+ | - Synthesize results
266
+ | - Examples: "Implement auth system", "Refactor API layer"
267
+ |
268
+ +-- Fallback: If intent unclear, use Supervisor Mode
269
+ ```
270
+
271
+ **Direct Routing Examples (Skip Orchestration):**
272
+ ```python
273
+ # Simple tasks -> Direct dispatch to Haiku
274
+ Task(model="haiku", description="Fix import in utils.py", prompt="...") # Direct
275
+ Task(model="haiku", description="Run linter on src/", prompt="...") # Direct
276
+ Task(model="haiku", description="Generate docstring for function", prompt="...") # Direct
277
+
278
+ # Complex tasks -> Supervisor orchestration (default Sonnet)
279
+ Task(description="Implement user authentication with OAuth", prompt="...") # Supervisor
280
+ Task(description="Refactor database layer for performance", prompt="...") # Supervisor
281
+ ```
282
+
283
+ **Context Depth by Routing Mode:**
284
+ - **Direct Routing:** Minimal context - just the task and relevant file(s)
285
+ - **Supervisor Mode:** Full context - CONTINUITY.md, architectural decisions, dependencies
286
+
287
+ > "Keep in mind, complex task histories might confuse simpler subagents." - AWS Best Practices
288
+
289
+ ### E2E Testing with Playwright MCP (Anthropic Harness Pattern)
290
+
291
+ **Critical:** Features are NOT complete until verified via browser automation.
292
+
293
+ ```python
294
+ # Enable Playwright MCP for E2E testing
295
+ # In settings or via mcp_servers config:
296
+ mcp_servers = {
297
+ "playwright": {"command": "npx", "args": ["@playwright/mcp@latest"]}
298
+ }
299
+
300
+ # Agent can then automate browser to verify features work visually
301
+ ```
302
+
303
+ **E2E Verification Flow:**
304
+ 1. Feature implemented and unit tests pass
305
+ 2. Start dev server via init script
306
+ 3. Use Playwright MCP to automate browser
307
+ 4. Verify UI renders correctly
308
+ 5. Test user interactions (clicks, forms, navigation)
309
+ 6. Only mark feature complete after visual verification
310
+
311
+ > "Claude mostly did well at verifying features end-to-end once explicitly prompted to use browser automation tools." - Anthropic Engineering
312
+
313
+ **Note:** Playwright cannot detect browser-native alert modals. Use custom UI for confirmations.
314
+
315
+ ---
316
+
317
+ ## Tool Orchestration & Efficiency
318
+
319
+ **Inspired by NVIDIA ToolOrchestra:** Track efficiency, learn from rewards, adapt agent selection.
320
+
321
+ ### Efficiency Metrics (Track Every Task)
322
+
323
+ | Metric | What to Track | Store In |
324
+ |--------|---------------|----------|
325
+ | Wall time | Seconds from start to completion | `.loki/metrics/efficiency/` |
326
+ | Agent count | Number of subagents spawned | `.loki/metrics/efficiency/` |
327
+ | Retry count | Attempts before success | `.loki/metrics/efficiency/` |
328
+ | Model usage | Haiku/Sonnet/Opus call distribution | `.loki/metrics/efficiency/` |
329
+
330
+ ### Reward Signals (Learn From Outcomes)
331
+
332
+ ```
333
+ OUTCOME REWARD: +1.0 (success) | 0.0 (partial) | -1.0 (failure)
334
+ EFFICIENCY REWARD: 0.0-1.0 based on resources vs baseline
335
+ PREFERENCE REWARD: Inferred from user actions (commit/revert/edit)
336
+ ```
337
+
338
+ ### Dynamic Agent Selection by Complexity
339
+
340
+ | Complexity | Max Agents | Planning | Development | Testing | Review |
341
+ |------------|------------|----------|-------------|---------|--------|
342
+ | Trivial | 1 | - | haiku | haiku | skip |
343
+ | Simple | 2 | - | haiku | haiku | single |
344
+ | Moderate | 4 | sonnet | sonnet | haiku | standard (3 parallel) |
345
+ | Complex | 8 | opus | sonnet | haiku | deep (+ devil's advocate) |
346
+ | Critical | 12 | opus | sonnet | sonnet | exhaustive + human checkpoint |
347
+
348
+ See `references/tool-orchestration.md` for full implementation details.
349
+
350
+ ---
351
+
352
+ ## Structured Prompting for Subagents
353
+
354
+ **Single-Responsibility Principle:** Each agent should have ONE clear goal and narrow scope.
355
+ ([UiPath Best Practices](https://www.uipath.com/blog/ai/agent-builder-best-practices))
356
+
357
+ **Every subagent dispatch MUST include:**
358
+
359
+ ```markdown
360
+ ## GOAL (What success looks like)
361
+ [High-level objective, not just the action]
362
+ Example: "Refactor authentication for maintainability and testability"
363
+ NOT: "Refactor the auth file"
364
+
365
+ ## CONSTRAINTS (What you cannot do)
366
+ - No third-party dependencies without approval
367
+ - Maintain backwards compatibility with v1.x API
368
+ - Keep response time under 200ms
369
+
370
+ ## CONTEXT (What you need to know)
371
+ - Related files: [list with brief descriptions]
372
+ - Previous attempts: [what was tried, why it failed]
373
+
374
+ ## OUTPUT FORMAT (What to deliver)
375
+ - [ ] Pull request with Why/What/Trade-offs description
376
+ - [ ] Unit tests with >90% coverage
377
+ - [ ] Update API documentation
378
+
379
+ ## WHEN COMPLETE
380
+ Report back with: WHY, WHAT, TRADE-OFFS, RISKS
381
+ ```
382
+
383
+ ---
384
+
385
+ ## Quality Gates
386
+
387
+ **Never ship code without passing all quality gates:**
388
+
389
+ 1. **Input Guardrails** - Validate scope, detect injection, check constraints (OpenAI SDK pattern)
390
+ 2. **Static Analysis** - CodeQL, ESLint/Pylint, type checking
391
+ 3. **Blind Review System** - 3 reviewers in parallel, no visibility of each other's findings
392
+ 4. **Anti-Sycophancy Check** - If unanimous approval, run Devil's Advocate reviewer
393
+ 5. **Output Guardrails** - Validate code quality, spec compliance, no secrets (tripwire on fail)
394
+ 6. **Severity-Based Blocking** - Critical/High/Medium = BLOCK; Low/Cosmetic = TODO comment
395
+ 7. **Test Coverage Gates** - Unit: 100% pass, >80% coverage; Integration: 100% pass
396
+
397
+ **Guardrails Execution Modes:**
398
+ - **Blocking**: Guardrail completes before agent starts (use for expensive operations)
399
+ - **Parallel**: Guardrail runs with agent (use for fast checks, accept token loss risk)
400
+
401
+ **Research insight:** Blind review + Devil's Advocate reduces false positives by 30% (CONSENSAGENT, 2025).
402
+ **OpenAI insight:** "Layered defense - multiple specialized guardrails create resilient agents."
403
+
404
+ See `references/quality-control.md` and `references/openai-patterns.md` for details.
405
+
406
+ ---
407
+
408
+ ## Agent Types Overview
409
+
410
+ Loki Mode has 37 specialized agent types across 7 swarms. The orchestrator spawns only agents needed for your project.
411
+
412
+ | Swarm | Agent Count | Examples |
413
+ |-------|-------------|----------|
414
+ | Engineering | 8 | frontend, backend, database, mobile, api, qa, perf, infra |
415
+ | Operations | 8 | devops, sre, security, monitor, incident, release, cost, compliance |
416
+ | Business | 8 | marketing, sales, finance, legal, support, hr, investor, partnerships |
417
+ | Data | 3 | ml, data-eng, analytics |
418
+ | Product | 3 | pm, design, techwriter |
419
+ | Growth | 4 | growth-hacker, community, success, lifecycle |
420
+ | Review | 3 | code, business, security |
421
+
422
+ See `references/agent-types.md` for complete definitions and capabilities.
423
+
424
+ ---
425
+
426
+ ## Common Issues & Solutions
427
+
428
+ | Issue | Cause | Solution |
429
+ |-------|-------|----------|
430
+ | Agent stuck/no progress | Lost context | Read `.loki/CONTINUITY.md` first thing every turn |
431
+ | Task repeating | Not checking queue state | Check `.loki/queue/*.json` before claiming |
432
+ | Code review failing | Skipped static analysis | Run static analysis BEFORE AI reviewers |
433
+ | Breaking API changes | Code before spec | Follow Spec-First workflow |
434
+ | Rate limit hit | Too many parallel agents | Check circuit breakers, use exponential backoff |
435
+ | Tests failing after merge | Skipped quality gates | Never bypass Severity-Based Blocking |
436
+ | Can't find what to do | Not following decision tree | Use Decision Tree, check orchestrator.json |
437
+ | Memory/context growing | Not using ledgers | Write to ledgers after completing tasks |
438
+
439
+ ---
440
+
441
+ ## Red Flags - Never Do These
442
+
443
+ ### Implementation Anti-Patterns
444
+ - **NEVER** skip code review between tasks
445
+ - **NEVER** proceed with unfixed Critical/High/Medium issues
446
+ - **NEVER** dispatch reviewers sequentially (always parallel - 3x faster)
447
+ - **NEVER** dispatch multiple implementation subagents in parallel (conflicts)
448
+ - **NEVER** implement without reading task requirements first
449
+
450
+ ### Review Anti-Patterns
451
+ - **NEVER** use sonnet for reviews (always opus for deep analysis)
452
+ - **NEVER** aggregate before all 3 reviewers complete
453
+ - **NEVER** skip re-review after fixes
454
+
455
+ ### System Anti-Patterns
456
+ - **NEVER** delete .loki/state/ directory while running
457
+ - **NEVER** manually edit queue files without file locking
458
+ - **NEVER** skip checkpoints before major operations
459
+ - **NEVER** ignore circuit breaker states
460
+
461
+ ### Always Do These
462
+ - **ALWAYS** launch all 3 reviewers in single message (3 Task calls)
463
+ - **ALWAYS** specify model: "opus" for each reviewer
464
+ - **ALWAYS** wait for all reviewers before aggregating
465
+ - **ALWAYS** fix Critical/High/Medium immediately
466
+ - **ALWAYS** re-run ALL 3 reviewers after fixes
467
+ - **ALWAYS** checkpoint state before spawning subagents
468
+
469
+ ---
470
+
471
+ ## Multi-Tiered Fallback System
472
+
473
+ **Based on OpenAI Agent Safety Patterns:**
474
+
475
+ ### Model-Level Fallbacks
476
+ ```
477
+ opus -> sonnet -> haiku (if rate limited or unavailable)
478
+ ```
479
+
480
+ ### Workflow-Level Fallbacks
481
+ ```
482
+ Full workflow fails -> Simplified workflow -> Decompose to subtasks -> Human escalation
483
+ ```
484
+
485
+ ### Human Escalation Triggers
486
+
487
+ | Trigger | Action |
488
+ |---------|--------|
489
+ | retry_count > 3 | Pause and escalate |
490
+ | domain in [payments, auth, pii] | Require approval |
491
+ | confidence_score < 0.6 | Pause and escalate |
492
+ | wall_time > expected * 3 | Pause and escalate |
493
+ | tokens_used > budget * 0.8 | Pause and escalate |
494
+
495
+ See `references/openai-patterns.md` for full fallback implementation.
496
+
497
+ ---
498
+
499
+ ## AGENTS.md Integration
500
+
501
+ **Read target project's AGENTS.md if exists** (OpenAI/AAIF standard):
502
+
503
+ ```
504
+ Context Priority:
505
+ 1. AGENTS.md (closest to current file)
506
+ 2. CLAUDE.md (Claude-specific)
507
+ 3. .loki/CONTINUITY.md (session state)
508
+ 4. Package docs
509
+ 5. README.md
510
+ ```
511
+
512
+ ---
513
+
514
+ ## Constitutional AI Principles (Anthropic)
515
+
516
+ **Self-critique against explicit principles, not just learned preferences.**
517
+
518
+ ### Loki Mode Constitution
519
+
520
+ ```yaml
521
+ core_principles:
522
+ - "Never delete production data without explicit backup"
523
+ - "Never commit secrets or credentials to version control"
524
+ - "Never bypass quality gates for speed"
525
+ - "Always verify tests pass before marking task complete"
526
+ - "Never claim completion without running actual tests"
527
+ - "Prefer simple solutions over clever ones"
528
+ - "Document decisions, not just code"
529
+ - "When unsure, reject action or flag for review"
530
+ ```
531
+
532
+ ### Self-Critique Workflow
533
+
534
+ ```
535
+ 1. Generate response/code
536
+ 2. Critique against each principle
537
+ 3. Revise if any principle violated
538
+ 4. Only then proceed with action
539
+ ```
540
+
541
+ See `references/lab-research-patterns.md` for Constitutional AI implementation.
542
+
543
+ ---
544
+
545
+ ## Debate-Based Verification (DeepMind)
546
+
547
+ **For critical changes, use structured debate between AI critics.**
548
+
549
+ ```
550
+ Proponent (defender) --> Presents proposal with evidence
551
+ |
552
+ v
553
+ Opponent (challenger) --> Finds flaws, challenges claims
554
+ |
555
+ v
556
+ Synthesizer --> Weighs arguments, produces verdict
557
+ |
558
+ v
559
+ If disagreement persists --> Escalate to human
560
+ ```
561
+
562
+ **Use for:** Architecture decisions, security-sensitive changes, major refactors.
563
+
564
+ See `references/lab-research-patterns.md` for debate verification details.
565
+
566
+ ---
567
+
568
+ ## Production Patterns (HN 2025)
569
+
570
+ **Battle-tested insights from practitioners building real systems.**
571
+
572
+ ### Narrow Scope Wins
573
+
574
+ ```yaml
575
+ task_constraints:
576
+ max_steps_before_review: 3-5
577
+ characteristics:
578
+ - Specific, well-defined objectives
579
+ - Pre-classified inputs
580
+ - Deterministic success criteria
581
+ - Verifiable outputs
582
+ ```
583
+
584
+ ### Confidence-Based Routing
585
+
586
+ ```
587
+ confidence >= 0.95 --> Auto-approve with audit log
588
+ confidence >= 0.70 --> Quick human review
589
+ confidence >= 0.40 --> Detailed human review
590
+ confidence < 0.40 --> Escalate immediately
591
+ ```
592
+
593
+ ### Deterministic Outer Loops
594
+
595
+ **Wrap agent outputs with rule-based validation (NOT LLM-judged):**
596
+
597
+ ```
598
+ 1. Agent generates output
599
+ 2. Run linter (deterministic)
600
+ 3. Run tests (deterministic)
601
+ 4. Check compilation (deterministic)
602
+ 5. Only then: human or AI review
603
+ ```
604
+
605
+ ### Context Engineering
606
+
607
+ ```yaml
608
+ principles:
609
+ - "Less is more" - focused beats comprehensive
610
+ - Manual selection outperforms automatic RAG
611
+ - Fresh conversations per major task
612
+ - Remove outdated information aggressively
613
+
614
+ context_budget:
615
+ target: "< 10k tokens for context"
616
+ reserve: "90% for model reasoning"
617
+ ```
618
+
619
+ ### Sub-Agents for Context Isolation
620
+
621
+ **Use sub-agents to prevent token waste on noisy subtasks:**
622
+
623
+ ```
624
+ Main agent (focused) --> Sub-agent (file search)
625
+ --> Sub-agent (test running)
626
+ --> Sub-agent (linting)
627
+ ```
628
+
629
+ See `references/production-patterns.md` for full practitioner patterns.
630
+
631
+ ---
632
+
633
+ ## Exit Conditions
634
+
635
+ | Condition | Action |
636
+ |-----------|--------|
637
+ | Product launched, stable 24h | Enter growth loop mode |
638
+ | Unrecoverable failure | Save state, halt, request human |
639
+ | PRD updated | Diff, create delta tasks, continue |
640
+ | Revenue target hit | Log success, continue optimization |
641
+ | Runway < 30 days | Alert, optimize costs aggressively |
642
+
643
+ ---
644
+
645
+ ## Directory Structure Overview
646
+
647
+ ```
648
+ .loki/
649
+ +-- CONTINUITY.md # Working memory (read/update every turn)
650
+ +-- specs/
651
+ | +-- openapi.yaml # API spec - source of truth
652
+ +-- queue/
653
+ | +-- pending.json # Tasks waiting to be claimed
654
+ | +-- in-progress.json # Currently executing tasks
655
+ | +-- completed.json # Finished tasks
656
+ | +-- dead-letter.json # Failed tasks for review
657
+ +-- state/
658
+ | +-- orchestrator.json # Master state (phase, metrics)
659
+ | +-- agents/ # Per-agent state files
660
+ | +-- circuit-breakers/ # Rate limiting state
661
+ +-- memory/
662
+ | +-- episodic/ # Specific interaction traces (what happened)
663
+ | +-- semantic/ # Generalized patterns (how things work)
664
+ | +-- skills/ # Learned action sequences (how to do X)
665
+ | +-- ledgers/ # Agent-specific checkpoints
666
+ | +-- handoffs/ # Agent-to-agent transfers
667
+ +-- metrics/
668
+ | +-- efficiency/ # Task efficiency scores (time, agents, retries)
669
+ | +-- rewards/ # Outcome/efficiency/preference rewards
670
+ | +-- dashboard.json # Rolling metrics summary
671
+ +-- artifacts/
672
+ +-- reports/ # Generated reports/dashboards
673
+ ```
674
+
675
+ See `references/architecture.md` for full structure and state schemas.
676
+
677
+ ---
678
+
679
+ ## Invocation
680
+
681
+ ```
682
+ Loki Mode # Start fresh
683
+ Loki Mode with PRD at path/to/prd # Start with PRD
684
+ ```
685
+
686
+ **Skill Metadata:**
687
+ | Field | Value |
688
+ |-------|-------|
689
+ | Trigger | "Loki Mode" or "Loki Mode with PRD at [path]" |
690
+ | Skip When | Need human approval, want to review plan first, single small task |
691
+ | Related Skills | subagent-driven-development, executing-plans |
692
+
693
+ ---
694
+
695
+ ## References
696
+
697
+ Detailed documentation is split into reference files for progressive loading:
698
+
699
+ | Reference | Content |
700
+ |-----------|---------|
701
+ | `references/core-workflow.md` | Full RARV cycle, CONTINUITY.md template, autonomy rules |
702
+ | `references/quality-control.md` | Quality gates, anti-sycophancy, blind review, severity blocking |
703
+ | `references/openai-patterns.md` | OpenAI Agents SDK: guardrails, tripwires, handoffs, fallbacks |
704
+ | `references/lab-research-patterns.md` | DeepMind + Anthropic: Constitutional AI, debate, world models |
705
+ | `references/production-patterns.md` | HN 2025: What actually works in production, context engineering |
706
+ | `references/advanced-patterns.md` | 2025 research: MAR, Iter-VF, GoalAct, CONSENSAGENT |
707
+ | `references/tool-orchestration.md` | ToolOrchestra patterns: efficiency, rewards, dynamic selection |
708
+ | `references/memory-system.md` | Episodic/semantic memory, consolidation, Zettelkasten linking |
709
+ | `references/agent-types.md` | All 37 agent types with full capabilities |
710
+ | `references/task-queue.md` | Queue system, dead letter handling, circuit breakers |
711
+ | `references/sdlc-phases.md` | All phases with detailed workflows and testing |
712
+ | `references/spec-driven-dev.md` | OpenAPI-first workflow, validation, contract testing |
713
+ | `references/architecture.md` | Directory structure, state schemas, bootstrap |
714
+ | `references/mcp-integration.md` | MCP server capabilities and integration |
715
+ | `references/claude-best-practices.md` | Boris Cherny patterns, thinking mode, ledgers |
716
+ | `references/deployment.md` | Cloud deployment instructions per provider |
717
+ | `references/business-ops.md` | Business operation workflows |
718
+
719
+ ---
720
+
721
+ **Version:** 2.32.0 | **Lines:** ~600 | **Research-Enhanced: Labs + HN Production Patterns**