dsh-glob-rules
Glob-activated rule prompts for DeepSeek Harness (DSH): when the agent reads or edits a matching file, the rule activates and is injected into the conversation (Claude Code rules.md / # Path: style).
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:TURIING/dsh-glob-rules说明文档
阅读完整 README ↗Configuration
| Option | Default | Description |
|---|---|---|
dshHome | $DSH_HOME / ~/.dsh | Root for user rules and ~/.dsh/AGENTS.md |
projectRootMarkers | [".git"] | Marker files/dirs used to find the project root by walking up |
ruleDirNames | [".dsh/rules"] | Rule directories inside the project (relative to the project root, multiple allowed) |
includeUserRules | true | Enable ~/.dsh/rules/*.md |
includeClaudeSections | false | Parse # Path: sections |
instructionFileCandidates | ["AGENTS.md", "CLAUDE.md"] | Candidate file names for # Path: sections |
localInstructionFileCandidates | ["AGENTS.local.md", "CLAUDE.local.md"] | Per-directory candidate file names |
maxBytes | 32768 | Per-injection render budget (UTF-8 bytes); <= 0 disables the plugin |
maxSourceBytes | 1048576 | Per-rule source size cap; larger files are skipped |
maxTouchedPaths | 512 | Touched-path cap per session (FIFO eviction) |