ソース情報
- リポジトリ
- tomevault-io/tomes
- ソースの最終更新活動
- 2026年7月23日 21:48
- 検出された SKILL.md の言語
- 英語
- スター
- 1
- フォーク
- 0
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
メニュー
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/tomevault-io/tomes --skill code-analysisコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?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 | code-analysis |
| description | > Use when this capability is needed. |
Use LSP tools for accurate, compiler-verified code understanding. These tools require the mcpls
MCP server to be configured.
Positions are 1-based: line 1, column 1 is the first character. If you read a file and see line numbers in the output, use those directly — no conversion needed (mcpls translates to 0-based LSP positions internally).
File paths must be absolute. Relative paths will not resolve correctly.
| Tool | Purpose | When to use |
|---|---|---|
get_hover | Type signature, inferred type, and documentation at a position | "What type is X?", "What does this function do?" |
get_definition | Navigate to where a symbol is defined | Read a function/type implementation before reasoning about it |
get_references | Find all usages of a symbol across the workspace | Before renaming, deleting, or changing a symbol's signature |
get_completions | Context-aware suggestions respecting types and scope | Exploring unknown APIs, discovering available methods |
get_document_symbols | Structured outline of a file (functions, types, constants, fields) | Understanding file structure without reading every line |
workspace_symbol_search | Search for a symbol by name across the entire workspace | Know a name but not which file defines it |
| Tool | Purpose | When to use |
|---|---|---|
get_diagnostics | Real compiler errors and warnings for a file | After editing code — always call to verify correctness |
get_cached_diagnostics | Previously cached diagnostics (no fresh check) | Quick check when file has not changed recently |
get_code_actions | Quick fixes, refactorings, source actions at a position | Fix diagnostics automatically, add missing imports |
| Tool | Purpose | When to use |
|---|---|---|
rename_symbol | Workspace-wide rename with full reference tracking | Always prefer over manual find-and-replace |
format_document | Apply language-specific formatting rules | After editing, before committing |
| Tool | Purpose | When to use |
|---|---|---|
prepare_call_hierarchy | Get callable items at a position | First step before incoming/outgoing calls |
get_incoming_calls | Find all callers of a function | "Who calls this?" — impact analysis |
get_outgoing_calls | Find all callees of a function | "What does this call?" — dependency analysis |
| Tool | Purpose | When to use |
|---|---|---|
get_server_logs | Internal log messages from the language server | Debug "no results" issues, server startup failures |
get_server_messages | User-facing messages from the language server | Check for server notifications, progress, errors |
After editing a file:
get_diagnostics on the changed file.get_code_actions to find available fixes.get_diagnostics returns an empty list.get_references on the symbol you intend to change.rename_symbol for renames).get_diagnostics on all affected files.get_hover on an unknown symbol to see its type and documentation.get_definition to read the implementation.get_references to understand how other code uses it.prepare_call_hierarchy on a function — this returns a call hierarchy item.get_incoming_calls to see what calls it (consumers).get_outgoing_calls to see what it calls (dependencies).workspace_symbol_search with a partial name to find symbols across the project.get_definition on the result to jump to the source.get_document_symbols on the target file to understand its full structure.mcpls auto-detects language servers based on project markers:
| Language | Server | Markers |
|---|---|---|
| Rust | rust-analyzer | Cargo.toml, rust-toolchain.toml |
| Python | pyright | pyproject.toml, setup.py, requirements.txt |
| TypeScript | typescript-language-server | package.json, tsconfig.json |
| Go | gopls | go.mod, go.sum |
| C/C++ | clangd | CMakeLists.txt, compile_commands.json, Makefile |
| Zig | zls | build.zig, build.zig.zon |
Custom servers can be added in ~/.config/mcpls/mcpls.toml:
[[lsp_servers]]
language_id = "rust"
command = "rust-analyzer"
args = []
file_patterns = ["*.rs"]
timeout_seconds = 30
[lsp_servers.initialization_options]
check.command = "clippy"
Environment variables:
| Variable | Description | Default |
|---|---|---|
MCPLS_CONFIG | Path to config file | ~/.config/mcpls/mcpls.toml |
MCPLS_LOG | Log level (trace/debug/info/warn/error) | info |
MCPLS_LOG_JSON | Output logs as JSON | false |
get_server_logs to check if the language server is running and has finished indexing.$PATH (e.g., which rust-analyzer).Cargo.toml for Rust).get_diagnostics.get_cached_diagnostics only when you know the file has not changed — it returns
push-based diagnostics from the server's last notification, which may be outdated.get_server_logs for startup errors.which rust-analyzer, which pyright, etc.~/.config/mcpls/mcpls.toml) for misconfigured command or args.[[lsp_servers]] entry in the config.timeout_seconds higher in the config for large projects.get_server_logs for memory or CPU warnings from the language server.rust-analyzer.cargo.buildScripts.enable is not causing excessive
build script evaluation.rename_symbol only works on symbols the language server can resolve. If a symbol is in a
macro expansion or generated code, the rename may be partial.get_references first to verify the server can see all usage sites.get_diagnostics on affected files to catch any breakage.get_hover and get_definition may not resolve symbols inside
procedural macro expansions. Use get_references on the macro invocation site instead.#[cfg(...)] may not be visible depending on the
active feature set. Configure the language server's feature flags accordingly.roots config option. Each
root gets its own language server instance.get_document_symbols on very large files (10k+ lines) may be slow. Prefer
targeted get_hover or workspace_symbol_search instead.get_definition may jump into dependency source code
(e.g., ~/.cargo/registry/). This is expected behavior — the language server resolves through
the full dependency graph.Source: bug-ops/zeph — distributed by TomeVault.