assets/skills/research/web/SKILL.md
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".
npx skillsauth add phuthuycoding/moicle research-webInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Research solutions on the web for a specific problem. Output: a written recommendation with sources. Never implement — wait for user approval, then hand off to /feature-new / /research-spike.
ARGUMENTS: (optional) topic to research. If omitted, infer from current conversation context.
/feature-new or /fix-hotfix/research-spike/fix-root-causeIDENTIFY → DETECT STACK → SEARCH → SYNTHESIZE → PROPOSE
| Scope | Budget | When to stop | |-------|--------|--------------| | Quick lookup (API behavior, error meaning) | 2-3 queries | First authoritative source confirms | | Solution comparison (2-3 options) | 5-8 queries | Each option has ≥2 independent sources | | Deep dive (new pattern, unfamiliar domain) | 10-15 queries | Recommendation is defensible |
Hard cap: if you hit 15 queries without converging → stop, report what's found + ask user to narrow.
Use ~/.claude/architecture/_shared/stack-detection.md for canonical detection rules.
Capture for filter use:
Go 1.22, Node 20, Dart 3.4)NestJS 10, Vite 5, Laravel 11)| Priority | Source | Weight | |----------|--------|--------| | 1 | Official docs (current version) | Highest | | 2 | GitHub issues / release notes (project itself) | High — for quirks + known bugs | | 3 | Stack Overflow accepted answers (high score, recent) | Medium-high | | 4 | Authoritative blogs (framework authors, well-known engineers) | Medium | | 5 | Tutorials, course material | Low — risk of outdated patterns | | 6 | AI-generated content | Skip unless you can verify against #1-#4 |
nestjs 10 typeorm migrationsDecision tree:
Always note the conflict in the report — don't silently pick one side.
| Criterion | Option A | Option B | Option C |
|-----------|----------|----------|----------|
| Maintenance status | active (releases 2025) | last release 2023 | active |
| License | MIT | Apache-2.0 | BSL (commercial) |
| Stack fit ({your stack}) | native support | adapter required | native |
| Performance (cite source) | 8k rps (link) | 5k rps | 12k rps |
| Operational complexity | low | medium | high |
| Community size | 25k stars | 8k stars | 2k stars |
| Known issues | #1234 (workaround exists) | #56 (no fix) | none |
| Migration cost from current | low | medium | high |
## Problem
{One paragraph: what we're solving, stack, constraints, goal}
## Options Considered
{Brief: A, B, C — one line each on what they are}
## Comparison
{matrix above}
## Recommendation
**{Option X}** because {1-2 strongest reasons backed by sources}.
Trade-off: {what we give up by picking X over the runner-up}.
## Pseudo-code (not for direct implementation)
{Minimal sketch showing how X fits the project — adapt before shipping}
## Caveats
- {gotcha 1 with source link}
- {gotcha 2}
## Conflicts in sources
- {if any — what disagreed, how it was resolved}
## References
- {url} — {what this gave us}
- ...
| When | Use |
|------|-----|
| Want to validate the chosen approach by prototyping | /research-spike |
| Already know the approach, ready to build | /feature-new / /fix-hotfix |
| Debugging a known bug | /fix-root-cause |
| Write up the research as a design doc / ADR | /docs-write |
| Phase | Agent | Purpose |
|-------|-------|---------|
| Search | @docs-writer | Frame output as design note |
| Synthesize (API topics) | @api-designer | API pattern depth |
| Synthesize (auth / crypto / data) | @security-audit | Security implications |
| Synthesize (perf-sensitive) | @perf-optimizer | Benchmark interpretation |
development
Test-Driven Development workflow. Use when doing TDD, writing tests first, or when user says "tdd", "test first", "test driven", "red green refactor".
development
Thorough pull request review workflow with architecture compliance checks. Use when reviewing pull requests, checking code changes, or when user says "review pr", "check pr", "review code", "pr review", "review pull request".
development
Review local branch changes for architecture compliance, conventions, and code quality before pushing/PR. Stack-aware — detects the project stack and applies the matching rules. Use when user says "review changes", "review branch", "check branch", "check changes", "review my code", "review before pr".
testing
DDD architecture compliance review with automated checks and review loop. Use when user says "architect-review", "architecture review", "review architecture", "check architecture", "review ddd", "ddd review".