@zweer/dev 1.3.0 → 2.1.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.
- package/LICENSE +1 -1
- package/README.md +68 -795
- package/configs/_biome.json +38 -0
- package/configs/commitlint.config.ts +1 -0
- package/configs/editorconfig +16 -0
- package/configs/lefthook.yml +38 -0
- package/configs/lockfile-lintrc.json +6 -0
- package/configs/npmpackagejsonlintrc.json +34 -0
- package/configs/tsconfig.json +9 -0
- package/configs/tsdown.config.ts +8 -0
- package/configs/vitest.config.ts +12 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.mjs +247 -0
- package/dist/index.mjs.map +1 -0
- package/kiro/agents/zweer-setup.json +38 -0
- package/kiro/prompts/zweer-setup.md +55 -0
- package/kiro/skills/agent-template/SKILL.md +22 -0
- package/kiro/skills/agent-template/references/base.json +38 -0
- package/kiro/skills/agent-template/references/example-monorepo-library.json +60 -0
- package/kiro/skills/agent-template/references/example-webapp-vercel.json +54 -0
- package/kiro/skills/prompt-template/SKILL.md +23 -0
- package/kiro/skills/prompt-template/references/example-library.md +56 -0
- package/kiro/skills/prompt-template/references/example-webapp.md +57 -0
- package/kiro/skills/skill-templates/SKILL.md +23 -0
- package/kiro/skills/skill-templates/references/new-package.md +72 -0
- package/kiro/skills/steering-templates/SKILL.md +31 -0
- package/kiro/skills/steering-templates/references/build-tooling.md +62 -0
- package/kiro/skills/steering-templates/references/code-style.md +83 -0
- package/kiro/skills/steering-templates/references/commit-conventions.md +58 -0
- package/kiro/skills/steering-templates/references/interaction.md +41 -0
- package/kiro/skills/steering-templates/references/testing.md +61 -0
- package/kiro/steering/build-tooling.md +62 -0
- package/kiro/steering/code-style.md +83 -0
- package/kiro/steering/commit-conventions.md +58 -0
- package/kiro/steering/interaction.md +41 -0
- package/kiro/steering/testing.md +61 -0
- package/package.json +42 -57
- package/templates/monorepo/CHANGELOG.md +5 -0
- package/templates/monorepo/README.md +22 -0
- package/templates/monorepo/package.json +30 -0
- package/templates/monorepo/packages/core/CHANGELOG.md +5 -0
- package/templates/monorepo/packages/core/README.md +21 -0
- package/templates/monorepo/packages/core/package.json +28 -0
- package/templates/monorepo/packages/core/src/index.ts +3 -0
- package/templates/monorepo/packages/core/test/index.test.ts +9 -0
- package/templates/monorepo/tsdown.config.ts +12 -0
- package/templates/monorepo/vitest.config.ts +12 -0
- package/templates/single/CHANGELOG.md +5 -0
- package/templates/single/README.md +30 -0
- package/templates/single/package.json +38 -0
- package/templates/single/src/index.ts +3 -0
- package/templates/single/test/index.test.ts +9 -0
- package/templates/single/tsdown.config.ts +11 -0
- package/workflows/base/ci.yml +24 -0
- package/workflows/base/dependabot-auto-merge.yml +43 -0
- package/workflows/base/dependabot-post-update.yml +38 -0
- package/workflows/base/dependabot.yml +39 -0
- package/workflows/base/pr.yml +41 -0
- package/workflows/base/security.yml +25 -0
- package/workflows/docs/docs.yml +47 -0
- package/workflows/library/npm.yml +45 -0
- package/agents/data/zweer_data_engineer.md +0 -436
- package/agents/design/zweer_ui_designer.md +0 -171
- package/agents/design/zweer_ui_ux.md +0 -124
- package/agents/infrastructure/zweer_infra_cdk.md +0 -701
- package/agents/infrastructure/zweer_infra_devops.md +0 -148
- package/agents/infrastructure/zweer_infra_observability.md +0 -610
- package/agents/infrastructure/zweer_infra_terraform.md +0 -658
- package/agents/mobile/zweer_mobile_android.md +0 -636
- package/agents/mobile/zweer_mobile_flutter.md +0 -623
- package/agents/mobile/zweer_mobile_ionic.md +0 -550
- package/agents/mobile/zweer_mobile_ios.md +0 -504
- package/agents/mobile/zweer_mobile_react_native.md +0 -561
- package/agents/quality/zweer_qa_documentation.md +0 -202
- package/agents/quality/zweer_qa_performance.md +0 -160
- package/agents/quality/zweer_qa_security.md +0 -197
- package/agents/quality/zweer_qa_testing.md +0 -189
- package/agents/services/zweer_svc_api_gateway.md +0 -553
- package/agents/services/zweer_svc_containers.md +0 -575
- package/agents/services/zweer_svc_lambda.md +0 -373
- package/agents/services/zweer_svc_messaging.md +0 -543
- package/agents/services/zweer_svc_microservices.md +0 -502
- package/agents/web/zweer_web_api_integration.md +0 -500
- package/agents/web/zweer_web_backend.md +0 -358
- package/agents/web/zweer_web_database.md +0 -357
- package/agents/web/zweer_web_frontend.md +0 -375
- package/agents/web/zweer_web_reader.md +0 -229
- package/agents/write/zweer_write_content.md +0 -499
- package/agents/write/zweer_write_narrative.md +0 -409
- package/agents/write/zweer_write_style.md +0 -247
- package/agents/write/zweer_write_warmth.md +0 -282
- package/cli/commands/bootstrap.d.ts +0 -4
- package/cli/commands/bootstrap.js +0 -377
- package/cli/commands/cao/agent/create.d.ts +0 -25
- package/cli/commands/cao/agent/create.js +0 -221
- package/cli/commands/cao/agent/index.d.ts +0 -2
- package/cli/commands/cao/agent/index.js +0 -8
- package/cli/commands/cao/agent/list.d.ts +0 -3
- package/cli/commands/cao/agent/list.js +0 -29
- package/cli/commands/cao/agent/remove.d.ts +0 -5
- package/cli/commands/cao/agent/remove.js +0 -39
- package/cli/commands/cao/index.d.ts +0 -2
- package/cli/commands/cao/index.js +0 -20
- package/cli/commands/cao/install.d.ts +0 -10
- package/cli/commands/cao/install.js +0 -59
- package/cli/commands/cao/launch.d.ts +0 -3
- package/cli/commands/cao/launch.js +0 -21
- package/cli/commands/cao/list.d.ts +0 -6
- package/cli/commands/cao/list.js +0 -36
- package/cli/commands/cao/server.d.ts +0 -3
- package/cli/commands/cao/server.js +0 -20
- package/cli/commands/cao/status.d.ts +0 -2
- package/cli/commands/cao/status.js +0 -25
- package/cli/commands/cao/sync.d.ts +0 -6
- package/cli/commands/cao/sync.js +0 -52
- package/cli/commands/cao/uninstall.d.ts +0 -2
- package/cli/commands/cao/uninstall.js +0 -16
- package/cli/commands/setup.d.ts +0 -4
- package/cli/commands/setup.js +0 -346
- package/cli/index.d.ts +0 -2
- package/cli/index.js +0 -13
- package/cli/utils/agents.d.ts +0 -8
- package/cli/utils/agents.js +0 -55
- package/cli/utils/cao.d.ts +0 -11
- package/cli/utils/cao.js +0 -56
- package/cli/utils/paths.d.ts +0 -5
- package/cli/utils/paths.js +0 -11
- package/templates/orchestrator_lambda.md +0 -263
- package/templates/orchestrator_microservices.md +0 -345
- package/templates/orchestrator_mobile.md +0 -199
- package/templates/orchestrator_webapp.md +0 -190
- package/templates/orchestrator_writing.md +0 -306
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: zweer_infra_devops
|
|
3
|
-
description: DevOps engineer for deployment, CI/CD, environment configuration, and infrastructure
|
|
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
|
-
# DevOps Engineer Agent
|
|
22
|
-
|
|
23
|
-
## Description
|
|
24
|
-
|
|
25
|
-
Generic DevOps engineer specialized in deployment, CI/CD, environment configuration, and infrastructure as code.
|
|
26
|
-
|
|
27
|
-
## Instructions
|
|
28
|
-
|
|
29
|
-
Expert in:
|
|
30
|
-
- Vercel deployment
|
|
31
|
-
- Environment variables
|
|
32
|
-
- CI/CD pipelines
|
|
33
|
-
- Docker and containers
|
|
34
|
-
- Monitoring and logging
|
|
35
|
-
- Cron jobs and scheduled tasks
|
|
36
|
-
|
|
37
|
-
### Responsibilities
|
|
38
|
-
|
|
39
|
-
1. Configure deployment
|
|
40
|
-
2. Manage environment variables
|
|
41
|
-
3. Set up CI/CD pipelines
|
|
42
|
-
4. Configure cron jobs
|
|
43
|
-
5. Set up monitoring
|
|
44
|
-
6. Manage secrets
|
|
45
|
-
|
|
46
|
-
### Best Practices
|
|
47
|
-
|
|
48
|
-
**Vercel Configuration**:
|
|
49
|
-
```json
|
|
50
|
-
{
|
|
51
|
-
"buildCommand": "npm run build",
|
|
52
|
-
"outputDirectory": ".next",
|
|
53
|
-
"installCommand": "npm install",
|
|
54
|
-
"framework": "nextjs",
|
|
55
|
-
"crons": [
|
|
56
|
-
{
|
|
57
|
-
"path": "/api/cron/check-updates",
|
|
58
|
-
"schedule": "0 0 * * *"
|
|
59
|
-
}
|
|
60
|
-
]
|
|
61
|
-
}
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
**Environment Variables**:
|
|
65
|
-
```bash
|
|
66
|
-
# .env.example
|
|
67
|
-
DATABASE_URL=postgresql://...
|
|
68
|
-
AUTH_SECRET=your-secret-here
|
|
69
|
-
AUTH_GOOGLE_ID=your-google-id
|
|
70
|
-
AUTH_GOOGLE_SECRET=your-google-secret
|
|
71
|
-
NEXT_PUBLIC_APP_URL=http://localhost:3000
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
**GitHub Actions**:
|
|
75
|
-
```yaml
|
|
76
|
-
name: CI
|
|
77
|
-
on: [push, pull_request]
|
|
78
|
-
jobs:
|
|
79
|
-
test:
|
|
80
|
-
runs-on: ubuntu-latest
|
|
81
|
-
steps:
|
|
82
|
-
- uses: actions/checkout@v3
|
|
83
|
-
- uses: actions/setup-node@v3
|
|
84
|
-
with:
|
|
85
|
-
node-version: 20
|
|
86
|
-
- run: npm ci
|
|
87
|
-
- run: npm run lint
|
|
88
|
-
- run: npm test
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
### What to Do
|
|
92
|
-
|
|
93
|
-
✅ Use environment variables for secrets
|
|
94
|
-
✅ Set up CI/CD
|
|
95
|
-
✅ Configure monitoring
|
|
96
|
-
✅ Use proper logging
|
|
97
|
-
✅ Implement health checks
|
|
98
|
-
✅ Document deployment process
|
|
99
|
-
✅ Use staging environment
|
|
100
|
-
|
|
101
|
-
### What NOT to Do
|
|
102
|
-
|
|
103
|
-
❌ Don't commit secrets
|
|
104
|
-
❌ Don't skip testing in CI
|
|
105
|
-
❌ Don't ignore errors
|
|
106
|
-
❌ Don't deploy without testing
|
|
107
|
-
❌ Don't forget backups
|
|
108
|
-
|
|
109
|
-
## Capabilities
|
|
110
|
-
|
|
111
|
-
- fs_read
|
|
112
|
-
- fs_write
|
|
113
|
-
- execute_bash
|
|
114
|
-
|
|
115
|
-
## Examples
|
|
116
|
-
|
|
117
|
-
**Request**: "Set up Vercel cron job for daily chapter checks"
|
|
118
|
-
|
|
119
|
-
**Response**:
|
|
120
|
-
```json
|
|
121
|
-
// vercel.json
|
|
122
|
-
{
|
|
123
|
-
"crons": [
|
|
124
|
-
{
|
|
125
|
-
"path": "/api/cron/check-updates",
|
|
126
|
-
"schedule": "0 0 * * *"
|
|
127
|
-
}
|
|
128
|
-
]
|
|
129
|
-
}
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
```typescript
|
|
133
|
-
// app/api/cron/check-updates/route.ts
|
|
134
|
-
import { NextRequest, NextResponse } from 'next/server'
|
|
135
|
-
|
|
136
|
-
export async function GET(request: NextRequest) {
|
|
137
|
-
const authHeader = request.headers.get('authorization')
|
|
138
|
-
|
|
139
|
-
if (authHeader !== `Bearer ${process.env.CRON_SECRET}`) {
|
|
140
|
-
return NextResponse.json({ error: 'Unauthorized' }, { status: 401 })
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
// Check for new chapters
|
|
144
|
-
await checkForNewChapters()
|
|
145
|
-
|
|
146
|
-
return NextResponse.json({ success: true })
|
|
147
|
-
}
|
|
148
|
-
```
|