moicle 1.6.0 → 2.0.0
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 +82 -32
- package/assets/skills/docs/content/SKILL.md +269 -0
- package/assets/skills/{logo-design → docs/logo}/SKILL.md +31 -16
- package/assets/skills/{sync-docs → docs/sync}/SKILL.md +31 -1
- package/assets/skills/{video-content → docs/video}/SKILL.md +32 -17
- package/assets/skills/docs/write/SKILL.md +371 -0
- package/assets/skills/feature/api/SKILL.md +277 -0
- package/assets/skills/feature/deprecate/SKILL.md +276 -0
- package/assets/skills/{new-feature → feature/new}/SKILL.md +28 -12
- package/assets/skills/{refactor → feature/refactor}/SKILL.md +24 -12
- package/assets/skills/{hotfix → fix/hotfix}/SKILL.md +32 -30
- package/assets/skills/fix/incident/SKILL.md +272 -0
- package/assets/skills/{fix-pr-comment → fix/pr-comment}/SKILL.md +30 -1
- package/assets/skills/fix/root-cause/SKILL.md +219 -0
- package/assets/skills/{onboarding → research/onboarding}/SKILL.md +32 -31
- package/assets/skills/{spike → research/spike}/SKILL.md +33 -32
- package/assets/skills/research/web/SKILL.md +163 -0
- package/assets/skills/{architect-review → review/architect}/SKILL.md +37 -7
- package/assets/skills/{review-changes → review/branch}/SKILL.md +27 -7
- package/assets/skills/{pr-review → review/pr}/SKILL.md +31 -30
- package/assets/skills/review/tdd/SKILL.md +206 -0
- package/bin/cli.js +12 -1
- package/dist/commands/install.d.ts.map +1 -1
- package/dist/commands/install.js +219 -38
- package/dist/commands/install.js.map +1 -1
- package/dist/commands/list.d.ts.map +1 -1
- package/dist/commands/list.js +42 -2
- package/dist/commands/list.js.map +1 -1
- package/dist/commands/postinstall.d.ts.map +1 -1
- package/dist/commands/postinstall.js +2 -0
- package/dist/commands/postinstall.js.map +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +31 -1
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/uninstall.d.ts.map +1 -1
- package/dist/commands/uninstall.js +93 -38
- package/dist/commands/uninstall.js.map +1 -1
- package/dist/commands/upgrade.d.ts +7 -0
- package/dist/commands/upgrade.d.ts.map +1 -0
- package/dist/commands/upgrade.js +165 -0
- package/dist/commands/upgrade.js.map +1 -0
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/symlink.d.ts +8 -0
- package/dist/utils/symlink.d.ts.map +1 -1
- package/dist/utils/symlink.js +100 -0
- package/dist/utils/symlink.js.map +1 -1
- package/package.json +3 -1
- package/assets/skills/api-integration/SKILL.md +0 -883
- package/assets/skills/content-writer/SKILL.md +0 -721
- package/assets/skills/deep-debug/SKILL.md +0 -114
- package/assets/skills/deprecation/SKILL.md +0 -923
- package/assets/skills/documentation/SKILL.md +0 -1333
- package/assets/skills/incident-response/SKILL.md +0 -946
- package/assets/skills/research/SKILL.md +0 -124
- package/assets/skills/tdd/SKILL.md +0 -828
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: research
|
|
3
|
-
description: Research solutions on the internet for a given topic or the current conversation context. Use when user says "research", "tìm giải pháp", "search solution", "investigate", "find best practice", "so sánh giải pháp".
|
|
4
|
-
args: "[TOPIC]"
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Research Solutions
|
|
8
|
-
|
|
9
|
-
Research solutions on the internet for a specific problem — either from an explicit topic argument or by analyzing the current conversation context.
|
|
10
|
-
|
|
11
|
-
**ARGUMENTS:** (optional) Topic or question to research. If omitted, analyze the current conversation (recent messages, IDE selection, task at hand) to determine what to research.
|
|
12
|
-
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
## Step 1: Identify What to Research
|
|
16
|
-
|
|
17
|
-
### Mode 1: Argument provided
|
|
18
|
-
- Use the argument directly as the research topic.
|
|
19
|
-
- If the argument is too broad, narrow it down using project context (stack, architecture, current task) before searching.
|
|
20
|
-
|
|
21
|
-
### Mode 2: No argument
|
|
22
|
-
- Analyze the current conversation: recent messages, IDE file selection, active task
|
|
23
|
-
- Identify: what is the user doing, what problem they hit, what solution they need
|
|
24
|
-
- **Summarize the problem back to the user and get confirmation** before burning search budget
|
|
25
|
-
|
|
26
|
-
---
|
|
27
|
-
|
|
28
|
-
## Step 2: Detect Project Context
|
|
29
|
-
|
|
30
|
-
Before researching, detect the project's tech stack so results can be filtered for relevance:
|
|
31
|
-
|
|
32
|
-
| File | Stack |
|
|
33
|
-
|------|-------|
|
|
34
|
-
| `go.mod` | Go (note version from `go` directive) |
|
|
35
|
-
| `package.json` | Node.js — inspect dependencies to pick framework (NestJS / Vite+React / Remix / etc.) |
|
|
36
|
-
| `pubspec.yaml` | Flutter / Dart |
|
|
37
|
-
| `composer.json` | PHP / Laravel |
|
|
38
|
-
| `Cargo.toml` | Rust |
|
|
39
|
-
| `pyproject.toml` / `requirements.txt` | Python |
|
|
40
|
-
|
|
41
|
-
Also check `.claude/architecture/` for the architecture doc in use — this shapes which patterns are idiomatic for the project.
|
|
42
|
-
|
|
43
|
-
---
|
|
44
|
-
|
|
45
|
-
## Step 3: Research on the Internet
|
|
46
|
-
|
|
47
|
-
Use **WebSearch** and **WebFetch** to find solutions.
|
|
48
|
-
|
|
49
|
-
### Search strategy
|
|
50
|
-
1. **Broad first**: Overview, best practices, common approaches
|
|
51
|
-
2. **Deep dive**: Read official docs, GitHub issues, Stack Overflow, authoritative blog posts
|
|
52
|
-
3. **Compare alternatives**: If multiple solutions exist, list pros/cons of each
|
|
53
|
-
|
|
54
|
-
### Source priority
|
|
55
|
-
1. Official documentation
|
|
56
|
-
2. GitHub issues / release notes (for quirks and known-bug context)
|
|
57
|
-
3. Stack Overflow (accepted answers with high scores)
|
|
58
|
-
4. Authoritative blogs (Anthropic, framework authors, well-known engineers)
|
|
59
|
-
5. Recent articles > old articles — prefer results within the last 2 years unless the topic is evergreen
|
|
60
|
-
|
|
61
|
-
### Search tips
|
|
62
|
-
- **Prefer English queries** — results are richer and more recent
|
|
63
|
-
- Include library + version when the topic is version-sensitive (e.g., `nestjs 10 typeorm migrations`)
|
|
64
|
-
- Cross-validate across at least 2–3 independent sources before concluding
|
|
65
|
-
- When results conflict, prefer the most recent + most authoritative source and note the conflict
|
|
66
|
-
|
|
67
|
-
---
|
|
68
|
-
|
|
69
|
-
## Step 4: Synthesize Results
|
|
70
|
-
|
|
71
|
-
Present the findings in this format:
|
|
72
|
-
|
|
73
|
-
```markdown
|
|
74
|
-
## Problem
|
|
75
|
-
{Short summary of the problem being solved, with project context — stack, constraints, goal}
|
|
76
|
-
|
|
77
|
-
## Solutions Found
|
|
78
|
-
|
|
79
|
-
### Solution 1: {Name}
|
|
80
|
-
- **Description:** {How it works}
|
|
81
|
-
- **Pros:** {...}
|
|
82
|
-
- **Cons:** {...}
|
|
83
|
-
- **Fit for this project:** {High / Medium / Low — why}
|
|
84
|
-
- **Source:** {link}
|
|
85
|
-
|
|
86
|
-
### Solution 2: {Name} (if applicable)
|
|
87
|
-
- ...
|
|
88
|
-
|
|
89
|
-
## Recommendation
|
|
90
|
-
{Which solution fits best for this project and why — reference architecture doc / stack conventions}
|
|
91
|
-
|
|
92
|
-
## Code Example (if applicable)
|
|
93
|
-
{Minimal snippet showing the recommended approach, adapted to the project's stack and conventions}
|
|
94
|
-
|
|
95
|
-
## Caveats / Known Issues
|
|
96
|
-
- {Gotcha 1}
|
|
97
|
-
- {Gotcha 2}
|
|
98
|
-
|
|
99
|
-
## References
|
|
100
|
-
- {link 1} — {what this source gave us}
|
|
101
|
-
- {link 2} — {...}
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
---
|
|
105
|
-
|
|
106
|
-
## Rules
|
|
107
|
-
|
|
108
|
-
- **Research and propose — do NOT implement.** Wait for user confirmation before touching code.
|
|
109
|
-
- **Consider project context:** tech stack, architecture, conventions. A solution that is idiomatic in one project can be wrong in another.
|
|
110
|
-
- **Narrow scope when too broad:** if the topic is too wide (e.g., "how to do auth"), ask the user to narrow it (e.g., "JWT refresh flow with NestJS + TypeORM").
|
|
111
|
-
- **Flag stale answers:** if the top answers are old (3+ years) and the library has had major versions since, mention it and check release notes.
|
|
112
|
-
- **No hallucinated APIs:** if you're uncertain whether a method/option exists, verify in official docs before recommending.
|
|
113
|
-
- **Cite sources:** every non-trivial claim should have a link.
|
|
114
|
-
|
|
115
|
-
---
|
|
116
|
-
|
|
117
|
-
## When to Use Other Skills Instead
|
|
118
|
-
|
|
119
|
-
| Situation | Use instead |
|
|
120
|
-
|-----------|-------------|
|
|
121
|
-
| You're debugging a known bug (not researching options) | `deep-debug` |
|
|
122
|
-
| You want to prototype a chosen approach | `spike` |
|
|
123
|
-
| You already know the approach and want to implement it | `new-feature` / `hotfix` |
|
|
124
|
-
| You want to write up the research as a design doc | `documentation` |
|