@fuxi-ailabs/dsh-static-check
v1.1.1
Published
Unified DSH static checks for Skill declarations: deterministic analysis, security vetting, and optional AI content critique
Readme
dsh-static-check
Unified DSH static inspection plugin for Skill declarations.
It combines three SIFT checks behind one plugin and one React workbench:
analyze— deterministic 11-check Skill declaration analysisvet— deterministic security vetting with optional external scannerscritique— optional LLM-assisted content review
The unified UI is named Skill 静态检查. The term "static" means the target Skill is not executed; it does not mean every check is deterministic. AI content review is visibly marked and is never enabled by default.
Interfaces
- service:
staticCheck - command:
/skill-check <path> [--checks analyze,vet,critique] - tool:
skill_static_check - catalog:
GET /api/dsh-static-check/catalog - run:
POST /api/dsh-static-check/run - content:
GET /api/dsh-static-check/content?skillPath=... - manual paths:
POST /api/dsh-static-check/manual-paths
Analyze and vet are the default for Skills. Agent declarations default to critique only because analyze/vet currently target Skill directories.
Managed SIFT runtime
When the plugin loads and no usable sift executable is present, it asks the
shared environmentHealth service to prepare the pinned guixu-labs/sift
commit 558d1465e87dd14cce5530b44b93aa2962a679b9:
~/.dsh-sift/runtime/2.6.0-dev.558d146/
~/.local/bin/siftInstallation implementation lives in @fuxi-ailabs/dsh-env-health, not in this
plugin. The shared provisioner requires curl, tar, Python 3.10+, and network
access; it deduplicates concurrent requests in-process and uses a cross-process
lock. Audit and Eval therefore share the same SIFT installation task.
Migration
dsh-static-check is now the single static inspection plugin. The old standalone dsh-skill-analyze, dsh-skill-vet, and dsh-skill-critique plugins have been removed.
The plugin exposes only the unified staticCheck service and /skill-check command. Legacy manual-path stores are still read once to migrate existing user-added declarations into dsh-static-check.
Manual paths
Skill and Agent paths are persisted under:
$DSH_HOME/dsh-static-check/manual-paths.json
$DSH_HOME/dsh-static-check/manual-agent-paths.jsonOn first use, paths from the old dsh-skill-critique, dsh-skill-vet, and dsh-skill-analyze stores are migrated best-effort.
