TURIING/dsh-glob-rules0

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).

AI 分析

核心用途是实现类似 Claude Code 的规则注入机制,根据操作的文件路径动态加载规范。适合进行代码编写、需要 Agent 遵循特定项目规范的开发者。

パッケージ
dsh-glob-rules
バージョン
0.1.0
ライセンス
NOASSERTION
最終更新
2026/09/05

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:TURIING/dsh-glob-rules

ドキュメント

README 全文を読む ↗

Configuration

OptionDefaultDescription
dshHome$DSH_HOME / ~/.dshRoot 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)
includeUserRulestrueEnable ~/.dsh/rules/*.md
includeClaudeSectionsfalseParse # 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
maxBytes32768Per-injection render budget (UTF-8 bytes); <= 0 disables the plugin
maxSourceBytes1048576Per-rule source size cap; larger files are skipped
maxTouchedPaths512Touched-path cap per session (FIFO eviction)