@neyugn/agent-kits 0.2.4 → 0.2.5
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/README.md +4 -136
- package/README.vi.md +4 -40
- package/README.zh.md +4 -40
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -370,143 +370,11 @@ After installation, find documentation in your project:
|
|
|
370
370
|
|
|
371
371
|
## 🤝 Contributing
|
|
372
372
|
|
|
373
|
-
Contributions are welcome! Please see our [Contributing Guide](CONTRIBUTING.md)
|
|
373
|
+
Contributions are welcome! Please see our [Contributing Guide](CONTRIBUTING.md) for detailed instructions on:
|
|
374
374
|
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
#### Step 1: Create Kit Directory Structure
|
|
380
|
-
|
|
381
|
-
```bash
|
|
382
|
-
mkdir -p kits/my-kit/{agents,skills,workflows}
|
|
383
|
-
```
|
|
384
|
-
|
|
385
|
-
```
|
|
386
|
-
kits/my-kit/
|
|
387
|
-
├── ARCHITECTURE.md # Kit documentation (required)
|
|
388
|
-
├── GEMINI.md # AI rule file (required)
|
|
389
|
-
├── agents/ # Agent personas
|
|
390
|
-
│ ├── orchestrator.md
|
|
391
|
-
│ └── specialist.md
|
|
392
|
-
├── skills/ # Domain skills
|
|
393
|
-
│ └── core-skill/
|
|
394
|
-
│ └── SKILL.md
|
|
395
|
-
└── workflows/ # Slash commands
|
|
396
|
-
└── main.md
|
|
397
|
-
```
|
|
398
|
-
|
|
399
|
-
#### Step 2: Create ARCHITECTURE.md
|
|
400
|
-
|
|
401
|
-
```markdown
|
|
402
|
-
# My Kit Architecture
|
|
403
|
-
|
|
404
|
-
## 🎯 Purpose
|
|
405
|
-
|
|
406
|
-
[Describe what this kit is for]
|
|
407
|
-
|
|
408
|
-
## 🤖 Agents
|
|
409
|
-
|
|
410
|
-
| Agent | Description |
|
|
411
|
-
| ----- | ----------- |
|
|
412
|
-
| ... | ... |
|
|
413
|
-
|
|
414
|
-
## 🧩 Skills
|
|
415
|
-
|
|
416
|
-
| Skill | Description |
|
|
417
|
-
| ----- | ----------- |
|
|
418
|
-
| ... | ... |
|
|
419
|
-
|
|
420
|
-
## 📜 Workflows
|
|
421
|
-
|
|
422
|
-
| Command | Description |
|
|
423
|
-
| ------- | ----------- |
|
|
424
|
-
| ... | ... |
|
|
425
|
-
|
|
426
|
-
## 🔗 Common Skills
|
|
427
|
-
|
|
428
|
-
This kit inherits from the **Common Skills Layer**. See `common/COMMON.md`.
|
|
429
|
-
```
|
|
430
|
-
|
|
431
|
-
#### Step 3: Create GEMINI.md (AI Rule File)
|
|
432
|
-
|
|
433
|
-
```markdown
|
|
434
|
-
---
|
|
435
|
-
trigger: manual
|
|
436
|
-
---
|
|
437
|
-
|
|
438
|
-
# GEMINI.md - My Kit
|
|
439
|
-
|
|
440
|
-
> [Kit description]
|
|
441
|
-
|
|
442
|
-
## 🎯 Purpose
|
|
443
|
-
|
|
444
|
-
[Purpose description]
|
|
445
|
-
|
|
446
|
-
## 🤖 AGENT ROUTING
|
|
447
|
-
|
|
448
|
-
[Agent selection logic]
|
|
449
|
-
|
|
450
|
-
## 📜 WORKFLOWS
|
|
451
|
-
|
|
452
|
-
[Available slash commands]
|
|
453
|
-
|
|
454
|
-
## 🛠️ SKILL LOADING
|
|
455
|
-
|
|
456
|
-
[Skill loading protocol]
|
|
457
|
-
```
|
|
458
|
-
|
|
459
|
-
#### Step 4: Register Kit in CLI
|
|
460
|
-
|
|
461
|
-
Edit `src/config.ts`:
|
|
462
|
-
|
|
463
|
-
```typescript
|
|
464
|
-
export const KITS: Kit[] = [
|
|
465
|
-
{
|
|
466
|
-
id: "coder",
|
|
467
|
-
name: "Coder Kit",
|
|
468
|
-
description: "Complete toolkit for software development",
|
|
469
|
-
path: "kits/coder",
|
|
470
|
-
},
|
|
471
|
-
{
|
|
472
|
-
id: "my-kit",
|
|
473
|
-
name: "My Kit",
|
|
474
|
-
description: "Description of my kit",
|
|
475
|
-
path: "kits/my-kit",
|
|
476
|
-
},
|
|
477
|
-
];
|
|
478
|
-
```
|
|
479
|
-
|
|
480
|
-
#### Step 5: Test Your Kit
|
|
481
|
-
|
|
482
|
-
```bash
|
|
483
|
-
# Build CLI
|
|
484
|
-
pnpm build
|
|
485
|
-
|
|
486
|
-
# Test installation
|
|
487
|
-
node dist/cli.js
|
|
488
|
-
|
|
489
|
-
# Select your new kit and verify installation
|
|
490
|
-
```
|
|
491
|
-
|
|
492
|
-
#### Step 6: Submit Pull Request
|
|
493
|
-
|
|
494
|
-
1. Fork the repository
|
|
495
|
-
2. Create feature branch: `git checkout -b feat/my-kit`
|
|
496
|
-
3. Commit changes: `git commit -m "feat: add my-kit"`
|
|
497
|
-
4. Push and create PR
|
|
498
|
-
|
|
499
|
-
### Creating New Skills/Agents
|
|
500
|
-
|
|
501
|
-
Inside a kit:
|
|
502
|
-
|
|
503
|
-
```bash
|
|
504
|
-
# Add agent
|
|
505
|
-
python3 kits/coder/skills/agent-creator/scripts/init_agent.py my-agent
|
|
506
|
-
|
|
507
|
-
# Add skill
|
|
508
|
-
python3 kits/coder/skills/skill-creator/scripts/init_skill.py my-skill
|
|
509
|
-
```
|
|
375
|
+
- Creating new kits
|
|
376
|
+
- Adding agents and skills
|
|
377
|
+
- Submitting pull requests
|
|
510
378
|
|
|
511
379
|
<br/>
|
|
512
380
|
|
package/README.vi.md
CHANGED
|
@@ -362,47 +362,11 @@ Sau khi cài đặt, tìm tài liệu trong dự án của bạn:
|
|
|
362
362
|
|
|
363
363
|
## 🤝 Đóng góp
|
|
364
364
|
|
|
365
|
-
Chúng tôi hoan nghênh đóng góp! Xem [Hướng dẫn đóng góp](CONTRIBUTING.md)
|
|
365
|
+
Chúng tôi hoan nghênh đóng góp! Xem [Hướng dẫn đóng góp](CONTRIBUTING.md) để biết chi tiết về:
|
|
366
366
|
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
```bash
|
|
372
|
-
mkdir -p kits/my-kit/{agents,skills,workflows}
|
|
373
|
-
```
|
|
374
|
-
|
|
375
|
-
```
|
|
376
|
-
kits/my-kit/
|
|
377
|
-
├── ARCHITECTURE.md # Tài liệu kit (bắt buộc)
|
|
378
|
-
├── GEMINI.md # File quy tắc AI (bắt buộc)
|
|
379
|
-
├── agents/ # Agent personas
|
|
380
|
-
│ └── orchestrator.md
|
|
381
|
-
├── skills/ # Domain skills
|
|
382
|
-
│ └── core-skill/
|
|
383
|
-
│ └── SKILL.md
|
|
384
|
-
└── workflows/ # Slash commands
|
|
385
|
-
└── main.md
|
|
386
|
-
```
|
|
387
|
-
|
|
388
|
-
#### Bước 2: Tạo ARCHITECTURE.md
|
|
389
|
-
|
|
390
|
-
Mô tả kiến trúc kit bao gồm: Purpose, Agents, Skills, Workflows.
|
|
391
|
-
|
|
392
|
-
#### Bước 3: Tạo GEMINI.md
|
|
393
|
-
|
|
394
|
-
File quy tắc cho AI với các trigger, agent routing, và skill loading protocol.
|
|
395
|
-
|
|
396
|
-
#### Bước 4: Đăng ký trong CLI
|
|
397
|
-
|
|
398
|
-
Thêm kit vào `src/config.ts`.
|
|
399
|
-
|
|
400
|
-
#### Bước 5: Test và Submit PR
|
|
401
|
-
|
|
402
|
-
```bash
|
|
403
|
-
pnpm build
|
|
404
|
-
node dist/cli.js
|
|
405
|
-
```
|
|
367
|
+
- Tạo kits mới
|
|
368
|
+
- Thêm agents và skills
|
|
369
|
+
- Gửi pull requests
|
|
406
370
|
|
|
407
371
|
<br/>
|
|
408
372
|
|
package/README.zh.md
CHANGED
|
@@ -362,47 +362,11 @@ npx @neyugn/agent-kits
|
|
|
362
362
|
|
|
363
363
|
## 🤝 贡献
|
|
364
364
|
|
|
365
|
-
欢迎贡献!请查看我们的[贡献指南](CONTRIBUTING.md)
|
|
365
|
+
欢迎贡献!请查看我们的[贡献指南](CONTRIBUTING.md),了解详细说明:
|
|
366
366
|
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
```bash
|
|
372
|
-
mkdir -p kits/my-kit/{agents,skills,workflows}
|
|
373
|
-
```
|
|
374
|
-
|
|
375
|
-
```
|
|
376
|
-
kits/my-kit/
|
|
377
|
-
├── ARCHITECTURE.md # 工具包文档(必需)
|
|
378
|
-
├── GEMINI.md # AI 规则文件(必需)
|
|
379
|
-
├── agents/ # 代理角色
|
|
380
|
-
│ └── orchestrator.md
|
|
381
|
-
├── skills/ # 领域技能
|
|
382
|
-
│ └── core-skill/
|
|
383
|
-
│ └── SKILL.md
|
|
384
|
-
└── workflows/ # 斜杠命令
|
|
385
|
-
└── main.md
|
|
386
|
-
```
|
|
387
|
-
|
|
388
|
-
#### 步骤 2:创建 ARCHITECTURE.md
|
|
389
|
-
|
|
390
|
-
描述工具包架构,包括:目的、代理、技能、工作流。
|
|
391
|
-
|
|
392
|
-
#### 步骤 3:创建 GEMINI.md
|
|
393
|
-
|
|
394
|
-
AI 规则文件,包含触发器、代理路由和技能加载协议。
|
|
395
|
-
|
|
396
|
-
#### 步骤 4:在 CLI 中注册
|
|
397
|
-
|
|
398
|
-
将工具包添加到 `src/config.ts`。
|
|
399
|
-
|
|
400
|
-
#### 步骤 5:测试并提交 PR
|
|
401
|
-
|
|
402
|
-
```bash
|
|
403
|
-
pnpm build
|
|
404
|
-
node dist/cli.js
|
|
405
|
-
```
|
|
367
|
+
- 创建新工具包
|
|
368
|
+
- 添加代理和技能
|
|
369
|
+
- 提交 pull requests
|
|
406
370
|
|
|
407
371
|
<br/>
|
|
408
372
|
|