用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/tomes --skill tsa-deps命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
> Use when this capability is needed.
Use when writing kernel, account, or note MASM code that reads from or writes to the advice provider (advice stack / advice map) — validate advice data.
Use when writing a Rust test that exercises a failure path or a MASM test that expects a `panic` / `assert` — assert on the specific expected error variant or error code.
基于 SOC 职业分类
正在显示 SKILL.md
| name | tsa-deps |
| description | | Use when this capability is needed. |
| Question | Tool |
|---|---|
| One file's direct deps | health action=deps |
| Project-wide import graph (who imports whom) | health action=imports |
| Project topology (entry points, hubs) | structure action=sitemap |
health action=deps file_path="tree_sitter_analyzer/ast_cache.py" mode="file_deps"
# returns: {imports: [...], imported_by: [...], depth: 2}
mode options:
summary — project-wide dependency summary (alias: full)file_deps — one file's graph (requires file_path)blast_radius — impact set for a file (alias: blast; requires file_path)cycles — circular dependencieshealth action=imports language="python" limit=50
# returns: ranked list of import hubs + leaves
Use to find:
structure action=sitemap
# returns: {entry_points: [...], hub_modules: [...], leaf_modules: [...]}
Useful as a "first look" right after tsa-landing.
uv run tree-sitter-analyzer <file> --dependencies file_deps
uv run tree-sitter-analyzer --dependencies summary
uv run tree-sitter-analyzer --import-graph --import-graph-mode summary
uv run tree-sitter-analyzer --codegraph-sitemap
^import / ^from to build a graph — incomplete (misses
conditional / lazy imports captured by the AST)imported_by list
— you'll break dozens of callers.Source: aimasteracc/tree-sitter-analyzer — distributed by TomeVault.