@temoa/dsh-rules-paths
Claude Code-style `paths:` rule injection for DeepSeek Harness (DSH): inject rules from ~/.dsh/rules, <project>/.dsh/rules and <project>/.claude/rules into the model context.
AI 분석
核心用途是根据当前操作的文件路径,自动向模型注入对应的开发规范或项目规则。适合需要对 AI 编码行为进行精细化、局部化约束的开发任务。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Temoa/dsh-rules-pathsConfiguration
| 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` |