super-opencode 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.opencode/agents/architect.md +84 -0
- package/.opencode/agents/backend.md +124 -0
- package/.opencode/agents/frontend.md +137 -0
- package/.opencode/agents/optimizer.md +51 -0
- package/.opencode/agents/pm-agent.md +105 -0
- package/.opencode/agents/quality.md +107 -0
- package/.opencode/agents/researcher.md +105 -0
- package/.opencode/agents/reviewer.md +80 -0
- package/.opencode/agents/security.md +107 -0
- package/.opencode/agents/writer.md +136 -0
- package/.opencode/commands/soc-analyze.md +137 -0
- package/.opencode/commands/soc-brainstorm.md +110 -0
- package/.opencode/commands/soc-cleanup.md +107 -0
- package/.opencode/commands/soc-design.md +122 -0
- package/.opencode/commands/soc-explain.md +113 -0
- package/.opencode/commands/soc-git.md +104 -0
- package/.opencode/commands/soc-help.md +94 -0
- package/.opencode/commands/soc-implement.md +112 -0
- package/.opencode/commands/soc-improve.md +105 -0
- package/.opencode/commands/soc-pm.md +99 -0
- package/.opencode/commands/soc-research.md +105 -0
- package/.opencode/commands/soc-review.md +102 -0
- package/.opencode/commands/soc-test.md +109 -0
- package/.opencode/commands/soc-workflow.md +97 -0
- package/.opencode/settings.json +3 -0
- package/.opencode/skills/confidence-check/SKILL.md +97 -0
- package/.opencode/skills/debug-protocol/SKILL.md +83 -0
- package/.opencode/skills/reflexion/SKILL.md +108 -0
- package/.opencode/skills/security-audit/SKILL.md +90 -0
- package/.opencode/skills/self-check/SKILL.md +95 -0
- package/.opencode/skills/simplification/SKILL.md +92 -0
- package/AGENTS.md +175 -0
- package/LICENSE +21 -0
- package/README.md +288 -0
- package/dist/cli.js +403 -0
- package/package.json +45 -0
package/AGENTS.md
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
# AGENTS.md
|
|
2
|
+
|
|
3
|
+
This file provides guidance to OpenCode when working with code in this repository.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 🎯 Core Principles
|
|
8
|
+
|
|
9
|
+
### 1. Evidence-Based Development
|
|
10
|
+
**Never guess** — always verify with official sources before implementation:
|
|
11
|
+
- Use **context7** MCP for official documentation lookup
|
|
12
|
+
- Use **tavily** search for community solutions and patterns
|
|
13
|
+
- Check existing code with search before implementing
|
|
14
|
+
- Verify assumptions against test results
|
|
15
|
+
|
|
16
|
+
### 2. Confidence-First Implementation
|
|
17
|
+
Check confidence **BEFORE** starting work:
|
|
18
|
+
- **≥90%**: Proceed with implementation
|
|
19
|
+
- **70-89%**: Present alternatives, investigate more
|
|
20
|
+
- **<70%**: STOP — ask questions, gather more context
|
|
21
|
+
|
|
22
|
+
**ROI**: Spend 100-200 tokens on confidence check to save 5,000-50,000 on wrong direction work.
|
|
23
|
+
|
|
24
|
+
### 3. Parallel-First Execution
|
|
25
|
+
Use **Wave → Checkpoint → Wave** pattern:
|
|
26
|
+
```
|
|
27
|
+
Wave 1: [Read file1, file2, file3] (parallel)
|
|
28
|
+
↓
|
|
29
|
+
Checkpoint: Analyze together
|
|
30
|
+
↓
|
|
31
|
+
Wave 2: [Edit file1, file2, file3] (parallel)
|
|
32
|
+
```
|
|
33
|
+
**Result**: 3.5x faster than sequential execution.
|
|
34
|
+
|
|
35
|
+
### 4. Self-Correction Protocol
|
|
36
|
+
When errors occur:
|
|
37
|
+
1. **STOP** — Never retry the same approach immediately
|
|
38
|
+
2. **Investigate** — Research root cause with documentation
|
|
39
|
+
3. **Hypothesize** — Form theory with evidence
|
|
40
|
+
4. **Redesign** — New approach must differ from failed one
|
|
41
|
+
5. **Execute** — Implement based on understanding
|
|
42
|
+
6. **Learn** — Document for future prevention
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## 🛠️ Development Workflow
|
|
47
|
+
|
|
48
|
+
### Starting Any Task
|
|
49
|
+
1. Read AGENTS.md and relevant documentation
|
|
50
|
+
2. Search for existing implementations (avoid duplicates)
|
|
51
|
+
3. Run confidence check (see `.opencode/skills/confidence-check/`)
|
|
52
|
+
4. Only proceed if confidence ≥ 70%
|
|
53
|
+
|
|
54
|
+
### During Implementation
|
|
55
|
+
- Use parallel execution where possible
|
|
56
|
+
- Document non-obvious decisions inline
|
|
57
|
+
- Run tests frequently to catch errors early
|
|
58
|
+
- Checkpoint progress for complex tasks
|
|
59
|
+
|
|
60
|
+
### After Implementation
|
|
61
|
+
1. Validate all tests pass
|
|
62
|
+
2. Run self-check protocol (`.opencode/skills/self-check/`)
|
|
63
|
+
3. Document new patterns discovered
|
|
64
|
+
4. Update relevant documentation
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## 📏 Quality Standards
|
|
69
|
+
|
|
70
|
+
### Code Quality
|
|
71
|
+
- All public functions need docstrings
|
|
72
|
+
- Use type hints where supported
|
|
73
|
+
- Follow project's existing patterns
|
|
74
|
+
- Include usage examples for complex functions
|
|
75
|
+
|
|
76
|
+
### Documentation Quality
|
|
77
|
+
- ✅ **Current**: Include "Last Verified" dates
|
|
78
|
+
- ✅ **Minimal**: Necessary information only
|
|
79
|
+
- ✅ **Clear**: Concrete examples included
|
|
80
|
+
- ✅ **Practical**: Copy-paste ready
|
|
81
|
+
|
|
82
|
+
### Testing Standards
|
|
83
|
+
- Write tests for new functionality
|
|
84
|
+
- Aim for >80% coverage on new code
|
|
85
|
+
- Include edge cases and error conditions
|
|
86
|
+
- Run full test suite before major changes
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## 🔄 PDCA Cycle
|
|
91
|
+
|
|
92
|
+
For significant implementations, follow Plan-Do-Check-Act:
|
|
93
|
+
|
|
94
|
+
### Plan (Hypothesis)
|
|
95
|
+
- What are we implementing?
|
|
96
|
+
- Why this approach?
|
|
97
|
+
- What are success criteria?
|
|
98
|
+
|
|
99
|
+
### Do (Experiment)
|
|
100
|
+
- Execute the plan
|
|
101
|
+
- Track progress and deviations
|
|
102
|
+
- Record errors and solutions
|
|
103
|
+
|
|
104
|
+
### Check (Evaluate)
|
|
105
|
+
- Did we meet success criteria?
|
|
106
|
+
- What worked well?
|
|
107
|
+
- What failed?
|
|
108
|
+
|
|
109
|
+
### Act (Improve)
|
|
110
|
+
- Success → Extract pattern for reuse
|
|
111
|
+
- Failure → Document prevention checklist
|
|
112
|
+
- Either → Update knowledge base
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## 🚫 Anti-Patterns
|
|
117
|
+
|
|
118
|
+
**Never do these:**
|
|
119
|
+
- ❌ Retry same failing approach without investigation
|
|
120
|
+
- ❌ "Tests pass" without showing actual output
|
|
121
|
+
- ❌ Implement before checking for duplicates
|
|
122
|
+
- ❌ Skip documentation due to time pressure
|
|
123
|
+
- ❌ Ignore warnings ("probably fine")
|
|
124
|
+
- ❌ Use "probably works" language
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
## 📁 Project Structure
|
|
129
|
+
|
|
130
|
+
```
|
|
131
|
+
.opencode/
|
|
132
|
+
├── agents/ # Specialized agent personas
|
|
133
|
+
├── commands/ # Slash command definitions
|
|
134
|
+
└── skills/ # Reusable skill modules
|
|
135
|
+
├── confidence-check/
|
|
136
|
+
├── self-check/
|
|
137
|
+
└── reflexion/
|
|
138
|
+
|
|
139
|
+
AGENTS.md # Core principles and guidelines
|
|
140
|
+
opencode.json # OpenCode configuration
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## 🤖 Agent System
|
|
146
|
+
|
|
147
|
+
When complex tasks require specialized expertise, delegate to appropriate agent:
|
|
148
|
+
|
|
149
|
+
| Agent | Purpose |
|
|
150
|
+
|-------|---------|
|
|
151
|
+
| **pm-agent** | Project orchestration, PDCA cycles, documentation |
|
|
152
|
+
| **architect** | System design, architecture, technical strategy |
|
|
153
|
+
| **backend** | APIs, databases, server-side logic |
|
|
154
|
+
| **frontend** | UI/UX, components, styling |
|
|
155
|
+
| **security** | Security review, threat modeling |
|
|
156
|
+
| **quality** | Testing, code review |
|
|
157
|
+
| **researcher** | Deep research, fact-checking |
|
|
158
|
+
| **writer** | Technical documentation |
|
|
159
|
+
| **reviewer** | Code review, quality assurance |
|
|
160
|
+
| **optimizer** | Performance optimization |
|
|
161
|
+
|
|
162
|
+
---
|
|
163
|
+
|
|
164
|
+
## 🔧 MCP Integration
|
|
165
|
+
|
|
166
|
+
The framework assumes the following MCP servers are available for optimal performance:
|
|
167
|
+
- **context7**: Official documentation lookup
|
|
168
|
+
- **serena**: Codebase analysis and navigation
|
|
169
|
+
- **tavily**: Web search for research
|
|
170
|
+
- **filesystem**: File system access
|
|
171
|
+
- **sequential-thinking**: Multi-step reasoning
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
|
|
175
|
+
*This document should be read at session start. Update it when global patterns are discovered.*
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Super-OpenCode
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
# Super-OpenCode Framework
|
|
2
|
+
|
|
3
|
+
A comprehensive agent framework and installer for the OpenCode CLI ecosystem, designed to streamline development workflows with specialized agents, reusable skills, and structured command patterns.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
Super-OpenCode provides a structured framework for AI-assisted software development, featuring:
|
|
8
|
+
|
|
9
|
+
- **Specialized Agent Personas**: Pre-configured agents for different domains (Backend, Frontend, Architecture, Security, QA, etc.)
|
|
10
|
+
- **Reusable Skills**: Modular capabilities for confidence checking, self-correction, debugging, and more
|
|
11
|
+
- **Slash Commands**: Pre-built workflows for common development tasks
|
|
12
|
+
- **MCP Integration**: Built-in support for Model Context Protocol servers
|
|
13
|
+
- **Quality Standards**: Enforced best practices and documentation standards
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
### Prerequisites
|
|
18
|
+
|
|
19
|
+
- Node.js 18+
|
|
20
|
+
- npm, pnpm, or yarn
|
|
21
|
+
|
|
22
|
+
### Quick Install
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npm install -g super-opencode
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Then run the interactive installer:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
super-opencode
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
The installer will guide you through:
|
|
35
|
+
1. Choosing installation scope (global or project)
|
|
36
|
+
2. Selecting components to install (agents, commands, skills, core)
|
|
37
|
+
3. Configuring optional MCP servers (Context7, Serena, Tavily, etc.)
|
|
38
|
+
|
|
39
|
+
### Manual Install
|
|
40
|
+
|
|
41
|
+
After npm install, the framework files will be available at:
|
|
42
|
+
- **Global**: `~/.opencode/`
|
|
43
|
+
- **Project**: `./opencode.json` in your project directory
|
|
44
|
+
|
|
45
|
+
## Features
|
|
46
|
+
|
|
47
|
+
### Agent System
|
|
48
|
+
|
|
49
|
+
Super-OpenCode includes specialized agents for different domains:
|
|
50
|
+
|
|
51
|
+
| Agent | Purpose |
|
|
52
|
+
|-------|---------|
|
|
53
|
+
| **pm-agent** | Project orchestration, PDCA cycles, documentation |
|
|
54
|
+
| **architect** | System design, architecture, technical strategy |
|
|
55
|
+
| **backend** | APIs, databases, server-side logic |
|
|
56
|
+
| **frontend** | UI/UX, components, styling |
|
|
57
|
+
| **security** | Security review, threat modeling |
|
|
58
|
+
| **quality** | Testing, code review |
|
|
59
|
+
| **researcher** | Deep research, fact-checking |
|
|
60
|
+
| **writer** | Technical documentation |
|
|
61
|
+
| **reviewer** | Code review, quality assurance |
|
|
62
|
+
| **optimizer** | Performance optimization |
|
|
63
|
+
|
|
64
|
+
### Skills Framework
|
|
65
|
+
|
|
66
|
+
Reusable capabilities that agents can invoke:
|
|
67
|
+
|
|
68
|
+
- **confidence-check**: Pre-execution risk assessment
|
|
69
|
+
- **self-check**: Post-implementation validation
|
|
70
|
+
- **security-audit**: OWASP Top 10 vulnerability detection
|
|
71
|
+
- **reflexion**: Post-action analysis and learning
|
|
72
|
+
- **debug-protocol**: Root cause analysis workflow
|
|
73
|
+
- **simplification**: Complexity reduction
|
|
74
|
+
|
|
75
|
+
### Slash Commands
|
|
76
|
+
|
|
77
|
+
Pre-built workflows for common tasks:
|
|
78
|
+
|
|
79
|
+
- `/soc-implement` - Code implementation with best practices
|
|
80
|
+
- `/soc-design` - System design and architecture
|
|
81
|
+
- `/soc-test` - Test generation and execution
|
|
82
|
+
- `/soc-research` - Deep research and documentation
|
|
83
|
+
- `/soc-review` - Code review and quality checks
|
|
84
|
+
- `/soc-brainstorm` - Idea generation and problem-solving
|
|
85
|
+
- `/soc-analyze` - Codebase analysis
|
|
86
|
+
- `/soc-cleanup` - Code cleanup and refactoring
|
|
87
|
+
- `/soc-explain` - Code explanation
|
|
88
|
+
- `/soc-workflow` - PDCA workflow management
|
|
89
|
+
- `/soc-pm` - Project management tasks
|
|
90
|
+
- `/soc-git` - Git operations
|
|
91
|
+
- `/soc-improve` - Continuous improvement
|
|
92
|
+
- `/soc-help` - Help and documentation
|
|
93
|
+
|
|
94
|
+
### MCP Server Integration
|
|
95
|
+
|
|
96
|
+
The framework supports configuration of various MCP servers:
|
|
97
|
+
|
|
98
|
+
**Recommended (Core)**:
|
|
99
|
+
- Context7 - Official documentation lookup
|
|
100
|
+
- Serena - Codebase analysis and navigation
|
|
101
|
+
- Tavily Search - Web search for research
|
|
102
|
+
- Filesystem - File system access
|
|
103
|
+
- Sequential Thinking - Multi-step reasoning
|
|
104
|
+
|
|
105
|
+
**Optional**:
|
|
106
|
+
- GitHub - GitHub API integration
|
|
107
|
+
- SQLite - Database operations
|
|
108
|
+
- Chrome DevTools - Browser debugging
|
|
109
|
+
- Playwright - Browser automation
|
|
110
|
+
|
|
111
|
+
## Project Structure
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
super-opencode/
|
|
115
|
+
├── src/
|
|
116
|
+
│ └── cli.ts # Main installer CLI
|
|
117
|
+
├── .opencode/
|
|
118
|
+
│ ├── agents/ # Agent persona definitions
|
|
119
|
+
│ │ ├── architect.md
|
|
120
|
+
│ │ ├── backend.md
|
|
121
|
+
│ │ ├── frontend.md
|
|
122
|
+
│ │ └── ...
|
|
123
|
+
│ ├── commands/ # Slash command definitions
|
|
124
|
+
│ │ ├── soc-implement.md
|
|
125
|
+
│ │ ├── soc-design.md
|
|
126
|
+
│ │ └── ...
|
|
127
|
+
│ └── skills/ # Reusable skill modules
|
|
128
|
+
│ ├── confidence-check/
|
|
129
|
+
│ ├── self-check/
|
|
130
|
+
│ ├── security-audit/
|
|
131
|
+
│ └── ...
|
|
132
|
+
├── AGENTS.md # Core principles and guidelines
|
|
133
|
+
├── package.json
|
|
134
|
+
├── tsconfig.json
|
|
135
|
+
└── biome.json # Linting configuration
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
## Usage
|
|
139
|
+
|
|
140
|
+
### After Installation
|
|
141
|
+
|
|
142
|
+
1. **Read AGENTS.md** - This file contains core principles, development workflows, and quality standards
|
|
143
|
+
2. **Configure MCP Servers** - Set up the MCP servers you need for your workflow
|
|
144
|
+
3. **Use Slash Commands** - Invoke the appropriate command for your task
|
|
145
|
+
|
|
146
|
+
### Example Workflows
|
|
147
|
+
|
|
148
|
+
#### Implement a Feature
|
|
149
|
+
```bash
|
|
150
|
+
/soc-implement "User Authentication" --agent backend
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
#### Design a System
|
|
154
|
+
```bash
|
|
155
|
+
/soc-design "Microservices Architecture"
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
#### Code Review
|
|
159
|
+
```bash
|
|
160
|
+
/soc-review
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
#### Research
|
|
164
|
+
```bash
|
|
165
|
+
/soc-research "Best practices for React state management"
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
## Development Workflow
|
|
169
|
+
|
|
170
|
+
Super-OpenCode enforces a structured development approach:
|
|
171
|
+
|
|
172
|
+
### 1. Evidence-Based Development
|
|
173
|
+
- Always verify with official sources
|
|
174
|
+
- Use context7 MCP for documentation lookup
|
|
175
|
+
- Check existing code before implementing
|
|
176
|
+
- Never guess or make assumptions
|
|
177
|
+
|
|
178
|
+
### 2. Confidence-First Implementation
|
|
179
|
+
- Check confidence before starting work
|
|
180
|
+
- **≥90%**: Proceed with implementation
|
|
181
|
+
- **70-89%**: Investigate more, present alternatives
|
|
182
|
+
- **<70%**: STOP - ask questions, gather context
|
|
183
|
+
|
|
184
|
+
### 3. Parallel-First Execution
|
|
185
|
+
- Use Wave → Checkpoint → Wave pattern
|
|
186
|
+
- Batch read operations together
|
|
187
|
+
- Analyze together before editing
|
|
188
|
+
- 3.5x faster than sequential execution
|
|
189
|
+
|
|
190
|
+
### 4. Self-Correction Protocol
|
|
191
|
+
When errors occur:
|
|
192
|
+
1. STOP - Don't retry immediately
|
|
193
|
+
2. INVESTIGATE - Research root cause
|
|
194
|
+
3. HYPOTHESIZE - Form theory with evidence
|
|
195
|
+
4. REDESIGN - New approach
|
|
196
|
+
5. EXECUTE - Implement based on understanding
|
|
197
|
+
6. LEARN - Document for prevention
|
|
198
|
+
|
|
199
|
+
## Configuration
|
|
200
|
+
|
|
201
|
+
### OpenCode Configuration
|
|
202
|
+
|
|
203
|
+
After installation, configuration is stored in:
|
|
204
|
+
- **Global**: `~/.config/opencode/opencode.json`
|
|
205
|
+
- **Project**: `./opencode.json`
|
|
206
|
+
|
|
207
|
+
### MCP Server Configuration
|
|
208
|
+
|
|
209
|
+
MCP servers are configured in the `mcp` section of your config:
|
|
210
|
+
|
|
211
|
+
```json
|
|
212
|
+
{
|
|
213
|
+
"mcp": {
|
|
214
|
+
"context7": {
|
|
215
|
+
"type": "local",
|
|
216
|
+
"command": ["npx", "-y", "@upstash/context7-mcp"]
|
|
217
|
+
},
|
|
218
|
+
"filesystem": {
|
|
219
|
+
"type": "local",
|
|
220
|
+
"command": ["npx", "-y", "@modelcontextprotocol/server-filesystem", "/path/to/project"]
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
## Quality Standards
|
|
227
|
+
|
|
228
|
+
### Code Quality
|
|
229
|
+
- All public functions require docstrings
|
|
230
|
+
- Use type hints where supported
|
|
231
|
+
- Follow existing project patterns
|
|
232
|
+
- Include usage examples for complex functions
|
|
233
|
+
|
|
234
|
+
### Documentation Quality
|
|
235
|
+
- Current with "Last Verified" dates
|
|
236
|
+
- Minimal but necessary information
|
|
237
|
+
- Clear with concrete examples
|
|
238
|
+
- Practical and copy-paste ready
|
|
239
|
+
|
|
240
|
+
### Testing Standards
|
|
241
|
+
- Write tests for new functionality
|
|
242
|
+
- Aim for >80% code coverage
|
|
243
|
+
- Include edge cases and error conditions
|
|
244
|
+
- Run full test suite before major changes
|
|
245
|
+
|
|
246
|
+
## Building and Development
|
|
247
|
+
|
|
248
|
+
```bash
|
|
249
|
+
# Install dependencies
|
|
250
|
+
npm install
|
|
251
|
+
|
|
252
|
+
# Build
|
|
253
|
+
npm run build
|
|
254
|
+
|
|
255
|
+
# Lint
|
|
256
|
+
npm run lint
|
|
257
|
+
|
|
258
|
+
# Format
|
|
259
|
+
npm run format
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
## Contributing
|
|
263
|
+
|
|
264
|
+
Contributions are welcome! Please follow these guidelines:
|
|
265
|
+
|
|
266
|
+
1. Read AGENTS.md to understand the framework philosophy
|
|
267
|
+
2. Follow existing code patterns and quality standards
|
|
268
|
+
3. Add tests for new functionality
|
|
269
|
+
4. Update documentation as needed
|
|
270
|
+
5. Submit pull requests with clear descriptions
|
|
271
|
+
|
|
272
|
+
## License
|
|
273
|
+
|
|
274
|
+
MIT License - See [LICENSE](LICENSE) file for details.
|
|
275
|
+
|
|
276
|
+
## Credits
|
|
277
|
+
|
|
278
|
+
Created by [lst97](https://github.com/lst97)
|
|
279
|
+
|
|
280
|
+
## Related Links
|
|
281
|
+
|
|
282
|
+
- [OpenCode CLI](https://opencode.ai)
|
|
283
|
+
- [Model Context Protocol](https://modelcontextprotocol.io)
|
|
284
|
+
- [MCP Server Registry](https://github.com/modelcontextprotocol/servers)
|
|
285
|
+
|
|
286
|
+
---
|
|
287
|
+
|
|
288
|
+
*Built with ❤️ for the AI-assisted development community*
|