🔧 Công cụ lập trình•Mã nguồn mở•
Context+
VS Code extension tự tạo AGENTS.md từ codebase analysis, giúp AI coding agent hiểu project context chính xác hơn.
#contextplus
Danh mục
🔧 Công cụ lập trình
Giá
Mã nguồn mở
GitHub Stars
⭐ 1,985
Ngôn ngữ
TypeScript
License
MIT
Ngày thêm
2026-03-27
Tóm tắt từ README GitHub
Context+
Semantic Intelligence for Large-Scale Engineering.
Context+ is an MCP server designed for developers who demand 99% accuracy. By combining RAG, Tree-sitter AST, Spectral Clustering, and Obsidian-style linking, Context+ turns a massive codebase into a searchable, hierarchical feature graph.
https://github.com/user-attachments/assets/a97a451f-c9b4-468d-b036-15b65fc13e79
Tools
Discovery
Tool Description
---------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Structural AST tree of a project with file headers and symbol ranges (line numbers for functions/classes/methods). Dynamic pruning shrinks output automatically.
Function signatures, class methods, and type definitions with line ranges, without reading full bodies. Shows the API surface.
Search by meaning, not exact text. Uses embeddings over file headers/symbols and returns matched symbol definition lines.
Identifier-level semantic retrieval for functions/classes/variables with ranked call sites and line numbers.
Browse codebase by meaning using spectral clustering. Groups seman
Xem thêm từ README.mdThu gọn README.md
Đánh giá chi tiết
Tổng quan
Context+ là VS Code extension tự động phân tích codebase và tạo file context (AGENTS.md, .cursorrules, CLAUDE.md) cho AI coding agents. Thay vì viết context file thủ công, Context+ scan project structure, dependencies, conventions, và sinh file mô tả codebase để Claude Code, Cursor, Cline hiểu project tốt hơn. Repo có hơn 1,600 stars.
Tính năng chính
- Auto-generate AGENTS.md từ codebase analysis
- Tạo .cursorrules cho Cursor
- Tạo CLAUDE.md cho Claude Code
- Scan dependencies (package.json, requirements.txt, go.mod)
- Phát hiện project conventions: linting rules, test patterns, folder structure
- Update context khi project thay đổi
Stack kỹ thuật
- TypeScript, VS Code Extension API
- AST parsing cho code analysis
- Template engine cho context file generation
Điểm mạnh
- Giải quyết vấn đề phổ biến: AI agent thiếu project context
- Auto-generate thay vì viết tay, tiết kiệm thời gian
- Hỗ trợ nhiều format: AGENTS.md, .cursorrules, CLAUDE.md
- Dễ cài: install extension, chạy command, xong
Hạn chế
- Chỉ chạy trong VS Code
- Context sinh ra có thể quá dài, tốn token
- Chưa hiểu deep logic (chỉ scan structure, không phân tích runtime behavior)
- Cần manual review và chỉnh sửa context file sau khi sinh
Phù hợp khi nào
Developer dùng AI coding agent (Claude Code, Cursor, Cline) và muốn agent hiểu project context tốt hơn mà không phải viết AGENTS.md thủ công.