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.
- package/LICENSE +21 -0
- package/README.md +115 -0
- package/dist/.claude-plugin/agents/agent-creator.md +206 -0
- package/dist/.claude-plugin/agents/ai_engineer.md +187 -0
- package/dist/.claude-plugin/agents/api_builder_enhanced.md +82 -0
- package/dist/.claude-plugin/agents/architect-advisor.md +88 -0
- package/dist/.claude-plugin/agents/backend_architect.md +88 -0
- package/dist/.claude-plugin/agents/code_reviewer.md +208 -0
- package/dist/.claude-plugin/agents/command-creator.md +331 -0
- package/dist/.claude-plugin/agents/cost_optimizer.md +284 -0
- package/dist/.claude-plugin/agents/database_optimizer.md +175 -0
- package/dist/.claude-plugin/agents/deployment_engineer.md +186 -0
- package/dist/.claude-plugin/agents/docs-writer.md +99 -0
- package/dist/.claude-plugin/agents/documentation_specialist.md +212 -0
- package/dist/.claude-plugin/agents/frontend-reviewer.md +51 -0
- package/dist/.claude-plugin/agents/full_stack_developer.md +391 -0
- package/dist/.claude-plugin/agents/infrastructure_builder.md +77 -0
- package/dist/.claude-plugin/agents/java-pro.md +182 -0
- package/dist/.claude-plugin/agents/ml_engineer.md +176 -0
- package/dist/.claude-plugin/agents/monitoring_expert.md +79 -0
- package/dist/.claude-plugin/agents/performance_engineer.md +193 -0
- package/dist/.claude-plugin/agents/plugin-validator.md +378 -0
- package/dist/.claude-plugin/agents/prompt-optimizer.md +63 -0
- package/dist/.claude-plugin/agents/security_scanner.md +332 -0
- package/dist/.claude-plugin/agents/seo-specialist.md +73 -0
- package/dist/.claude-plugin/agents/skill-creator.md +311 -0
- package/dist/.claude-plugin/agents/test-docs-writer-2.md +46 -0
- package/dist/.claude-plugin/agents/test-docs-writer-usage.md +40 -0
- package/dist/.claude-plugin/agents/test-docs-writer.md +98 -0
- package/dist/.claude-plugin/agents/test_generator.md +260 -0
- package/dist/.claude-plugin/agents/tool-creator.md +474 -0
- package/dist/.claude-plugin/commands/compound.md +26 -0
- package/dist/.claude-plugin/commands/context.md +318 -0
- package/dist/.claude-plugin/commands/create-agent.md +48 -0
- package/dist/.claude-plugin/commands/create-command.md +48 -0
- package/dist/.claude-plugin/commands/create-plugin.md +400 -0
- package/dist/.claude-plugin/commands/create-skill.md +48 -0
- package/dist/.claude-plugin/commands/create-tool.md +53 -0
- package/dist/.claude-plugin/commands/deploy.md +35 -0
- package/dist/.claude-plugin/commands/optimize.md +79 -0
- package/dist/.claude-plugin/commands/plan.md +215 -0
- package/dist/.claude-plugin/commands/recursive-init.md +217 -0
- package/dist/.claude-plugin/commands/research.md +199 -0
- package/dist/.claude-plugin/commands/review.md +73 -0
- package/dist/.claude-plugin/commands/seo.md +40 -0
- package/dist/.claude-plugin/commands/work.md +460 -0
- package/dist/.claude-plugin/hooks.json +15 -0
- package/dist/.claude-plugin/marketplace.json +54 -0
- package/dist/.claude-plugin/plugin.json +24 -0
- package/dist/.claude-plugin/skills/AGENTS.md +37 -0
- package/dist/.claude-plugin/skills/devops/coolify-deploy/SKILL.md +8 -0
- package/dist/.claude-plugin/skills/devops/git-worktree/SKILL.md +11 -0
- package/dist/.claude-plugin/skills/plugin-dev/SKILL.md +322 -0
- package/dist/.claude-plugin/skills/plugin-dev/references/agent-format.md +248 -0
- package/dist/.claude-plugin/skills/plugin-dev/references/claude-code-plugins.md +372 -0
- package/dist/.claude-plugin/skills/plugin-dev/references/command-format.md +312 -0
- package/dist/.claude-plugin/skills/plugin-dev/references/opencode-plugins.md +406 -0
- package/dist/.claude-plugin/skills/plugin-dev/references/opencode-tools.md +470 -0
- package/dist/.claude-plugin/skills/plugin-dev/references/skill-format.md +328 -0
- package/dist/.claude-plugin/skills/prompting/incentive-prompting/SKILL.md +162 -0
- package/dist/.claude-plugin/skills/research/comprehensive-research/SKILL.md +343 -0
- package/dist/.opencode/agent/ai-eng/ai-innovation/ai_engineer.md +186 -0
- package/dist/.opencode/agent/ai-eng/ai-innovation/ml_engineer.md +175 -0
- package/dist/.opencode/agent/ai-eng/ai-innovation/prompt-optimizer.md +62 -0
- package/dist/.opencode/agent/ai-eng/business-analytics/seo-specialist.md +72 -0
- package/dist/.opencode/agent/ai-eng/development/api_builder_enhanced.md +81 -0
- package/dist/.opencode/agent/ai-eng/development/architect-advisor.md +87 -0
- package/dist/.opencode/agent/ai-eng/development/backend_architect.md +87 -0
- package/dist/.opencode/agent/ai-eng/development/database_optimizer.md +174 -0
- package/dist/.opencode/agent/ai-eng/development/docs-writer.md +98 -0
- package/dist/.opencode/agent/ai-eng/development/documentation_specialist.md +211 -0
- package/dist/.opencode/agent/ai-eng/development/frontend-reviewer.md +50 -0
- package/dist/.opencode/agent/ai-eng/development/full_stack_developer.md +390 -0
- package/dist/.opencode/agent/ai-eng/development/java-pro.md +181 -0
- package/dist/.opencode/agent/ai-eng/development/test-docs-writer-2.md +45 -0
- package/dist/.opencode/agent/ai-eng/development/test-docs-writer-usage.md +39 -0
- package/dist/.opencode/agent/ai-eng/development/test-docs-writer.md +97 -0
- package/dist/.opencode/agent/ai-eng/meta/agent-creator.md +208 -0
- package/dist/.opencode/agent/ai-eng/meta/command-creator.md +333 -0
- package/dist/.opencode/agent/ai-eng/meta/skill-creator.md +313 -0
- package/dist/.opencode/agent/ai-eng/meta/tool-creator.md +476 -0
- package/dist/.opencode/agent/ai-eng/operations/cost_optimizer.md +283 -0
- package/dist/.opencode/agent/ai-eng/operations/deployment_engineer.md +185 -0
- package/dist/.opencode/agent/ai-eng/operations/infrastructure_builder.md +76 -0
- package/dist/.opencode/agent/ai-eng/operations/monitoring_expert.md +78 -0
- package/dist/.opencode/agent/ai-eng/quality-testing/code_reviewer.md +207 -0
- package/dist/.opencode/agent/ai-eng/quality-testing/performance_engineer.md +192 -0
- package/dist/.opencode/agent/ai-eng/quality-testing/plugin-validator.md +380 -0
- package/dist/.opencode/agent/ai-eng/quality-testing/security_scanner.md +331 -0
- package/dist/.opencode/agent/ai-eng/quality-testing/test_generator.md +259 -0
- package/dist/.opencode/command/ai-eng/compound.md +26 -0
- package/dist/.opencode/command/ai-eng/context.md +318 -0
- package/dist/.opencode/command/ai-eng/create-agent.md +48 -0
- package/dist/.opencode/command/ai-eng/create-command.md +48 -0
- package/dist/.opencode/command/ai-eng/create-plugin.md +400 -0
- package/dist/.opencode/command/ai-eng/create-skill.md +48 -0
- package/dist/.opencode/command/ai-eng/create-tool.md +53 -0
- package/dist/.opencode/command/ai-eng/deploy.md +35 -0
- package/dist/.opencode/command/ai-eng/optimize.md +79 -0
- package/dist/.opencode/command/ai-eng/plan.md +215 -0
- package/dist/.opencode/command/ai-eng/recursive-init.md +217 -0
- package/dist/.opencode/command/ai-eng/research.md +199 -0
- package/dist/.opencode/command/ai-eng/review.md +73 -0
- package/dist/.opencode/command/ai-eng/seo.md +40 -0
- package/dist/.opencode/command/ai-eng/work.md +460 -0
- package/dist/.opencode/opencode.jsonc +8 -0
- package/dist/.opencode/plugin/ai-eng-system.ts +10 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +13 -0
- package/dist/skills/AGENTS.md +37 -0
- package/dist/skills/devops/coolify-deploy/SKILL.md +8 -0
- package/dist/skills/devops/git-worktree/SKILL.md +11 -0
- package/dist/skills/plugin-dev/SKILL.md +322 -0
- package/dist/skills/plugin-dev/references/agent-format.md +248 -0
- package/dist/skills/plugin-dev/references/claude-code-plugins.md +372 -0
- package/dist/skills/plugin-dev/references/command-format.md +312 -0
- package/dist/skills/plugin-dev/references/opencode-plugins.md +406 -0
- package/dist/skills/plugin-dev/references/opencode-tools.md +470 -0
- package/dist/skills/plugin-dev/references/skill-format.md +328 -0
- package/dist/skills/prompting/incentive-prompting/SKILL.md +162 -0
- package/dist/skills/research/comprehensive-research/SKILL.md +343 -0
- package/package.json +73 -0
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: comprehensive-research
|
|
3
|
+
description: Multi-phase research orchestration skill for thorough codebase, documentation, and external knowledge investigation
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
tags: [research, analysis, discovery, documentation, synthesis, multi-agent]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Comprehensive Research Skill
|
|
9
|
+
|
|
10
|
+
A systematic multi-phase research orchestration skill that coordinates specialized agents to conduct thorough investigations across codebases, documentation, and external sources. Based on proven patterns from codeflow research workflows with incentive-based prompting enhancements.
|
|
11
|
+
|
|
12
|
+
## How It Works
|
|
13
|
+
|
|
14
|
+
This skill orchestrates a disciplined research workflow through three primary phases:
|
|
15
|
+
|
|
16
|
+
1. **Discovery Phase** (Parallel): Multiple locator agents scan simultaneously
|
|
17
|
+
2. **Analysis Phase** (Sequential): Deep analyzers process findings with evidence chains
|
|
18
|
+
3. **Synthesis Phase**: Consolidated insights with actionable recommendations
|
|
19
|
+
|
|
20
|
+
## Research Methodology
|
|
21
|
+
|
|
22
|
+
### Phase 1: Context & Scope Definition
|
|
23
|
+
|
|
24
|
+
Before spawning agents, establish:
|
|
25
|
+
|
|
26
|
+
```markdown
|
|
27
|
+
## Research Scope Analysis
|
|
28
|
+
- **Primary Question**: [Core research objective]
|
|
29
|
+
- **Decomposed Sub-Questions**: [Derived investigation areas]
|
|
30
|
+
- **Scope Boundaries**: [What's in/out of scope]
|
|
31
|
+
- **Depth Level**: shallow | medium | deep
|
|
32
|
+
- **Expected Deliverables**: [Documentation, recommendations, code refs]
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
**Critical Rule**: Always read primary sources fully BEFORE spawning agents.
|
|
36
|
+
|
|
37
|
+
### Phase 2: Parallel Discovery
|
|
38
|
+
|
|
39
|
+
Spawn these agents concurrently for comprehensive coverage:
|
|
40
|
+
|
|
41
|
+
| Agent | Purpose | Timeout |
|
|
42
|
+
|-------|---------|---------|
|
|
43
|
+
| `codebase-locator` | Find relevant files, components, directories | 5 min |
|
|
44
|
+
| `research-locator` | Discover existing docs, decisions, notes | 3 min |
|
|
45
|
+
| `codebase-pattern-finder` | Identify recurring implementation patterns | 4 min |
|
|
46
|
+
|
|
47
|
+
**Discovery Output Structure**:
|
|
48
|
+
```json
|
|
49
|
+
{
|
|
50
|
+
"codebase_files": ["path/file.ext:lines"],
|
|
51
|
+
"documentation": ["docs/path.md"],
|
|
52
|
+
"patterns_identified": ["pattern-name"],
|
|
53
|
+
"coverage_map": {"area": "percentage"}
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Phase 3: Sequential Deep Analysis
|
|
58
|
+
|
|
59
|
+
After discovery completes, run analyzers sequentially:
|
|
60
|
+
|
|
61
|
+
| Agent | Purpose | Depends On |
|
|
62
|
+
|-------|---------|------------|
|
|
63
|
+
| `codebase-analyzer` | Implementation details with file:line evidence | codebase-locator |
|
|
64
|
+
| `research-analyzer` | Extract decisions, constraints, insights | research-locator |
|
|
65
|
+
|
|
66
|
+
**For Complex Research, Add**:
|
|
67
|
+
| Agent | Condition |
|
|
68
|
+
|-------|-----------|
|
|
69
|
+
| `web-search-researcher` | External context needed |
|
|
70
|
+
| `system-architect` | Architectural implications |
|
|
71
|
+
| `database-expert` | Data layer concerns |
|
|
72
|
+
| `security-scanner` | Security assessment needed |
|
|
73
|
+
|
|
74
|
+
### Phase 4: Synthesis & Documentation
|
|
75
|
+
|
|
76
|
+
Aggregate all findings into structured output:
|
|
77
|
+
|
|
78
|
+
```markdown
|
|
79
|
+
---
|
|
80
|
+
date: YYYY-MM-DD
|
|
81
|
+
researcher: Assistant
|
|
82
|
+
topic: 'Research Topic'
|
|
83
|
+
tags: [research, relevant, tags]
|
|
84
|
+
status: complete
|
|
85
|
+
confidence: high|medium|low
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## Synopsis
|
|
89
|
+
[1-2 sentence summary of research objective and outcome]
|
|
90
|
+
|
|
91
|
+
## Summary
|
|
92
|
+
[3-5 bullet points of high-level findings]
|
|
93
|
+
|
|
94
|
+
## Detailed Findings
|
|
95
|
+
|
|
96
|
+
### Component Analysis
|
|
97
|
+
- **Finding**: [Description]
|
|
98
|
+
- **Evidence**: `file.ext:line-range`
|
|
99
|
+
- **Implications**: [What this means]
|
|
100
|
+
|
|
101
|
+
### Documentation Insights
|
|
102
|
+
- **Decisions Made**: [Past architectural decisions]
|
|
103
|
+
- **Rationale**: [Why decisions were made]
|
|
104
|
+
- **Constraints**: [Technical/operational limits]
|
|
105
|
+
|
|
106
|
+
### Code References
|
|
107
|
+
- `path/file.ext:12-45` - Description of relevance
|
|
108
|
+
- `path/other.ext:78` - Key function location
|
|
109
|
+
|
|
110
|
+
## Architecture Insights
|
|
111
|
+
[Key patterns, design decisions, cross-component relationships]
|
|
112
|
+
|
|
113
|
+
## Historical Context
|
|
114
|
+
[Insights from existing documentation, evolution of the system]
|
|
115
|
+
|
|
116
|
+
## Recommendations
|
|
117
|
+
### Immediate Actions
|
|
118
|
+
1. [First priority action]
|
|
119
|
+
2. [Second priority action]
|
|
120
|
+
|
|
121
|
+
### Long-term Considerations
|
|
122
|
+
- [Strategic recommendation]
|
|
123
|
+
|
|
124
|
+
## Risks & Limitations
|
|
125
|
+
- [Identified risk with mitigation]
|
|
126
|
+
- [Research limitation]
|
|
127
|
+
|
|
128
|
+
## Open Questions
|
|
129
|
+
- [ ] [Unresolved question requiring further investigation]
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
## Agent Coordination Best Practices
|
|
133
|
+
|
|
134
|
+
### Execution Order Optimization
|
|
135
|
+
|
|
136
|
+
```
|
|
137
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
138
|
+
│ Phase 1: Discovery (PARALLEL) │
|
|
139
|
+
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────────────┐ │
|
|
140
|
+
│ │codebase- │ │research- │ │codebase-pattern- │ │
|
|
141
|
+
│ │locator │ │locator │ │finder │ │
|
|
142
|
+
│ └──────┬───────┘ └──────┬───────┘ └──────────┬───────────┘ │
|
|
143
|
+
│ │ │ │ │
|
|
144
|
+
│ └────────────────┼─────────────────────┘ │
|
|
145
|
+
│ ▼ │
|
|
146
|
+
├─────────────────────────────────────────────────────────────┤
|
|
147
|
+
│ Phase 2: Analysis (SEQUENTIAL) │
|
|
148
|
+
│ ┌──────────────┐ ┌──────────────┐ │
|
|
149
|
+
│ │codebase- │──────▶│research- │ │
|
|
150
|
+
│ │analyzer │ │analyzer │ │
|
|
151
|
+
│ └──────────────┘ └──────────────┘ │
|
|
152
|
+
│ │
|
|
153
|
+
├─────────────────────────────────────────────────────────────┤
|
|
154
|
+
│ Phase 3: Domain Specialists (CONDITIONAL) │
|
|
155
|
+
│ ┌────────────┐ ┌────────────┐ ┌────────────┐ │
|
|
156
|
+
│ │web-search- │ │database- │ │security- │ │
|
|
157
|
+
│ │researcher │ │expert │ │scanner │ │
|
|
158
|
+
│ └────────────┘ └────────────┘ └────────────┘ │
|
|
159
|
+
│ │
|
|
160
|
+
├─────────────────────────────────────────────────────────────┤
|
|
161
|
+
│ Phase 4: Validation (PARALLEL) │
|
|
162
|
+
│ ┌──────────────┐ ┌──────────────┐ │
|
|
163
|
+
│ │code-reviewer │ │architect- │ │
|
|
164
|
+
│ │ │ │review │ │
|
|
165
|
+
│ └──────────────┘ └──────────────┘ │
|
|
166
|
+
└─────────────────────────────────────────────────────────────┘
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
### Quality Indicators
|
|
170
|
+
|
|
171
|
+
- **Comprehensive Coverage**: Multiple agents provide overlapping validation
|
|
172
|
+
- **Evidence-Based**: All findings include specific file:line references
|
|
173
|
+
- **Contextual Depth**: Historical decisions and rationale included
|
|
174
|
+
- **Actionable Insights**: Clear next steps provided
|
|
175
|
+
- **Risk Assessment**: Potential issues identified
|
|
176
|
+
|
|
177
|
+
## Caching Strategy
|
|
178
|
+
|
|
179
|
+
### Cache Configuration
|
|
180
|
+
```yaml
|
|
181
|
+
type: hierarchical
|
|
182
|
+
ttl: 3600 # 1 hour
|
|
183
|
+
invalidation: manual
|
|
184
|
+
scope: command
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
### What to Cache
|
|
188
|
+
- Successful agent coordination strategies for similar topics
|
|
189
|
+
- Effective agent combinations
|
|
190
|
+
- Question decomposition patterns
|
|
191
|
+
- Pattern recognition results
|
|
192
|
+
|
|
193
|
+
### Cache Performance Targets
|
|
194
|
+
- Hit rate: ≥60%
|
|
195
|
+
- Memory usage: <30MB
|
|
196
|
+
- Response time improvement: <150ms
|
|
197
|
+
|
|
198
|
+
## Error Handling
|
|
199
|
+
|
|
200
|
+
### Common Failure Modes
|
|
201
|
+
|
|
202
|
+
| Scenario | Phase | Mitigation |
|
|
203
|
+
|----------|-------|------------|
|
|
204
|
+
| Invalid research question | Context Analysis | Request clarification |
|
|
205
|
+
| Agent timeout | Discovery/Analysis | Retry with reduced scope |
|
|
206
|
+
| Insufficient findings | Synthesis | Expand scope, add agents |
|
|
207
|
+
| Conflicting information | Synthesis | Document conflicts, flag for review |
|
|
208
|
+
|
|
209
|
+
### Escalation Triggers
|
|
210
|
+
|
|
211
|
+
- Multiple agent failures
|
|
212
|
+
- Scope exceeds single-session capacity
|
|
213
|
+
- Cross-repository research needed
|
|
214
|
+
- External API/service investigation required
|
|
215
|
+
|
|
216
|
+
## Structured Output Format
|
|
217
|
+
|
|
218
|
+
```json
|
|
219
|
+
{
|
|
220
|
+
"status": "success|in_progress|error",
|
|
221
|
+
"timestamp": "ISO-8601",
|
|
222
|
+
"cache": {
|
|
223
|
+
"hit": true,
|
|
224
|
+
"key": "pattern:{hash}:{scope}",
|
|
225
|
+
"ttl_remaining": 3600,
|
|
226
|
+
"savings": 0.25
|
|
227
|
+
},
|
|
228
|
+
"research": {
|
|
229
|
+
"question": "Primary research question",
|
|
230
|
+
"scope": "codebase|documentation|external|all",
|
|
231
|
+
"depth": "shallow|medium|deep"
|
|
232
|
+
},
|
|
233
|
+
"findings": {
|
|
234
|
+
"total_files": 23,
|
|
235
|
+
"codebase_refs": 18,
|
|
236
|
+
"documentation_refs": 5,
|
|
237
|
+
"insights_generated": 7,
|
|
238
|
+
"patterns_identified": 3
|
|
239
|
+
},
|
|
240
|
+
"document": {
|
|
241
|
+
"path": "docs/research/YYYY-MM-DD-topic.md",
|
|
242
|
+
"sections": ["synopsis", "summary", "findings", "recommendations"],
|
|
243
|
+
"code_references": 12,
|
|
244
|
+
"historical_context": 3
|
|
245
|
+
},
|
|
246
|
+
"agents_used": [
|
|
247
|
+
"codebase-locator",
|
|
248
|
+
"research-locator",
|
|
249
|
+
"codebase-analyzer",
|
|
250
|
+
"research-analyzer"
|
|
251
|
+
],
|
|
252
|
+
"metadata": {
|
|
253
|
+
"processing_time_seconds": 180,
|
|
254
|
+
"cache_savings_percent": 0.25,
|
|
255
|
+
"agent_tasks_completed": 6,
|
|
256
|
+
"follow_up_items": 2
|
|
257
|
+
},
|
|
258
|
+
"confidence": {
|
|
259
|
+
"overall": 0.85,
|
|
260
|
+
"codebase_coverage": 0.9,
|
|
261
|
+
"documentation_coverage": 0.7,
|
|
262
|
+
"external_coverage": 0.8
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
## Anti-Patterns to Avoid
|
|
268
|
+
|
|
269
|
+
1. **Spawning agents before reading sources** - Always understand context first
|
|
270
|
+
2. **Running agents sequentially when parallelization is possible** - Maximize concurrency
|
|
271
|
+
3. **Relying solely on cached documentation** - Prioritize current codebase state
|
|
272
|
+
4. **Skipping cache checks** - Always check for existing research
|
|
273
|
+
5. **Ignoring historical context** - Past decisions inform current understanding
|
|
274
|
+
6. **Over-scoping initial research** - Start focused, expand if needed
|
|
275
|
+
|
|
276
|
+
## Integration with Incentive-Based Prompting
|
|
277
|
+
|
|
278
|
+
Apply these techniques when spawning research agents:
|
|
279
|
+
|
|
280
|
+
### Expert Persona for Analyzers
|
|
281
|
+
```markdown
|
|
282
|
+
You are a senior systems analyst with 12+ years of experience at companies like
|
|
283
|
+
Google and Stripe. Your expertise is in extracting actionable insights from
|
|
284
|
+
complex codebases and documentation.
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
### Stakes Language for Discovery
|
|
288
|
+
```markdown
|
|
289
|
+
This research is critical for the project's success. Missing relevant files
|
|
290
|
+
or documentation will result in incomplete analysis.
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
### Step-by-Step for Synthesis
|
|
294
|
+
```markdown
|
|
295
|
+
Take a deep breath. Analyze findings systematically before synthesizing.
|
|
296
|
+
Cross-reference all claims with evidence. Identify gaps methodically.
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
## Example Usage
|
|
300
|
+
|
|
301
|
+
### Basic Research Request
|
|
302
|
+
```
|
|
303
|
+
/research "How does the authentication system work in this codebase?"
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
### Advanced Research with Parameters
|
|
307
|
+
```
|
|
308
|
+
/research "Analyze payment processing implementation" --scope=codebase --depth=deep
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
### Research from Ticket
|
|
312
|
+
```
|
|
313
|
+
/research --ticket="docs/tickets/AUTH-123.md" --scope=both
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
## Follow-Up Commands
|
|
317
|
+
|
|
318
|
+
After research completes, typical next steps:
|
|
319
|
+
|
|
320
|
+
- `/plan` - Create implementation plan based on findings
|
|
321
|
+
- `/review` - Validate research conclusions
|
|
322
|
+
- `/work` - Begin implementation with full context
|
|
323
|
+
|
|
324
|
+
## Research Quality Checklist
|
|
325
|
+
|
|
326
|
+
Before finalizing research output:
|
|
327
|
+
|
|
328
|
+
- [ ] All claims have file:line evidence
|
|
329
|
+
- [ ] Historical context included where relevant
|
|
330
|
+
- [ ] Open questions explicitly listed
|
|
331
|
+
- [ ] Recommendations are actionable
|
|
332
|
+
- [ ] Confidence levels assigned
|
|
333
|
+
- [ ] Cross-component relationships identified
|
|
334
|
+
- [ ] Potential risks documented
|
|
335
|
+
|
|
336
|
+
## Research References
|
|
337
|
+
|
|
338
|
+
This skill incorporates methodologies from:
|
|
339
|
+
|
|
340
|
+
- **Codeflow Research Patterns** - Multi-agent orchestration
|
|
341
|
+
- **Bsharat et al. (2023)** - Principled prompting for quality
|
|
342
|
+
- **Kong et al. (2023)** - Expert persona effectiveness
|
|
343
|
+
- **Yang et al. (2023)** - Step-by-step reasoning optimization
|
package/package.json
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ai-eng-system",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Compounding engineering system for Claude Code and OpenCode. Shared agents, commands, skills, and plugin development tools.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"types":"./dist/index.d.ts",
|
|
9
|
+
"default": "./dist/index.js"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"dist/",
|
|
14
|
+
"README.md",
|
|
15
|
+
"LICENSE"
|
|
16
|
+
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "bun build.ts",
|
|
19
|
+
"build:watch": "bun build.ts --watch",
|
|
20
|
+
"clean": "rm -rf dist",
|
|
21
|
+
"validate": "bun build.ts --validate",
|
|
22
|
+
"typecheck": "tsc --noEmit",
|
|
23
|
+
"typecheck:plugin": "tsc -p tsconfig.plugin.json",
|
|
24
|
+
"prepublishOnly": "bun build.ts",
|
|
25
|
+
"test": "bun test tests/build.test.ts"
|
|
26
|
+
},
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public",
|
|
29
|
+
"registry": "https://registry.npmjs.org"
|
|
30
|
+
},
|
|
31
|
+
"keywords": [
|
|
32
|
+
"engineering",
|
|
33
|
+
"workflow",
|
|
34
|
+
"agents",
|
|
35
|
+
"claude-code",
|
|
36
|
+
"opencode",
|
|
37
|
+
"code-review",
|
|
38
|
+
"planning",
|
|
39
|
+
"deployment",
|
|
40
|
+
"seo",
|
|
41
|
+
"optimization",
|
|
42
|
+
"productivity",
|
|
43
|
+
"plugin-development",
|
|
44
|
+
"extension-tools",
|
|
45
|
+
"ai-assistance",
|
|
46
|
+
"cross-platform"
|
|
47
|
+
],
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"bun-types": "latest",
|
|
50
|
+
"typescript": "^5.9.3",
|
|
51
|
+
"yaml": "^2.8.1"
|
|
52
|
+
},
|
|
53
|
+
"author": {
|
|
54
|
+
"name": "v1truv1us",
|
|
55
|
+
"email": "contact@v1truv1us.dev",
|
|
56
|
+
"url": "https://github.com/v1truv1us"
|
|
57
|
+
},
|
|
58
|
+
"license": "MIT",
|
|
59
|
+
"repository": {
|
|
60
|
+
"type": "git",
|
|
61
|
+
"url": "https://github.com/v1truv1us/ai-eng-system"
|
|
62
|
+
},
|
|
63
|
+
"bugs": {
|
|
64
|
+
"url": "https://github.com/v1truv1us/ai-eng-system/issues"
|
|
65
|
+
},
|
|
66
|
+
"homepage": "https://github.com/v1truv1us/ai-eng-system#readme",
|
|
67
|
+
"engines": {
|
|
68
|
+
"bun": ">=1.0.0"
|
|
69
|
+
},
|
|
70
|
+
"dependencies": {
|
|
71
|
+
"@opencode-ai/plugin": "^1.0.184"
|
|
72
|
+
}
|
|
73
|
+
}
|