quickagents 1.0.0__tar.gz
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.
- quickagents-1.0.0/PKG-INFO +526 -0
- quickagents-1.0.0/README.md +506 -0
- quickagents-1.0.0/pyproject.toml +36 -0
- quickagents-1.0.0/quickagents/__init__.py +85 -0
- quickagents-1.0.0/quickagents/cli/main.py +437 -0
- quickagents-1.0.0/quickagents/cli/qa.py +33 -0
- quickagents-1.0.0/quickagents/core/cache_db.py +503 -0
- quickagents-1.0.0/quickagents/core/file_manager.py +281 -0
- quickagents-1.0.0/quickagents/core/loop_detector.py +135 -0
- quickagents-1.0.0/quickagents/core/memory.py +260 -0
- quickagents-1.0.0/quickagents/core/reminder.py +258 -0
- quickagents-1.0.0/quickagents/skills/__init__.py +22 -0
- quickagents-1.0.0/quickagents/skills/feedback_collector.py +280 -0
- quickagents-1.0.0/quickagents/skills/git_commit.py +485 -0
- quickagents-1.0.0/quickagents/skills/tdd_workflow.py +342 -0
- quickagents-1.0.0/quickagents/utils/hash_cache.py +115 -0
- quickagents-1.0.0/quickagents.egg-info/PKG-INFO +526 -0
- quickagents-1.0.0/quickagents.egg-info/SOURCES.txt +20 -0
- quickagents-1.0.0/quickagents.egg-info/dependency_links.txt +1 -0
- quickagents-1.0.0/quickagents.egg-info/entry_points.txt +2 -0
- quickagents-1.0.0/quickagents.egg-info/top_level.txt +1 -0
- quickagents-1.0.0/setup.cfg +4 -0
|
@@ -0,0 +1,526 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: quickagents
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: QuickAgents - AI Agent Enhancement Toolkit
|
|
5
|
+
Author: QuickAgents Team
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/Coder-Beam/Quick-Agents-for-Z.AI-GLM
|
|
8
|
+
Project-URL: Documentation, https://github.com/Coder-Beam/Quick-Agents-for-Z.AI-GLM#readme
|
|
9
|
+
Keywords: ai,agent,cache,memory,tdd
|
|
10
|
+
Classifier: Development Status :: 4 - Beta
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Requires-Python: >=3.8
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
|
|
21
|
+
# QuickAgents - AI Agent Project Initialization System
|
|
22
|
+
|
|
23
|
+
[](https://opensource.org/licenses/MIT)
|
|
24
|
+
[](https://opencode.ai)
|
|
25
|
+
[](https://github.com/Coder-Beam/Quick-Agents-for-Z.AI-GLM)
|
|
26
|
+
[](https://www.npmjs.com/package/quickagents-cli)
|
|
27
|
+
|
|
28
|
+
**[中文](#quickagents---ai-代理项目初始化系统)** | **English**
|
|
29
|
+
|
|
30
|
+
> A complete AI agent project initialization system with out-of-the-box project setup, requirements clarification, multi-agent collaboration, and cross-session recovery capabilities.
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## 🚀 One-Line Installation
|
|
35
|
+
|
|
36
|
+
### For Humans (Recommended)
|
|
37
|
+
|
|
38
|
+
Copy and paste this prompt into your AI agent (OpenCode CLI/Desktop, etc.):
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
Install and configure QuickAgents by following the instructions here:
|
|
42
|
+
https://raw.githubusercontent.com/Coder-Beam/Quick-Agents-for-Z.AI-GLM/main/Docs/en/guide/installation.md
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
**Or use CLI for one-line installation:**
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
npm install -g quickagents-cli
|
|
49
|
+
qa init
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### For LLM Agents
|
|
53
|
+
|
|
54
|
+
Fetch the installation guide and follow it:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
curl -fsSL https://raw.githubusercontent.com/Coder-Beam/Quick-Agents-for-Z.AI-GLM/main/Docs/en/guide/installation.md
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Core Features
|
|
63
|
+
|
|
64
|
+
### 🚀 Standardized Startup Process
|
|
65
|
+
|
|
66
|
+
**Trigger Words** (case-insensitive):
|
|
67
|
+
- `启动QuickAgent` (Recommended)
|
|
68
|
+
- `启动QuickAgents`
|
|
69
|
+
- `启动QA`
|
|
70
|
+
- `Start QA`
|
|
71
|
+
|
|
72
|
+
> 💡 **Tip**: `启动QuickAgent` is recommended for clarity and brevity.
|
|
73
|
+
|
|
74
|
+
### 🧠 Three-Dimensional Memory System
|
|
75
|
+
|
|
76
|
+
Based on the paper "Memory in the Age of AI Agents":
|
|
77
|
+
|
|
78
|
+
| Memory Type | Purpose | Examples |
|
|
79
|
+
|-------------|---------|----------|
|
|
80
|
+
| **Factual Memory** | Static facts | Project metadata, technical decisions, business rules |
|
|
81
|
+
| **Experiential Memory** | Dynamic experiences | Operation history, lessons learned, user feedback |
|
|
82
|
+
| **Working Memory** | Active state | Current task, active context, pending decisions |
|
|
83
|
+
|
|
84
|
+
### 🤖 17 Professional Agents
|
|
85
|
+
|
|
86
|
+
| Category | Agents |
|
|
87
|
+
|----------|--------|
|
|
88
|
+
| **Core** | yinglong-init, boyi-consult, chisongzi-advise, cangjie-doc, huodi-skill, fenghou-orchestrate |
|
|
89
|
+
| **Quality** | jianming-review, lishou-test, mengzhang-security, hengge-perf |
|
|
90
|
+
| **Tools** | kuafu-debug, gonggu-refactor, huodi-deps, hengge-cicd |
|
|
91
|
+
| **Planning** | fenghou-plan, boyi-consult, jianming-review |
|
|
92
|
+
|
|
93
|
+
### 📦 19 Specialized Skills
|
|
94
|
+
|
|
95
|
+
#### Core Skills (12)
|
|
96
|
+
| Skill | Purpose |
|
|
97
|
+
|-------|---------|
|
|
98
|
+
| project-memory-skill | Three-dimensional memory management |
|
|
99
|
+
| boulder-tracking-skill | Cross-session progress tracking |
|
|
100
|
+
| category-system-skill | Semantic task classification |
|
|
101
|
+
| inquiry-skill | 7-layer requirements inquiry |
|
|
102
|
+
| tdd-workflow-skill | Test-driven development workflow |
|
|
103
|
+
| code-review-skill | Code quality review |
|
|
104
|
+
| git-commit-skill | Git commit standardization |
|
|
105
|
+
| multi-model-skill | Multi-model support |
|
|
106
|
+
| lsp-ast-skill | LSP/AST code analysis |
|
|
107
|
+
| project-detector-skill | Project type detection |
|
|
108
|
+
| background-agents-skill | Parallel agent execution |
|
|
109
|
+
| skill-integration-skill | Skill integration management |
|
|
110
|
+
|
|
111
|
+
#### Research-Based Skills (6) - v2.1.0
|
|
112
|
+
| Skill | Purpose | Source |
|
|
113
|
+
|-------|---------|--------|
|
|
114
|
+
| lazy-discovery-skill | Lazy tool loading, 50%+ context reduction | OpenDev |
|
|
115
|
+
| event-reminder-skill | Event-driven reminders, anti-instruction-fade | OpenDev |
|
|
116
|
+
| doom-loop-skill | Loop detection, prevent repeated calls | OpenDev |
|
|
117
|
+
| adaptive-compression-skill | Adaptive compression, 54% peak reduction | VeRO |
|
|
118
|
+
| vero-evaluation-skill | Versioned evaluation (V-E-R-O) | VeRO |
|
|
119
|
+
| aci-design-skill | ACI design principles | SWE-agent |
|
|
120
|
+
|
|
121
|
+
#### Feedback Skills (1) - v2.1.1
|
|
122
|
+
| Skill | Purpose |
|
|
123
|
+
|-------|---------|
|
|
124
|
+
| feedback-collector-skill | Collect usage experience for system improvement |
|
|
125
|
+
|
|
126
|
+
### 📚 Complete Documentation System
|
|
127
|
+
|
|
128
|
+
- **Hybrid Structure**: Project-level + features/ + modules/
|
|
129
|
+
- **Bidirectional Sync**: Docs/ ↔ .opencode/memory/
|
|
130
|
+
- **Knowledge Graph**: INDEX.md provides complete document navigation
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## Quick Start
|
|
135
|
+
|
|
136
|
+
### 1. Install QuickAgents
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
# Option 1: Use CLI
|
|
140
|
+
npm install -g quickagents-cli
|
|
141
|
+
qa init
|
|
142
|
+
|
|
143
|
+
# Option 2: Use one-line prompt (recommended)
|
|
144
|
+
# Paste into your AI agent:
|
|
145
|
+
# Install and configure QuickAgents by following the instructions here:
|
|
146
|
+
# https://raw.githubusercontent.com/Coder-Beam/Quick-Agents-for-Z.AI-GLM/main/Docs/en/guide/installation.md
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### 2. Start Initialization
|
|
150
|
+
|
|
151
|
+
In OpenCode or compatible AI coding agent, send:
|
|
152
|
+
|
|
153
|
+
```
|
|
154
|
+
启动QuickAgent
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
### 3. First-Time Configuration
|
|
158
|
+
|
|
159
|
+
On first use, the system will automatically guide you through:
|
|
160
|
+
- **models.json**: AI model configuration
|
|
161
|
+
- **lsp-config.json**: LSP server configuration
|
|
162
|
+
|
|
163
|
+
### 4. Answer Inquiry Cards
|
|
164
|
+
|
|
165
|
+
AI will collect requirements through interactive inquiry cards using the 7-layer model:
|
|
166
|
+
|
|
167
|
+
1. **L1 Business Essence**: Why? Core pain points?
|
|
168
|
+
2. **L2 User Profile**: Who uses? Use cases?
|
|
169
|
+
3. **L3 Core Flow**: Complete process? Exception handling?
|
|
170
|
+
4. **L4 Feature List**: What to build? Feature boundaries?
|
|
171
|
+
5. **L5 Data Model**: Data structures? Relationships?
|
|
172
|
+
6. **L6 Tech Stack**: Frameworks? Database? Deployment?
|
|
173
|
+
7. **L7 Delivery Standards**: Acceptance criteria? Timeline?
|
|
174
|
+
|
|
175
|
+
---
|
|
176
|
+
|
|
177
|
+
## Agent Usage Guide
|
|
178
|
+
|
|
179
|
+
### By Scenario
|
|
180
|
+
|
|
181
|
+
| Scenario | Recommended Approach | Description |
|
|
182
|
+
|----------|---------------------|-------------|
|
|
183
|
+
| **First Use** | `启动QuickAgent` | Auto-invokes yinglong-init |
|
|
184
|
+
| **Daily Development** | Direct conversation | AI intelligently dispatches fenghou-orchestrate |
|
|
185
|
+
| **Making Plans** | `@boyi-consult` or `@fenghou-plan` | Enter Plan Mode |
|
|
186
|
+
| **Actual Development** | `@fenghou-orchestrate` or `/ultrawork` | Efficient execution |
|
|
187
|
+
|
|
188
|
+
### Core Commands
|
|
189
|
+
|
|
190
|
+
| Command | Description |
|
|
191
|
+
|---------|-------------|
|
|
192
|
+
| `/start-work` | Cross-session recovery |
|
|
193
|
+
| `/ultrawork <task>` | Ultra-efficient task execution |
|
|
194
|
+
| `/run-workflow` | Run workflow |
|
|
195
|
+
| `/enable-coordination` | Enable agent coordination |
|
|
196
|
+
| `/disable-coordination` | Disable agent coordination |
|
|
197
|
+
|
|
198
|
+
> 📖 **Detailed Guide**: See [Docs/en/AGENT_GUIDE.md](Docs/en/AGENT_GUIDE.md) for complete agent usage and collaboration diagrams.
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
|
|
202
|
+
## Project Structure
|
|
203
|
+
|
|
204
|
+
```
|
|
205
|
+
your-project/
|
|
206
|
+
├── AGENTS.md # Development specification
|
|
207
|
+
├── Docs/ # Project documentation
|
|
208
|
+
│ ├── MEMORY.md # Three-dimensional memory
|
|
209
|
+
│ ├── TASKS.md # Task management
|
|
210
|
+
│ ├── DESIGN.md # Design documents
|
|
211
|
+
│ ├── INDEX.md # Knowledge graph
|
|
212
|
+
│ ├── AGENT_GUIDE.md # Agent usage guide
|
|
213
|
+
│ ├── USER_GUIDE.md # User guide
|
|
214
|
+
│ ├── ARCHITECTURE.md # Architecture docs
|
|
215
|
+
│ ├── en/ # English documentation
|
|
216
|
+
│ └── guide/ # Installation guides
|
|
217
|
+
│ └── installation.md
|
|
218
|
+
│
|
|
219
|
+
├── .opencode/ # OpenCode configuration
|
|
220
|
+
│ ├── agents/ # 17 professional agents
|
|
221
|
+
│ ├── skills/ # 19 specialized skills
|
|
222
|
+
│ ├── commands/ # 6 core commands
|
|
223
|
+
│ ├── hooks/ # Automation hooks
|
|
224
|
+
│ ├── config/ # Configuration files
|
|
225
|
+
│ │ ├── quickagents.json
|
|
226
|
+
│ │ ├── categories.json
|
|
227
|
+
│ │ └── lsp-config.json
|
|
228
|
+
│ └── memory/ # Project memory
|
|
229
|
+
│
|
|
230
|
+
└── .quickagents/ # QuickAgents data
|
|
231
|
+
└── boulder.json # Progress tracking
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
---
|
|
235
|
+
|
|
236
|
+
## Documentation
|
|
237
|
+
|
|
238
|
+
| Document | Description | Language |
|
|
239
|
+
|----------|-------------|----------|
|
|
240
|
+
| [README.md](README.md) | Project overview | EN/CN |
|
|
241
|
+
| [AGENT_GUIDE.md](Docs/en/AGENT_GUIDE.md) | Agent usage guide | EN |
|
|
242
|
+
| [USER_GUIDE.md](Docs/en/USER_GUIDE.md) | User guide | EN |
|
|
243
|
+
| [ARCHITECTURE.md](Docs/en/ARCHITECTURE.md) | System architecture | EN |
|
|
244
|
+
| [Installation Guide](Docs/en/guide/installation.md) | Installation instructions | EN |
|
|
245
|
+
| [中文文档](Docs/README.md) | 中文文档索引 | CN |
|
|
246
|
+
|
|
247
|
+
---
|
|
248
|
+
|
|
249
|
+
## Contributing
|
|
250
|
+
|
|
251
|
+
Contributions are welcome! Please read our contributing guidelines before submitting PRs.
|
|
252
|
+
|
|
253
|
+
1. Fork the repository
|
|
254
|
+
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
|
|
255
|
+
3. Commit your changes (`git commit -m 'feat: add amazing feature'`)
|
|
256
|
+
4. Push to the branch (`git push origin feature/amazing-feature`)
|
|
257
|
+
5. Open a Pull Request
|
|
258
|
+
|
|
259
|
+
---
|
|
260
|
+
|
|
261
|
+
## License
|
|
262
|
+
|
|
263
|
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
264
|
+
|
|
265
|
+
---
|
|
266
|
+
|
|
267
|
+
## Acknowledgments
|
|
268
|
+
|
|
269
|
+
- Inspired by [oh-my-openagent](https://github.com/code-yeongyu/oh-my-openagent)
|
|
270
|
+
- Built for [OpenCode](https://opencode.ai)
|
|
271
|
+
|
|
272
|
+
---
|
|
273
|
+
|
|
274
|
+
*Version: 2.1.1 | Last Updated: 2026-03-27*
|
|
275
|
+
|
|
276
|
+
---
|
|
277
|
+
|
|
278
|
+
# QuickAgents - AI 代理项目初始化系统
|
|
279
|
+
|
|
280
|
+
**中文** | **[English](#quickagents---ai-agent-project-initialization-system)**
|
|
281
|
+
|
|
282
|
+
> 一套完整的AI代理项目初始化系统,提供开箱即用的项目初始化、需求澄清、多代理协作和跨会话恢复能力
|
|
283
|
+
|
|
284
|
+
---
|
|
285
|
+
|
|
286
|
+
## 🚀 一键安装
|
|
287
|
+
|
|
288
|
+
### For Humans(推荐)
|
|
289
|
+
|
|
290
|
+
复制以下提示词,粘贴到你的AI代理(OpenCode CLI/Desktop等):
|
|
291
|
+
|
|
292
|
+
```
|
|
293
|
+
Install and configure QuickAgents by following the instructions here:
|
|
294
|
+
https://raw.githubusercontent.com/Coder-Beam/Quick-Agents-for-Z.AI-GLM/main/Docs/guide/installation.md
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
**或者使用CLI一键安装**:
|
|
298
|
+
|
|
299
|
+
```bash
|
|
300
|
+
npm install -g quickagents-cli
|
|
301
|
+
qa init
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
### For LLM Agents
|
|
305
|
+
|
|
306
|
+
获取安装指南并执行:
|
|
307
|
+
|
|
308
|
+
```bash
|
|
309
|
+
curl -fsSL https://raw.githubusercontent.com/Coder-Beam/Quick-Agents-for-Z.AI-GLM/main/Docs/guide/installation.md
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
---
|
|
313
|
+
|
|
314
|
+
## 核心特性
|
|
315
|
+
|
|
316
|
+
### 🚀 标准化启动流程
|
|
317
|
+
|
|
318
|
+
**触发词**(大小写不敏感):
|
|
319
|
+
- 「启动QuickAgent」(推荐)
|
|
320
|
+
- 「启动QuickAgents」
|
|
321
|
+
- 「启动QA」
|
|
322
|
+
- 「Start QA」
|
|
323
|
+
|
|
324
|
+
> 💡 **提示**:推荐使用「启动QuickAgent」,简洁且语义明确
|
|
325
|
+
|
|
326
|
+
### 🧠 三维记忆系统
|
|
327
|
+
|
|
328
|
+
基于论文《Memory in the Age of AI Agents》设计:
|
|
329
|
+
|
|
330
|
+
| 记忆类型 | 用途 | 示例 |
|
|
331
|
+
|---------|------|------|
|
|
332
|
+
| **Factual Memory** | 事实记忆 | 项目元信息、技术决策、业务规则 |
|
|
333
|
+
| **Experiential Memory** | 经验记忆 | 操作历史、经验总结、用户反馈 |
|
|
334
|
+
| **Working Memory** | 工作记忆 | 当前状态、活跃上下文、待决策项 |
|
|
335
|
+
|
|
336
|
+
### 🤖 17个专业代理
|
|
337
|
+
|
|
338
|
+
| 分类 | 代理 |
|
|
339
|
+
|------|------|
|
|
340
|
+
| **核心** | yinglong-init, boyi-consult, chisongzi-advise, cangjie-doc, huodi-skill, fenghou-orchestrate |
|
|
341
|
+
| **质量** | jianming-review, lishou-test, mengzhang-security, hengge-perf |
|
|
342
|
+
| **工具** | kuafu-debug, gonggu-refactor, huodi-deps, hengge-cicd |
|
|
343
|
+
| **规划** | fenghou-plan, boyi-consult, jianming-review |
|
|
344
|
+
|
|
345
|
+
### 📦 19个专项技能
|
|
346
|
+
|
|
347
|
+
#### 核心技能 (12个)
|
|
348
|
+
| 技能 | 用途 |
|
|
349
|
+
|------|------|
|
|
350
|
+
| project-memory-skill | 三维记忆管理 |
|
|
351
|
+
| boulder-tracking-skill | 跨会话进度追踪 |
|
|
352
|
+
| category-system-skill | 语义化任务分类 |
|
|
353
|
+
| inquiry-skill | 7层需求问询 |
|
|
354
|
+
| tdd-workflow-skill | 测试驱动开发工作流 |
|
|
355
|
+
| code-review-skill | 代码质量审查 |
|
|
356
|
+
| git-commit-skill | Git提交标准化 |
|
|
357
|
+
| multi-model-skill | 多模型支持 |
|
|
358
|
+
| lsp-ast-skill | LSP/AST代码分析 |
|
|
359
|
+
| project-detector-skill | 项目类型检测 |
|
|
360
|
+
| background-agents-skill | 并行代理执行 |
|
|
361
|
+
| skill-integration-skill | Skill整合管理 |
|
|
362
|
+
|
|
363
|
+
#### 研究论文技能 (6个) - v2.1.0新增
|
|
364
|
+
| 技能 | 用途 | 来源 |
|
|
365
|
+
|------|------|------|
|
|
366
|
+
| lazy-discovery-skill | 工具懒加载,减少上下文50%+ | OpenDev |
|
|
367
|
+
| event-reminder-skill | 事件驱动提醒,对抗指令遗忘 | OpenDev |
|
|
368
|
+
| doom-loop-skill | 循环检测,防止重复调用 | OpenDev |
|
|
369
|
+
| adaptive-compression-skill | 自适应压缩,峰值减少54% | VeRO |
|
|
370
|
+
| vero-evaluation-skill | 版本化评估(V-E-R-O) | VeRO |
|
|
371
|
+
| aci-design-skill | ACI设计原则 | SWE-agent |
|
|
372
|
+
|
|
373
|
+
#### 经验收集技能 (1个) - v2.1.1新增
|
|
374
|
+
| 技能 | 用途 |
|
|
375
|
+
|------|------|
|
|
376
|
+
| feedback-collector-skill | 收集使用经验,助力系统进化 |
|
|
377
|
+
|
|
378
|
+
### 📚 完整文档体系
|
|
379
|
+
|
|
380
|
+
- **混合结构**:项目级 + features/ + modules/
|
|
381
|
+
- **双向同步**:Docs/ ↔ .opencode/memory/
|
|
382
|
+
- **知识图谱**:INDEX.md 提供完整的文档导航
|
|
383
|
+
|
|
384
|
+
---
|
|
385
|
+
|
|
386
|
+
## 快速开始
|
|
387
|
+
|
|
388
|
+
### 1. 安装QuickAgents
|
|
389
|
+
|
|
390
|
+
```bash
|
|
391
|
+
# 方式1:使用CLI
|
|
392
|
+
npm install -g quickagents-cli
|
|
393
|
+
qa init
|
|
394
|
+
|
|
395
|
+
# 方式2:使用一句话提示词(推荐)
|
|
396
|
+
# 粘贴到AI代理中:
|
|
397
|
+
# Install and configure QuickAgents by following the instructions here:
|
|
398
|
+
# https://raw.githubusercontent.com/Coder-Beam/Quick-Agents-for-Z.AI-GLM/main/Docs/guide/installation.md
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
### 2. 启动初始化
|
|
402
|
+
|
|
403
|
+
在 OpenCode 或兼容的 AI 编码代理中,发送:
|
|
404
|
+
|
|
405
|
+
```
|
|
406
|
+
启动QuickAgent
|
|
407
|
+
```
|
|
408
|
+
|
|
409
|
+
### 3. 首次配置引导
|
|
410
|
+
|
|
411
|
+
首次使用时,系统会自动引导你完成:
|
|
412
|
+
- **models.json**:AI模型配置
|
|
413
|
+
- **lsp-config.json**:LSP服务器配置
|
|
414
|
+
|
|
415
|
+
### 4. 回答询问卡
|
|
416
|
+
|
|
417
|
+
AI 会通过互动询问卡收集需求,按照7层扩展模型逐层澄清:
|
|
418
|
+
|
|
419
|
+
1. **L1 业务本质**:为什么做?核心痛点?
|
|
420
|
+
2. **L2 用户画像**:谁使用?使用场景?
|
|
421
|
+
3. **L3 核心流程**:完整流程?异常处理?
|
|
422
|
+
4. **L4 功能清单**:做什么?功能边界?
|
|
423
|
+
5. **L5 数据模型**:数据结构?关系?
|
|
424
|
+
6. **L6 技术栈**:框架?数据库?部署?
|
|
425
|
+
7. **L7 交付标准**:验收标准?时间节点?
|
|
426
|
+
|
|
427
|
+
---
|
|
428
|
+
|
|
429
|
+
## Agent使用指南
|
|
430
|
+
|
|
431
|
+
### 按场景使用代理
|
|
432
|
+
|
|
433
|
+
| 场景 | 推荐方式 | 说明 |
|
|
434
|
+
|------|---------|------|
|
|
435
|
+
| **首次使用** | `启动QuickAgent` | 自动调用 yinglong-init |
|
|
436
|
+
| **日常开发** | 直接对话 | AI智能调度 fenghou-orchestrate |
|
|
437
|
+
| **制定计划** | `@boyi-consult` 或 `@fenghou-plan` | 进入Plan Mode |
|
|
438
|
+
| **实际开发** | `@fenghou-orchestrate` 或 `/ultrawork` | 高效执行 |
|
|
439
|
+
|
|
440
|
+
### 核心命令
|
|
441
|
+
|
|
442
|
+
| 命令 | 说明 |
|
|
443
|
+
|------|------|
|
|
444
|
+
| `/start-work` | 跨会话恢复 |
|
|
445
|
+
| `/ultrawork <任务>` | 超高效执行任务 |
|
|
446
|
+
| `/run-workflow` | 运行工作流 |
|
|
447
|
+
| `/enable-coordination` | 启用代理协调 |
|
|
448
|
+
| `/disable-coordination` | 禁用代理协调 |
|
|
449
|
+
|
|
450
|
+
> 📖 **详细指南**:查看 [Docs/AGENT_GUIDE.md](Docs/AGENT_GUIDE.md) 了解完整的Agent调用和合作关系图
|
|
451
|
+
|
|
452
|
+
---
|
|
453
|
+
|
|
454
|
+
## 项目结构
|
|
455
|
+
|
|
456
|
+
```
|
|
457
|
+
your-project/
|
|
458
|
+
├── AGENTS.md # 开发规范
|
|
459
|
+
├── Docs/ # 项目文档
|
|
460
|
+
│ ├── MEMORY.md # 三维记忆
|
|
461
|
+
│ ├── TASKS.md # 任务管理
|
|
462
|
+
│ ├── DESIGN.md # 设计文档
|
|
463
|
+
│ ├── INDEX.md # 知识图谱
|
|
464
|
+
│ ├── AGENT_GUIDE.md # Agent使用指南
|
|
465
|
+
│ ├── USER_GUIDE.md # 用户指南
|
|
466
|
+
│ ├── ARCHITECTURE.md # 架构文档
|
|
467
|
+
│ ├── en/ # 英文文档
|
|
468
|
+
│ └── guide/ # 安装指南
|
|
469
|
+
│ └── installation.md
|
|
470
|
+
│
|
|
471
|
+
├── .opencode/ # OpenCode配置
|
|
472
|
+
│ ├── agents/ # 17个专业代理
|
|
473
|
+
│ ├── skills/ # 19个专项技能
|
|
474
|
+
│ ├── commands/ # 6个核心命令
|
|
475
|
+
│ ├── hooks/ # 自动化钩子
|
|
476
|
+
│ ├── config/ # 配置文件
|
|
477
|
+
│ │ ├── quickagents.json
|
|
478
|
+
│ │ ├── categories.json
|
|
479
|
+
│ │ └── lsp-config.json
|
|
480
|
+
│ └── memory/ # 项目记忆
|
|
481
|
+
│
|
|
482
|
+
└── .quickagents/ # QuickAgents数据
|
|
483
|
+
└── boulder.json # 进度追踪
|
|
484
|
+
```
|
|
485
|
+
|
|
486
|
+
---
|
|
487
|
+
|
|
488
|
+
## 文档导航
|
|
489
|
+
|
|
490
|
+
| 文档 | 描述 | 语言 |
|
|
491
|
+
|------|------|------|
|
|
492
|
+
| [README.md](README.md) | 项目概览 | CN/EN |
|
|
493
|
+
| [AGENT_GUIDE.md](Docs/AGENT_GUIDE.md) | Agent使用指南 | CN |
|
|
494
|
+
| [USER_GUIDE.md](Docs/USER_GUIDE.md) | 用户指南 | CN |
|
|
495
|
+
| [ARCHITECTURE.md](Docs/ARCHITECTURE.md) | 系统架构 | CN |
|
|
496
|
+
| [安装指南](Docs/guide/installation.md) | 安装说明 | CN |
|
|
497
|
+
| [English Docs](Docs/en/README.md) | English documentation | EN |
|
|
498
|
+
|
|
499
|
+
---
|
|
500
|
+
|
|
501
|
+
## 贡献指南
|
|
502
|
+
|
|
503
|
+
欢迎贡献!提交PR前请阅读贡献指南。
|
|
504
|
+
|
|
505
|
+
1. Fork 仓库
|
|
506
|
+
2. 创建功能分支 (`git checkout -b feature/amazing-feature`)
|
|
507
|
+
3. 提交更改 (`git commit -m 'feat: add amazing feature'`)
|
|
508
|
+
4. 推送到分支 (`git push origin feature/amazing-feature`)
|
|
509
|
+
5. 创建 Pull Request
|
|
510
|
+
|
|
511
|
+
---
|
|
512
|
+
|
|
513
|
+
## 许可证
|
|
514
|
+
|
|
515
|
+
本项目采用 MIT 许可证 - 详情请查看 [LICENSE](LICENSE) 文件。
|
|
516
|
+
|
|
517
|
+
---
|
|
518
|
+
|
|
519
|
+
## 致谢
|
|
520
|
+
|
|
521
|
+
- 灵感来源于 [oh-my-openagent](https://github.com/code-yeongyu/oh-my-openagent)
|
|
522
|
+
- 为 [OpenCode](https://opencode.ai) 构建
|
|
523
|
+
|
|
524
|
+
---
|
|
525
|
+
|
|
526
|
+
*版本: 2.1.1 | 更新时间: 2026-03-27*
|