blockmine 1.24.0 → 1.25.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 (346) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/README.en.md +427 -0
  3. package/README.md +40 -0
  4. package/backend/cli.js +1 -1
  5. package/backend/src/ai/plugin-assistant-system-prompt.md +664 -5
  6. package/backend/src/api/routes/bots.js +13 -0
  7. package/backend/src/api/routes/servers.js +14 -2
  8. package/backend/src/core/BotProcess.js +98 -2
  9. package/backend/src/core/PluginLoader.js +83 -3
  10. package/backend/src/core/PluginManager.js +75 -5
  11. package/backend/src/core/services/BotLifecycleService.js +186 -2
  12. package/backend/src/server.js +11 -1
  13. package/frontend/dist/assets/browser-ponyfill-DN7pwmHT.js +2 -0
  14. package/frontend/dist/assets/index-LSy71uwm.js +11261 -0
  15. package/frontend/dist/assets/index-SfhKxI4-.css +32 -0
  16. package/frontend/dist/flags/en.svg +32 -0
  17. package/frontend/dist/flags/ru.svg +5 -0
  18. package/frontend/dist/index.html +2 -2
  19. package/frontend/dist/locales/en/admin.json +100 -0
  20. package/frontend/dist/locales/en/api-keys.json +58 -0
  21. package/frontend/dist/locales/en/bots.json +110 -0
  22. package/frontend/dist/locales/en/common.json +47 -0
  23. package/frontend/dist/locales/en/configuration.json +22 -0
  24. package/frontend/dist/locales/en/console.json +10 -0
  25. package/frontend/dist/locales/en/dashboard.json +85 -0
  26. package/frontend/dist/locales/en/dialogs.json +70 -0
  27. package/frontend/dist/locales/en/event-graphs.json +50 -0
  28. package/frontend/dist/locales/en/graph-store.json +70 -0
  29. package/frontend/dist/locales/en/login.json +34 -0
  30. package/frontend/dist/locales/en/management.json +114 -0
  31. package/frontend/dist/locales/en/minecraft-viewer.json +27 -0
  32. package/frontend/dist/locales/en/nodes.json +1077 -0
  33. package/frontend/dist/locales/en/permissions.json +50 -0
  34. package/frontend/dist/locales/en/plugin-detail.json +49 -0
  35. package/frontend/dist/locales/en/plugins.json +110 -0
  36. package/frontend/dist/locales/en/proxies.json +81 -0
  37. package/frontend/dist/locales/en/servers.json +39 -0
  38. package/frontend/dist/locales/en/setup.json +17 -0
  39. package/frontend/dist/locales/en/sidebar.json +27 -0
  40. package/frontend/dist/locales/en/tasks.json +62 -0
  41. package/frontend/dist/locales/en/visual-editor.json +219 -0
  42. package/frontend/dist/locales/en/websocket.json +86 -0
  43. package/frontend/dist/locales/ru/admin.json +100 -0
  44. package/frontend/dist/locales/ru/api-keys.json +58 -0
  45. package/frontend/dist/locales/ru/bots.json +110 -0
  46. package/frontend/dist/locales/ru/common.json +49 -0
  47. package/frontend/dist/locales/ru/configuration.json +22 -0
  48. package/frontend/dist/locales/ru/console.json +10 -0
  49. package/frontend/dist/locales/ru/dashboard.json +85 -0
  50. package/frontend/dist/locales/ru/dialogs.json +70 -0
  51. package/frontend/dist/locales/ru/event-graphs.json +50 -0
  52. package/frontend/dist/locales/ru/graph-store.json +70 -0
  53. package/frontend/dist/locales/ru/login.json +34 -0
  54. package/frontend/dist/locales/ru/management.json +114 -0
  55. package/frontend/dist/locales/ru/minecraft-viewer.json +27 -0
  56. package/frontend/dist/locales/ru/nodes.json +1077 -0
  57. package/frontend/dist/locales/ru/permissions.json +50 -0
  58. package/frontend/dist/locales/ru/plugin-detail.json +49 -0
  59. package/frontend/dist/locales/ru/plugins.json +110 -0
  60. package/frontend/dist/locales/ru/proxies.json +81 -0
  61. package/frontend/dist/locales/ru/servers.json +39 -0
  62. package/frontend/dist/locales/ru/setup.json +17 -0
  63. package/frontend/dist/locales/ru/sidebar.json +27 -0
  64. package/frontend/dist/locales/ru/tasks.json +62 -0
  65. package/frontend/dist/locales/ru/visual-editor.json +221 -0
  66. package/frontend/dist/locales/ru/websocket.json +86 -0
  67. package/frontend/dist/monacoeditorwork/css.worker.bundle.js +7 -7
  68. package/frontend/dist/monacoeditorwork/html.worker.bundle.js +7 -7
  69. package/frontend/dist/monacoeditorwork/json.worker.bundle.js +7 -7
  70. package/frontend/dist/monacoeditorwork/ts.worker.bundle.js +3 -3
  71. package/frontend/package.json +4 -0
  72. package/package.json +1 -1
  73. package/screen/3dviewer.png +0 -0
  74. package/screen/console.png +0 -0
  75. package/screen/dashboard.png +0 -0
  76. package/screen/graph_collabe.png +0 -0
  77. package/screen/graph_live_debug.png +0 -0
  78. package/screen/language_selector.png +0 -0
  79. package/screen/management_command.png +0 -0
  80. package/screen/node_debug_trace.png +0 -0
  81. package/screen/plugin_/320/276/320/261/320/267/320/276/321/200.png +0 -0
  82. package/screen/websocket.png +0 -0
  83. package/screen//320/275/320/260/321/201/321/202/321/200/320/276/320/271/320/272/320/270_/320/276/321/202/320/264/320/265/320/273/321/214/320/275/321/213/321/205_/320/272/320/276/320/274/320/260/320/275/320/264_/320/272/320/260/320/266/320/264/321/203_/320/272/320/276/320/274/320/260/320/275/320/273/320/264/321/203_/320/274/320/276/320/266/320/275/320/276_/320/275/320/260/321/201/321/202/321/200/320/260/320/270/320/262/320/260/321/202/321/214.png +0 -0
  84. package/screen//320/277/320/273/320/260/320/275/320/270/321/200/320/276/320/262/321/211/320/270/320/272_/320/274/320/276/320/266/320/275/320/276_/320/267/320/260/320/264/320/260/320/262/320/260/321/202/321/214_/320/264/320/265/320/271/321/201/321/202/320/262/320/270/321/217_/320/277/320/276_/320/262/321/200/320/265/320/274/320/265/320/275/320/270.png +0 -0
  85. package/.claude/agents/README.md +0 -469
  86. package/.claude/agents/auth-route-debugger.md +0 -118
  87. package/.claude/agents/auth-route-tester.md +0 -93
  88. package/.claude/agents/auto-error-resolver.md +0 -97
  89. package/.claude/agents/build-optimizer.md +0 -236
  90. package/.claude/agents/code-architect.md +0 -34
  91. package/.claude/agents/code-architecture-reviewer.md +0 -83
  92. package/.claude/agents/code-explorer.md +0 -51
  93. package/.claude/agents/code-refactor-master.md +0 -94
  94. package/.claude/agents/code-reviewer.md +0 -46
  95. package/.claude/agents/cost-optimizer.md +0 -134
  96. package/.claude/agents/deployment-orchestrator.md +0 -113
  97. package/.claude/agents/documentation-architect.md +0 -82
  98. package/.claude/agents/frontend-error-fixer.md +0 -77
  99. package/.claude/agents/iac-code-generator.md +0 -71
  100. package/.claude/agents/incident-responder.md +0 -346
  101. package/.claude/agents/infrastructure-architect.md +0 -31
  102. package/.claude/agents/kubernetes-specialist.md +0 -56
  103. package/.claude/agents/migration-planner.md +0 -181
  104. package/.claude/agents/network-architect.md +0 -196
  105. package/.claude/agents/plan-reviewer.md +0 -52
  106. package/.claude/agents/refactor-planner.md +0 -63
  107. package/.claude/agents/security-scanner.md +0 -102
  108. package/.claude/agents/web-research-specialist.md +0 -78
  109. package/.claude/commands/cost-analysis.md +0 -315
  110. package/.claude/commands/dev-docs-update.md +0 -55
  111. package/.claude/commands/dev-docs.md +0 -51
  112. package/.claude/commands/feature-dev.md +0 -125
  113. package/.claude/commands/incident-debug.md +0 -247
  114. package/.claude/commands/infra-plan.md +0 -81
  115. package/.claude/commands/migration-plan.md +0 -478
  116. package/.claude/commands/route-research-for-testing.md +0 -37
  117. package/.claude/commands/security-review.md +0 -66
  118. package/.claude/hooks/CONFIG.md +0 -448
  119. package/.claude/hooks/README.md +0 -163
  120. package/.claude/hooks/SKILL_ACTIVATION_COMPLETE.md +0 -226
  121. package/.claude/hooks/WINDOWS_HOOKS_README.md +0 -151
  122. package/.claude/hooks/add-skill-activation-banners.ts +0 -132
  123. package/.claude/hooks/comprehensive-skill-test.ts +0 -1315
  124. package/.claude/hooks/error-handling-reminder.sh +0 -12
  125. package/.claude/hooks/error-handling-reminder.ts +0 -222
  126. package/.claude/hooks/k8s-manifest-validator.sh +0 -56
  127. package/.claude/hooks/package-lock.json +0 -556
  128. package/.claude/hooks/package.json +0 -16
  129. package/.claude/hooks/post-tool-use-tracker.ps1 +0 -174
  130. package/.claude/hooks/post-tool-use-tracker.sh +0 -183
  131. package/.claude/hooks/security-policy-check.sh +0 -247
  132. package/.claude/hooks/skill-activation-prompt.ps1 +0 -10
  133. package/.claude/hooks/skill-activation-prompt.sh +0 -10
  134. package/.claude/hooks/skill-activation-prompt.ts +0 -141
  135. package/.claude/hooks/stop-build-check-enhanced.sh +0 -130
  136. package/.claude/hooks/terraform-validator.sh +0 -53
  137. package/.claude/hooks/test-input.json +0 -7
  138. package/.claude/hooks/test-skill-activation.ts +0 -427
  139. package/.claude/hooks/trigger-build-resolver.sh +0 -79
  140. package/.claude/hooks/tsc-check.sh +0 -173
  141. package/.claude/hooks/tsconfig.json +0 -19
  142. package/.claude/settings.json +0 -59
  143. package/.claude/settings.local.json +0 -67
  144. package/.claude/skills/README.md +0 -507
  145. package/.claude/skills/api-engineering/SKILL.md +0 -63
  146. package/.claude/skills/api-engineering/resources/api-versioning.md +0 -88
  147. package/.claude/skills/api-engineering/resources/graphql-patterns.md +0 -106
  148. package/.claude/skills/api-engineering/resources/rate-limiting.md +0 -118
  149. package/.claude/skills/api-engineering/resources/rest-api-design.md +0 -105
  150. package/.claude/skills/backend-dev-guidelines/SKILL.md +0 -306
  151. package/.claude/skills/backend-dev-guidelines/resources/architecture-overview.md +0 -451
  152. package/.claude/skills/backend-dev-guidelines/resources/async-and-errors.md +0 -307
  153. package/.claude/skills/backend-dev-guidelines/resources/complete-examples.md +0 -638
  154. package/.claude/skills/backend-dev-guidelines/resources/configuration.md +0 -275
  155. package/.claude/skills/backend-dev-guidelines/resources/database-patterns.md +0 -224
  156. package/.claude/skills/backend-dev-guidelines/resources/middleware-guide.md +0 -213
  157. package/.claude/skills/backend-dev-guidelines/resources/routing-and-controllers.md +0 -756
  158. package/.claude/skills/backend-dev-guidelines/resources/sentry-and-monitoring.md +0 -336
  159. package/.claude/skills/backend-dev-guidelines/resources/services-and-repositories.md +0 -789
  160. package/.claude/skills/backend-dev-guidelines/resources/testing-guide.md +0 -235
  161. package/.claude/skills/backend-dev-guidelines/resources/validation-patterns.md +0 -754
  162. package/.claude/skills/budget-and-cost-management/SKILL.md +0 -850
  163. package/.claude/skills/build-engineering/SKILL.md +0 -431
  164. package/.claude/skills/build-engineering/resources/artifact-repositories.md +0 -72
  165. package/.claude/skills/build-engineering/resources/build-caching.md +0 -96
  166. package/.claude/skills/build-engineering/resources/build-pipelines.md +0 -105
  167. package/.claude/skills/build-engineering/resources/build-security.md +0 -95
  168. package/.claude/skills/build-engineering/resources/build-systems.md +0 -389
  169. package/.claude/skills/build-engineering/resources/compilation-optimization.md +0 -201
  170. package/.claude/skills/build-engineering/resources/dependency-management.md +0 -73
  171. package/.claude/skills/build-engineering/resources/monorepo-builds.md +0 -110
  172. package/.claude/skills/build-engineering/resources/performance-optimization.md +0 -113
  173. package/.claude/skills/build-engineering/resources/reproducible-builds.md +0 -82
  174. package/.claude/skills/cloud-engineering/SKILL.md +0 -675
  175. package/.claude/skills/cloud-engineering/resources/aws-patterns.md +0 -742
  176. package/.claude/skills/cloud-engineering/resources/azure-patterns.md +0 -714
  177. package/.claude/skills/cloud-engineering/resources/cleared-cloud-environments.md +0 -987
  178. package/.claude/skills/cloud-engineering/resources/cloud-cost-optimization.md +0 -757
  179. package/.claude/skills/cloud-engineering/resources/cloud-networking.md +0 -1058
  180. package/.claude/skills/cloud-engineering/resources/cloud-security-tools.md +0 -1530
  181. package/.claude/skills/cloud-engineering/resources/cloud-security.md +0 -990
  182. package/.claude/skills/cloud-engineering/resources/gcp-patterns.md +0 -758
  183. package/.claude/skills/cloud-engineering/resources/migration-strategies.md +0 -820
  184. package/.claude/skills/cloud-engineering/resources/multi-cloud-strategies.md +0 -670
  185. package/.claude/skills/cloud-engineering/resources/oci-patterns.md +0 -1198
  186. package/.claude/skills/cloud-engineering/resources/serverless-patterns.md +0 -795
  187. package/.claude/skills/cloud-engineering/resources/well-architected-frameworks.md +0 -966
  188. package/.claude/skills/cybersecurity/SKILL.md +0 -409
  189. package/.claude/skills/cybersecurity/resources/security-architecture.md +0 -266
  190. package/.claude/skills/database-engineering/SKILL.md +0 -61
  191. package/.claude/skills/database-engineering/resources/backup-and-recovery.md +0 -72
  192. package/.claude/skills/database-engineering/resources/database-replication.md +0 -63
  193. package/.claude/skills/database-engineering/resources/postgresql-fundamentals.md +0 -70
  194. package/.claude/skills/database-engineering/resources/query-optimization.md +0 -68
  195. package/.claude/skills/devsecops/SKILL.md +0 -374
  196. package/.claude/skills/devsecops/resources/ci-cd-security.md +0 -204
  197. package/.claude/skills/devsecops/resources/compliance-automation.md +0 -530
  198. package/.claude/skills/devsecops/resources/compliance-frameworks.md +0 -2322
  199. package/.claude/skills/devsecops/resources/container-security.md +0 -915
  200. package/.claude/skills/devsecops/resources/cspm-integration.md +0 -1440
  201. package/.claude/skills/devsecops/resources/policy-enforcement.md +0 -619
  202. package/.claude/skills/devsecops/resources/secrets-management.md +0 -755
  203. package/.claude/skills/devsecops/resources/security-monitoring.md +0 -146
  204. package/.claude/skills/devsecops/resources/security-scanning.md +0 -887
  205. package/.claude/skills/devsecops/resources/security-testing.md +0 -203
  206. package/.claude/skills/devsecops/resources/supply-chain-security.md +0 -518
  207. package/.claude/skills/devsecops/resources/vulnerability-management.md +0 -481
  208. package/.claude/skills/devsecops/resources/zero-trust-architecture.md +0 -177
  209. package/.claude/skills/documentation-as-code/SKILL.md +0 -323
  210. package/.claude/skills/documentation-as-code/resources/api-documentation.md +0 -90
  211. package/.claude/skills/documentation-as-code/resources/changelog-management.md +0 -79
  212. package/.claude/skills/documentation-as-code/resources/diagram-generation.md +0 -44
  213. package/.claude/skills/documentation-as-code/resources/docs-as-code-workflow.md +0 -99
  214. package/.claude/skills/documentation-as-code/resources/documentation-automation.md +0 -68
  215. package/.claude/skills/documentation-as-code/resources/documentation-sites.md +0 -79
  216. package/.claude/skills/documentation-as-code/resources/markdown-best-practices.md +0 -162
  217. package/.claude/skills/documentation-as-code/resources/openapi-specification.md +0 -77
  218. package/.claude/skills/documentation-as-code/resources/readme-engineering.md +0 -60
  219. package/.claude/skills/documentation-as-code/resources/technical-writing-guide.md +0 -202
  220. package/.claude/skills/engineering-management/SKILL.md +0 -356
  221. package/.claude/skills/engineering-management/resources/career-ladders.md +0 -609
  222. package/.claude/skills/engineering-management/resources/hiring-and-assessment.md +0 -555
  223. package/.claude/skills/engineering-management/resources/one-on-one-guides.md +0 -609
  224. package/.claude/skills/engineering-management/resources/resource-planning.md +0 -557
  225. package/.claude/skills/engineering-management/resources/team-organization-patterns.md +0 -491
  226. package/.claude/skills/engineering-management/resources/technical-interviews.md +0 -474
  227. package/.claude/skills/engineering-operations-management/SKILL.md +0 -817
  228. package/.claude/skills/error-tracking/SKILL.md +0 -379
  229. package/.claude/skills/frontend-design/SKILL.md +0 -42
  230. package/.claude/skills/frontend-dev-guidelines/SKILL.md +0 -403
  231. package/.claude/skills/frontend-dev-guidelines/resources/common-patterns.md +0 -331
  232. package/.claude/skills/frontend-dev-guidelines/resources/complete-examples.md +0 -872
  233. package/.claude/skills/frontend-dev-guidelines/resources/component-patterns.md +0 -502
  234. package/.claude/skills/frontend-dev-guidelines/resources/data-fetching.md +0 -767
  235. package/.claude/skills/frontend-dev-guidelines/resources/file-organization.md +0 -502
  236. package/.claude/skills/frontend-dev-guidelines/resources/loading-and-error-states.md +0 -501
  237. package/.claude/skills/frontend-dev-guidelines/resources/performance.md +0 -406
  238. package/.claude/skills/frontend-dev-guidelines/resources/routing-guide.md +0 -364
  239. package/.claude/skills/frontend-dev-guidelines/resources/styling-guide.md +0 -428
  240. package/.claude/skills/frontend-dev-guidelines/resources/typescript-standards.md +0 -418
  241. package/.claude/skills/general-it-engineering/SKILL.md +0 -393
  242. package/.claude/skills/general-it-engineering/resources/asset-management.md +0 -712
  243. package/.claude/skills/general-it-engineering/resources/automation-orchestration.md +0 -817
  244. package/.claude/skills/general-it-engineering/resources/business-continuity.md +0 -786
  245. package/.claude/skills/general-it-engineering/resources/change-management.md +0 -715
  246. package/.claude/skills/general-it-engineering/resources/enterprise-monitoring.md +0 -729
  247. package/.claude/skills/general-it-engineering/resources/help-desk-operations.md +0 -738
  248. package/.claude/skills/general-it-engineering/resources/incident-service-management.md +0 -834
  249. package/.claude/skills/general-it-engineering/resources/it-governance.md +0 -753
  250. package/.claude/skills/general-it-engineering/resources/itil-framework.md +0 -503
  251. package/.claude/skills/general-it-engineering/resources/service-management.md +0 -669
  252. package/.claude/skills/infrastructure-architecture/SKILL.md +0 -328
  253. package/.claude/skills/infrastructure-architecture/resources/architecture-decision-records.md +0 -505
  254. package/.claude/skills/infrastructure-architecture/resources/architecture-patterns.md +0 -528
  255. package/.claude/skills/infrastructure-architecture/resources/capacity-planning.md +0 -453
  256. package/.claude/skills/infrastructure-architecture/resources/cleared-environment-architecture.md +0 -773
  257. package/.claude/skills/infrastructure-architecture/resources/cost-architecture.md +0 -499
  258. package/.claude/skills/infrastructure-architecture/resources/data-architecture.md +0 -501
  259. package/.claude/skills/infrastructure-architecture/resources/disaster-recovery.md +0 -535
  260. package/.claude/skills/infrastructure-architecture/resources/migration-architecture.md +0 -512
  261. package/.claude/skills/infrastructure-architecture/resources/multi-region-design.md +0 -608
  262. package/.claude/skills/infrastructure-architecture/resources/reference-architectures.md +0 -562
  263. package/.claude/skills/infrastructure-architecture/resources/security-architecture.md +0 -538
  264. package/.claude/skills/infrastructure-architecture/resources/system-design-principles.md +0 -489
  265. package/.claude/skills/infrastructure-architecture/resources/workload-classification.md +0 -1000
  266. package/.claude/skills/infrastructure-strategy/SKILL.md +0 -924
  267. package/.claude/skills/network-engineering/SKILL.md +0 -385
  268. package/.claude/skills/network-engineering/resources/dns-management.md +0 -738
  269. package/.claude/skills/network-engineering/resources/load-balancing.md +0 -820
  270. package/.claude/skills/network-engineering/resources/network-architecture.md +0 -546
  271. package/.claude/skills/network-engineering/resources/network-security.md +0 -921
  272. package/.claude/skills/network-engineering/resources/network-troubleshooting.md +0 -749
  273. package/.claude/skills/network-engineering/resources/routing-switching.md +0 -373
  274. package/.claude/skills/network-engineering/resources/sdn-networking.md +0 -695
  275. package/.claude/skills/network-engineering/resources/service-mesh-networking.md +0 -777
  276. package/.claude/skills/network-engineering/resources/tcp-ip-protocols.md +0 -444
  277. package/.claude/skills/network-engineering/resources/vpn-connectivity.md +0 -672
  278. package/.claude/skills/node-development/SKILL.md +0 -317
  279. package/.claude/skills/observability-engineering/SKILL.md +0 -101
  280. package/.claude/skills/observability-engineering/resources/apm-tools.md +0 -97
  281. package/.claude/skills/observability-engineering/resources/correlation-strategies.md +0 -87
  282. package/.claude/skills/observability-engineering/resources/distributed-tracing.md +0 -98
  283. package/.claude/skills/observability-engineering/resources/logs-aggregation.md +0 -118
  284. package/.claude/skills/observability-engineering/resources/observability-cost-optimization.md +0 -141
  285. package/.claude/skills/observability-engineering/resources/opentelemetry.md +0 -110
  286. package/.claude/skills/platform-engineering/SKILL.md +0 -555
  287. package/.claude/skills/platform-engineering/resources/architecture-overview.md +0 -600
  288. package/.claude/skills/platform-engineering/resources/container-orchestration.md +0 -916
  289. package/.claude/skills/platform-engineering/resources/cost-optimization.md +0 -634
  290. package/.claude/skills/platform-engineering/resources/developer-platforms.md +0 -670
  291. package/.claude/skills/platform-engineering/resources/gitops-automation.md +0 -650
  292. package/.claude/skills/platform-engineering/resources/infrastructure-as-code.md +0 -778
  293. package/.claude/skills/platform-engineering/resources/infrastructure-standards.md +0 -708
  294. package/.claude/skills/platform-engineering/resources/multi-tenancy.md +0 -602
  295. package/.claude/skills/platform-engineering/resources/platform-security.md +0 -711
  296. package/.claude/skills/platform-engineering/resources/resource-management.md +0 -592
  297. package/.claude/skills/platform-engineering/resources/service-mesh.md +0 -628
  298. package/.claude/skills/release-engineering/SKILL.md +0 -393
  299. package/.claude/skills/release-engineering/resources/artifact-management.md +0 -108
  300. package/.claude/skills/release-engineering/resources/build-optimization.md +0 -84
  301. package/.claude/skills/release-engineering/resources/ci-cd-pipelines.md +0 -411
  302. package/.claude/skills/release-engineering/resources/deployment-strategies.md +0 -197
  303. package/.claude/skills/release-engineering/resources/pipeline-security.md +0 -62
  304. package/.claude/skills/release-engineering/resources/progressive-delivery.md +0 -83
  305. package/.claude/skills/release-engineering/resources/release-automation.md +0 -68
  306. package/.claude/skills/release-engineering/resources/release-orchestration.md +0 -77
  307. package/.claude/skills/release-engineering/resources/rollback-strategies.md +0 -66
  308. package/.claude/skills/release-engineering/resources/versioning-strategies.md +0 -59
  309. package/.claude/skills/route-tester/SKILL.md +0 -392
  310. package/.claude/skills/skill-developer/ADVANCED.md +0 -197
  311. package/.claude/skills/skill-developer/HOOK_MECHANISMS.md +0 -306
  312. package/.claude/skills/skill-developer/PATTERNS_LIBRARY.md +0 -152
  313. package/.claude/skills/skill-developer/SKILL.md +0 -430
  314. package/.claude/skills/skill-developer/SKILL_RULES_REFERENCE.md +0 -315
  315. package/.claude/skills/skill-developer/TRIGGER_TYPES.md +0 -305
  316. package/.claude/skills/skill-developer/TROUBLESHOOTING.md +0 -514
  317. package/.claude/skills/skill-rules.json +0 -2989
  318. package/.claude/skills/sre/SKILL.md +0 -464
  319. package/.claude/skills/sre/resources/alerting-best-practices.md +0 -282
  320. package/.claude/skills/sre/resources/capacity-planning.md +0 -226
  321. package/.claude/skills/sre/resources/chaos-engineering.md +0 -193
  322. package/.claude/skills/sre/resources/disaster-recovery.md +0 -232
  323. package/.claude/skills/sre/resources/incident-management.md +0 -436
  324. package/.claude/skills/sre/resources/observability-stack.md +0 -240
  325. package/.claude/skills/sre/resources/on-call-runbooks.md +0 -167
  326. package/.claude/skills/sre/resources/performance-optimization.md +0 -108
  327. package/.claude/skills/sre/resources/reliability-patterns.md +0 -183
  328. package/.claude/skills/sre/resources/slo-sli-sla.md +0 -464
  329. package/.claude/skills/sre/resources/toil-reduction.md +0 -145
  330. package/.claude/skills/systems-engineering/SKILL.md +0 -648
  331. package/.claude/skills/systems-engineering/resources/automation-patterns.md +0 -771
  332. package/.claude/skills/systems-engineering/resources/configuration-management.md +0 -998
  333. package/.claude/skills/systems-engineering/resources/linux-administration.md +0 -672
  334. package/.claude/skills/systems-engineering/resources/networking-fundamentals.md +0 -982
  335. package/.claude/skills/systems-engineering/resources/performance-tuning.md +0 -871
  336. package/.claude/skills/systems-engineering/resources/powershell-scripting.md +0 -482
  337. package/.claude/skills/systems-engineering/resources/security-hardening.md +0 -739
  338. package/.claude/skills/systems-engineering/resources/shell-scripting.md +0 -915
  339. package/.claude/skills/systems-engineering/resources/storage-management.md +0 -628
  340. package/.claude/skills/systems-engineering/resources/system-monitoring.md +0 -787
  341. package/.claude/skills/systems-engineering/resources/troubleshooting-guide.md +0 -753
  342. package/.claude/skills/systems-engineering/resources/windows-administration.md +0 -738
  343. package/.claude/skills/technical-leadership/SKILL.md +0 -728
  344. package/backend/docs/SECRETS_DOCUMENTATION.md +0 -327
  345. package/frontend/dist/assets/index-BC-NbKXi.css +0 -32
  346. package/frontend/dist/assets/index-DqJXZMHY.js +0 -11266
@@ -1,708 +0,0 @@
1
- # Infrastructure Standards & Governance
2
-
3
- Naming conventions, tagging strategies, security baselines, compliance frameworks, and governance policies for platform engineering.
4
-
5
- ## Table of Contents
6
-
7
- - [Naming Conventions](#naming-conventions)
8
- - [Tagging Strategy](#tagging-strategy)
9
- - [Security Baselines](#security-baselines)
10
- - [Compliance Frameworks](#compliance-frameworks)
11
- - [Governance Policies](#governance-policies)
12
- - [Documentation Standards](#documentation-standards)
13
-
14
- ## Naming Conventions
15
-
16
- ### General Principles
17
-
18
- ```
19
- 1. Lowercase with hyphens (kebab-case)
20
- 2. Descriptive and consistent
21
- 3. Include environment/context
22
- 4. Maximum length limits
23
- 5. No special characters (except hyphens)
24
- ```
25
-
26
- ### Kubernetes Resources
27
-
28
- **Namespaces:**
29
- ```
30
- Format: {team}-{environment}
31
- Examples:
32
- - platform-production
33
- - platform-staging
34
- - platform-development
35
- - data-science-prod
36
- ```
37
-
38
- **Deployments:**
39
- ```
40
- Format: {service-name}
41
- Examples:
42
- - api-service
43
- - frontend
44
- - background-worker
45
- - cache-server
46
- ```
47
-
48
- **Services:**
49
- ```
50
- Format: {service-name}
51
- Same as deployment name
52
- Examples:
53
- - api-service
54
- - frontend
55
- ```
56
-
57
- **ConfigMaps/Secrets:**
58
- ```
59
- Format: {service-name}-{type}
60
- Examples:
61
- - api-service-config
62
- - api-service-secrets
63
- - database-credentials
64
- - tls-certificates
65
- ```
66
-
67
- **Ingress:**
68
- ```
69
- Format: {service-name}-ingress
70
- Examples:
71
- - api-service-ingress
72
- - frontend-ingress
73
- ```
74
-
75
- ### AWS Resources
76
-
77
- **VPC:**
78
- ```
79
- Format: {project}-{environment}-vpc
80
- Examples:
81
- - company-prod-vpc
82
- - company-staging-vpc
83
- ```
84
-
85
- **Subnets:**
86
- ```
87
- Format: {project}-{environment}-{type}-{az}
88
- Examples:
89
- - company-prod-private-1a
90
- - company-prod-public-1b
91
- - company-staging-private-1c
92
- ```
93
-
94
- **EC2 Instances:**
95
- ```
96
- Format: {project}-{environment}-{role}-{number}
97
- Examples:
98
- - company-prod-web-01
99
- - company-prod-worker-03
100
- - company-staging-bastion-01
101
- ```
102
-
103
- **RDS:**
104
- ```
105
- Format: {project}-{environment}-{engine}-{purpose}
106
- Examples:
107
- - company-prod-postgres-primary
108
- - company-prod-mysql-replica
109
- - company-staging-postgres-main
110
- ```
111
-
112
- **S3 Buckets:**
113
- ```
114
- Format: {company}-{project}-{environment}-{purpose}
115
- Examples:
116
- - acme-platform-prod-data
117
- - acme-platform-prod-backups
118
- - acme-platform-staging-uploads
119
-
120
- Note: S3 buckets are globally unique
121
- ```
122
-
123
- **Load Balancers:**
124
- ```
125
- Format: {project}-{environment}-{type}-lb
126
- Examples:
127
- - company-prod-public-lb
128
- - company-prod-internal-lb
129
- ```
130
-
131
- **Security Groups:**
132
- ```
133
- Format: {project}-{environment}-{purpose}-sg
134
- Examples:
135
- - company-prod-web-sg
136
- - company-prod-database-sg
137
- - company-staging-bastion-sg
138
- ```
139
-
140
- ## Tagging Strategy
141
-
142
- ### Mandatory Tags
143
-
144
- ```yaml
145
- # All resources must have these tags
146
- tags:
147
- Name: "resource-name" # Human-readable name
148
- Environment: "production" # production, staging, development
149
- Project: "customer-platform" # Project/product name
150
- Owner: "team-platform" # Owning team
151
- CostCenter: "12345" # Billing code
152
- ManagedBy: "terraform" # How resource is managed
153
- CreatedDate: "2024-01-15" # When created (ISO 8601)
154
- ```
155
-
156
- ### Optional Tags
157
-
158
- ```yaml
159
- tags:
160
- # Business context
161
- Department: "engineering"
162
- BusinessUnit: "platform"
163
- Application: "api-service"
164
- ServiceTier: "critical" # critical, important, standard
165
-
166
- # Technical context
167
- Version: "v1.2.3"
168
- GitRepo: "company/api-service"
169
- Component: "backend"
170
- DataClassification: "confidential" # public, internal, confidential, restricted
171
-
172
- # Operational
173
- Backup: "daily" # Backup schedule
174
- MaintenanceWindow: "sun-02:00" # Preferred maintenance time
175
- AutoShutdown: "true" # Can be shut down to save costs
176
- Compliance: "pci-dss,hipaa" # Compliance requirements
177
- ```
178
-
179
- ### Terraform Implementation
180
-
181
- ```hcl
182
- # variables.tf
183
- variable "mandatory_tags" {
184
- type = map(string)
185
- default = {
186
- Project = "customer-platform"
187
- Owner = "team-platform"
188
- ManagedBy = "terraform"
189
- Environment = "production"
190
- }
191
- }
192
-
193
- # main.tf
194
- locals {
195
- common_tags = merge(
196
- var.mandatory_tags,
197
- {
198
- CostCenter = "12345"
199
- CreatedDate = formatdate("YYYY-MM-DD", timestamp())
200
- }
201
- )
202
- }
203
-
204
- # Provider-level default tags
205
- provider "aws" {
206
- default_tags {
207
- tags = local.common_tags
208
- }
209
- }
210
-
211
- # Resource-specific tags
212
- resource "aws_instance" "web" {
213
- # ... instance config
214
-
215
- tags = merge(
216
- local.common_tags,
217
- {
218
- Name = "web-server-01"
219
- ServiceTier = "critical"
220
- Application = "frontend"
221
- Backup = "daily"
222
- }
223
- )
224
- }
225
- ```
226
-
227
- ### Tag Validation
228
-
229
- ```python
230
- # validate-tags.py
231
- import boto3
232
-
233
- REQUIRED_TAGS = ['Name', 'Environment', 'Project', 'Owner', 'CostCenter', 'ManagedBy']
234
- VALID_ENVIRONMENTS = ['production', 'staging', 'development']
235
-
236
- def validate_resource_tags(resource):
237
- tags = {tag['Key']: tag['Value'] for tag in resource.get('Tags', [])}
238
-
239
- # Check required tags exist
240
- missing_tags = [tag for tag in REQUIRED_TAGS if tag not in tags]
241
- if missing_tags:
242
- return False, f"Missing tags: {missing_tags}"
243
-
244
- # Validate environment value
245
- if tags.get('Environment') not in VALID_ENVIRONMENTS:
246
- return False, f"Invalid environment: {tags.get('Environment')}"
247
-
248
- return True, "Valid"
249
-
250
- # Scan all EC2 instances
251
- ec2 = boto3.client('ec2')
252
- instances = ec2.describe_instances()
253
-
254
- for reservation in instances['Reservations']:
255
- for instance in reservation['Instances']:
256
- valid, message = validate_resource_tags(instance)
257
- if not valid:
258
- print(f"Instance {instance['InstanceId']}: {message}")
259
- ```
260
-
261
- ## Security Baselines
262
-
263
- ### Kubernetes Pod Security Standards
264
-
265
- ```yaml
266
- # Enforce restricted policy for production
267
- apiVersion: v1
268
- kind: Namespace
269
- metadata:
270
- name: production
271
- labels:
272
- pod-security.kubernetes.io/enforce: restricted
273
- pod-security.kubernetes.io/audit: restricted
274
- pod-security.kubernetes.io/warn: restricted
275
- ```
276
-
277
- **Restricted Pod Requirements:**
278
- ```yaml
279
- spec:
280
- securityContext:
281
- runAsNonRoot: true
282
- runAsUser: 1000
283
- fsGroup: 1000
284
- seccompProfile:
285
- type: RuntimeDefault
286
-
287
- containers:
288
- - name: app
289
- securityContext:
290
- allowPrivilegeEscalation: false
291
- readOnlyRootFilesystem: true
292
- capabilities:
293
- drop:
294
- - ALL
295
-
296
- resources:
297
- requests:
298
- memory: "128Mi"
299
- cpu: "100m"
300
- limits:
301
- memory: "256Mi"
302
- cpu: "500m"
303
- ```
304
-
305
- ### AWS Security Baseline
306
-
307
- **IAM Policies:**
308
- ```json
309
- {
310
- "Version": "2012-10-17",
311
- "Statement": [
312
- {
313
- "Effect": "Deny",
314
- "Action": "*",
315
- "Resource": "*",
316
- "Condition": {
317
- "BoolIfExists": {
318
- "aws:MultiFactorAuthPresent": "false"
319
- }
320
- }
321
- }
322
- ]
323
- }
324
- ```
325
-
326
- **S3 Bucket Policy:**
327
- ```json
328
- {
329
- "Version": "2012-10-17",
330
- "Statement": [
331
- {
332
- "Sid": "DenyUnencryptedObjectUploads",
333
- "Effect": "Deny",
334
- "Principal": "*",
335
- "Action": "s3:PutObject",
336
- "Resource": "arn:aws:s3:::bucket-name/*",
337
- "Condition": {
338
- "StringNotEquals": {
339
- "s3:x-amz-server-side-encryption": "aws:kms"
340
- }
341
- }
342
- },
343
- {
344
- "Sid": "DenyInsecureTransport",
345
- "Effect": "Deny",
346
- "Principal": "*",
347
- "Action": "s3:*",
348
- "Resource": [
349
- "arn:aws:s3:::bucket-name",
350
- "arn:aws:s3:::bucket-name/*"
351
- ],
352
- "Condition": {
353
- "Bool": {
354
- "aws:SecureTransport": "false"
355
- }
356
- }
357
- }
358
- ]
359
- }
360
- ```
361
-
362
- **VPC Baseline:**
363
- ```hcl
364
- resource "aws_vpc" "main" {
365
- cidr_block = "10.0.0.0/16"
366
- enable_dns_hostnames = true
367
- enable_dns_support = true
368
-
369
- # Enable VPC flow logs
370
- enable_flow_logs = true
371
- }
372
-
373
- resource "aws_flow_log" "main" {
374
- vpc_id = aws_vpc.main.id
375
- traffic_type = "ALL"
376
- iam_role_arn = aws_iam_role.flow_log.arn
377
- log_destination = aws_cloudwatch_log_group.flow_log.arn
378
- }
379
- ```
380
-
381
- ## Compliance Frameworks
382
-
383
- ### CIS Kubernetes Benchmark
384
-
385
- **Key Requirements:**
386
- ```yaml
387
- # 1. RBAC enabled (default in modern K8s)
388
- # 2. Pod Security Standards enforced
389
- # 3. Network policies implemented
390
- # 4. Audit logging enabled
391
- # 5. Secrets encrypted at rest
392
- # 6. TLS for all communications
393
-
394
- # Enable audit logging
395
- apiVersion: v1
396
- kind: Pod
397
- metadata:
398
- name: kube-apiserver
399
- namespace: kube-system
400
- spec:
401
- containers:
402
- - command:
403
- - kube-apiserver
404
- - --audit-log-path=/var/log/kubernetes/audit.log
405
- - --audit-log-maxage=30
406
- - --audit-log-maxbackup=10
407
- - --audit-log-maxsize=100
408
- - --audit-policy-file=/etc/kubernetes/audit-policy.yaml
409
- ```
410
-
411
- ### PCI-DSS Requirements
412
-
413
- ```yaml
414
- # Network segmentation
415
- apiVersion: networking.k8s.io/v1
416
- kind: NetworkPolicy
417
- metadata:
418
- name: pci-segmentation
419
- spec:
420
- podSelector:
421
- matchLabels:
422
- pci-scope: "true"
423
- policyTypes:
424
- - Ingress
425
- - Egress
426
- ingress:
427
- - from:
428
- - podSelector:
429
- matchLabels:
430
- pci-scope: "true"
431
- egress:
432
- - to:
433
- - podSelector:
434
- matchLabels:
435
- pci-scope: "true"
436
- ```
437
-
438
- ### SOC 2 Controls
439
-
440
- ```yaml
441
- # Access controls and audit trails
442
- apiVersion: v1
443
- kind: ConfigMap
444
- metadata:
445
- name: audit-policy
446
- data:
447
- policy.yaml: |
448
- apiVersion: audit.k8s.io/v1
449
- kind: Policy
450
- rules:
451
- # Log all requests at RequestResponse level
452
- - level: RequestResponse
453
- omitStages:
454
- - RequestReceived
455
- ```
456
-
457
- ## Governance Policies
458
-
459
- ### Open Policy Agent (OPA/Gatekeeper)
460
-
461
- **Installation:**
462
- ```bash
463
- kubectl apply -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/master/deploy/gatekeeper.yaml
464
- ```
465
-
466
- **Require Labels:**
467
- ```yaml
468
- apiVersion: templates.gatekeeper.sh/v1
469
- kind: ConstraintTemplate
470
- metadata:
471
- name: k8srequiredlabels
472
- spec:
473
- crd:
474
- spec:
475
- names:
476
- kind: K8sRequiredLabels
477
- validation:
478
- openAPIV3Schema:
479
- type: object
480
- properties:
481
- labels:
482
- type: array
483
- items:
484
- type: string
485
- targets:
486
- - target: admission.k8s.gatekeeper.sh
487
- rego: |
488
- package k8srequiredlabels
489
-
490
- violation[{"msg": msg, "details": {"missing_labels": missing}}] {
491
- provided := {label | input.review.object.metadata.labels[label]}
492
- required := {label | label := input.parameters.labels[_]}
493
- missing := required - provided
494
- count(missing) > 0
495
- msg := sprintf("Missing required labels: %v", [missing])
496
- }
497
- ---
498
- apiVersion: constraints.gatekeeper.sh/v1beta1
499
- kind: K8sRequiredLabels
500
- metadata:
501
- name: require-app-labels
502
- spec:
503
- match:
504
- kinds:
505
- - apiGroups: ["apps"]
506
- kinds: ["Deployment"]
507
- namespaces:
508
- - production
509
- parameters:
510
- labels:
511
- - app
512
- - environment
513
- - owner
514
- - cost-center
515
- ```
516
-
517
- **Enforce Resource Limits:**
518
- ```yaml
519
- apiVersion: templates.gatekeeper.sh/v1
520
- kind: ConstraintTemplate
521
- metadata:
522
- name: k8scontainerlimits
523
- spec:
524
- crd:
525
- spec:
526
- names:
527
- kind: K8sContainerLimits
528
- targets:
529
- - target: admission.k8s.gatekeeper.sh
530
- rego: |
531
- package k8scontainerlimits
532
-
533
- violation[{"msg": msg}] {
534
- container := input.review.object.spec.containers[_]
535
- not container.resources.limits
536
- msg := sprintf("Container %v must have resource limits", [container.name])
537
- }
538
-
539
- violation[{"msg": msg}] {
540
- container := input.review.object.spec.containers[_]
541
- not container.resources.requests
542
- msg := sprintf("Container %v must have resource requests", [container.name])
543
- }
544
- ```
545
-
546
- **Block Privileged Containers:**
547
- ```yaml
548
- apiVersion: constraints.gatekeeper.sh/v1beta1
549
- kind: K8sPSPPrivilegedContainer
550
- metadata:
551
- name: block-privileged-containers
552
- spec:
553
- match:
554
- kinds:
555
- - apiGroups: [""]
556
- kinds: ["Pod"]
557
- namespaces:
558
- - production
559
- ```
560
-
561
- ### Kyverno Policies
562
-
563
- ```yaml
564
- apiVersion: kyverno.io/v1
565
- kind: ClusterPolicy
566
- metadata:
567
- name: require-labels
568
- spec:
569
- validationFailureAction: enforce
570
- background: false
571
- rules:
572
- - name: check-for-labels
573
- match:
574
- any:
575
- - resources:
576
- kinds:
577
- - Pod
578
- - Deployment
579
- validate:
580
- message: "Labels 'app' and 'owner' are required"
581
- pattern:
582
- metadata:
583
- labels:
584
- app: "?*"
585
- owner: "?*"
586
-
587
- ---
588
- apiVersion: kyverno.io/v1
589
- kind: ClusterPolicy
590
- metadata:
591
- name: add-default-resources
592
- spec:
593
- rules:
594
- - name: add-default-requests
595
- match:
596
- any:
597
- - resources:
598
- kinds:
599
- - Pod
600
- mutate:
601
- patchStrategicMerge:
602
- spec:
603
- containers:
604
- - (name): "*"
605
- resources:
606
- requests:
607
- memory: "128Mi"
608
- cpu: "100m"
609
- limits:
610
- memory: "256Mi"
611
- cpu: "500m"
612
- ```
613
-
614
- ## Documentation Standards
615
-
616
- ### README Template
617
-
618
- ```markdown
619
- # Service Name
620
-
621
- Brief description of what this service does.
622
-
623
- ## Architecture
624
-
625
- High-level architecture diagram and explanation.
626
-
627
- ## Prerequisites
628
-
629
- - Kubernetes 1.27+
630
- - Helm 3.12+
631
- - Required secrets in Vault
632
-
633
- ## Deployment
634
-
635
- \`\`\`bash
636
- # Development
637
- kubectl apply -k overlays/development
638
-
639
- # Production
640
- kubectl apply -k overlays/production
641
- \`\`\`
642
-
643
- ## Configuration
644
-
645
- Environment variables and configuration options.
646
-
647
- ## Monitoring
648
-
649
- - Metrics: http://grafana/d/service-name
650
- - Logs: http://kibana/app/service-name
651
- - Alerts: http://alertmanager
652
-
653
- ## Runbooks
654
-
655
- Links to operational runbooks.
656
-
657
- ## Ownership
658
-
659
- - Team: Platform Team
660
- - Contact: platform-team@company.com
661
- - On-call: PagerDuty rotation
662
- ```
663
-
664
- ### Architecture Decision Records (ADRs)
665
-
666
- ```markdown
667
- # ADR-001: Use PostgreSQL for API Service Database
668
-
669
- ## Status
670
-
671
- Accepted
672
-
673
- ## Context
674
-
675
- We need to choose a database for the API service.
676
-
677
- ## Decision
678
-
679
- We will use PostgreSQL 15 for the following reasons:
680
- - ACID compliance required
681
- - Complex queries needed
682
- - Team expertise in PostgreSQL
683
- - Excellent Kubernetes operator support
684
-
685
- ## Consequences
686
-
687
- Positive:
688
- - Strong consistency guarantees
689
- - Rich query capabilities
690
- - Mature ecosystem
691
-
692
- Negative:
693
- - Horizontal scaling more complex than NoSQL
694
- - Higher resource requirements than simpler databases
695
-
696
- ## Alternatives Considered
697
-
698
- - MySQL: Less feature-rich
699
- - MongoDB: Not ACID compliant
700
- - DynamoDB: Vendor lock-in
701
- ```
702
-
703
- ---
704
-
705
- **Related Resources:**
706
- - [platform-security.md](platform-security.md) - Security implementation
707
- - [multi-tenancy.md](multi-tenancy.md) - Namespace standards
708
- - [cost-optimization.md](cost-optimization.md) - Tagging for cost allocation