@temoa/dsh-rules-paths
为 DeepSeek Harness 注入 Claude Code 风格的 `paths:` 规则:将指定目录下的规则文件内容注入到模型上下文中。
AI 分析
核心用途是根据当前操作的文件路径,自动向模型注入对应的开发规范或项目规则。适合需要对 AI 编码行为进行精细化、局部化约束的开发任务。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Temoa/dsh-rules-paths说明文档
阅读完整 README ↗Configuration
| Key | Default | Meaning |
|---|---|---|
rulesDir | ~/.dsh/rules | User-level rules directory (~ expands) |
maxBytes | 65536 | Byte budget per injected message |
maxSourceBytes | 1048576 | Max bytes read per rule file (larger files skipped) |
triggerTools | ["read"] | Tool names whose successful executions trigger matching |
rulesDirProject | false | Also scan ` |
/.dsh/rulesand | ||
| /.claude/rules` |