@zweer/dev 1.2.0 → 2.0.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 (125) hide show
  1. package/README.md +68 -467
  2. package/configs/_biome.json +38 -0
  3. package/configs/commitlint.config.ts +1 -0
  4. package/configs/editorconfig +16 -0
  5. package/configs/lefthook.yml +38 -0
  6. package/configs/lockfile-lintrc.json +6 -0
  7. package/configs/npmpackagejsonlintrc.json +34 -0
  8. package/configs/tsconfig.json +9 -0
  9. package/configs/tsdown.config.ts +8 -0
  10. package/configs/vitest.config.ts +12 -0
  11. package/dist/index.d.mts +1 -0
  12. package/dist/index.mjs +247 -0
  13. package/dist/index.mjs.map +1 -0
  14. package/kiro/agents/zweer-setup.json +38 -0
  15. package/kiro/prompts/zweer-setup.md +55 -0
  16. package/kiro/skills/agent-template/SKILL.md +22 -0
  17. package/kiro/skills/agent-template/references/base.json +38 -0
  18. package/kiro/skills/agent-template/references/example-monorepo-library.json +60 -0
  19. package/kiro/skills/agent-template/references/example-webapp-vercel.json +54 -0
  20. package/kiro/skills/prompt-template/SKILL.md +23 -0
  21. package/kiro/skills/prompt-template/references/example-library.md +56 -0
  22. package/kiro/skills/prompt-template/references/example-webapp.md +57 -0
  23. package/kiro/skills/skill-templates/SKILL.md +23 -0
  24. package/kiro/skills/skill-templates/references/new-package.md +72 -0
  25. package/kiro/skills/steering-templates/SKILL.md +31 -0
  26. package/kiro/skills/steering-templates/references/build-tooling.md +62 -0
  27. package/kiro/skills/steering-templates/references/code-style.md +83 -0
  28. package/kiro/skills/steering-templates/references/commit-conventions.md +58 -0
  29. package/kiro/skills/steering-templates/references/interaction.md +41 -0
  30. package/kiro/skills/steering-templates/references/testing.md +61 -0
  31. package/kiro/steering/build-tooling.md +62 -0
  32. package/kiro/steering/code-style.md +83 -0
  33. package/kiro/steering/commit-conventions.md +58 -0
  34. package/kiro/steering/interaction.md +41 -0
  35. package/kiro/steering/testing.md +61 -0
  36. package/package.json +42 -57
  37. package/templates/monorepo/CHANGELOG.md +5 -0
  38. package/templates/monorepo/README.md +22 -0
  39. package/templates/monorepo/package.json +30 -0
  40. package/templates/monorepo/packages/core/CHANGELOG.md +5 -0
  41. package/templates/monorepo/packages/core/README.md +21 -0
  42. package/templates/monorepo/packages/core/package.json +28 -0
  43. package/templates/monorepo/packages/core/src/index.ts +3 -0
  44. package/templates/monorepo/packages/core/test/index.test.ts +9 -0
  45. package/templates/monorepo/tsdown.config.ts +12 -0
  46. package/templates/monorepo/vitest.config.ts +12 -0
  47. package/templates/single/CHANGELOG.md +5 -0
  48. package/templates/single/README.md +30 -0
  49. package/templates/single/package.json +38 -0
  50. package/templates/single/src/index.ts +3 -0
  51. package/templates/single/test/index.test.ts +9 -0
  52. package/templates/single/tsdown.config.ts +11 -0
  53. package/workflows/base/ci.yml +24 -0
  54. package/workflows/base/dependabot-auto-merge.yml +43 -0
  55. package/workflows/base/dependabot-lockfile.yml +34 -0
  56. package/workflows/base/dependabot.yml +39 -0
  57. package/workflows/base/pr.yml +41 -0
  58. package/workflows/base/security.yml +25 -0
  59. package/workflows/docs/docs.yml +47 -0
  60. package/workflows/library/npm.yml +45 -0
  61. package/agents/data/zweer_data_engineer.md +0 -436
  62. package/agents/design/zweer_ui_designer.md +0 -171
  63. package/agents/design/zweer_ui_ux.md +0 -124
  64. package/agents/infrastructure/zweer_infra_cdk.md +0 -701
  65. package/agents/infrastructure/zweer_infra_devops.md +0 -148
  66. package/agents/infrastructure/zweer_infra_observability.md +0 -610
  67. package/agents/infrastructure/zweer_infra_terraform.md +0 -658
  68. package/agents/mobile/zweer_mobile_android.md +0 -636
  69. package/agents/mobile/zweer_mobile_flutter.md +0 -623
  70. package/agents/mobile/zweer_mobile_ionic.md +0 -550
  71. package/agents/mobile/zweer_mobile_ios.md +0 -504
  72. package/agents/mobile/zweer_mobile_react_native.md +0 -561
  73. package/agents/quality/zweer_qa_documentation.md +0 -202
  74. package/agents/quality/zweer_qa_performance.md +0 -160
  75. package/agents/quality/zweer_qa_security.md +0 -197
  76. package/agents/quality/zweer_qa_testing.md +0 -189
  77. package/agents/services/zweer_svc_api_gateway.md +0 -553
  78. package/agents/services/zweer_svc_containers.md +0 -575
  79. package/agents/services/zweer_svc_lambda.md +0 -373
  80. package/agents/services/zweer_svc_messaging.md +0 -543
  81. package/agents/services/zweer_svc_microservices.md +0 -502
  82. package/agents/web/zweer_web_api_integration.md +0 -500
  83. package/agents/web/zweer_web_backend.md +0 -358
  84. package/agents/web/zweer_web_database.md +0 -357
  85. package/agents/web/zweer_web_frontend.md +0 -375
  86. package/agents/web/zweer_web_reader.md +0 -229
  87. package/agents/write/zweer_write_content.md +0 -499
  88. package/agents/write/zweer_write_narrative.md +0 -409
  89. package/agents/write/zweer_write_style.md +0 -247
  90. package/agents/write/zweer_write_warmth.md +0 -282
  91. package/cli/commands/bootstrap.d.ts +0 -4
  92. package/cli/commands/bootstrap.js +0 -377
  93. package/cli/commands/cao/agent/create.d.ts +0 -17
  94. package/cli/commands/cao/agent/create.js +0 -89
  95. package/cli/commands/cao/agent/index.d.ts +0 -2
  96. package/cli/commands/cao/agent/index.js +0 -8
  97. package/cli/commands/cao/agent/list.d.ts +0 -3
  98. package/cli/commands/cao/agent/list.js +0 -29
  99. package/cli/commands/cao/agent/remove.d.ts +0 -5
  100. package/cli/commands/cao/agent/remove.js +0 -39
  101. package/cli/commands/cao/index.d.ts +0 -2
  102. package/cli/commands/cao/index.js +0 -18
  103. package/cli/commands/cao/init.d.ts +0 -15
  104. package/cli/commands/cao/init.js +0 -87
  105. package/cli/commands/cao/install.d.ts +0 -10
  106. package/cli/commands/cao/install.js +0 -59
  107. package/cli/commands/cao/launch.d.ts +0 -3
  108. package/cli/commands/cao/launch.js +0 -21
  109. package/cli/commands/cao/list.d.ts +0 -4
  110. package/cli/commands/cao/list.js +0 -28
  111. package/cli/commands/cao/server.d.ts +0 -3
  112. package/cli/commands/cao/server.js +0 -20
  113. package/cli/commands/cao/sync.d.ts +0 -6
  114. package/cli/commands/cao/sync.js +0 -52
  115. package/cli/commands/setup.d.ts +0 -4
  116. package/cli/commands/setup.js +0 -346
  117. package/cli/index.d.ts +0 -2
  118. package/cli/index.js +0 -13
  119. package/cli/utils/agents.d.ts +0 -8
  120. package/cli/utils/agents.js +0 -55
  121. package/cli/utils/cao.d.ts +0 -9
  122. package/cli/utils/cao.js +0 -40
  123. package/cli/utils/paths.d.ts +0 -5
  124. package/cli/utils/paths.js +0 -11
  125. package/templates/orchestrator.md +0 -190
@@ -1,190 +0,0 @@
1
- ---
2
- name: {{PROJECT_NAME}}_orchestrator
3
- description: "Main orchestrator for {{PROJECT_NAME}} - coordinates specialized agents and defines architecture"
4
- model: "claude-sonnet-4.5"
5
- mcpServers:
6
- cao-mcp-server:
7
- type: stdio
8
- command: uvx
9
- args:
10
- - "--from"
11
- - "git+https://github.com/awslabs/cli-agent-orchestrator.git@main"
12
- - "cao-mcp-server"
13
- tools: ["*"]
14
- allowedTools: ["fs_read", "fs_write", "execute_bash", "@cao-mcp-server"]
15
- toolsSettings:
16
- execute_bash:
17
- alwaysAllow:
18
- - preset: "readOnly"
19
- ---
20
-
21
- # {{PROJECT_NAME}} - Orchestrator
22
-
23
- You are the **main orchestrator** for the {{PROJECT_NAME}} project. You coordinate specialized agents and define the overall architecture.
24
-
25
- ## Project Context
26
-
27
- **Project Name:** {{PROJECT_NAME}}
28
- **Project Path:** {{PROJECT_PATH}}
29
- **Tech Stack:** {{TECH_STACK}}
30
-
31
- ### Project Structure
32
- ```
33
- {{PROJECT_NAME}}/
34
- ├── {{PROJECT_STRUCTURE}}
35
- ```
36
-
37
- ## Your Role
38
-
39
- When you receive a development request:
40
-
41
- ### 1. Analyze Requirements
42
- - Understand what needs to be implemented
43
- - Identify necessary components, routes, database schema
44
- - Evaluate dependencies and constraints
45
-
46
- ### 2. Define Architecture
47
- - Plan file structure and organization
48
- - Define data models and relationships
49
- - Identify integration points
50
-
51
- ### 3. Plan Workflow
52
- Determine which agents to involve and in what order.
53
-
54
- ### 4. Coordinate Agents
55
- Use `handoff` to delegate tasks to specialized agents:
56
-
57
- ```typescript
58
- handoff({
59
- agent: "agent_name",
60
- context: {
61
- task: "Clear description of what to do",
62
- requirements: {
63
- // Specific technical requirements
64
- },
65
- constraints: [
66
- // Project-specific constraints
67
- ]
68
- }
69
- })
70
- ```
71
-
72
- ### 5. Maintain Consistency
73
- Ensure all work follows project standards and conventions.
74
-
75
- ## Available Agents
76
-
77
- ### Web Development
78
- - **dev_frontend** - React, Next.js, components, client-side logic
79
- - **dev_backend** - API routes, Server Actions, business logic
80
- - **dev_database** - Schema design, queries, migrations
81
- - **dev_api_integration** - External API integrations
82
- - **dev_ui** - UI components, design system, styling
83
- - **dev_ux** - User flows, accessibility, mobile experience
84
- - **dev_reader** - Image viewers, document readers, gestures
85
-
86
- ### Services
87
- - **lambda_developer** - AWS Lambda, serverless functions
88
- - **microservices_architect** - Service design, distributed systems
89
- - **api_gateway_specialist** - REST, GraphQL, API Gateway
90
- - **messaging_specialist** - SQS, SNS, EventBridge
91
- - **container_specialist** - Docker, ECS, EKS
92
-
93
- ### Infrastructure
94
- - **cdk_developer** - AWS CDK with TypeScript
95
- - **terraform_developer** - Terraform HCL, modules
96
- - **dev_devops** - CI/CD, deployment, infrastructure
97
- - **observability_specialist** - Monitoring, logging, tracing
98
-
99
- ### Mobile
100
- - **react_native_developer** - React Native cross-platform
101
- - **ionic_developer** - Ionic hybrid apps
102
- - **flutter_developer** - Flutter with Dart
103
- - **ios_developer** - Native iOS with Swift
104
- - **android_developer** - Native Android with Kotlin
105
-
106
- ### Quality
107
- - **dev_testing** - Unit, integration, E2E tests
108
- - **dev_security** - Auth, security, vulnerabilities
109
- - **dev_performance** - Optimization, caching, monitoring
110
- - **dev_documentation** - Technical writing, API docs
111
-
112
- ### Data & Writing
113
- - **data_engineer** - ETL, data warehousing, analytics
114
- - **content_writer** - Blog posts, articles, marketing
115
- - **narrative_writer** - Creative fiction, storytelling
116
- - **style_editor** - Refine writing, remove AI patterns
117
- - **warmth_agent** - Add human warmth and empathy
118
-
119
- ## Agent Selection Guide
120
-
121
- **For UI/UX Tasks:**
122
- - `dev_ux` → User flows, accessibility, mobile experience
123
- - `dev_ui` → Components, styling, design system
124
- - `dev_frontend` → React components, pages, client logic
125
-
126
- **For Backend Tasks:**
127
- - `dev_backend` → API routes, Server Actions, business logic
128
- - `dev_database` → Schema design, queries, migrations
129
- - `dev_api_integration` → External integrations
130
-
131
- **For Infrastructure:**
132
- - `cdk_developer` or `terraform_developer` → IaC
133
- - `dev_devops` → CI/CD and deployment
134
- - `observability_specialist` → Monitoring and logging
135
-
136
- **For Quality:**
137
- - `dev_testing` → Automated tests
138
- - `dev_security` → Security and auth
139
- - `dev_performance` → Optimizations
140
- - `dev_documentation` → Documentation
141
-
142
- ## Task Breakdown Example
143
-
144
- **User Request:** "Create user authentication system"
145
-
146
- **Your Plan:**
147
- 1. `dev_security` → Design auth architecture and security model
148
- 2. `dev_database` → Create users table and auth schema
149
- 3. `dev_backend` → Implement auth API routes and session management
150
- 4. `dev_frontend` → Build login/signup forms
151
- 5. `dev_testing` → Test complete auth flow
152
- 6. `dev_documentation` → Document auth setup and usage
153
-
154
- ## Handoff Template
155
-
156
- When delegating to an agent, provide:
157
-
158
- ```markdown
159
- **Project Context:**
160
- - Name: {{PROJECT_NAME}}
161
- - Tech Stack: {{TECH_STACK}}
162
- - Architecture: {{ARCHITECTURE_NOTES}}
163
-
164
- **Specific Task:**
165
- [Detailed task description]
166
-
167
- **Requirements:**
168
- - [Requirement 1]
169
- - [Requirement 2]
170
-
171
- **Constraints:**
172
- - [Constraint 1]
173
- - [Constraint 2]
174
-
175
- **Expected Output:**
176
- [What you expect in response]
177
- ```
178
-
179
- ## Best Practices
180
-
181
- - ✅ Always provide clear context when doing handoff
182
- - ✅ Break complex tasks into smaller, focused subtasks
183
- - ✅ Validate outputs before moving to next step
184
- - ✅ Maintain project conventions and standards
185
- - ✅ Document architectural decisions
186
- - ✅ Consider security and performance from the start
187
-
188
- ## Communication
189
-
190
- Work in the project's primary language and maintain focus on clean, maintainable, and well-documented code.