anchi-kit 1.0.2 → 1.0.3
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.
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# 💰 Model Cost Guide
|
|
2
|
+
|
|
3
|
+
## Model Tiers (Chi phí tăng dần)
|
|
4
|
+
|
|
5
|
+
| Tier | Models | Cost | Khi dùng |
|
|
6
|
+
|------|--------|------|----------|
|
|
7
|
+
| 🟢 **Economy** | Auto, GPT-5.1 Codex Mini | Free/$ | Mặc định cho mọi task |
|
|
8
|
+
| 🟡 **Standard** | Sonnet 4.5, Gemini 3 Flash, GPT-5.2 | $$ | Tasks phức tạp hơn |
|
|
9
|
+
| 🔴 **Premium** | Opus 4.5, GPT-5.1 Codex Max, MAX Mode | $$$ | Chỉ khi thật sự cần |
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Command → Model Mapping
|
|
14
|
+
|
|
15
|
+
| Command | Default 🟢 | Escalate 🟡 | Premium 🔴 |
|
|
16
|
+
|---------|-----------|-------------|------------|
|
|
17
|
+
| `/plan:fast` | Auto | - | - |
|
|
18
|
+
| `/plan` | Auto | Sonnet 4.5 | Opus 4.5 (architecture) |
|
|
19
|
+
| `/cook` | Auto | Sonnet 4.5 | - |
|
|
20
|
+
| `/fix:fast` | Auto | - | - |
|
|
21
|
+
| `/fix` | Auto | Sonnet 4.5 | Opus 4.5 (stuck) |
|
|
22
|
+
| `/scout` | Gemini 3 Flash | Gemini 2.5 Flash | - |
|
|
23
|
+
| `/generate` | GPT-5.1 Codex Mini | - | - |
|
|
24
|
+
| `/review` | Auto | Sonnet 4.5 | Opus 4.5 (critical) |
|
|
25
|
+
| `/design-ui` | Auto | GPT-5.2 | - |
|
|
26
|
+
| `/start` | Auto | Gemini 3 Flash | - |
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Khi nào Escalate?
|
|
31
|
+
|
|
32
|
+
### Auto → Sonnet 4.5
|
|
33
|
+
- Output không đủ chi tiết
|
|
34
|
+
- Cần giải thích sâu hơn
|
|
35
|
+
- Logic phức tạp
|
|
36
|
+
|
|
37
|
+
### Sonnet 4.5 → Opus 4.5
|
|
38
|
+
- Architecture decisions
|
|
39
|
+
- Critical bugs không fix được
|
|
40
|
+
- Code review cho production
|
|
41
|
+
|
|
42
|
+
### Gemini 3 Flash
|
|
43
|
+
- Large codebase scanning
|
|
44
|
+
- Research nhiều files
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Quick Reference
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
Task đơn giản → Auto 🟢
|
|
52
|
+
Task coding → Auto 🟢 (upgrade Sonnet nếu cần)
|
|
53
|
+
Task phức tạp → Sonnet 4.5 🟡
|
|
54
|
+
Task quan trọng → Opus 4.5 🔴
|
|
55
|
+
Scan codebase → Gemini 3 Flash 🟡
|
|
56
|
+
UI creative → GPT-5.2 🟡
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
> ⚠️ **Nguyên tắc:** Luôn bắt đầu với model rẻ nhất. Chỉ upgrade khi kết quả không đạt yêu cầu.
|
package/.cursor/commands/cook.md
CHANGED
|
@@ -14,6 +14,12 @@ You are an elite software engineering expert. Your mission is to collaborate wit
|
|
|
14
14
|
|
|
15
15
|
**Guiding Principles:** YAGNI, KISS, DRY
|
|
16
16
|
|
|
17
|
+
## 💰 Model Selection
|
|
18
|
+
|
|
19
|
+
| Task | Default 🟢 | If Stuck 🟡 |
|
|
20
|
+
|------|-----------|------------|
|
|
21
|
+
| Any coding | **Auto** | Sonnet 4.5 |
|
|
22
|
+
|
|
17
23
|
---
|
|
18
24
|
|
|
19
25
|
## Workflow Modes
|
package/.cursor/commands/fix.md
CHANGED
|
@@ -10,6 +10,14 @@ Reference these files only if they help with the fix:
|
|
|
10
10
|
- **`docs/code-standards.md`** - Project standards
|
|
11
11
|
- **`docs/system-architecture.md`** - Architecture constraints
|
|
12
12
|
|
|
13
|
+
## 💰 Model Selection
|
|
14
|
+
|
|
15
|
+
| Bug Type | Default 🟢 | Complex 🔴 |
|
|
16
|
+
|----------|-----------|-----------|
|
|
17
|
+
| Simple | **Auto** | - |
|
|
18
|
+
| Medium | **Auto** | Sonnet 4.5 |
|
|
19
|
+
| Critical | Sonnet 4.5 | Opus 4.5 |
|
|
20
|
+
|
|
13
21
|
---
|
|
14
22
|
|
|
15
23
|
**Analyze and fix:**
|
package/.cursor/commands/plan.md
CHANGED
|
@@ -16,6 +16,14 @@ Before planning, read ONLY files relevant to the task:
|
|
|
16
16
|
|
|
17
17
|
**Skip if files don't exist yet (new project).**
|
|
18
18
|
|
|
19
|
+
## 💰 Model Selection
|
|
20
|
+
|
|
21
|
+
| Task | Default 🟢 | Complex 🔴 |
|
|
22
|
+
|------|-----------|-----------|
|
|
23
|
+
| Quick plan | **Auto** | - |
|
|
24
|
+
| Feature plan | **Auto** | Sonnet 4.5 |
|
|
25
|
+
| Architecture | Sonnet 4.5 | Opus 4.5 |
|
|
26
|
+
|
|
19
27
|
---
|
|
20
28
|
|
|
21
29
|
## Your mission
|
|
@@ -24,6 +24,14 @@ Chọn (1 hoặc 2):
|
|
|
24
24
|
|
|
25
25
|
Đây là command đầu tiên sau khi cài đặt anchi-kit (`npx anchi-kit install`).
|
|
26
26
|
|
|
27
|
+
## 💰 Model Selection
|
|
28
|
+
|
|
29
|
+
| Default 🟢 | Large Project 🟡 |
|
|
30
|
+
|-----------|-----------------|
|
|
31
|
+
| **Auto** | Gemini 3 Flash |
|
|
32
|
+
|
|
33
|
+
> Dùng Auto cho projects nhỏ/trung bình. Gemini 3 Flash cho scan codebase lớn (>200 files).
|
|
34
|
+
|
|
27
35
|
---
|
|
28
36
|
|
|
29
37
|
## Workflow Overview
|
package/package.json
CHANGED