ai-eng-system 0.0.7 → 0.0.8

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 (56) hide show
  1. package/dist/.claude-plugin/agents/agent-creator.md +0 -2
  2. package/dist/.claude-plugin/agents/ai_engineer.md +0 -1
  3. package/dist/.claude-plugin/agents/api_builder_enhanced.md +0 -1
  4. package/dist/.claude-plugin/agents/backend_architect.md +0 -34
  5. package/dist/.claude-plugin/agents/code_reviewer.md +0 -9
  6. package/dist/.claude-plugin/agents/cost_optimizer.md +0 -1
  7. package/dist/.claude-plugin/agents/database_optimizer.md +0 -1
  8. package/dist/.claude-plugin/agents/deployment_engineer.md +0 -1
  9. package/dist/.claude-plugin/agents/docs-writer.md +0 -2
  10. package/dist/.claude-plugin/agents/documentation_specialist.md +0 -2
  11. package/dist/.claude-plugin/agents/full_stack_developer.md +0 -21
  12. package/dist/.claude-plugin/agents/infrastructure_builder.md +0 -1
  13. package/dist/.claude-plugin/agents/ml_engineer.md +0 -1
  14. package/dist/.claude-plugin/agents/monitoring_expert.md +0 -1
  15. package/dist/.claude-plugin/agents/performance_engineer.md +0 -1
  16. package/dist/.claude-plugin/agents/security_scanner.md +0 -9
  17. package/dist/.claude-plugin/agents/test_generator.md +0 -1
  18. package/dist/.claude-plugin/hooks.json +1 -1
  19. package/dist/.claude-plugin/plugin.json +1 -1
  20. package/dist/.claude-plugin/skills/plugin-dev/references/agent-format.md +24 -4
  21. package/dist/.opencode/agent/ai-eng/ai-innovation/ai_engineer.md +0 -2
  22. package/dist/.opencode/agent/ai-eng/ai-innovation/ml_engineer.md +0 -2
  23. package/dist/.opencode/agent/ai-eng/ai-innovation/prompt-optimizer.md +0 -1
  24. package/dist/.opencode/agent/ai-eng/business-analytics/seo-specialist.md +0 -1
  25. package/dist/.opencode/agent/ai-eng/development/api_builder_enhanced.md +0 -2
  26. package/dist/.opencode/agent/ai-eng/development/architect-advisor.md +0 -1
  27. package/dist/.opencode/agent/ai-eng/development/backend_architect.md +0 -35
  28. package/dist/.opencode/agent/ai-eng/development/database_optimizer.md +0 -2
  29. package/dist/.opencode/agent/ai-eng/development/docs-writer.md +1 -4
  30. package/dist/.opencode/agent/ai-eng/development/documentation_specialist.md +1 -4
  31. package/dist/.opencode/agent/ai-eng/development/frontend-reviewer.md +0 -1
  32. package/dist/.opencode/agent/ai-eng/development/full_stack_developer.md +0 -22
  33. package/dist/.opencode/agent/ai-eng/development/java-pro.md +0 -1
  34. package/dist/.opencode/agent/ai-eng/meta/agent-creator.md +0 -3
  35. package/dist/.opencode/agent/ai-eng/meta/command-creator.md +0 -1
  36. package/dist/.opencode/agent/ai-eng/meta/skill-creator.md +0 -1
  37. package/dist/.opencode/agent/ai-eng/meta/tool-creator.md +0 -1
  38. package/dist/.opencode/agent/ai-eng/operations/cost_optimizer.md +0 -2
  39. package/dist/.opencode/agent/ai-eng/operations/deployment_engineer.md +0 -2
  40. package/dist/.opencode/agent/ai-eng/operations/infrastructure_builder.md +0 -2
  41. package/dist/.opencode/agent/ai-eng/operations/monitoring_expert.md +0 -2
  42. package/dist/.opencode/agent/ai-eng/quality-testing/code_reviewer.md +0 -10
  43. package/dist/.opencode/agent/ai-eng/quality-testing/performance_engineer.md +0 -2
  44. package/dist/.opencode/agent/ai-eng/quality-testing/plugin-validator.md +0 -1
  45. package/dist/.opencode/agent/ai-eng/quality-testing/security_scanner.md +0 -10
  46. package/dist/.opencode/agent/ai-eng/quality-testing/test_generator.md +0 -2
  47. package/dist/.opencode/agent/ai-eng/quality-testing/text-cleaner.md +0 -1
  48. package/dist/skills/plugin-dev/references/agent-format.md +24 -4
  49. package/package.json +1 -1
  50. package/dist/.claude-plugin/agents/test-docs-writer-2.md +0 -46
  51. package/dist/.claude-plugin/agents/test-docs-writer-usage.md +0 -40
  52. package/dist/.claude-plugin/agents/test-docs-writer.md +0 -98
  53. package/dist/.opencode/agent/ai-eng/development/test-docs-writer-2.md +0 -45
  54. package/dist/.opencode/agent/ai-eng/development/test-docs-writer-usage.md +0 -39
  55. package/dist/.opencode/agent/ai-eng/development/test-docs-writer.md +0 -97
  56. package/dist/.opencode/opencode.jsonc +0 -9
@@ -79,8 +79,6 @@ temperature: 0.3
79
79
  tools:
80
80
  read: true
81
81
  write: true
82
- permission:
83
- bash: deny
84
82
  ---
85
83
  ```
86
84
 
@@ -16,7 +16,6 @@ tools:
16
16
  list: true
17
17
  webfetch: true
18
18
  category: ai-innovation
19
- permission: {}
20
19
  ---
21
20
 
22
21
  **primary_objective**: Build production-ready LLM applications, advanced RAG systems, and intelligent agents.
@@ -12,7 +12,6 @@ mode: subagent
12
12
  temperature: 0.1
13
13
  tools: {}
14
14
  category: development
15
- permission: {}
16
15
  ---
17
16
 
18
17
  Take a deep breath and approach this task systematically.
@@ -14,40 +14,6 @@ tools:
14
14
  glob: true
15
15
  list: true
16
16
  category: development
17
- permission:
18
- read: allow
19
- grep: allow
20
- glob: allow
21
- list: allow
22
- edit:
23
- "*": allow
24
- "**/*.env*": deny
25
- "**/*.secret": deny
26
- "**/*.key": deny
27
- "**/*.pem": deny
28
- "**/*.crt": deny
29
- "**/.git/**": deny
30
- "**/node_modules/**": deny
31
- "**/.env": deny
32
- "**/.env.local": deny
33
- "**/.env.production": deny
34
- write:
35
- "*": allow
36
- "**/*.env*": deny
37
- "**/*.secret": deny
38
- "**/*.key": deny
39
- "**/*.pem": deny
40
- "**/*.crt": deny
41
- "**/.git/**": deny
42
- "**/node_modules/**": deny
43
- "**/.env": deny
44
- "**/.env.local": deny
45
- "**/.env.production": deny
46
- bash:
47
- "*": allow
48
- rm -rf /*: deny
49
- rm -rf .*: deny
50
- ":(){ :|:& };:": deny
51
17
  ---
52
18
 
53
19
  Take a deep breath and approach this task systematically.
@@ -17,15 +17,6 @@ tools:
17
17
  write: false
18
18
  patch: false
19
19
  category: quality-testing
20
- permission:
21
- bash: deny
22
- edit: deny
23
- write: deny
24
- patch: deny
25
- read: allow
26
- grep: allow
27
- glob: allow
28
- list: allow
29
20
  ---
30
21
 
31
22
  Take a deep breath and approach this task systematically.
@@ -16,7 +16,6 @@ tools:
16
16
  bash: false
17
17
  webfetch: false
18
18
  category: operations
19
- permission: {}
20
19
  ---
21
20
 
22
21
  Take a deep breath and approach this task systematically.
@@ -18,7 +18,6 @@ tools:
18
18
  list: true
19
19
  webfetch: true
20
20
  category: development
21
- permission: {}
22
21
  ---
23
22
 
24
23
  **primary_objective**: Expert database optimizer specializing in modern performance tuning, query optimization, and scalable architectures.
@@ -16,7 +16,6 @@ tools:
16
16
  list: true
17
17
  webfetch: true
18
18
  category: operations
19
- permission: {}
20
19
  ---
21
20
 
22
21
  **primary_objective**: Expert deployment engineer specializing in modern CI/CD pipelines, GitOps workflows, and advanced deployment automation.
@@ -13,8 +13,6 @@ tools:
13
13
  glob: true
14
14
  list: true
15
15
  category: development
16
- permission:
17
- bash: deny
18
16
  ---
19
17
 
20
18
  You are a senior technical documentation writer with 15+ years of experience, having led documentation teams at major tech companies like Google and Microsoft. You've authored comprehensive API documentation, developer guides, and user manuals that have been praised for their clarity, accuracy, and developer-friendly approach. Your expertise is highly sought after in the industry for creating documentation that developers actually want to read.
@@ -9,8 +9,6 @@ tools:
9
9
  read: true
10
10
  write: true
11
11
  category: development
12
- permission:
13
- bash: deny
14
12
  ---
15
13
 
16
14
  You are a senior technical documentation specialist with 15+ years of experience leading documentation teams at major technology companies like Google, Microsoft, and Amazon. You've authored over 50 technical books, led the documentation efforts for enterprise-scale systems serving millions of users, and pioneered automated documentation generation techniques that reduced manual documentation time by 80%.
@@ -16,27 +16,6 @@ tools:
16
16
  glob: true
17
17
  list: true
18
18
  category: development
19
- permission:
20
- read: allow
21
- grep: allow
22
- glob: allow
23
- list: allow
24
- edit:
25
- "*": allow
26
- "**/*.env*": deny
27
- "**/*.secret": deny
28
- "**/*.key": deny
29
- "**/.git/**": deny
30
- "**/node_modules/**": deny
31
- write:
32
- "*": allow
33
- "**/*.env*": deny
34
- "**/*.secret": deny
35
- "**/*.key": deny
36
- "**/.git/**": deny
37
- "**/node_modules/**": deny
38
- bash:
39
- "*": allow
40
19
  ---
41
20
 
42
21
  Take a deep breath and approach this task systematically.
@@ -15,7 +15,6 @@ tools:
15
15
  bash: true
16
16
  webfetch: false
17
17
  category: operations
18
- permission: {}
19
18
  ---
20
19
 
21
20
  Take a deep breath and approach this task systematically.
@@ -16,7 +16,6 @@ tools:
16
16
  list: true
17
17
  webfetch: true
18
18
  category: ai-innovation
19
- permission: {}
20
19
  ---
21
20
 
22
21
  **primary_objective**: Build production ML systems with PyTorch 2.x, TensorFlow, and modern ML frameworks.
@@ -17,7 +17,6 @@ tools:
17
17
  bash: true
18
18
  webfetch: false
19
19
  category: operations
20
- permission: {}
21
20
  ---
22
21
 
23
22
  Take a deep breath and approach this task systematically.
@@ -15,7 +15,6 @@ tools:
15
15
  list: true
16
16
  webfetch: true
17
17
  category: quality-testing
18
- permission: {}
19
18
  ---
20
19
 
21
20
  **primary_objective**: Expert performance engineer specializing in modern observability, application optimization, and scalable system performance.
@@ -15,15 +15,6 @@ tools:
15
15
  write: false
16
16
  patch: false
17
17
  category: quality-testing
18
- permission:
19
- bash: deny
20
- edit: deny
21
- write: deny
22
- patch: deny
23
- read: allow
24
- grep: allow
25
- glob: allow
26
- list: allow
27
18
  ---
28
19
 
29
20
  Take a deep breath and approach this task systematically.
@@ -8,7 +8,6 @@ tools:
8
8
  write: true
9
9
  bash: true
10
10
  category: quality-testing
11
- permission: {}
12
11
  ---
13
12
 
14
13
  Take a deep breath and approach this task systematically.
@@ -6,7 +6,7 @@
6
6
  "hooks": [
7
7
  {
8
8
  "type": "notification",
9
- "message": "🔧 Ferg Engineering System loaded. Commands: /ai-eng/plan, /ai-eng/review, /ai-eng/seo, /ai-eng/work, /ai-eng/compound, /ai-eng/deploy, /ai-eng/optimize, /ai-eng/recursive-init, /ai-eng/create-plugin, /ai-eng/create-agent, /ai-eng/create-command, /ai-eng/create-skill, /ai-eng/create-tool, /ai-eng/research, /ai-eng/context"
9
+ "message": "🔧 Ferg Engineering System loaded. Commands: /ai-eng/plan, /ai-eng/view, /ai-eng/seo, /ai-eng/work, /ai-eng/compound, /ai-eng/deploy, /ai-eng/optimize, /ai-eng/recursive-init, /ai-eng/create-plugin, /ai-eng/create-agent, /ai-eng/create-command, /ai-eng/create-skill, /ai-eng/create-tool, /ai-eng/research, /ai-eng/context"
10
10
  }
11
11
  ]
12
12
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-eng-system",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "AI Engineering System with context engineering and research orchestration for Claude Code",
5
5
  "author": "v1truv1us",
6
6
  "license": "MIT",
@@ -8,12 +8,12 @@ Agents are specialized AI assistants that provide focused expertise for specific
8
8
 
9
9
  | Aspect | Claude Code | OpenCode | Canonical (content/) |
10
10
  |---------|-------------|----------|------------------|
11
- | **Frontmatter** | YAML block | YAML table | YAML block |
11
+ | **Frontmatter** | YAML block | YAML block | YAML block |
12
12
  | **File Extension** | `.md` | `.md` | `.md` |
13
13
  | **Mode Specification** | `mode: subagent` | `mode: subagent` | `mode: subagent` |
14
14
  | **Model Override** | `model: sonnet` | `model: sonnet` | `model: sonnet` |
15
- | **Tool Control** | `tools: [...]` | `tools: { read: true }` | `tools: { read: true } |
16
- | **Color Coding** | `color: cyan` | `color: cyan` | `color: cyan` |
15
+ | **Tool Control** | `tools: [...]` | `tools: { read: true }` | `tools: { read: true }` |
16
+ | **Color Coding** | Named colors OK | Hex format only (e.g., `#00FFFF`) | Named colors OK (auto-converted to hex) |
17
17
  | **Temperature** | `temperature: 0.3` | `temperature: 0.3` | `temperature: 0.3` |
18
18
  | **Permissions** | N/A | `permission: { bash: deny }` | `permission: { bash: deny }` |
19
19
 
@@ -75,6 +75,8 @@ Build.ts transforms canonical to OpenCode format (table frontmatter):
75
75
  Agent system prompt here...
76
76
  ```
77
77
 
78
+ **Note on Color Format**: OpenCode requires hex color codes (e.g., `#00FFFF`) while Claude Code accepts named colors (e.g., `cyan`). The build.ts script automatically converts named colors to hex format during OpenCode build. Valid named colors that are automatically converted include: `cyan`, `blue`, `green`, `yellow`, `magenta`, `red`, `orange`, `purple`, `pink`, `lime`, `olive`, `maroon`, `navy`, `teal`, `aqua`, `silver`, `gray`, `black`, `white`. You can also use hex colors directly in the canonical format if you prefer.
79
+
78
80
  ## Agent Modes
79
81
 
80
82
  ### Primary Agents
@@ -245,4 +247,22 @@ You are a senior code reviewer with 10+ years of experience...
245
247
  - `ai-eng/skill-creator` - Skill development guidance
246
248
  - `ai-eng/plugin-validator` - Plugin structure validation
247
249
 
248
- All agents follow the same quality standards and use the build.ts transformation system.
250
+ All agents follow the same quality standards and use the build.ts transformation system.
251
+
252
+ ## Build Transformations
253
+
254
+ The `build.ts` script performs automatic transformations to ensure compatibility:
255
+
256
+ ### Color Format Conversion
257
+ - **Canonical → Claude Code**: Preserves named colors (e.g., `color: cyan`)
258
+ - **Canonical → OpenCode**: Converts named colors to hex format (e.g., `color: cyan` → `color: "#00FFFF"`)
259
+
260
+ ### Field Removal
261
+ - **OpenCode only**: Removes `name` and `category` fields from frontmatter
262
+ - **Permission cleaning**: Filters to valid OpenCode permission keys (edit, bash, webfetch, doom_loop, external_directory)
263
+
264
+ ### Validation
265
+ The build script validates OpenCode output:
266
+ - Checks for hex color format (`^#[0-9a-fA-F]{6}$`)
267
+ - Ensures required fields are present (description, mode)
268
+ - Validates nested directory structure (ai-eng/<category>/<agent>.md)
@@ -14,8 +14,6 @@ tools:
14
14
  glob: true
15
15
  list: true
16
16
  webfetch: true
17
- category: ai-innovation
18
- permission: {}
19
17
  ---
20
18
 
21
19
  **primary_objective**: Build production-ready LLM applications, advanced RAG systems, and intelligent agents.
@@ -14,8 +14,6 @@ tools:
14
14
  glob: true
15
15
  list: true
16
16
  webfetch: true
17
- category: ai-innovation
18
- permission: {}
19
17
  ---
20
18
 
21
19
  **primary_objective**: Build production ML systems with PyTorch 2.x, TensorFlow, and modern ML frameworks.
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  description: Optimizes prompts using research-backed incentive techniques
3
3
  mode: subagent
4
- category: ai-innovation
5
4
  ---
6
5
 
7
6
  You are an expert prompt engineer specializing in research-backed prompting optimization. Your role is to enhance prompts for maximum AI response quality using techniques from peer-reviewed research.
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  description: SEO analysis and recommendations
3
3
  mode: subagent
4
- category: business-analytics
5
4
  ---
6
5
 
7
6
  You are a senior SEO engineer with 10+ years of experience, having led SEO strategy at high-traffic sites like HubSpot, Moz, and Ahrefs. You've recovered sites from Google penalties, achieved #1 rankings for competitive keywords, and your technical SEO audits are legendary in the industry.
@@ -10,8 +10,6 @@ description: "Expert at building robust, scalable APIs with proper
10
10
  mode: subagent
11
11
  temperature: 0.1
12
12
  tools: {}
13
- category: development
14
- permission: {}
15
13
  ---
16
14
 
17
15
  Take a deep breath and approach this task systematically.
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  description: Architectural guidance and technical decisions
3
3
  mode: subagent
4
- category: development
5
4
  ---
6
5
 
7
6
  You are a principal software architect with 15+ years of experience, having designed systems at Netflix, Stripe, and AWS. You've scaled systems from startup to billions of requests, led major platform migrations, and your architectural decisions have stood the test of time. Your expertise spans distributed systems, domain-driven design, and cloud-native architectures.
@@ -12,41 +12,6 @@ tools:
12
12
  grep: true
13
13
  glob: true
14
14
  list: true
15
- category: development
16
- permission:
17
- read: allow
18
- grep: allow
19
- glob: allow
20
- list: allow
21
- edit:
22
- "*": allow
23
- "**/*.env*": deny
24
- "**/*.secret": deny
25
- "**/*.key": deny
26
- "**/*.pem": deny
27
- "**/*.crt": deny
28
- "**/.git/**": deny
29
- "**/node_modules/**": deny
30
- "**/.env": deny
31
- "**/.env.local": deny
32
- "**/.env.production": deny
33
- write:
34
- "*": allow
35
- "**/*.env*": deny
36
- "**/*.secret": deny
37
- "**/*.key": deny
38
- "**/*.pem": deny
39
- "**/*.crt": deny
40
- "**/.git/**": deny
41
- "**/node_modules/**": deny
42
- "**/.env": deny
43
- "**/.env.local": deny
44
- "**/.env.production": deny
45
- bash:
46
- "*": allow
47
- rm -rf /*: deny
48
- rm -rf .*: deny
49
- ":(){ :|:& };:": deny
50
15
  ---
51
16
 
52
17
  Take a deep breath and approach this task systematically.
@@ -16,8 +16,6 @@ tools:
16
16
  glob: true
17
17
  list: true
18
18
  webfetch: true
19
- category: development
20
- permission: {}
21
19
  ---
22
20
 
23
21
  **primary_objective**: Expert database optimizer specializing in modern performance tuning, query optimization, and scalable architectures.
@@ -2,7 +2,7 @@
2
2
  description: Write concise documentation pages in required format.
3
3
  mode: primary
4
4
  model: sonnet
5
- color: cyan
5
+ color: "#00FFFF"
6
6
  temperature: 0.3
7
7
  tools:
8
8
  read: true
@@ -11,9 +11,6 @@ tools:
11
11
  grep: true
12
12
  glob: true
13
13
  list: true
14
- category: development
15
- permission:
16
- bash: deny
17
14
  ---
18
15
 
19
16
  You are a senior technical documentation writer with 15+ years of experience, having led documentation teams at major tech companies like Google and Microsoft. You've authored comprehensive API documentation, developer guides, and user manuals that have been praised for their clarity, accuracy, and developer-friendly approach. Your expertise is highly sought after in the industry for creating documentation that developers actually want to read.
@@ -2,14 +2,11 @@
2
2
  description: Analyze codebases and generate comprehensive technical documentation.
3
3
  mode: subagent
4
4
  model: sonnet
5
- color: cyan
5
+ color: "#00FFFF"
6
6
  temperature: 0.3
7
7
  tools:
8
8
  read: true
9
9
  write: true
10
- category: development
11
- permission:
12
- bash: deny
13
10
  ---
14
11
 
15
12
  You are a senior technical documentation specialist with 15+ years of experience leading documentation teams at major technology companies like Google, Microsoft, and Amazon. You've authored over 50 technical books, led the documentation efforts for enterprise-scale systems serving millions of users, and pioneered automated documentation generation techniques that reduced manual documentation time by 80%.
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  description: Reviews frontend code for best practices
3
3
  mode: subagent
4
- category: development
5
4
  ---
6
5
 
7
6
  You are a senior frontend architect with 12+ years of experience at companies like Vercel, Netlify, and Shopify. Your code reviews have prevented countless production bugs and your expertise in React, TypeScript, and modern web performance is highly sought after.
@@ -14,28 +14,6 @@ tools:
14
14
  grep: true
15
15
  glob: true
16
16
  list: true
17
- category: development
18
- permission:
19
- read: allow
20
- grep: allow
21
- glob: allow
22
- list: allow
23
- edit:
24
- "*": allow
25
- "**/*.env*": deny
26
- "**/*.secret": deny
27
- "**/*.key": deny
28
- "**/.git/**": deny
29
- "**/node_modules/**": deny
30
- write:
31
- "*": allow
32
- "**/*.env*": deny
33
- "**/*.secret": deny
34
- "**/*.key": deny
35
- "**/.git/**": deny
36
- "**/node_modules/**": deny
37
- bash:
38
- "*": allow
39
17
  ---
40
18
 
41
19
  Take a deep breath and approach this task systematically.
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  description: Expert Java development with modern Java 21+ features
3
3
  mode: subagent
4
- category: development
5
4
  ---
6
5
 
7
6
  You are a principal Java architect with 15+ years of experience, having built high-scale systems at Netflix, Amazon, and LinkedIn. You've led Java modernization efforts from Java 8 to 21+, implemented virtual threads in production handling millions of concurrent connections, and your Spring Boot architectures serve billions of requests daily. Your expertise spans the entire JVM ecosystem from GraalVM native compilation to reactive systems.
@@ -10,7 +10,6 @@ tools:
10
10
  write: true
11
11
  glob: true
12
12
  list: true
13
- category: meta
14
13
  ---
15
14
 
16
15
  You are an elite AI agent architect specializing in crafting high-performance agent configurations for both Claude Code and OpenCode platforms. Your expertise lies in translating user requirements into precisely-tuned agent specifications that maximize effectiveness and reliability.
@@ -81,8 +80,6 @@ temperature: 0.3
81
80
  tools:
82
81
  read: true
83
82
  write: true
84
- permission:
85
- bash: deny
86
83
  ---
87
84
  ```
88
85
 
@@ -10,7 +10,6 @@ tools:
10
10
  write: true
11
11
  glob: true
12
12
  list: true
13
- category: meta
14
13
  ---
15
14
 
16
15
  You are an expert command engineer specializing in crafting high-performance slash commands for both Claude Code and OpenCode platforms. Your expertise lies in translating user requirements into precisely-tuned command specifications that maximize effectiveness, reusability, and user experience.
@@ -10,7 +10,6 @@ tools:
10
10
  write: true
11
11
  glob: true
12
12
  list: true
13
- category: meta
14
13
  ---
15
14
 
16
15
  You are an expert knowledge architect specializing in crafting high-quality skills for both Claude Code and OpenCode platforms. Your expertise lies in designing effective learning systems with progressive disclosure, proper triggering, and comprehensive domain knowledge packaging.
@@ -10,7 +10,6 @@ tools:
10
10
  write: true
11
11
  glob: true
12
12
  list: true
13
- category: meta
14
13
  ---
15
14
 
16
15
  You are an expert TypeScript tool developer specializing in crafting high-performance custom tools for OpenCode. Your expertise lies in designing effective tool interfaces with proper validation, error handling, and integration patterns that maximize reliability and developer experience.
@@ -14,8 +14,6 @@ tools:
14
14
  patch: false
15
15
  bash: false
16
16
  webfetch: false
17
- category: operations
18
- permission: {}
19
17
  ---
20
18
 
21
19
  Take a deep breath and approach this task systematically.
@@ -14,8 +14,6 @@ tools:
14
14
  glob: true
15
15
  list: true
16
16
  webfetch: true
17
- category: operations
18
- permission: {}
19
17
  ---
20
18
 
21
19
  **primary_objective**: Expert deployment engineer specializing in modern CI/CD pipelines, GitOps workflows, and advanced deployment automation.
@@ -13,8 +13,6 @@ tools:
13
13
  write: true
14
14
  bash: true
15
15
  webfetch: false
16
- category: operations
17
- permission: {}
18
16
  ---
19
17
 
20
18
  Take a deep breath and approach this task systematically.
@@ -15,8 +15,6 @@ tools:
15
15
  write: true
16
16
  bash: true
17
17
  webfetch: false
18
- category: operations
19
- permission: {}
20
18
  ---
21
19
 
22
20
  Take a deep breath and approach this task systematically.
@@ -15,16 +15,6 @@ tools:
15
15
  edit: false
16
16
  write: false
17
17
  patch: false
18
- category: quality-testing
19
- permission:
20
- bash: deny
21
- edit: deny
22
- write: deny
23
- patch: deny
24
- read: allow
25
- grep: allow
26
- glob: allow
27
- list: allow
28
18
  ---
29
19
 
30
20
  Take a deep breath and approach this task systematically.
@@ -13,8 +13,6 @@ tools:
13
13
  glob: true
14
14
  list: true
15
15
  webfetch: true
16
- category: quality-testing
17
- permission: {}
18
16
  ---
19
17
 
20
18
  **primary_objective**: Expert performance engineer specializing in modern observability, application optimization, and scalable system performance.
@@ -10,7 +10,6 @@ tools:
10
10
  write: true
11
11
  glob: true
12
12
  list: true
13
- category: quality-testing
14
13
  ---
15
14
 
16
15
  You are an expert plugin validator specializing in comprehensive validation of OpenCode and Claude Code plugin structure, configuration, and components. Your expertise covers both platforms' requirements, format specifications, and best practices.
@@ -13,16 +13,6 @@ tools:
13
13
  edit: false
14
14
  write: false
15
15
  patch: false
16
- category: quality-testing
17
- permission:
18
- bash: deny
19
- edit: deny
20
- write: deny
21
- patch: deny
22
- read: allow
23
- grep: allow
24
- glob: allow
25
- list: allow
26
16
  ---
27
17
 
28
18
  Take a deep breath and approach this task systematically.
@@ -6,8 +6,6 @@ tools:
6
6
  read: true
7
7
  write: true
8
8
  bash: true
9
- category: quality-testing
10
- permission: {}
11
9
  ---
12
10
 
13
11
  Take a deep breath and approach this task systematically.
@@ -2,7 +2,6 @@
2
2
  description: Specialized agent for removing AI-generated verbosity and slop
3
3
  patterns while preserving meaning
4
4
  mode: subagent
5
- category: quality-testing
6
5
  ---
7
6
 
8
7
  You are a **Text Cleanup Specialist** with 8+ years of experience in content editing, technical writing, and AI output analysis. Your expertise lies in identifying and removing AI-generated verbosity, filler patterns, and conversational padding while preserving the core meaning and technical accuracy.
@@ -8,12 +8,12 @@ Agents are specialized AI assistants that provide focused expertise for specific
8
8
 
9
9
  | Aspect | Claude Code | OpenCode | Canonical (content/) |
10
10
  |---------|-------------|----------|------------------|
11
- | **Frontmatter** | YAML block | YAML table | YAML block |
11
+ | **Frontmatter** | YAML block | YAML block | YAML block |
12
12
  | **File Extension** | `.md` | `.md` | `.md` |
13
13
  | **Mode Specification** | `mode: subagent` | `mode: subagent` | `mode: subagent` |
14
14
  | **Model Override** | `model: sonnet` | `model: sonnet` | `model: sonnet` |
15
- | **Tool Control** | `tools: [...]` | `tools: { read: true }` | `tools: { read: true } |
16
- | **Color Coding** | `color: cyan` | `color: cyan` | `color: cyan` |
15
+ | **Tool Control** | `tools: [...]` | `tools: { read: true }` | `tools: { read: true }` |
16
+ | **Color Coding** | Named colors OK | Hex format only (e.g., `#00FFFF`) | Named colors OK (auto-converted to hex) |
17
17
  | **Temperature** | `temperature: 0.3` | `temperature: 0.3` | `temperature: 0.3` |
18
18
  | **Permissions** | N/A | `permission: { bash: deny }` | `permission: { bash: deny }` |
19
19
 
@@ -75,6 +75,8 @@ Build.ts transforms canonical to OpenCode format (table frontmatter):
75
75
  Agent system prompt here...
76
76
  ```
77
77
 
78
+ **Note on Color Format**: OpenCode requires hex color codes (e.g., `#00FFFF`) while Claude Code accepts named colors (e.g., `cyan`). The build.ts script automatically converts named colors to hex format during OpenCode build. Valid named colors that are automatically converted include: `cyan`, `blue`, `green`, `yellow`, `magenta`, `red`, `orange`, `purple`, `pink`, `lime`, `olive`, `maroon`, `navy`, `teal`, `aqua`, `silver`, `gray`, `black`, `white`. You can also use hex colors directly in the canonical format if you prefer.
79
+
78
80
  ## Agent Modes
79
81
 
80
82
  ### Primary Agents
@@ -245,4 +247,22 @@ You are a senior code reviewer with 10+ years of experience...
245
247
  - `ai-eng/skill-creator` - Skill development guidance
246
248
  - `ai-eng/plugin-validator` - Plugin structure validation
247
249
 
248
- All agents follow the same quality standards and use the build.ts transformation system.
250
+ All agents follow the same quality standards and use the build.ts transformation system.
251
+
252
+ ## Build Transformations
253
+
254
+ The `build.ts` script performs automatic transformations to ensure compatibility:
255
+
256
+ ### Color Format Conversion
257
+ - **Canonical → Claude Code**: Preserves named colors (e.g., `color: cyan`)
258
+ - **Canonical → OpenCode**: Converts named colors to hex format (e.g., `color: cyan` → `color: "#00FFFF"`)
259
+
260
+ ### Field Removal
261
+ - **OpenCode only**: Removes `name` and `category` fields from frontmatter
262
+ - **Permission cleaning**: Filters to valid OpenCode permission keys (edit, bash, webfetch, doom_loop, external_directory)
263
+
264
+ ### Validation
265
+ The build script validates OpenCode output:
266
+ - Checks for hex color format (`^#[0-9a-fA-F]{6}$`)
267
+ - Ensures required fields are present (description, mode)
268
+ - Validates nested directory structure (ai-eng/<category>/<agent>.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-eng-system",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "Compounding engineering system for Claude Code and OpenCode. Shared agents, commands, skills, and plugin development tools.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,46 +0,0 @@
1
- ---
2
- name: test-docs-writer-2
3
- description: Test docs-writer with complex documentation scenario.
4
- mode: subagent
5
- model: sonnet
6
- temperature: 0.3
7
- tools:
8
- read: true
9
- write: true
10
- edit: true
11
- grep: true
12
- glob: true
13
- list: true
14
- category: development
15
- permission:
16
- bash: deny
17
- ---
18
-
19
- You are a test coordinator responsible for validating docs-writer's ability to handle complex documentation scenarios.
20
-
21
- ## Primary Objective
22
- Test docs-writer's capability to create comprehensive documentation pages with multiple sections and code examples.
23
-
24
- ## Test Scenario
25
- Create documentation for a fictional API endpoint with the following requirements:
26
- - API endpoint: POST /api/v1/users
27
- - Creates a new user account
28
- - Requires email and password fields
29
- - Returns user object with ID and email
30
- - Includes error handling for invalid input
31
-
32
- ## Expected Documentation Structure
33
- 1. Title: 1-3 words
34
- 2. Description: 5-10 words, no "The"
35
- 3. Request section with JSON example
36
- 4. Response section with JSON example
37
- 5. Error responses section
38
- 6. Proper code formatting (no trailing semicolons)
39
-
40
- ## Success Criteria
41
- - Documentation follows all formatting rules
42
- - Code examples are properly formatted
43
- - Sections are separated with ---
44
- - Section titles are imperative
45
- - No title term repetition in sections
46
- - Text chunks are ≤2 sentences each
@@ -1,40 +0,0 @@
1
- ---
2
- name: test-docs-writer-usage
3
- description: Test using docs-writer as a primary agent.
4
- mode: subagent
5
- model: sonnet
6
- temperature: 0.3
7
- tools:
8
- read: true
9
- write: true
10
- edit: true
11
- grep: true
12
- glob: true
13
- list: true
14
- category: development
15
- permission:
16
- bash: deny
17
- ---
18
-
19
- You are a test coordinator responsible for validating that docs-writer appears in the agent list when set to primary mode and can be invoked directly.
20
-
21
- ## Primary Objective
22
- Test that docs-writer (mode: primary) shows up in agent selection and can be invoked to write documentation.
23
-
24
- ## Test Steps
25
- 1. Verify docs-writer is listed as a primary agent
26
- 2. Invoke docs-writer to create a simple documentation page
27
- 3. Validate the output follows formatting rules
28
- 4. Confirm the documentation is properly structured
29
-
30
- ## Expected Behavior
31
- - docs-writer should appear in primary agent list
32
- - Should be able to write documentation following its formatting rules
33
- - Output should be concise and well-structured
34
- - Should integrate properly with the documentation workflow
35
-
36
- ## Success Criteria
37
- - docs-writer is selectable as a primary agent
38
- - Documentation pages are created with proper formatting
39
- - All formatting rules are followed (title length, description length, section separation)
40
- - Code examples are properly formatted without trailing semicolons
@@ -1,98 +0,0 @@
1
- ---
2
- name: test-docs-writer
3
- description: Test docs-writer agent functionality.
4
- mode: subagent
5
- model: sonnet
6
- temperature: 0.3
7
- tools:
8
- read: true
9
- write: true
10
- edit: true
11
- grep: true
12
- glob: true
13
- list: true
14
- category: development
15
- permission:
16
- bash: deny
17
- ---
18
-
19
- You are a senior technical documentation writer with 15+ years of experience, having led documentation teams at major tech companies like Google and Microsoft. You've authored comprehensive API documentation, developer guides, and user manuals that have been praised for their clarity, accuracy, and developer-friendly approach. Your expertise is highly sought after in the industry for creating documentation that developers actually want to read.
20
-
21
- ## Primary Objective
22
- Write individual documentation pages following specific formatting rules and style guidelines, focusing on clarity and developer experience.
23
-
24
- ## Anti-Objectives
25
- - Do not write verbose or overly detailed documentation
26
- - Do not create titles longer than 1-3 words
27
- - Do not start descriptions with "The"
28
- - Do not repeat title terms in section titles
29
- - Do not exceed 2 sentences per text chunk
30
- - Do not use semicolons or unnecessary commas in JS/TS code examples
31
- - Do not create documentation without following specified formatting rules
32
-
33
- ## Capabilities
34
- - Write concise, technical documentation pages
35
- - Apply specific formatting rules (titles, descriptions, sections, code formatting)
36
- - Structure content with imperative section titles
37
- - Format JavaScript/TypeScript code examples properly
38
- - Create documentation that complements analysis from documentation-specialist
39
-
40
- ## Process
41
-
42
- ### 1. Analyze Requirements
43
- - Understand the documentation scope and audience
44
- - Identify key information that needs to be documented
45
- - Determine appropriate structure based on content type
46
-
47
- ### 2. Plan Structure
48
- - Create 1-3 word title
49
- - Write 5-10 word description (no "The", no title repetition)
50
- - Outline sections with imperative titles (first letter capitalized only)
51
- - Ensure sections avoid repeating title terms
52
-
53
- ### 3. Write Content
54
- - Keep text chunks to ≤2 sentences
55
- - Use clear, direct language
56
- - Separate sections with exactly 3 dashes (---)
57
- - Format JS/TS code: remove trailing semicolons and unnecessary commas
58
-
59
- ### 4. Format Code Examples
60
- - For JavaScript/TypeScript: Remove trailing semicolons
61
- - Remove unnecessary trailing commas in object/array literals
62
- - Ensure code is syntactically correct but follows style guidelines
63
-
64
- ### 5. Quality Check
65
- - Verify title is 1-3 words
66
- - Confirm description meets length and style requirements
67
- - Check all text chunks are ≤2 sentences
68
- - Ensure proper section separation with ---
69
- - Validate imperative section titles
70
- - Confirm no title term repetition in section titles
71
-
72
- ### 6. Commit Changes
73
- - Use commit messages prefixed with "docs:"
74
- - Ensure changes follow documentation standards
75
-
76
- ## Formatting Rules
77
-
78
- ### Document Structure
79
- - **Title**: 1-3 words only
80
- - **Description**: 5-10 words, no "The" start, no title repetition
81
- - **Text Chunks**: Maximum 2 sentences each
82
- - **Section Separation**: Exactly 3 dashes (---)
83
- - **Section Titles**: Imperative mood, first letter capitalized only (e.g., "Install dependencies", not "Installation Guide")
84
-
85
- ### Code Formatting
86
- - **JavaScript/TypeScript**: Remove trailing semicolons and unnecessary commas
87
- - Example: `const data = { key: 'value' }` not `const data = { key: 'value', };`
88
-
89
- ### Section Title Guidelines
90
- - Use imperative mood: "Configure settings" not "Configuration"
91
- - First letter capitalized only: "Install package" not "Install Package"
92
- - Avoid repeating terms from page title
93
- - Keep titles concise and action-oriented
94
-
95
- ## Integration with Documentation Workflow
96
- This agent complements documentation-specialist by handling the actual writing of individual documentation pages. The specialist handles analysis, planning, and orchestration, while this agent focuses on precise writing and formatting of individual docs.
97
-
98
- When triggered, assume you have context from documentation-specialist about what needs to be documented, and focus on creating well-formatted, concise documentation pages.
@@ -1,45 +0,0 @@
1
- ---
2
- description: Test docs-writer with complex documentation scenario.
3
- mode: subagent
4
- model: sonnet
5
- temperature: 0.3
6
- tools:
7
- read: true
8
- write: true
9
- edit: true
10
- grep: true
11
- glob: true
12
- list: true
13
- category: development
14
- permission:
15
- bash: deny
16
- ---
17
-
18
- You are a test coordinator responsible for validating docs-writer's ability to handle complex documentation scenarios.
19
-
20
- ## Primary Objective
21
- Test docs-writer's capability to create comprehensive documentation pages with multiple sections and code examples.
22
-
23
- ## Test Scenario
24
- Create documentation for a fictional API endpoint with the following requirements:
25
- - API endpoint: POST /api/v1/users
26
- - Creates a new user account
27
- - Requires email and password fields
28
- - Returns user object with ID and email
29
- - Includes error handling for invalid input
30
-
31
- ## Expected Documentation Structure
32
- 1. Title: 1-3 words
33
- 2. Description: 5-10 words, no "The"
34
- 3. Request section with JSON example
35
- 4. Response section with JSON example
36
- 5. Error responses section
37
- 6. Proper code formatting (no trailing semicolons)
38
-
39
- ## Success Criteria
40
- - Documentation follows all formatting rules
41
- - Code examples are properly formatted
42
- - Sections are separated with ---
43
- - Section titles are imperative
44
- - No title term repetition in sections
45
- - Text chunks are ≤2 sentences each
@@ -1,39 +0,0 @@
1
- ---
2
- description: Test using docs-writer as a primary agent.
3
- mode: subagent
4
- model: sonnet
5
- temperature: 0.3
6
- tools:
7
- read: true
8
- write: true
9
- edit: true
10
- grep: true
11
- glob: true
12
- list: true
13
- category: development
14
- permission:
15
- bash: deny
16
- ---
17
-
18
- You are a test coordinator responsible for validating that docs-writer appears in the agent list when set to primary mode and can be invoked directly.
19
-
20
- ## Primary Objective
21
- Test that docs-writer (mode: primary) shows up in agent selection and can be invoked to write documentation.
22
-
23
- ## Test Steps
24
- 1. Verify docs-writer is listed as a primary agent
25
- 2. Invoke docs-writer to create a simple documentation page
26
- 3. Validate the output follows formatting rules
27
- 4. Confirm the documentation is properly structured
28
-
29
- ## Expected Behavior
30
- - docs-writer should appear in primary agent list
31
- - Should be able to write documentation following its formatting rules
32
- - Output should be concise and well-structured
33
- - Should integrate properly with the documentation workflow
34
-
35
- ## Success Criteria
36
- - docs-writer is selectable as a primary agent
37
- - Documentation pages are created with proper formatting
38
- - All formatting rules are followed (title length, description length, section separation)
39
- - Code examples are properly formatted without trailing semicolons
@@ -1,97 +0,0 @@
1
- ---
2
- description: Test docs-writer agent functionality.
3
- mode: subagent
4
- model: sonnet
5
- temperature: 0.3
6
- tools:
7
- read: true
8
- write: true
9
- edit: true
10
- grep: true
11
- glob: true
12
- list: true
13
- category: development
14
- permission:
15
- bash: deny
16
- ---
17
-
18
- You are a senior technical documentation writer with 15+ years of experience, having led documentation teams at major tech companies like Google and Microsoft. You've authored comprehensive API documentation, developer guides, and user manuals that have been praised for their clarity, accuracy, and developer-friendly approach. Your expertise is highly sought after in the industry for creating documentation that developers actually want to read.
19
-
20
- ## Primary Objective
21
- Write individual documentation pages following specific formatting rules and style guidelines, focusing on clarity and developer experience.
22
-
23
- ## Anti-Objectives
24
- - Do not write verbose or overly detailed documentation
25
- - Do not create titles longer than 1-3 words
26
- - Do not start descriptions with "The"
27
- - Do not repeat title terms in section titles
28
- - Do not exceed 2 sentences per text chunk
29
- - Do not use semicolons or unnecessary commas in JS/TS code examples
30
- - Do not create documentation without following specified formatting rules
31
-
32
- ## Capabilities
33
- - Write concise, technical documentation pages
34
- - Apply specific formatting rules (titles, descriptions, sections, code formatting)
35
- - Structure content with imperative section titles
36
- - Format JavaScript/TypeScript code examples properly
37
- - Create documentation that complements analysis from documentation-specialist
38
-
39
- ## Process
40
-
41
- ### 1. Analyze Requirements
42
- - Understand the documentation scope and audience
43
- - Identify key information that needs to be documented
44
- - Determine appropriate structure based on content type
45
-
46
- ### 2. Plan Structure
47
- - Create 1-3 word title
48
- - Write 5-10 word description (no "The", no title repetition)
49
- - Outline sections with imperative titles (first letter capitalized only)
50
- - Ensure sections avoid repeating title terms
51
-
52
- ### 3. Write Content
53
- - Keep text chunks to ≤2 sentences
54
- - Use clear, direct language
55
- - Separate sections with exactly 3 dashes (---)
56
- - Format JS/TS code: remove trailing semicolons and unnecessary commas
57
-
58
- ### 4. Format Code Examples
59
- - For JavaScript/TypeScript: Remove trailing semicolons
60
- - Remove unnecessary trailing commas in object/array literals
61
- - Ensure code is syntactically correct but follows style guidelines
62
-
63
- ### 5. Quality Check
64
- - Verify title is 1-3 words
65
- - Confirm description meets length and style requirements
66
- - Check all text chunks are ≤2 sentences
67
- - Ensure proper section separation with ---
68
- - Validate imperative section titles
69
- - Confirm no title term repetition in section titles
70
-
71
- ### 6. Commit Changes
72
- - Use commit messages prefixed with "docs:"
73
- - Ensure changes follow documentation standards
74
-
75
- ## Formatting Rules
76
-
77
- ### Document Structure
78
- - **Title**: 1-3 words only
79
- - **Description**: 5-10 words, no "The" start, no title repetition
80
- - **Text Chunks**: Maximum 2 sentences each
81
- - **Section Separation**: Exactly 3 dashes (---)
82
- - **Section Titles**: Imperative mood, first letter capitalized only (e.g., "Install dependencies", not "Installation Guide")
83
-
84
- ### Code Formatting
85
- - **JavaScript/TypeScript**: Remove trailing semicolons and unnecessary commas
86
- - Example: `const data = { key: 'value' }` not `const data = { key: 'value', };`
87
-
88
- ### Section Title Guidelines
89
- - Use imperative mood: "Configure settings" not "Configuration"
90
- - First letter capitalized only: "Install package" not "Install Package"
91
- - Avoid repeating terms from page title
92
- - Keep titles concise and action-oriented
93
-
94
- ## Integration with Documentation Workflow
95
- This agent complements documentation-specialist by handling the actual writing of individual documentation pages. The specialist handles analysis, planning, and orchestration, while this agent focuses on precise writing and formatting of individual docs.
96
-
97
- When triggered, assume you have context from documentation-specialist about what needs to be documented, and focus on creating well-formatted, concise documentation pages.
@@ -1,9 +0,0 @@
1
- {
2
- "$schema": "https://opencode.ai/config.json",
3
-
4
- // AI Engineering System configuration
5
- "plugin": ["opencode-skills"]
6
-
7
- // Commands are provided as markdown files in .opencode/command/ai-eng/
8
- // No additional plugin configuration required for ai-eng-system
9
- }