dsh-global-rules
Global AGENTS-style rules as many independent markdown files, with a settings GUI. Fills the gap left by DSH's single hard-coded global AGENTS.md. 适合需要灵活管理和注入多个独立全局规则文件的用户,提供便捷的GUI配置。
Other repositories with this package name
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kingzhz/dsh-global-rulesREADME
Read the full README ↗配置
- id: global-rules
name: 'dsh-global-rules'
config:
rulesDir: ~/.dsh/rules # 默认 /rules
maxBytes: 32768 # 注入文本的字节上限,默认 32768
maxSourceBytes: 262144 # 单个规则文件的读取上限,默认 256 KiB
order: 100 # system-prompt 段序号,默认 100
heading: Global rules # 注入块的开头说明
enabled: true # 置 false 则完全不注入
$DSH_HOME 解析顺序:显式配置 → $DSH_HOME 环境变量 → ~/.dsh。