Temoa/dsh-rules-paths0

@temoa/dsh-rules-paths

为 DeepSeek Harness 注入 Claude Code 风格的 `paths:` 规则:将指定目录下的规则文件内容注入到模型上下文中。

AI 分析

核心用途是根据当前操作的文件路径,自动向模型注入对应的开发规范或项目规则。适合需要对 AI 编码行为进行精细化、局部化约束的开发任务。

套件
@temoa/dsh-rules-paths
版本
0.1.0
授權
MIT
最近更新
2026年8月14日

安裝

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

Configuration

KeyDefaultMeaning
rulesDir~/.dsh/rulesUser-level rules directory (~ expands)
maxBytes65536Byte budget per injected message
maxSourceBytes1048576Max bytes read per rule file (larger files skipped)
triggerTools["read"]Tool names whose successful executions trigger matching
rulesDirProjectfalseAlso scan `
/.dsh/rulesand
/.claude/rules`