@zimezone/z-command 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (282) hide show
  1. package/README.md +13 -1
  2. package/dist/commands/init.d.ts.map +1 -1
  3. package/dist/commands/init.js +34 -9
  4. package/dist/commands/init.js.map +1 -1
  5. package/package.json +8 -3
  6. package/templates.zip +0 -0
  7. package/templates/agents/accessibility-expert.agent.md +0 -56
  8. package/templates/agents/ai-engineer.agent.md +0 -61
  9. package/templates/agents/angular-architect.agent.md +0 -49
  10. package/templates/agents/api-designer.agent.md +0 -40
  11. package/templates/agents/api-documenter.agent.md +0 -161
  12. package/templates/agents/architect-review.agent.md +0 -146
  13. package/templates/agents/arm-cortex-expert.agent.md +0 -288
  14. package/templates/agents/azure-infra-engineer.agent.md +0 -57
  15. package/templates/agents/backend-architect.agent.md +0 -309
  16. package/templates/agents/backend-developer.agent.md +0 -61
  17. package/templates/agents/backend-security-coder.agent.md +0 -152
  18. package/templates/agents/bash-pro.agent.md +0 -285
  19. package/templates/agents/blockchain-developer.agent.md +0 -57
  20. package/templates/agents/build-engineer.agent.md +0 -56
  21. package/templates/agents/business-analyst.agent.md +0 -47
  22. package/templates/agents/c-pro.agent.md +0 -35
  23. package/templates/agents/c4-code.agent.md +0 -320
  24. package/templates/agents/c4-component.agent.md +0 -227
  25. package/templates/agents/c4-container.agent.md +0 -248
  26. package/templates/agents/c4-context.agent.md +0 -235
  27. package/templates/agents/cli-developer.agent.md +0 -57
  28. package/templates/agents/cloud-architect.agent.md +0 -56
  29. package/templates/agents/code-architect.agent.md +0 -63
  30. package/templates/agents/code-reviewer.agent.md +0 -49
  31. package/templates/agents/competitive-analyst.agent.md +0 -48
  32. package/templates/agents/conductor-validator.agent.md +0 -245
  33. package/templates/agents/context-manager.agent.md +0 -55
  34. package/templates/agents/cpp-pro.agent.md +0 -59
  35. package/templates/agents/csharp-developer.agent.md +0 -57
  36. package/templates/agents/csharp-pro.agent.md +0 -38
  37. package/templates/agents/customer-support.agent.md +0 -148
  38. package/templates/agents/data-engineer.agent.md +0 -55
  39. package/templates/agents/data-researcher.agent.md +0 -55
  40. package/templates/agents/data-scientist.agent.md +0 -56
  41. package/templates/agents/database-admin.agent.md +0 -142
  42. package/templates/agents/database-administrator.agent.md +0 -50
  43. package/templates/agents/database-architect.agent.md +0 -238
  44. package/templates/agents/database-optimizer.agent.md +0 -144
  45. package/templates/agents/debugger.agent.md +0 -30
  46. package/templates/agents/deployment-engineer.agent.md +0 -0
  47. package/templates/agents/devops-engineer.agent.md +0 -59
  48. package/templates/agents/devops-troubleshooter.agent.md +0 -138
  49. package/templates/agents/django-developer.agent.md +0 -50
  50. package/templates/agents/django-pro.agent.md +0 -159
  51. package/templates/agents/docs-architect.agent.md +0 -77
  52. package/templates/agents/documentation-engineer.agent.md +0 -57
  53. package/templates/agents/dotnet-architect.agent.md +0 -175
  54. package/templates/agents/dx-optimizer.agent.md +0 -63
  55. package/templates/agents/electron-pro.agent.md +0 -56
  56. package/templates/agents/elixir-pro.agent.md +0 -38
  57. package/templates/agents/embedded-systems.agent.md +0 -55
  58. package/templates/agents/error-detective.agent.md +0 -32
  59. package/templates/agents/event-sourcing-architect.agent.md +0 -42
  60. package/templates/agents/fastapi-pro.agent.md +0 -171
  61. package/templates/agents/fintech-engineer.agent.md +0 -57
  62. package/templates/agents/firmware-analyst.agent.md +0 -330
  63. package/templates/agents/flutter-expert.agent.md +0 -50
  64. package/templates/agents/frontend-developer.agent.md +0 -59
  65. package/templates/agents/frontend-security-coder.agent.md +0 -149
  66. package/templates/agents/fullstack-developer.agent.md +0 -46
  67. package/templates/agents/git-workflow-manager.agent.md +0 -57
  68. package/templates/agents/golang-pro.agent.md +0 -50
  69. package/templates/agents/graphql-architect.agent.md +0 -48
  70. package/templates/agents/haskell-pro.agent.md +0 -37
  71. package/templates/agents/hr-pro.agent.md +0 -105
  72. package/templates/agents/incident-responder.agent.md +0 -190
  73. package/templates/agents/ios-developer.agent.md +0 -198
  74. package/templates/agents/iot-engineer.agent.md +0 -56
  75. package/templates/agents/java-architect.agent.md +0 -48
  76. package/templates/agents/java-pro.agent.md +0 -156
  77. package/templates/agents/javascript-pro.agent.md +0 -35
  78. package/templates/agents/julia-pro.agent.md +0 -187
  79. package/templates/agents/kotlin-specialist.agent.md +0 -50
  80. package/templates/agents/laravel-specialist.agent.md +0 -50
  81. package/templates/agents/legacy-modernizer.agent.md +0 -56
  82. package/templates/agents/legal-advisor.agent.md +0 -49
  83. package/templates/agents/llm-architect.agent.md +0 -58
  84. package/templates/agents/malware-analyst.agent.md +0 -272
  85. package/templates/agents/mcp-developer.agent.md +0 -54
  86. package/templates/agents/mermaid-expert.agent.md +0 -39
  87. package/templates/agents/microservices-architect.agent.md +0 -47
  88. package/templates/agents/minecraft-bukkit-pro.agent.md +0 -104
  89. package/templates/agents/ml-engineer.agent.md +0 -56
  90. package/templates/agents/mlops-engineer.agent.md +0 -56
  91. package/templates/agents/mobile-developer.agent.md +0 -45
  92. package/templates/agents/mobile-security-coder.agent.md +0 -163
  93. package/templates/agents/monorepo-architect.agent.md +0 -44
  94. package/templates/agents/multi-agent-coordinator.agent.md +0 -55
  95. package/templates/agents/network-engineer.agent.md +0 -57
  96. package/templates/agents/nextjs-developer.agent.md +0 -48
  97. package/templates/agents/nlp-engineer.agent.md +0 -58
  98. package/templates/agents/observability-engineer.agent.md +0 -228
  99. package/templates/agents/payment-integration.agent.md +0 -56
  100. package/templates/agents/performance-engineer.agent.md +0 -167
  101. package/templates/agents/performance-optimizer.agent.md +0 -57
  102. package/templates/agents/php-pro.agent.md +0 -43
  103. package/templates/agents/platform-engineer.agent.md +0 -57
  104. package/templates/agents/posix-shell-pro.agent.md +0 -284
  105. package/templates/agents/postgres-pro.agent.md +0 -58
  106. package/templates/agents/product-manager.agent.md +0 -55
  107. package/templates/agents/project-manager.agent.md +0 -57
  108. package/templates/agents/prompt-engineer.agent.md +0 -58
  109. package/templates/agents/python-pro.agent.md +0 -48
  110. package/templates/agents/quant-analyst.agent.md +0 -32
  111. package/templates/agents/rails-expert.agent.md +0 -50
  112. package/templates/agents/react-specialist.agent.md +0 -49
  113. package/templates/agents/refactoring-specialist.agent.md +0 -56
  114. package/templates/agents/reference-builder.agent.md +0 -167
  115. package/templates/agents/research-analyst.agent.md +0 -63
  116. package/templates/agents/reverse-engineer.agent.md +0 -202
  117. package/templates/agents/risk-manager.agent.md +0 -41
  118. package/templates/agents/ruby-pro.agent.md +0 -35
  119. package/templates/agents/rust-pro.agent.md +0 -156
  120. package/templates/agents/sales-automator.agent.md +0 -35
  121. package/templates/agents/scala-pro.agent.md +0 -60
  122. package/templates/agents/scrum-master.agent.md +0 -54
  123. package/templates/agents/search-specialist.agent.md +0 -59
  124. package/templates/agents/security-analyst.agent.md +0 -57
  125. package/templates/agents/security-auditor.agent.md +0 -138
  126. package/templates/agents/security-engineer.agent.md +0 -57
  127. package/templates/agents/seo-authority-builder.agent.md +0 -116
  128. package/templates/agents/seo-cannibalization-detector.agent.md +0 -103
  129. package/templates/agents/seo-content-auditor.agent.md +0 -63
  130. package/templates/agents/seo-content-planner.agent.md +0 -88
  131. package/templates/agents/seo-content-refresher.agent.md +0 -98
  132. package/templates/agents/seo-content-writer.agent.md +0 -76
  133. package/templates/agents/seo-keyword-strategist.agent.md +0 -75
  134. package/templates/agents/seo-meta-optimizer.agent.md +0 -72
  135. package/templates/agents/seo-snippet-hunter.agent.md +0 -94
  136. package/templates/agents/seo-specialist.agent.md +0 -57
  137. package/templates/agents/seo-structure-architect.agent.md +0 -88
  138. package/templates/agents/service-mesh-expert.agent.md +0 -41
  139. package/templates/agents/sql-pro.agent.md +0 -146
  140. package/templates/agents/sre-engineer.agent.md +0 -58
  141. package/templates/agents/swift-expert.agent.md +0 -49
  142. package/templates/agents/task-distributor.agent.md +0 -47
  143. package/templates/agents/tdd-orchestrator.agent.md +0 -183
  144. package/templates/agents/technical-writer.agent.md +0 -48
  145. package/templates/agents/temporal-python-pro.agent.md +0 -349
  146. package/templates/agents/terraform-engineer.agent.md +0 -57
  147. package/templates/agents/terraform-specialist.agent.md +0 -137
  148. package/templates/agents/test-automator.agent.md +0 -203
  149. package/templates/agents/test-engineer.agent.md +0 -55
  150. package/templates/agents/threat-modeling-expert.agent.md +0 -44
  151. package/templates/agents/trend-analyst.agent.md +0 -47
  152. package/templates/agents/tutorial-engineer.agent.md +0 -118
  153. package/templates/agents/typescript-pro.agent.md +0 -48
  154. package/templates/agents/ui-designer.agent.md +0 -48
  155. package/templates/agents/ui-ux-designer.agent.md +0 -188
  156. package/templates/agents/ui-visual-validator.agent.md +0 -192
  157. package/templates/agents/ux-researcher.agent.md +0 -48
  158. package/templates/agents/vector-database-engineer.agent.md +0 -43
  159. package/templates/agents/vue-expert.agent.md +0 -48
  160. package/templates/agents/websocket-engineer.agent.md +0 -49
  161. package/templates/agents/workflow-orchestrator.agent.md +0 -48
  162. package/templates/skills/angular-migration/SKILL.md +0 -410
  163. package/templates/skills/api-design-principles/SKILL.md +0 -528
  164. package/templates/skills/api-design-principles/assets/api-design-checklist.md +0 -155
  165. package/templates/skills/api-design-principles/assets/rest-api-template.py +0 -182
  166. package/templates/skills/api-design-principles/references/graphql-schema-design.md +0 -583
  167. package/templates/skills/api-design-principles/references/rest-best-practices.md +0 -408
  168. package/templates/skills/architecture-decision-records/SKILL.md +0 -428
  169. package/templates/skills/architecture-patterns/SKILL.md +0 -494
  170. package/templates/skills/async-python-patterns/SKILL.md +0 -694
  171. package/templates/skills/auth-implementation-patterns/SKILL.md +0 -634
  172. package/templates/skills/changelog-automation/SKILL.md +0 -552
  173. package/templates/skills/code-review/SKILL.md +0 -62
  174. package/templates/skills/code-review-excellence/SKILL.md +0 -520
  175. package/templates/skills/competitive-landscape/SKILL.md +0 -479
  176. package/templates/skills/context-driven-development/SKILL.md +0 -385
  177. package/templates/skills/cost-optimization/SKILL.md +0 -274
  178. package/templates/skills/cqrs-implementation/SKILL.md +0 -554
  179. package/templates/skills/data-quality-frameworks/SKILL.md +0 -587
  180. package/templates/skills/data-storytelling/SKILL.md +0 -453
  181. package/templates/skills/database-migration/SKILL.md +0 -424
  182. package/templates/skills/dbt-transformation-patterns/SKILL.md +0 -561
  183. package/templates/skills/debugging-strategies/SKILL.md +0 -527
  184. package/templates/skills/defi-protocol-templates/SKILL.md +0 -454
  185. package/templates/skills/dependency-upgrade/SKILL.md +0 -409
  186. package/templates/skills/deployment-pipeline-design/SKILL.md +0 -359
  187. package/templates/skills/distributed-tracing/SKILL.md +0 -438
  188. package/templates/skills/dotnet-backend-patterns/SKILL.md +0 -815
  189. package/templates/skills/dotnet-backend-patterns/assets/repository-template.cs +0 -523
  190. package/templates/skills/dotnet-backend-patterns/assets/service-template.cs +0 -336
  191. package/templates/skills/dotnet-backend-patterns/references/dapper-patterns.md +0 -544
  192. package/templates/skills/dotnet-backend-patterns/references/ef-core-best-practices.md +0 -355
  193. package/templates/skills/e2e-testing-patterns/SKILL.md +0 -547
  194. package/templates/skills/employment-contract-templates/SKILL.md +0 -507
  195. package/templates/skills/error-handling-patterns/SKILL.md +0 -636
  196. package/templates/skills/event-store-design/SKILL.md +0 -437
  197. package/templates/skills/fastapi-templates/SKILL.md +0 -567
  198. package/templates/skills/git-advanced-workflows/SKILL.md +0 -400
  199. package/templates/skills/github-actions-templates/SKILL.md +0 -333
  200. package/templates/skills/go-concurrency-patterns/SKILL.md +0 -655
  201. package/templates/skills/grafana-dashboards/SKILL.md +0 -369
  202. package/templates/skills/helm-chart-scaffolding/SKILL.md +0 -544
  203. package/templates/skills/helm-chart-scaffolding/assets/Chart.yaml.template +0 -42
  204. package/templates/skills/helm-chart-scaffolding/assets/values.yaml.template +0 -185
  205. package/templates/skills/helm-chart-scaffolding/references/chart-structure.md +0 -500
  206. package/templates/skills/helm-chart-scaffolding/scripts/validate-chart.sh +0 -244
  207. package/templates/skills/javascript-testing-patterns/SKILL.md +0 -1025
  208. package/templates/skills/langchain-architecture/SKILL.md +0 -338
  209. package/templates/skills/llm-evaluation/SKILL.md +0 -471
  210. package/templates/skills/microservices-patterns/SKILL.md +0 -595
  211. package/templates/skills/modern-javascript-patterns/SKILL.md +0 -911
  212. package/templates/skills/monorepo-management/SKILL.md +0 -622
  213. package/templates/skills/nextjs-app-router-patterns/SKILL.md +0 -544
  214. package/templates/skills/nodejs-backend-patterns/SKILL.md +0 -1020
  215. package/templates/skills/nx-workspace-patterns/SKILL.md +0 -452
  216. package/templates/skills/openapi-spec-generation/SKILL.md +0 -1028
  217. package/templates/skills/paypal-integration/SKILL.md +0 -467
  218. package/templates/skills/pci-compliance/SKILL.md +0 -466
  219. package/templates/skills/postgresql/SKILL.md +0 -204
  220. package/templates/skills/projection-patterns/SKILL.md +0 -490
  221. package/templates/skills/prometheus-configuration/SKILL.md +0 -392
  222. package/templates/skills/prompt-engineering-patterns/SKILL.md +0 -201
  223. package/templates/skills/prompt-engineering-patterns/assets/few-shot-examples.json +0 -106
  224. package/templates/skills/prompt-engineering-patterns/assets/prompt-template-library.md +0 -246
  225. package/templates/skills/prompt-engineering-patterns/references/chain-of-thought.md +0 -399
  226. package/templates/skills/prompt-engineering-patterns/references/few-shot-learning.md +0 -369
  227. package/templates/skills/prompt-engineering-patterns/references/prompt-optimization.md +0 -414
  228. package/templates/skills/prompt-engineering-patterns/references/prompt-templates.md +0 -470
  229. package/templates/skills/prompt-engineering-patterns/references/system-prompts.md +0 -189
  230. package/templates/skills/prompt-engineering-patterns/scripts/optimize-prompt.py +0 -279
  231. package/templates/skills/python-packaging/SKILL.md +0 -870
  232. package/templates/skills/python-performance-optimization/SKILL.md +0 -869
  233. package/templates/skills/python-testing-patterns/SKILL.md +0 -907
  234. package/templates/skills/rag-implementation/SKILL.md +0 -403
  235. package/templates/skills/react-modernization/SKILL.md +0 -513
  236. package/templates/skills/react-native-architecture/SKILL.md +0 -671
  237. package/templates/skills/react-state-management/SKILL.md +0 -429
  238. package/templates/skills/risk-metrics-calculation/SKILL.md +0 -555
  239. package/templates/skills/rust-async-patterns/SKILL.md +0 -517
  240. package/templates/skills/secrets-management/SKILL.md +0 -346
  241. package/templates/skills/security-requirement-extraction/SKILL.md +0 -677
  242. package/templates/skills/security-review/SKILL.md +0 -78
  243. package/templates/skills/shellcheck-configuration/SKILL.md +0 -454
  244. package/templates/skills/similarity-search-patterns/SKILL.md +0 -558
  245. package/templates/skills/slo-implementation/SKILL.md +0 -329
  246. package/templates/skills/sql-optimization-patterns/SKILL.md +0 -493
  247. package/templates/skills/stripe-integration/SKILL.md +0 -442
  248. package/templates/skills/systematic-debugging/SKILL.md +0 -57
  249. package/templates/skills/tailwind-design-system/SKILL.md +0 -666
  250. package/templates/skills/temporal-python-testing/SKILL.md +0 -158
  251. package/templates/skills/temporal-python-testing/resources/integration-testing.md +0 -455
  252. package/templates/skills/temporal-python-testing/resources/local-setup.md +0 -553
  253. package/templates/skills/temporal-python-testing/resources/replay-testing.md +0 -462
  254. package/templates/skills/temporal-python-testing/resources/unit-testing.md +0 -328
  255. package/templates/skills/terraform-module-library/SKILL.md +0 -249
  256. package/templates/skills/terraform-module-library/references/aws-modules.md +0 -63
  257. package/templates/skills/test-driven-development/SKILL.md +0 -46
  258. package/templates/skills/threat-mitigation-mapping/SKILL.md +0 -745
  259. package/templates/skills/track-management/SKILL.md +0 -593
  260. package/templates/skills/typescript-advanced-types/SKILL.md +0 -717
  261. package/templates/skills/ui-ux-pro-max/SKILL.md +0 -352
  262. package/templates/skills/ui-ux-pro-max/data/charts.csv +0 -26
  263. package/templates/skills/ui-ux-pro-max/data/colors.csv +0 -97
  264. package/templates/skills/ui-ux-pro-max/data/icons.csv +0 -101
  265. package/templates/skills/ui-ux-pro-max/data/landing.csv +0 -31
  266. package/templates/skills/ui-ux-pro-max/data/products.csv +0 -97
  267. package/templates/skills/ui-ux-pro-max/data/prompts.csv +0 -24
  268. package/templates/skills/ui-ux-pro-max/data/react-performance.csv +0 -45
  269. package/templates/skills/ui-ux-pro-max/data/styles.csv +0 -59
  270. package/templates/skills/ui-ux-pro-max/data/typography.csv +0 -58
  271. package/templates/skills/ui-ux-pro-max/data/ui-reasoning.csv +0 -101
  272. package/templates/skills/ui-ux-pro-max/data/ux-guidelines.csv +0 -100
  273. package/templates/skills/ui-ux-pro-max/data/web-interface.csv +0 -31
  274. package/templates/skills/ui-ux-pro-max/scripts/core.py +0 -258
  275. package/templates/skills/ui-ux-pro-max/scripts/design_system.py +0 -547
  276. package/templates/skills/ui-ux-pro-max/scripts/search.py +0 -76
  277. package/templates/skills/uv-package-manager/SKILL.md +0 -831
  278. package/templates/skills/vector-index-tuning/SKILL.md +0 -521
  279. package/templates/skills/wcag-audit-patterns/SKILL.md +0 -555
  280. package/templates/skills/workflow-orchestration-patterns/SKILL.md +0 -316
  281. package/templates/skills/workflow-patterns/SKILL.md +0 -623
  282. package/templates/skills/writing-plans/SKILL.md +0 -64
@@ -1,385 +0,0 @@
1
- ---
2
- name: context-driven-development
3
- description: Use this skill when working with Conductor's context-driven development methodology, managing project context artifacts, or understanding the relationship between product.md, tech-stack.md, and workflow.md files.
4
- version: 1.0.0
5
- ---
6
-
7
- # Context-Driven Development
8
-
9
- Guide for implementing and maintaining context as a managed artifact alongside code, enabling consistent AI interactions and team alignment through structured project documentation.
10
-
11
- ## When to Use This Skill
12
-
13
- - Setting up new projects with Conductor
14
- - Understanding the relationship between context artifacts
15
- - Maintaining consistency across AI-assisted development sessions
16
- - Onboarding team members to an existing Conductor project
17
- - Deciding when to update context documents
18
- - Managing greenfield vs brownfield project contexts
19
-
20
- ## Core Philosophy
21
-
22
- Context-Driven Development treats project context as a first-class artifact managed alongside code. Instead of relying on ad-hoc prompts or scattered documentation, establish a persistent, structured foundation that informs all AI interactions.
23
-
24
- Key principles:
25
-
26
- 1. **Context precedes code**: Define what you're building and how before implementation
27
- 2. **Living documentation**: Context artifacts evolve with the project
28
- 3. **Single source of truth**: One canonical location for each type of information
29
- 4. **AI alignment**: Consistent context produces consistent AI behavior
30
-
31
- ## The Workflow
32
-
33
- Follow the **Context → Spec & Plan → Implement** workflow:
34
-
35
- 1. **Context Phase**: Establish or verify project context artifacts exist and are current
36
- 2. **Specification Phase**: Define requirements and acceptance criteria for work units
37
- 3. **Planning Phase**: Break specifications into phased, actionable tasks
38
- 4. **Implementation Phase**: Execute tasks following established workflow patterns
39
-
40
- ## Artifact Relationships
41
-
42
- ### product.md - Defines WHAT and WHY
43
-
44
- Purpose: Captures product vision, goals, target users, and business context.
45
-
46
- Contents:
47
-
48
- - Product name and one-line description
49
- - Problem statement and solution approach
50
- - Target user personas
51
- - Core features and capabilities
52
- - Success metrics and KPIs
53
- - Product roadmap (high-level)
54
-
55
- Update when:
56
-
57
- - Product vision or goals change
58
- - New major features are planned
59
- - Target audience shifts
60
- - Business priorities evolve
61
-
62
- ### product-guidelines.md - Defines HOW to Communicate
63
-
64
- Purpose: Establishes brand voice, messaging standards, and communication patterns.
65
-
66
- Contents:
67
-
68
- - Brand voice and tone guidelines
69
- - Terminology and glossary
70
- - Error message conventions
71
- - User-facing copy standards
72
- - Documentation style
73
-
74
- Update when:
75
-
76
- - Brand guidelines change
77
- - New terminology is introduced
78
- - Communication patterns need refinement
79
-
80
- ### tech-stack.md - Defines WITH WHAT
81
-
82
- Purpose: Documents technology choices, dependencies, and architectural decisions.
83
-
84
- Contents:
85
-
86
- - Primary languages and frameworks
87
- - Key dependencies with versions
88
- - Infrastructure and deployment targets
89
- - Development tools and environment
90
- - Testing frameworks
91
- - Code quality tools
92
-
93
- Update when:
94
-
95
- - Adding new dependencies
96
- - Upgrading major versions
97
- - Changing infrastructure
98
- - Adopting new tools or patterns
99
-
100
- ### workflow.md - Defines HOW to Work
101
-
102
- Purpose: Establishes development practices, quality gates, and team workflows.
103
-
104
- Contents:
105
-
106
- - Development methodology (TDD, etc.)
107
- - Git workflow and commit conventions
108
- - Code review requirements
109
- - Testing requirements and coverage targets
110
- - Quality assurance gates
111
- - Deployment procedures
112
-
113
- Update when:
114
-
115
- - Team practices evolve
116
- - Quality standards change
117
- - New workflow patterns are adopted
118
-
119
- ### tracks.md - Tracks WHAT'S HAPPENING
120
-
121
- Purpose: Registry of all work units with status and metadata.
122
-
123
- Contents:
124
-
125
- - Active tracks with current status
126
- - Completed tracks with completion dates
127
- - Track metadata (type, priority, assignee)
128
- - Links to individual track directories
129
-
130
- Update when:
131
-
132
- - New tracks are created
133
- - Track status changes
134
- - Tracks are completed or archived
135
-
136
- ## Context Maintenance Principles
137
-
138
- ### Keep Artifacts Synchronized
139
-
140
- Ensure changes in one artifact reflect in related documents:
141
-
142
- - New feature in product.md → Update tech-stack.md if new dependencies needed
143
- - Completed track → Update product.md to reflect new capabilities
144
- - Workflow change → Update all affected track plans
145
-
146
- ### Update tech-stack.md When Adding Dependencies
147
-
148
- Before adding any new dependency:
149
-
150
- 1. Check if existing dependencies solve the need
151
- 2. Document the rationale for new dependencies
152
- 3. Add version constraints
153
- 4. Note any configuration requirements
154
-
155
- ### Update product.md When Features Complete
156
-
157
- After completing a feature track:
158
-
159
- 1. Move feature from "planned" to "implemented" in product.md
160
- 2. Update any affected success metrics
161
- 3. Document any scope changes from original plan
162
-
163
- ### Verify Context Before Implementation
164
-
165
- Before starting any track:
166
-
167
- 1. Read all context artifacts
168
- 2. Flag any outdated information
169
- 3. Propose updates before proceeding
170
- 4. Confirm context accuracy with stakeholders
171
-
172
- ## Greenfield vs Brownfield Handling
173
-
174
- ### Greenfield Projects (New)
175
-
176
- For new projects:
177
-
178
- 1. Run `/conductor:setup` to create all artifacts interactively
179
- 2. Answer questions about product vision, tech preferences, and workflow
180
- 3. Generate initial style guides for chosen languages
181
- 4. Create empty tracks registry
182
-
183
- Characteristics:
184
-
185
- - Full control over context structure
186
- - Define standards before code exists
187
- - Establish patterns early
188
-
189
- ### Brownfield Projects (Existing)
190
-
191
- For existing codebases:
192
-
193
- 1. Run `/conductor:setup` with existing codebase detection
194
- 2. System analyzes existing code, configs, and documentation
195
- 3. Pre-populate artifacts based on discovered patterns
196
- 4. Review and refine generated context
197
-
198
- Characteristics:
199
-
200
- - Extract implicit context from existing code
201
- - Reconcile existing patterns with desired patterns
202
- - Document technical debt and modernization plans
203
- - Preserve working patterns while establishing standards
204
-
205
- ## Benefits
206
-
207
- ### Team Alignment
208
-
209
- - New team members onboard faster with explicit context
210
- - Consistent terminology and conventions across the team
211
- - Shared understanding of product goals and technical decisions
212
-
213
- ### AI Consistency
214
-
215
- - AI assistants produce aligned outputs across sessions
216
- - Reduced need to re-explain context in each interaction
217
- - Predictable behavior based on documented standards
218
-
219
- ### Institutional Memory
220
-
221
- - Decisions and rationale are preserved
222
- - Context survives team changes
223
- - Historical context informs future decisions
224
-
225
- ### Quality Assurance
226
-
227
- - Standards are explicit and verifiable
228
- - Deviations from context are detectable
229
- - Quality gates are documented and enforceable
230
-
231
- ## Directory Structure
232
-
233
- ```
234
- conductor/
235
- ├── index.md # Navigation hub linking all artifacts
236
- ├── product.md # Product vision and goals
237
- ├── product-guidelines.md # Communication standards
238
- ├── tech-stack.md # Technology preferences
239
- ├── workflow.md # Development practices
240
- ├── tracks.md # Work unit registry
241
- ├── setup_state.json # Resumable setup state
242
- ├── code_styleguides/ # Language-specific conventions
243
- │ ├── python.md
244
- │ ├── typescript.md
245
- │ └── ...
246
- └── tracks/
247
- └── <track-id>/
248
- ├── spec.md
249
- ├── plan.md
250
- ├── metadata.json
251
- └── index.md
252
- ```
253
-
254
- ## Context Lifecycle
255
-
256
- 1. **Creation**: Initial setup via `/conductor:setup`
257
- 2. **Validation**: Verify before each track
258
- 3. **Evolution**: Update as project grows
259
- 4. **Synchronization**: Keep artifacts aligned
260
- 5. **Archival**: Document historical decisions
261
-
262
- ## Context Validation Checklist
263
-
264
- Before starting implementation on any track, validate context:
265
-
266
- ### Product Context
267
-
268
- - [ ] product.md reflects current product vision
269
- - [ ] Target users are accurately described
270
- - [ ] Feature list is up to date
271
- - [ ] Success metrics are defined
272
-
273
- ### Technical Context
274
-
275
- - [ ] tech-stack.md lists all current dependencies
276
- - [ ] Version numbers are accurate
277
- - [ ] Infrastructure targets are correct
278
- - [ ] Development tools are documented
279
-
280
- ### Workflow Context
281
-
282
- - [ ] workflow.md describes current practices
283
- - [ ] Quality gates are defined
284
- - [ ] Coverage targets are specified
285
- - [ ] Commit conventions are documented
286
-
287
- ### Track Context
288
-
289
- - [ ] tracks.md shows all active work
290
- - [ ] No stale or abandoned tracks
291
- - [ ] Dependencies between tracks are noted
292
-
293
- ## Common Anti-Patterns
294
-
295
- Avoid these context management mistakes:
296
-
297
- ### Stale Context
298
-
299
- Problem: Context documents become outdated and misleading.
300
- Solution: Update context as part of each track's completion process.
301
-
302
- ### Context Sprawl
303
-
304
- Problem: Information scattered across multiple locations.
305
- Solution: Use the defined artifact structure; resist creating new document types.
306
-
307
- ### Implicit Context
308
-
309
- Problem: Relying on knowledge not captured in artifacts.
310
- Solution: If you reference something repeatedly, add it to the appropriate artifact.
311
-
312
- ### Context Hoarding
313
-
314
- Problem: One person maintains context without team input.
315
- Solution: Review context artifacts in pull requests; make updates collaborative.
316
-
317
- ### Over-Specification
318
-
319
- Problem: Context becomes so detailed it's impossible to maintain.
320
- Solution: Keep artifacts focused on decisions that affect AI behavior and team alignment.
321
-
322
- ## Integration with Development Tools
323
-
324
- ### IDE Integration
325
-
326
- Configure your IDE to display context files prominently:
327
-
328
- - Pin conductor/product.md for quick reference
329
- - Add tech-stack.md to project notes
330
- - Create snippets for common patterns from style guides
331
-
332
- ### Git Hooks
333
-
334
- Consider pre-commit hooks that:
335
-
336
- - Warn when dependencies change without tech-stack.md update
337
- - Remind to update product.md when feature branches merge
338
- - Validate context artifact syntax
339
-
340
- ### CI/CD Integration
341
-
342
- Include context validation in pipelines:
343
-
344
- - Check tech-stack.md matches actual dependencies
345
- - Verify links in context documents resolve
346
- - Ensure tracks.md status matches git branch state
347
-
348
- ## Session Continuity
349
-
350
- Conductor supports multi-session development through context persistence:
351
-
352
- ### Starting a New Session
353
-
354
- 1. Read index.md to orient yourself
355
- 2. Check tracks.md for active work
356
- 3. Review relevant track's plan.md for current task
357
- 4. Verify context artifacts are current
358
-
359
- ### Ending a Session
360
-
361
- 1. Update plan.md with current progress
362
- 2. Note any blockers or decisions made
363
- 3. Commit in-progress work with clear status
364
- 4. Update tracks.md if status changed
365
-
366
- ### Handling Interruptions
367
-
368
- If interrupted mid-task:
369
-
370
- 1. Mark task as `[~]` with note about stopping point
371
- 2. Commit work-in-progress to feature branch
372
- 3. Document any uncommitted decisions in plan.md
373
-
374
- ## Best Practices
375
-
376
- 1. **Read context first**: Always read relevant artifacts before starting work
377
- 2. **Small updates**: Make incremental context changes, not massive rewrites
378
- 3. **Link decisions**: Reference context when making implementation choices
379
- 4. **Version context**: Commit context changes alongside code changes
380
- 5. **Review context**: Include context artifact reviews in code reviews
381
- 6. **Validate regularly**: Run context validation checklist before major work
382
- 7. **Communicate changes**: Notify team when context artifacts change significantly
383
- 8. **Preserve history**: Use git to track context evolution over time
384
- 9. **Question staleness**: If context feels wrong, investigate and update
385
- 10. **Keep it actionable**: Every context item should inform a decision or behavior
@@ -1,274 +0,0 @@
1
- ---
2
- name: cost-optimization
3
- description: Optimize cloud costs through resource rightsizing, tagging strategies, reserved instances, and spending analysis. Use when reducing cloud expenses, analyzing infrastructure costs, or implementing cost governance policies.
4
- ---
5
-
6
- # Cloud Cost Optimization
7
-
8
- Strategies and patterns for optimizing cloud costs across AWS, Azure, and GCP.
9
-
10
- ## Purpose
11
-
12
- Implement systematic cost optimization strategies to reduce cloud spending while maintaining performance and reliability.
13
-
14
- ## When to Use
15
-
16
- - Reduce cloud spending
17
- - Right-size resources
18
- - Implement cost governance
19
- - Optimize multi-cloud costs
20
- - Meet budget constraints
21
-
22
- ## Cost Optimization Framework
23
-
24
- ### 1. Visibility
25
- - Implement cost allocation tags
26
- - Use cloud cost management tools
27
- - Set up budget alerts
28
- - Create cost dashboards
29
-
30
- ### 2. Right-Sizing
31
- - Analyze resource utilization
32
- - Downsize over-provisioned resources
33
- - Use auto-scaling
34
- - Remove idle resources
35
-
36
- ### 3. Pricing Models
37
- - Use reserved capacity
38
- - Leverage spot/preemptible instances
39
- - Implement savings plans
40
- - Use committed use discounts
41
-
42
- ### 4. Architecture Optimization
43
- - Use managed services
44
- - Implement caching
45
- - Optimize data transfer
46
- - Use lifecycle policies
47
-
48
- ## AWS Cost Optimization
49
-
50
- ### Reserved Instances
51
- ```
52
- Savings: 30-72% vs On-Demand
53
- Term: 1 or 3 years
54
- Payment: All/Partial/No upfront
55
- Flexibility: Standard or Convertible
56
- ```
57
-
58
- ### Savings Plans
59
- ```
60
- Compute Savings Plans: 66% savings
61
- EC2 Instance Savings Plans: 72% savings
62
- Applies to: EC2, Fargate, Lambda
63
- Flexible across: Instance families, regions, OS
64
- ```
65
-
66
- ### Spot Instances
67
- ```
68
- Savings: Up to 90% vs On-Demand
69
- Best for: Batch jobs, CI/CD, stateless workloads
70
- Risk: 2-minute interruption notice
71
- Strategy: Mix with On-Demand for resilience
72
- ```
73
-
74
- ### S3 Cost Optimization
75
- ```hcl
76
- resource "aws_s3_bucket_lifecycle_configuration" "example" {
77
- bucket = aws_s3_bucket.example.id
78
-
79
- rule {
80
- id = "transition-to-ia"
81
- status = "Enabled"
82
-
83
- transition {
84
- days = 30
85
- storage_class = "STANDARD_IA"
86
- }
87
-
88
- transition {
89
- days = 90
90
- storage_class = "GLACIER"
91
- }
92
-
93
- expiration {
94
- days = 365
95
- }
96
- }
97
- }
98
- ```
99
-
100
- ## Azure Cost Optimization
101
-
102
- ### Reserved VM Instances
103
- - 1 or 3 year terms
104
- - Up to 72% savings
105
- - Flexible sizing
106
- - Exchangeable
107
-
108
- ### Azure Hybrid Benefit
109
- - Use existing Windows Server licenses
110
- - Up to 80% savings with RI
111
- - Available for Windows and SQL Server
112
-
113
- ### Azure Advisor Recommendations
114
- - Right-size VMs
115
- - Delete unused resources
116
- - Use reserved capacity
117
- - Optimize storage
118
-
119
- ## GCP Cost Optimization
120
-
121
- ### Committed Use Discounts
122
- - 1 or 3 year commitment
123
- - Up to 57% savings
124
- - Applies to vCPUs and memory
125
- - Resource-based or spend-based
126
-
127
- ### Sustained Use Discounts
128
- - Automatic discounts
129
- - Up to 30% for running instances
130
- - No commitment required
131
- - Applies to Compute Engine, GKE
132
-
133
- ### Preemptible VMs
134
- - Up to 80% savings
135
- - 24-hour maximum runtime
136
- - Best for batch workloads
137
-
138
- ## Tagging Strategy
139
-
140
- ### AWS Tagging
141
- ```hcl
142
- locals {
143
- common_tags = {
144
- Environment = "production"
145
- Project = "my-project"
146
- CostCenter = "engineering"
147
- Owner = "team@example.com"
148
- ManagedBy = "terraform"
149
- }
150
- }
151
-
152
- resource "aws_instance" "example" {
153
- ami = "ami-12345678"
154
- instance_type = "t3.medium"
155
-
156
- tags = merge(
157
- local.common_tags,
158
- {
159
- Name = "web-server"
160
- }
161
- )
162
- }
163
- ```
164
-
165
- **Reference:** See `references/tagging-standards.md`
166
-
167
- ## Cost Monitoring
168
-
169
- ### Budget Alerts
170
- ```hcl
171
- # AWS Budget
172
- resource "aws_budgets_budget" "monthly" {
173
- name = "monthly-budget"
174
- budget_type = "COST"
175
- limit_amount = "1000"
176
- limit_unit = "USD"
177
- time_period_start = "2024-01-01_00:00"
178
- time_unit = "MONTHLY"
179
-
180
- notification {
181
- comparison_operator = "GREATER_THAN"
182
- threshold = 80
183
- threshold_type = "PERCENTAGE"
184
- notification_type = "ACTUAL"
185
- subscriber_email_addresses = ["team@example.com"]
186
- }
187
- }
188
- ```
189
-
190
- ### Cost Anomaly Detection
191
- - AWS Cost Anomaly Detection
192
- - Azure Cost Management alerts
193
- - GCP Budget alerts
194
-
195
- ## Architecture Patterns
196
-
197
- ### Pattern 1: Serverless First
198
- - Use Lambda/Functions for event-driven
199
- - Pay only for execution time
200
- - Auto-scaling included
201
- - No idle costs
202
-
203
- ### Pattern 2: Right-Sized Databases
204
- ```
205
- Development: t3.small RDS
206
- Staging: t3.large RDS
207
- Production: r6g.2xlarge RDS with read replicas
208
- ```
209
-
210
- ### Pattern 3: Multi-Tier Storage
211
- ```
212
- Hot data: S3 Standard
213
- Warm data: S3 Standard-IA (30 days)
214
- Cold data: S3 Glacier (90 days)
215
- Archive: S3 Deep Archive (365 days)
216
- ```
217
-
218
- ### Pattern 4: Auto-Scaling
219
- ```hcl
220
- resource "aws_autoscaling_policy" "scale_up" {
221
- name = "scale-up"
222
- scaling_adjustment = 2
223
- adjustment_type = "ChangeInCapacity"
224
- cooldown = 300
225
- autoscaling_group_name = aws_autoscaling_group.main.name
226
- }
227
-
228
- resource "aws_cloudwatch_metric_alarm" "cpu_high" {
229
- alarm_name = "cpu-high"
230
- comparison_operator = "GreaterThanThreshold"
231
- evaluation_periods = "2"
232
- metric_name = "CPUUtilization"
233
- namespace = "AWS/EC2"
234
- period = "60"
235
- statistic = "Average"
236
- threshold = "80"
237
- alarm_actions = [aws_autoscaling_policy.scale_up.arn]
238
- }
239
- ```
240
-
241
- ## Cost Optimization Checklist
242
-
243
- - [ ] Implement cost allocation tags
244
- - [ ] Delete unused resources (EBS, EIPs, snapshots)
245
- - [ ] Right-size instances based on utilization
246
- - [ ] Use reserved capacity for steady workloads
247
- - [ ] Implement auto-scaling
248
- - [ ] Optimize storage classes
249
- - [ ] Use lifecycle policies
250
- - [ ] Enable cost anomaly detection
251
- - [ ] Set budget alerts
252
- - [ ] Review costs weekly
253
- - [ ] Use spot/preemptible instances
254
- - [ ] Optimize data transfer costs
255
- - [ ] Implement caching layers
256
- - [ ] Use managed services
257
- - [ ] Monitor and optimize continuously
258
-
259
- ## Tools
260
-
261
- - **AWS:** Cost Explorer, Cost Anomaly Detection, Compute Optimizer
262
- - **Azure:** Cost Management, Advisor
263
- - **GCP:** Cost Management, Recommender
264
- - **Multi-cloud:** CloudHealth, Cloudability, Kubecost
265
-
266
- ## Reference Files
267
-
268
- - `references/tagging-standards.md` - Tagging conventions
269
- - `assets/cost-analysis-template.xlsx` - Cost analysis spreadsheet
270
-
271
- ## Related Skills
272
-
273
- - `terraform-module-library` - For resource provisioning
274
- - `multi-cloud-architecture` - For cloud selection