Research — Nghiên cứu kỹ thuật
Tìm hiểu sâu về giải pháp kỹ thuật, phân tích kiến trúc, thu thập requirements trước khi bắt tay vào code.Cập nhật bộ mới:
/gkg (semantic graph), /repomix (pack repo cho LLM), /docs-seeker (library documentation)./research khác với /scout — scout tìm files nhanh, research đào sâu vào giải pháp và trade-offs.Cú pháp
Luồng hoạt động
1
Bước 1: Phân tích câu hỏi
Xác định scope nghiên cứu: architecture, library, pattern, hay integration.
2
Bước 2: Thu thập thông tin
Đọc codebase hiện tại, tìm patterns, kiểm tra dependencies.
Tham khảo documentation, best practices.
3
Bước 3: Phân tích trade-offs
So sánh các giải pháp: performance, complexity, maintainability.
Đánh giá fit với tech stack hiện tại.
4
Bước 4: Báo cáo kết quả
Tổng hợp findings thành report cấu trúc với recommendations.
Ví dụ thực tế
- Research architecture
- Research library
Khi nào dùng / không dùng
Skill bổ trợ
/gkg — Semantic knowledge graph
/gkg — Semantic knowledge graph
Prefix: Khi dùng: Understand complex systems, architecture analysis, onboarding.
/gkg, /gkg "topic", /gkg --visualizeBuild semantic graph: concepts, relationships, dependencies. Visualize knowledge structure./repomix — Pack repo for LLM analysis
/repomix — Pack repo for LLM analysis
Prefix: Khi dùng: Give repo context to LLM, codebase analysis, documentation.
/repomix, /repomix --output xml, /repomix --excludeCompress repo structure into single file (XML/JSON) for LLM context./docs-seeker — Find library documentation
/docs-seeker — Find library documentation
Prefix: Khi dùng: Learn new library, find API reference, integration examples.
/docs-seeker, /docs-seeker <library>, /docs-seeker --apiFind + fetch library documentation: README, API docs, examples.