https://github.com/lugondev/opencode-config
https://github.com/lugondev/opencode-config
agentic-ai agents opencode vibe-coding
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lugondev/opencode-config
- Owner: lugondev
- Created: 2025-12-18T19:35:00.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2026-01-11T17:38:55.000Z (5 months ago)
- Last Synced: 2026-01-11T20:27:11.838Z (5 months ago)
- Topics: agentic-ai, agents, opencode, vibe-coding
- Homepage:
- Size: 121 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenCode Workspace Config
This repository contains a minimal OpenCode configuration and related agent notes.
## What’s here
- `opencode.json`: OpenCode config, including MCP server definitions.
- `agent/`: Agent guidance and prompts.
- `package.json`: Node dependency for OpenCode plugins.
## Agents
### Development Agents
- `ag_typescript.md`: TypeScript/JavaScript (NestJS, Next.js 16.1+, React 19+)
- `ag_go.md`: Golang development
- `ag_rust.md`: Rust development
- `ag_anchor_sol.md`: Solana Anchor development
- `ag_solidity.md`: Solidity development (Foundry prioritized)
### Sub-agents
- `sag_analysis.md`: Requirements analysis and planning
- `sag_frontend-design.md`: Frontend UI/UX implementation
- `sag_review.md`: Code review and optimization
- `sag_write_testcase.md`: Test generation and validation
## Requirements
- Node.js (required for local MCP servers that run via `npx`)
- Python + `uv` (required for the local MCP server that runs via `uvx`)
## Install
### 1. Clone Repository
Clone this repository to your local configuration directory (`~/.config/opencode`):
```bash
git clone https://github.com/lugondev/opencode-config.git ~/.config/opencode
```
### 2. Install Dependencies
Navigate to the directory and install dependencies:
```bash
cd ~/.config/opencode
bun install
# or
npm install
# or
pnpm install
```
## MCP servers
The `opencode.json` file defines several MCP servers:
- `context7` (remote)
- `fetch` (local via `uvx mcp-server-fetch`)
- `docs-rs` (local via `npx @nuskey8/docs-rs-mcp@latest -y`)
- `memory` (local via `npx @modelcontextprotocol/server-memory`)
- `sequential-thinking` (local via `npx @modelcontextprotocol/server-sequential-thinking`)
If a local server fails to start, verify your Node/Python tooling is installed and available in your PATH.