Skip to content

Commit 3d30c64

Browse files
committed
feat: update README with quick installation instructions for NPM package and usage guidelines
1 parent 4638b81 commit 3d30c64

1 file changed

Lines changed: 35 additions & 2 deletions

File tree

README.md

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,28 @@
66

77
Panduan ini menjelaskan cara menggunakan agent di repo ini, termasuk skill yang perlu diinstall agar agent berjalan optimal.
88

9+
---
10+
11+
## Instalasi Cepat (NPM Package)
12+
13+
**Cara termudah** — install ke project mana pun dengan satu perintah:
14+
15+
```bash
16+
npx opencode-agent-kit init
17+
```
18+
19+
Ini akan menyalin konfigurasi agent, skills, commands, dan rules ke project Anda.
20+
21+
Atau install global:
22+
23+
```bash
24+
npm install -g opencode-agent-kit
25+
cd /path/to/your-project
26+
opencode-agent-kit init
27+
```
28+
29+
---
30+
931
## Gambaran Singkat
1032

1133
Repo ini berisi konfigurasi OpenCode untuk tim IT lengkap dengan arsitektur **Leader → Subagent**:
@@ -165,9 +187,20 @@ Setelah copy `.opencode/` ke project, command berikut tersedia:
165187

166188
## Cara Menggunakan Folder `.opencode`
167189

168-
### Di Project Baru
190+
### Di Project Baru (Rekomendasi — NPM Package)
191+
192+
Cara termudah adalah menggunakan npm package:
193+
194+
```bash
195+
cd /path/to/your-project
196+
npx opencode-agent-kit init
197+
```
198+
199+
Ini akan mengcopy `opencode.json`, `.opencode/`, dan `AGENTS.md` secara otomatis.
200+
201+
### Manual Copy
169202

170-
Copy seluruh folder `.opencode/` ke project yang sedang dikerjakan:
203+
Atau copy langsung dari repo ini:
171204

172205
```bash
173206
cp -R .opencode/ /path/to/your-project/

0 commit comments

Comments
 (0)