尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
SigMap AI context engine — VS Code extension. 96.9% token reduction, 80.0% retrieval hit@5, 29 languages. Works with Copilot, Claude, Cursor, Windsurf, Gemini.
翻译准备中
正在加载完整 README。
查看完整 README ↗85.6% retrieval hit@5 · 96.8% token reduction · 33 languages · Zero npm deps
SigMap extracts a compact signature map of your entire codebase — function names, class hierarchies, exported types, interfaces — and writes it to .github/copilot-instructions.md automatically.
Every AI coding assistant (GitHub Copilot, Claude, Cursor, Windsurf, Gemini, Codex) reads that file as its first-message context. Without it, the AI starts knowing nothing about your project. With SigMap, it starts with everything.
Before SigMap: "I don't know your codebase — can you share some files?"
After SigMap: "I can see your AuthService, UserRepository, 47 API routes…"
A 50,000-line TypeScript monorepo → ~3,800 tokens of pure signatures — a 96.8% average reduction across 18 real repos.
sigmap_query language model tool (v4.3) — Copilot agent mode calls SigMap's ranked retrieval automatically; reference it in chat as #sigmapmcp.json editingSigMap: Query Context shows ranked files in a QuickPick| Grade | Status bar | Meaning |
|---|---|---|
| A | sm: ✔ A 2h ago | Fresh — AI has full context |
| B | sm: ℹ B 6h ago | Good |
| C | sm: ⚠ C 1d ago | Stale — regenerate soon |
| D | sm: ✖ D 3d ago | Very stale — regenerate now |
Click the status bar item for instant regeneration.
SigMap: Regenerate Context from the Command PaletteSearch "SigMap" in the Extensions panel, or:
ext install manojmallick.sigmap
open-vsx.org/extension/manojmallick/sigmap
Download sigmap-X.Y.Z.vsix from Releases, then:
Extensions: Install from VSIX…
# 1. Install the CLI
npm install -g sigmap
# 2. In VS Code: Ctrl+Shift+P → SigMap: Regenerate Context
# Or run directly:
npx sigmap
Then use the full workflow:
sigmap ask "where is auth handled?" # query-focused context
sigmap validate # check coverage
sigmap judge # score answer groundedness
sigmap --watch # auto-regenerate on save
| Requirement | Details |
|---|---|
| VS Code | 1.85.0 or higher |
| Node.js | 18 or higher |
| SigMap CLI | npm install -g sigmap · npm install sigmap · npx sigmap · or standalone binary |
TypeScript · JavaScript · Python · Go · Rust · Java · C# · C/C++ · Ruby · PHP · Swift · Dart · Kotlin · Scala · Vue · Svelte · CSS/SCSS · GraphQL · SQL · Terraform · Protobuf · Markdown · TOML · XML · Properties · Dockerfile · and more.
| Command | Description |
|---|---|
SigMap: Regenerate Context | Run sigmap in your workspace root |
SigMap: Open Context File | Open .github/copilot-instructions.md |
sigmap # generate once
sigmap ask "<query>" # ranked context for a specific task
sigmap validate # check coverage health
sigmap judge # groundedness score for an AI answer
sigmap --watch # auto-regenerate on file changes
sigmap --health # 0–100 health score
sigmap --mcp # start MCP server (20 tools)
sigmap --diff # context for changed files only
Works with Claude Code, Cursor, and Copilot agent mode via sigmap --mcp (registered with one click by this extension). Key tools:
以上为 README 的开头部分。其余内容请阅读原文。 查看完整 README ↗