rj-jiangyichen/dsh-rules1

dsh-rules

DSH rules plugin: activate rule prompts / markdown documents by glob-matching the files an agent reads or edits (Claude Code rules.md style).

AI 分析

核心用途是根据智能体操作的文件自动激活对应的开发规则(类似于 Claude Code 的 rules.md)。适合需要规范智能体代码行为的开发者。

パッケージ
dsh-rules
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/17

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:rj-jiangyichen/dsh-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)