sem-integration

Solid

Foundation skill for sem (semantic diff CLI) integration. Provides detection, install-on-first-use, and output normalization patterns for consumer skills.

Code & Development 350 stars 43 forks Updated today MIT

Install

View on GitHub

Quality Score: 92/100

Stars 20%
85
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
78
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# sem Integration Foundation patterns for using [sem](https://github.com/Ataraxy-Labs/sem) semantic diffs in night-market skills. ## When To Use Consult this skill when building or modifying skills that consume git diff output. It provides the detection, installation, and fallback patterns. ## When NOT To Use - Direct sem CLI usage (just run `sem diff` yourself) - Skills that don't consume diff output ## Detection Pattern Check sem availability once per session: ```bash # Detection (cache per session) _sem_check() { local cache="${CLAUDE_CODE_TMPDIR:-/tmp}/sem-available" if [ -f "$cache" ]; then cat "$cache" return fi if command -v sem &>/dev/null; then echo "1" | tee "$cache" else echo "0" | tee "$cache" fi } ``` When `_sem_check` returns `0`, offer installation. See `modules/detection.md` for install-on-first-use logic and platform-specific commands. ## Semantic Diff Pattern Primary path (sem available): ```bash sem diff --format json <baseline> ``` Fallback path (sem unavailable): ```bash git diff --name-only --diff-filter=A <baseline> git diff --name-only --diff-filter=M <baseline> git diff --name-only --diff-filter=D <baseline> git diff --name-only --diff-filter=R <baseline> ``` See `modules/fallback.md` for output normalization that produces the same entity schema from both paths. ## Impact Analysis Pattern Primary path (sem available): ```bash sem impact --json <file-or-entity> ``` Fallback path (sem unavailable): use rg/g...

Details

Author
athola
Repository
athola/claude-night-market
Created
12 months ago
Last Updated
today
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Listed

semantic-diff

This skill should be used when the user asks to "diff two archetypes", "compare two templates", "what changed between these two versions", "is this a patch, minor or major bump?", "how compatible are these two artefacts?", or invokes `/semantic-diff`. Auto-detects archetype vs template (any serialisation) and version vs sibling comparison, then reports a version-bump verdict (rule G1) or a compatibility report with a path-compatibility table. Not a textual/git diff; to review or fix a single artefact, use the `archetype-authoring` or `template-authoring` skill.

6 Updated 1 months ago
Cadasto
Testing & QA Listed

sast-semgrep

Static application security testing (SAST) using Semgrep for vulnerability detection, security code review, and secure coding guidance with OWASP and CWE framework mapping. Use when: (1) Scanning code for security vulnerabilities across multiple languages, (2) Performing security code reviews with pattern-based detection, (3) Integrating SAST checks into CI/CD pipelines, (4) Providing remediation guidance with OWASP Top 10 and CWE mappings, (5) Creating custom security rules for organization-specific patterns, (6) Analyzing dependencies for known vulnerabilities.

493 Updated today
aiskillstore
Code & Development Listed

setup-semlf

Use when the user asks to install, set up, repair, reconfigure, or uninstall semlf (semantic-linefeeds) on this machine or in this project, or asks why its hook or checker is not running. Installs the CLI when it is missing, repairs a stale install, and writes the project's .semlf.ini.

4 Updated 3 months ago
arloliu