Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tomevault-io/tomes --skill tsa-edit-safety명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? 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-edit-safety |
| description | | Use when this capability is needed. |
Replaces grep/read/git-diff/blame exploration with 2-3 MCP calls returning verdict + exact command to verify. 80% token reduction vs. manual recon.
git diff shows pending changes you want to evaluateDon't use when:
Call these 3 tools in ONE message:
edit action=safe with file_path: "<the file>" and edit_type: "<refactor|add_feature|fix_bug|rename>"edit action=impact with mode: "staged" (or "branch" if pre-stage), scope to the filehealth action=file with file_path: "<the file>"Verdict precedence (worst wins):
UNSAFE (from constraints or impact) → STOP, explain why, do not editCAUTION (high impact / dependencies / hot zone) → narrow scope, write tests firstREVIEW (moderate, often "no tests nearby") → write tests before editSAFE → proceed; still run the returned verification_commandverification_commandThe tools return a verification_command and stop_condition. Surface them
verbatim to the user before editing. Example:
verdict: REVIEW verification_command:
uv run pytest tests/unit/test_health_scorer.py -qstop_condition: tests exit successfully next_step: write a failing test for the new behaviour first
No tests nearby → escalate to REVIEW + recommend tdd workflow
__init__.py edit → REVIEW automatically (re-exports)
mod_count_30d >= 5 → CAUTION (hot zone — extra review attention)
Constraint violation → UNSAFE (architectural rule — forbidden edge)
uv run tree-sitter-analyzer <file> --safe-to-edit --edit-type refactor --output-format json
uv run tree-sitter-analyzer --change-impact --change-impact-mode staged --agent-summary-only --output-format json
uv run tree-sitter-analyzer <file> --file-health --output-format json
__init__.py, conftest.py).verdict: SAFE | REVIEW | CAUTION | UNSAFE
file_path: <abs>
risk_level: safe | caution | high
edit_strategy: focused_edit_with_tests | narrow_then_widen | freeze_and_redesign
verification_command: <copy-paste exact pytest line>
stop_condition: <when to declare done>
risk_factors: [{factor, detail, severity}, ...]
health_grade: A | B | C | D | F
constraint_violations: [] # non-empty triggers UNSAFE
hot_zone: bool # mod_count_30d >= 5 → true
Source: aimasteracc/tree-sitter-analyzer — distributed by TomeVault.