ai-eng-system 0.0.1

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 (122) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +115 -0
  3. package/dist/.claude-plugin/agents/agent-creator.md +206 -0
  4. package/dist/.claude-plugin/agents/ai_engineer.md +187 -0
  5. package/dist/.claude-plugin/agents/api_builder_enhanced.md +82 -0
  6. package/dist/.claude-plugin/agents/architect-advisor.md +88 -0
  7. package/dist/.claude-plugin/agents/backend_architect.md +88 -0
  8. package/dist/.claude-plugin/agents/code_reviewer.md +208 -0
  9. package/dist/.claude-plugin/agents/command-creator.md +331 -0
  10. package/dist/.claude-plugin/agents/cost_optimizer.md +284 -0
  11. package/dist/.claude-plugin/agents/database_optimizer.md +175 -0
  12. package/dist/.claude-plugin/agents/deployment_engineer.md +186 -0
  13. package/dist/.claude-plugin/agents/docs-writer.md +99 -0
  14. package/dist/.claude-plugin/agents/documentation_specialist.md +212 -0
  15. package/dist/.claude-plugin/agents/frontend-reviewer.md +51 -0
  16. package/dist/.claude-plugin/agents/full_stack_developer.md +391 -0
  17. package/dist/.claude-plugin/agents/infrastructure_builder.md +77 -0
  18. package/dist/.claude-plugin/agents/java-pro.md +182 -0
  19. package/dist/.claude-plugin/agents/ml_engineer.md +176 -0
  20. package/dist/.claude-plugin/agents/monitoring_expert.md +79 -0
  21. package/dist/.claude-plugin/agents/performance_engineer.md +193 -0
  22. package/dist/.claude-plugin/agents/plugin-validator.md +378 -0
  23. package/dist/.claude-plugin/agents/prompt-optimizer.md +63 -0
  24. package/dist/.claude-plugin/agents/security_scanner.md +332 -0
  25. package/dist/.claude-plugin/agents/seo-specialist.md +73 -0
  26. package/dist/.claude-plugin/agents/skill-creator.md +311 -0
  27. package/dist/.claude-plugin/agents/test-docs-writer-2.md +46 -0
  28. package/dist/.claude-plugin/agents/test-docs-writer-usage.md +40 -0
  29. package/dist/.claude-plugin/agents/test-docs-writer.md +98 -0
  30. package/dist/.claude-plugin/agents/test_generator.md +260 -0
  31. package/dist/.claude-plugin/agents/tool-creator.md +474 -0
  32. package/dist/.claude-plugin/commands/compound.md +26 -0
  33. package/dist/.claude-plugin/commands/context.md +318 -0
  34. package/dist/.claude-plugin/commands/create-agent.md +48 -0
  35. package/dist/.claude-plugin/commands/create-command.md +48 -0
  36. package/dist/.claude-plugin/commands/create-plugin.md +400 -0
  37. package/dist/.claude-plugin/commands/create-skill.md +48 -0
  38. package/dist/.claude-plugin/commands/create-tool.md +53 -0
  39. package/dist/.claude-plugin/commands/deploy.md +35 -0
  40. package/dist/.claude-plugin/commands/optimize.md +79 -0
  41. package/dist/.claude-plugin/commands/plan.md +215 -0
  42. package/dist/.claude-plugin/commands/recursive-init.md +217 -0
  43. package/dist/.claude-plugin/commands/research.md +199 -0
  44. package/dist/.claude-plugin/commands/review.md +73 -0
  45. package/dist/.claude-plugin/commands/seo.md +40 -0
  46. package/dist/.claude-plugin/commands/work.md +460 -0
  47. package/dist/.claude-plugin/hooks.json +15 -0
  48. package/dist/.claude-plugin/marketplace.json +54 -0
  49. package/dist/.claude-plugin/plugin.json +24 -0
  50. package/dist/.claude-plugin/skills/AGENTS.md +37 -0
  51. package/dist/.claude-plugin/skills/devops/coolify-deploy/SKILL.md +8 -0
  52. package/dist/.claude-plugin/skills/devops/git-worktree/SKILL.md +11 -0
  53. package/dist/.claude-plugin/skills/plugin-dev/SKILL.md +322 -0
  54. package/dist/.claude-plugin/skills/plugin-dev/references/agent-format.md +248 -0
  55. package/dist/.claude-plugin/skills/plugin-dev/references/claude-code-plugins.md +372 -0
  56. package/dist/.claude-plugin/skills/plugin-dev/references/command-format.md +312 -0
  57. package/dist/.claude-plugin/skills/plugin-dev/references/opencode-plugins.md +406 -0
  58. package/dist/.claude-plugin/skills/plugin-dev/references/opencode-tools.md +470 -0
  59. package/dist/.claude-plugin/skills/plugin-dev/references/skill-format.md +328 -0
  60. package/dist/.claude-plugin/skills/prompting/incentive-prompting/SKILL.md +162 -0
  61. package/dist/.claude-plugin/skills/research/comprehensive-research/SKILL.md +343 -0
  62. package/dist/.opencode/agent/ai-eng/ai-innovation/ai_engineer.md +186 -0
  63. package/dist/.opencode/agent/ai-eng/ai-innovation/ml_engineer.md +175 -0
  64. package/dist/.opencode/agent/ai-eng/ai-innovation/prompt-optimizer.md +62 -0
  65. package/dist/.opencode/agent/ai-eng/business-analytics/seo-specialist.md +72 -0
  66. package/dist/.opencode/agent/ai-eng/development/api_builder_enhanced.md +81 -0
  67. package/dist/.opencode/agent/ai-eng/development/architect-advisor.md +87 -0
  68. package/dist/.opencode/agent/ai-eng/development/backend_architect.md +87 -0
  69. package/dist/.opencode/agent/ai-eng/development/database_optimizer.md +174 -0
  70. package/dist/.opencode/agent/ai-eng/development/docs-writer.md +98 -0
  71. package/dist/.opencode/agent/ai-eng/development/documentation_specialist.md +211 -0
  72. package/dist/.opencode/agent/ai-eng/development/frontend-reviewer.md +50 -0
  73. package/dist/.opencode/agent/ai-eng/development/full_stack_developer.md +390 -0
  74. package/dist/.opencode/agent/ai-eng/development/java-pro.md +181 -0
  75. package/dist/.opencode/agent/ai-eng/development/test-docs-writer-2.md +45 -0
  76. package/dist/.opencode/agent/ai-eng/development/test-docs-writer-usage.md +39 -0
  77. package/dist/.opencode/agent/ai-eng/development/test-docs-writer.md +97 -0
  78. package/dist/.opencode/agent/ai-eng/meta/agent-creator.md +208 -0
  79. package/dist/.opencode/agent/ai-eng/meta/command-creator.md +333 -0
  80. package/dist/.opencode/agent/ai-eng/meta/skill-creator.md +313 -0
  81. package/dist/.opencode/agent/ai-eng/meta/tool-creator.md +476 -0
  82. package/dist/.opencode/agent/ai-eng/operations/cost_optimizer.md +283 -0
  83. package/dist/.opencode/agent/ai-eng/operations/deployment_engineer.md +185 -0
  84. package/dist/.opencode/agent/ai-eng/operations/infrastructure_builder.md +76 -0
  85. package/dist/.opencode/agent/ai-eng/operations/monitoring_expert.md +78 -0
  86. package/dist/.opencode/agent/ai-eng/quality-testing/code_reviewer.md +207 -0
  87. package/dist/.opencode/agent/ai-eng/quality-testing/performance_engineer.md +192 -0
  88. package/dist/.opencode/agent/ai-eng/quality-testing/plugin-validator.md +380 -0
  89. package/dist/.opencode/agent/ai-eng/quality-testing/security_scanner.md +331 -0
  90. package/dist/.opencode/agent/ai-eng/quality-testing/test_generator.md +259 -0
  91. package/dist/.opencode/command/ai-eng/compound.md +26 -0
  92. package/dist/.opencode/command/ai-eng/context.md +318 -0
  93. package/dist/.opencode/command/ai-eng/create-agent.md +48 -0
  94. package/dist/.opencode/command/ai-eng/create-command.md +48 -0
  95. package/dist/.opencode/command/ai-eng/create-plugin.md +400 -0
  96. package/dist/.opencode/command/ai-eng/create-skill.md +48 -0
  97. package/dist/.opencode/command/ai-eng/create-tool.md +53 -0
  98. package/dist/.opencode/command/ai-eng/deploy.md +35 -0
  99. package/dist/.opencode/command/ai-eng/optimize.md +79 -0
  100. package/dist/.opencode/command/ai-eng/plan.md +215 -0
  101. package/dist/.opencode/command/ai-eng/recursive-init.md +217 -0
  102. package/dist/.opencode/command/ai-eng/research.md +199 -0
  103. package/dist/.opencode/command/ai-eng/review.md +73 -0
  104. package/dist/.opencode/command/ai-eng/seo.md +40 -0
  105. package/dist/.opencode/command/ai-eng/work.md +460 -0
  106. package/dist/.opencode/opencode.jsonc +8 -0
  107. package/dist/.opencode/plugin/ai-eng-system.ts +10 -0
  108. package/dist/index.d.ts +3 -0
  109. package/dist/index.js +13 -0
  110. package/dist/skills/AGENTS.md +37 -0
  111. package/dist/skills/devops/coolify-deploy/SKILL.md +8 -0
  112. package/dist/skills/devops/git-worktree/SKILL.md +11 -0
  113. package/dist/skills/plugin-dev/SKILL.md +322 -0
  114. package/dist/skills/plugin-dev/references/agent-format.md +248 -0
  115. package/dist/skills/plugin-dev/references/claude-code-plugins.md +372 -0
  116. package/dist/skills/plugin-dev/references/command-format.md +312 -0
  117. package/dist/skills/plugin-dev/references/opencode-plugins.md +406 -0
  118. package/dist/skills/plugin-dev/references/opencode-tools.md +470 -0
  119. package/dist/skills/plugin-dev/references/skill-format.md +328 -0
  120. package/dist/skills/prompting/incentive-prompting/SKILL.md +162 -0
  121. package/dist/skills/research/comprehensive-research/SKILL.md +343 -0
  122. package/package.json +73 -0
@@ -0,0 +1,40 @@
1
+ ---
2
+ name: ai-eng/seo
3
+ description: Run SEO audit on a page or site
4
+ agent: review
5
+ ---
6
+
7
+ # SEO Command
8
+
9
+ Run an SEO audit on: $ARGUMENTS
10
+
11
+ ## Checklist
12
+
13
+ ### Technical SEO
14
+ - Meta tags (title, description, canonical)
15
+ - Structured data (schema.org)
16
+ - robots.txt and sitemap.xml
17
+ - Canonical URLs and redirects
18
+
19
+ ### Content SEO
20
+ - Heading hierarchy (H1-H6)
21
+ - Keyword optimization
22
+ - Content depth and E-E-A-T signals
23
+ - Internal linking structure
24
+
25
+ ### Performance
26
+ - Core Web Vitals (LCP, FID, CLS)
27
+ - Image optimization (format, lazy loading, alt text)
28
+ - JavaScript/CSS blocking resources
29
+
30
+ ### Accessibility
31
+ - WCAG AA compliance
32
+ - Keyboard navigation
33
+ - Screen reader compatibility
34
+
35
+ ## Output
36
+
37
+ Prioritized recommendations with expected impact:
38
+ - 🔴 Critical (blocking indexing/ranking)
39
+ - 🟡 High Priority (significant opportunity)
40
+ - 🟢 Nice to Have (optimization)
@@ -0,0 +1,460 @@
1
+ ---
2
+ name: ai-eng/work
3
+ description: Execute a plan or task with systematic tracking
4
+ agent: build
5
+ ---
6
+
7
+ # Work Command
8
+
9
+ Execute a plan or task with systematic tracking, quality gates, and comprehensive validation.
10
+
11
+ ## Usage
12
+
13
+ ```bash
14
+ /work [plan-file-or-task-id]
15
+ /work --continue # Resume interrupted work
16
+ /work --validate-only # Run validation without implementation
17
+ /work --dry-run # Show what would be done
18
+ ```
19
+
20
+ ## Execution Philosophy
21
+
22
+ **Quality-First Development**: Every implementation must pass quality gates before moving to the next task. No shortcuts, no technical debt accumulation.
23
+
24
+ ## Phase 1: Setup & Planning
25
+
26
+ ### 1.1 Load Plan or Task
27
+ - If argument is a file path: Load from `plans/[filename].md`
28
+ - If argument is a task ID: Find in current plan or recent plans
29
+ - If `--continue`: Resume from last incomplete task
30
+ - Extract all tasks with dependencies and time estimates
31
+
32
+ ### 1.2 Create Feature Branch
33
+ ```bash
34
+ git checkout -b feat/[feature-slug]
35
+ ```
36
+
37
+ ### 1.3 Optional: Create Git Worktree (for large features)
38
+ ```bash
39
+ git worktree add --detach .worktrees/[feature-slug]
40
+ ```
41
+ Use skill: `skills_devops_git_worktree`
42
+
43
+ ### 1.4 Initialize Todo Tracking
44
+ Create a todo list from plan tasks:
45
+ - Map each task to a todo item
46
+ - Set status to `pending`
47
+ - Link to task ID and acceptance criteria
48
+ - Estimate total effort
49
+
50
+ **Example todo structure:**
51
+ ```
52
+ [FEAT-001-A] Create SessionManager class
53
+ Status: pending
54
+ Priority: high
55
+ Time: 30 min
56
+ Depends: None
57
+ Files: src/context/session.ts
58
+ ```
59
+
60
+ ---
61
+
62
+ ## Phase 2: Task Execution Loop
63
+
64
+ For each task in dependency order:
65
+
66
+ ### 2.1 Mark Task In Progress
67
+ ```bash
68
+ # Update todo status
69
+ todo --mark-in-progress [TASK-ID]
70
+ ```
71
+
72
+ ### 2.2 Implement Changes
73
+ - Read existing code patterns from discovery phase
74
+ - Follow project conventions (naming, structure, style)
75
+ - Add inline comments for complex logic
76
+ - Keep changes focused on task scope
77
+
78
+ **Quality Checkpoints During Implementation:**
79
+ - [ ] Code follows project style guide
80
+ - [ ] No console.log or debug statements
81
+ - [ ] Error handling is comprehensive
82
+ - [ ] Types are explicit (no `any`)
83
+ - [ ] Comments explain "why", not "what"
84
+
85
+ ### 2.3 Write/Update Tests
86
+ For each file modified:
87
+
88
+ **Unit Tests** (if applicable):
89
+ ```typescript
90
+ // tests/[module].test.ts
91
+ describe('[Component]', () => {
92
+ it('should [behavior]', () => {
93
+ // Arrange
94
+ // Act
95
+ // Assert
96
+ })
97
+ })
98
+ ```
99
+
100
+ **Integration Tests** (if applicable):
101
+ - Test interactions with other modules
102
+ - Mock external dependencies
103
+ - Verify error scenarios
104
+
105
+ **Test Coverage Requirements:**
106
+ - Minimum 80% line coverage for new code
107
+ - 100% coverage for critical paths
108
+ - All acceptance criteria have corresponding tests
109
+
110
+ ### 2.4 Run Quality Gates (In Order)
111
+
112
+ #### Gate 1: Linting
113
+ ```bash
114
+ bun run lint
115
+ ```
116
+ **Must Pass**: No warnings or errors
117
+
118
+ #### Gate 2: Type Checking
119
+ ```bash
120
+ bun run type-check
121
+ ```
122
+ **Must Pass**: No TypeScript errors
123
+
124
+ #### Gate 3: Unit Tests
125
+ ```bash
126
+ bun run test:unit
127
+ ```
128
+ **Must Pass**: All tests pass, coverage ≥80%
129
+
130
+ #### Gate 4: Build
131
+ ```bash
132
+ bun run build
133
+ ```
134
+ **Must Pass**: No build errors or warnings
135
+
136
+ #### Gate 5: Integration Tests (if applicable)
137
+ ```bash
138
+ bun run test:integration
139
+ ```
140
+ **Must Pass**: All integration tests pass
141
+
142
+ ### 2.5 Commit Changes
143
+ ```bash
144
+ git add [files]
145
+ git commit -m "[TASK-ID] Brief description
146
+
147
+ - Detailed change 1
148
+ - Detailed change 2
149
+
150
+ Acceptance Criteria:
151
+ - [x] Criterion 1
152
+ - [x] Criterion 2
153
+ "
154
+ ```
155
+
156
+ **Commit Message Format:**
157
+ - First line: `[TASK-ID] Action-oriented summary (50 chars max)`
158
+ - Blank line
159
+ - Body: Bullet points of what changed
160
+ - Blank line
161
+ - Acceptance Criteria: Checkboxes showing what's complete
162
+
163
+ ### 2.6 Mark Task Complete
164
+ ```bash
165
+ todo --mark-complete [TASK-ID]
166
+ ```
167
+
168
+ ---
169
+
170
+ ## Phase 3: Validation & Quality Assurance
171
+
172
+ ### 3.1 Run Full Test Suite
173
+ ```bash
174
+ bun run test
175
+ ```
176
+ - All unit tests pass
177
+ - All integration tests pass
178
+ - Coverage meets thresholds
179
+
180
+ ### 3.2 Run Full Build
181
+ ```bash
182
+ bun run build
183
+ ```
184
+ - No errors
185
+ - No warnings
186
+ - Output size acceptable
187
+
188
+ ### 3.3 Type Safety Check
189
+ ```bash
190
+ bun run type-check
191
+ ```
192
+ - No implicit `any`
193
+ - All types explicit
194
+ - No unused variables
195
+
196
+ ### 3.4 Lint Full Codebase
197
+ ```bash
198
+ bun run lint
199
+ ```
200
+ - No style violations
201
+ - Consistent formatting
202
+ - No unused imports
203
+
204
+ ### 3.5 Performance Check (if applicable)
205
+ ```bash
206
+ bun run benchmark
207
+ ```
208
+ - No performance regressions
209
+ - Bundle size within limits
210
+ - Load times acceptable
211
+
212
+ ### 3.6 Security Check (if applicable)
213
+ ```bash
214
+ bun run audit
215
+ ```
216
+ - No known vulnerabilities
217
+ - Dependencies up to date
218
+ - No security warnings
219
+
220
+ ---
221
+
222
+ ## Phase 4: Documentation & Review
223
+
224
+ ### 4.1 Update Documentation
225
+ - [ ] Update README if needed
226
+ - [ ] Update CHANGELOG
227
+ - [ ] Add JSDoc comments to public APIs
228
+ - [ ] Update type definitions if changed
229
+
230
+ ### 4.2 Create Pull Request
231
+ ```bash
232
+ git push origin feat/[feature-slug]
233
+ gh pr create --title "[Feature] Brief description" \
234
+ --body "$(cat <<'EOF'
235
+ ## Summary
236
+ [2-3 sentence summary of changes]
237
+
238
+ ## Changes
239
+ - [Change 1]
240
+ - [Change 2]
241
+
242
+ ## Testing
243
+ - [x] Unit tests added
244
+ - [x] Integration tests pass
245
+ - [x] Manual testing completed
246
+
247
+ ## Checklist
248
+ - [x] Code follows style guide
249
+ - [x] Tests pass
250
+ - [x] Build succeeds
251
+ - [x] Documentation updated
252
+ EOF
253
+ )"
254
+ ```
255
+
256
+ ### 4.3 Request Review
257
+ ```bash
258
+ /review [pr-url]
259
+ ```
260
+
261
+ ---
262
+
263
+ ## Quality Gates Summary
264
+
265
+ | Gate | Command | Must Pass | Failure Action |
266
+ |------|---------|-----------|-----------------|
267
+ | Lint | `bun run lint` | Yes | Fix violations, re-commit |
268
+ | Types | `bun run type-check` | Yes | Fix type errors, re-commit |
269
+ | Unit Tests | `bun run test:unit` | Yes | Fix tests or code, re-commit |
270
+ | Build | `bun run build` | Yes | Fix build errors, re-commit |
271
+ | Integration | `bun run test:integration` | Yes | Fix integration issues, re-commit |
272
+ | Full Suite | `bun run test` | Yes | Fix all failures, re-commit |
273
+
274
+ **No task is complete until ALL gates pass.**
275
+
276
+ ---
277
+
278
+ ## Handling Failures
279
+
280
+ ### If Linting Fails
281
+ 1. Review lint output
282
+ 2. Fix violations (auto-fix where possible: `bun run lint --fix`)
283
+ 3. Re-run lint
284
+ 4. Commit fixes
285
+
286
+ ### If Tests Fail
287
+ 1. Review test output
288
+ 2. Determine if code or test is wrong
289
+ 3. Fix the issue
290
+ 4. Re-run tests
291
+ 5. Commit fixes
292
+
293
+ ### If Build Fails
294
+ 1. Review build output
295
+ 2. Fix compilation errors
296
+ 3. Re-run build
297
+ 4. Commit fixes
298
+
299
+ ### If Task Becomes Too Large
300
+ 1. Stop and commit what's working
301
+ 2. Break remaining work into new tasks
302
+ 3. Update plan with new tasks
303
+ 4. Continue with next task
304
+
305
+ ---
306
+
307
+ ## Tracking & Metrics
308
+
309
+ ### During Execution
310
+ - Track actual time vs. estimated time
311
+ - Note any blockers or issues
312
+ - Record decisions made
313
+
314
+ ### After Completion
315
+ - Calculate total effort (sum of task times)
316
+ - Identify tasks that took longer than estimated
317
+ - Note patterns for future planning
318
+
319
+ ### Metrics to Track
320
+ | Metric | Purpose |
321
+ |--------|---------|
322
+ | Estimated vs. Actual Time | Improve future estimates |
323
+ | Test Coverage | Ensure quality |
324
+ | Build Time | Identify bottlenecks |
325
+ | Commit Count | Measure granularity |
326
+ | Review Feedback | Improve code quality |
327
+
328
+ ---
329
+
330
+ ## Resuming Interrupted Work
331
+
332
+ If work is interrupted:
333
+
334
+ ```bash
335
+ /work --continue
336
+ ```
337
+
338
+ This will:
339
+ 1. Find the last incomplete task
340
+ 2. Show its status and acceptance criteria
341
+ 3. Resume from where you left off
342
+ 4. Maintain all previous progress
343
+
344
+ ---
345
+
346
+ ## Validation-Only Mode
347
+
348
+ To validate without implementing:
349
+
350
+ ```bash
351
+ /work [plan-file] --validate-only
352
+ ```
353
+
354
+ This will:
355
+ 1. Check all files exist
356
+ 2. Verify dependencies are resolvable
357
+ 3. Run type checking on existing code
358
+ 4. Identify potential issues
359
+ 5. Report without making changes
360
+
361
+ ---
362
+
363
+ ## Dry-Run Mode
364
+
365
+ To see what would be done:
366
+
367
+ ```bash
368
+ /work [plan-file] --dry-run
369
+ ```
370
+
371
+ This will:
372
+ 1. Show all tasks in order
373
+ 2. Show dependencies
374
+ 3. Show files to be modified
375
+ 4. Show estimated total time
376
+ 5. Ask for confirmation before proceeding
377
+
378
+ ---
379
+
380
+ ## Best Practices
381
+
382
+ ### During Implementation
383
+ - ✅ Commit frequently (after each task)
384
+ - ✅ Keep commits focused and atomic
385
+ - ✅ Write descriptive commit messages
386
+ - ✅ Test as you go
387
+ - ✅ Ask for help early if stuck
388
+
389
+ ### Quality Gates
390
+ - ✅ Never skip a quality gate
391
+ - ✅ Fix issues immediately
392
+ - ✅ Don't accumulate technical debt
393
+ - ✅ Maintain test coverage
394
+ - ✅ Keep build times reasonable
395
+
396
+ ### Communication
397
+ - ✅ Update todos regularly
398
+ - ✅ Note blockers immediately
399
+ - ✅ Ask clarifying questions
400
+ - ✅ Request review early
401
+ - ✅ Respond to feedback promptly
402
+
403
+ ### Avoiding Common Pitfalls
404
+ - ❌ Don't skip tests
405
+ - ❌ Don't ignore lint warnings
406
+ - ❌ Don't commit broken code
407
+ - ❌ Don't make unrelated changes
408
+ - ❌ Don't ignore type errors
409
+
410
+ ---
411
+
412
+ ## Integration with Other Commands
413
+
414
+ | Command | Integration |
415
+ |---------|-------------|
416
+ | `/plan` | Load plan file as input |
417
+ | `/review` | Request code review on PR |
418
+ | `/optimize` | Run performance optimization |
419
+ | `git worktree` | Use for large features |
420
+ | `gh pr create` | Create PR automatically |
421
+
422
+ ---
423
+
424
+ ## Troubleshooting
425
+
426
+ ### "Tests are failing"
427
+ 1. Run tests with verbose output: `bun run test -- --verbose`
428
+ 2. Check test output for specific failures
429
+ 3. Fix code or test as appropriate
430
+ 4. Re-run tests
431
+
432
+ ### "Build is slow"
433
+ 1. Check build output: `bun run build --verbose`
434
+ 2. Identify slow steps
435
+ 3. Consider code splitting or optimization
436
+ 4. Use `/optimize` command if needed
437
+
438
+ ### "Too many files to modify"
439
+ 1. Stop and commit current progress
440
+ 2. Break remaining work into smaller tasks
441
+ 3. Update plan with new tasks
442
+ 4. Continue with next task
443
+
444
+ ### "Unclear acceptance criteria"
445
+ 1. Stop and ask for clarification
446
+ 2. Don't guess or assume
447
+ 3. Update plan with clarified criteria
448
+ 4. Resume implementation
449
+
450
+ ---
451
+
452
+ ## Success Criteria
453
+
454
+ A work session is successful when:
455
+ - ✅ All tasks completed
456
+ - ✅ All quality gates passed
457
+ - ✅ All tests passing
458
+ - ✅ Build succeeds
459
+ - ✅ PR created and reviewed
460
+ - ✅ Code merged to main
@@ -0,0 +1,8 @@
1
+ {
2
+ "$schema": "https://opencode.ai/config.json",
3
+
4
+ // AI Engineering System configuration
5
+ // Loaded by OpenCode when you install this project as a config directory.
6
+
7
+ "plugin": ["./plugin/ai-eng-system.ts"]
8
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * OpenCode Plugin for AI Engineering System
3
+ *
4
+ * Kept intentionally minimal. Commands and agents are provided by markdown config
5
+ * under .opencode/command and .opencode/agent in the built distribution.
6
+ */
7
+
8
+ export const aiEngSystem = async () => {
9
+ return {}
10
+ }
@@ -0,0 +1,3 @@
1
+ import type { Plugin } from "@opencode-ai/plugin";
2
+
3
+ export declare const AiEngSystem: Plugin;
package/dist/index.js ADDED
@@ -0,0 +1,13 @@
1
+ // src/index.ts
2
+ var AiEngSystem = async ({
3
+ project,
4
+ client,
5
+ $,
6
+ directory,
7
+ worktree
8
+ }) => {
9
+ return {};
10
+ };
11
+ export {
12
+ AiEngSystem
13
+ };
@@ -0,0 +1,37 @@
1
+ # Skills Repository Context
2
+
3
+ **Hierarchy Level:** Reusable skill definitions
4
+ **Parent:** [../AGENTS.md](../AGENTS.md) — Agent coordination and skill registry
5
+ **Philosophy:** [../CLAUDE.md](../CLAUDE.md) — Compounding Engineering philosophy
6
+
7
+ Modular, reusable skill definitions that support the agents defined in the parent AGENTS.md.
8
+
9
+ ## Project Overview
10
+ Modular skill definitions for DevOps and prompting capabilities.
11
+
12
+ ## Directory Structure
13
+ - `devops/` - DevOps automation skills
14
+ - `coolify-deploy/` - Coolify deployment best practices
15
+ - `git-worktree/` - Git worktree workflows
16
+ - `prompting/` - Prompt enhancement techniques
17
+ - `incentive-prompting/` - Research-backed prompting methods
18
+
19
+ ## Code Style
20
+ - Each skill has dedicated `SKILL.md` with frontmatter
21
+ - Use YAML frontmatter for metadata (name, description)
22
+ - Keep skill descriptions concise and actionable
23
+ - Include practical examples and usage patterns
24
+
25
+ ## Key Skills
26
+ **DevOps:**
27
+ - Coolify deployment automation
28
+ - Git worktree management
29
+
30
+ **Prompting:**
31
+ - Incentive-based prompting techniques
32
+ - Research-backed optimization methods
33
+
34
+ ## Integration Notes
35
+ - Skills integrate with parent AGENTS.md coordination system
36
+ - Must maintain compatibility with command implementations
37
+ - Each skill should be self-contained and reusable
@@ -0,0 +1,8 @@
1
+ ---
2
+ name: coolify-deploy
3
+ description: Deploy to Coolify with best practices
4
+ ---
5
+
6
+ # Coolify Deployment Skill
7
+
8
+ Project types: static (Astro/Svelte static), Node apps, Docker-based. Set build/start commands, env vars, health checks (/health), Nixpacks example, rollback instructions, and deployment checklist as described in the scaffold.
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: git-worktree
3
+ description: Manage Git worktrees for parallel development
4
+ ---
5
+
6
+ # Git Worktree Skill
7
+
8
+ Create worktree: `git worktree add ../project-feature -b feature/name`
9
+ List: `git worktree list`
10
+ Remove: `git worktree remove ../project-feature`
11
+ Best practices: name clearly, clean up after merge.