AGENT SKILL
sem
Use this skill when the user wants semantic version control operations - entity-level diff, blame, or impact analysis.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- sem
- description
- Use this skill when the user wants semantic version control operations - entity-level diff, blame, or impact analysis.
03 SKILL.md 正文
sem Plugin
Semantic version control built on Git. Entity-level diff, blame, graph, and impact analysis for code.
Commands
Diff
sem diff run— Entity-level diff with rename detectionsem diff run --format json— JSON output for CI/AI
Analysis
sem impact analyze— Cross-file dependency graphsem blame run— Entity-level blamesem log show— Track entity through history
Context
sem entities list— List all entities in a filesem context generate— Token-budgeted LLM context
Usage Examples
# Semantic diff of working changes
sem diff
# JSON output for AI agents
sem diff --format json
# Impact analysis - what breaks if this changes
sem impact authenticateUser
# Entity blame
sem blame src/auth.ts --json
# Track entity evolution
sem log validateToken -v
# LLM context within token budget
sem context authenticateUser --budget 4000
Installation
brew install sem-cli
Key Features
- Entity-level diff (functions, classes, methods) instead of lines
- 23 languages via tree-sitter
- Rename and move detection
- Cross-file dependency analysis
- Token-budgeted LLM context generation
- Can replace
git diffwithsem setup
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57