ソース情報
- リポジトリ
- 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 tsa-temporalコマンドは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 | tsa-temporal |
| description | | Use when this capability is needed. |
Per-symbol modification frequency persisted in
ast_symbol_activation. Computed fromgit log --follow -p -U0hunk attribution at index time. Symbols withmod_count_30d >= 5auto-trigger CAUTION inedit action=impact.
| Goal | How |
|---|---|
| Hot-zone caller fanout | nav action=callers function_name="X" include_activation=true |
| Hot-zone callee fanout | nav action=callees function_name="X" include_activation=true |
| "Is this commit touching hot zones?" | edit action=impact — read risk_factors |
| Single-file recent churn | health action=file — read git_hotspot dim |
Don't use when:
tsa-graph skillFor each symbol you're about to refactor:
nav action=callers function_name="X" include_activation=true limit=50
Returns enriched entries:
callers: [
{
name: ...,
file: ...,
line: ...,
callee_resolution: ...,
activation: {
mod_count_30d: <int>,
last_modified_at: <unix ts>
}
}, ...
]
Filter mod_count_30d >= 5 to find the callers that have been modified
recently — those are the high-risk integration points for your refactor.
edit action=impact already includes hot-zone detection. Look for this
in the risk_factors:
risk_factors: [
{
factor: hot_zone | activation,
reason: "hot zone: file_path:symbol modified 12× in 30d, request extra review",
severity: caution
}
]
The verdict bumps to CAUTION when ≥1 changed-file symbol has
mod_count_30d >= 5.
| 30d count | Meaning |
|---|---|
| 0 | Cold — stable code, low refactor risk |
| 1-4 | Normal activity |
| 5-10 | Hot zone — extra review attention |
| 10-20 | Refactor pressure — may need redesign |
| 20+ | Churn signal — possibly architectural problem |
index_fileTSA_INDEX_ACTIVATION=0 uv run tree-sitter-analyzer ...Table ast_symbol_activation (one row per symbol_id):
symbol_id, file_path, last_modified_commit, last_modified_at,
mod_count_30d, mod_count_90d, mod_count_all, computed_at, git_state
git_state ∈ {tracked, untracked, shallow, no_repo} — degrades gracefully
on shallow clones (CI), untracked files, or non-repo paths.
git_statetracked → counts accurateshallow → counts may be undercounts (shallow clone)untracked / no_repo → all counts 0; symbol exists but has no historyThere is no dedicated --temporal CLI flag yet. Access via:
uv run tree-sitter-analyzer --callees <FUNC> --output-format json | jq '.callees[] | select(.activation.mod_count_30d >= 5)'
Or query the SQLite DB directly for batch reports:
# Portable: stdlib sqlite3 via `uv run python` (the `sqlite3` CLI is
# frequently absent from PATH on Windows).
uv run python -c "
import sqlite3
sql = '''
SELECT s.name, s.file_path, a.mod_count_30d
FROM ast_symbol_activation a
JOIN ast_symbol_rows s ON s.id = a.symbol_id
WHERE a.mod_count_30d >= 5
ORDER BY a.mod_count_30d DESC LIMIT 20'''
for r in sqlite3.connect('.ast-cache/index.db').execute(sql):
print(*r, sep='\t')
"
mod_count_all across symbols added at different times — older
symbols win mechanically. Use mod_count_30d for fair churn comparison.git_state=shallow — in CI you'll see misleading low counts.include_activation=true response addition (per callee/caller entry):
activation:
mod_count_30d: <int>
last_modified_at: <unix ts | null>
edit action=impact addition:
risk_factors: [{factor: "hot_zone", reason: "...mod_count_30d=N...", severity: "caution"}]
verdict: CAUTION # bumped from SAFE/REVIEW when hot zone touched
Source: aimasteracc/tree-sitter-analyzer — distributed by TomeVault.