dsh-rules
Glob-activated rule prompts for DeepSeek Harness agents.
Install
$ dsh plugin --profile desktop add dsh-rulesPlugin Overview & Capabilities
AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.
Key Capabilities
- Activates rules from `.dsh/rules/*.md` and optional user-level rule files based on file glob matches.
- Tracks files read or edited per agent session and injects the active rules before agent steps.
- Optionally parses Claude Code-compatible `# Path:` sections from `AGENTS.md` and `CLAUDE.md`.
- Applies deterministic precedence and same-name deduplication across project, user, and path-section rules.
- Bounds rendered rule snapshots with configurable byte, source-size, and touched-path limits.
- Uses the Harness `fs` service when available, with a Node filesystem fallback.
Useful For
- Apply repository-specific instructions only while an agent works on matching source files.
- Reuse Claude Code-style path-scoped guidance in a DeepSeek Harness workflow.
- Provide global workspace rules alongside more specific project rules.
- Keep prompts aligned with edited rule files through per-step discovery and caching.
Who It Fits
- DeepSeek Harness users managing coding-agent instructions.
- Teams with path-specific repository conventions.
- Users migrating or sharing Claude Code `rules.md` or `# Path:`-style guidance.
Documented Limitations
- Only files inside the detected project root can activate rules.
- `# Path:` parsing is disabled by default and requires `includeClaudeSections: true`.
- Rule content is subject to the configured 32 KB default injection budget; lower-priority rules may be dropped and the final rule may be truncated.
- Rule source files exceeding the configured 1 MB default cap are skipped.
- Touched-path tracking is in memory; after session resume, rules re-activate as files are read again.
DSH Compatibility
Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.
Security Signals
Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.
Source & Registry Notes
Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.
- Source repository
- rj-jiangyichen/dsh-rules
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- f8c6500 · 2026-09-14
This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.
Repository Activity
- GitHub stars
- 2GitHub stars
- Forks
- 0
- Open issues
- 0
- Last commit
- 2026-09-13
- Last release
- 2026-09-13
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
A multi-host method pack for architecture-aware, evidence-verified AI coding workflows in DeepSeek Harness.
View plugin →Second-model AI auto-review for DeepSeek Harness approval requests with fail-closed safety and session audit.
View plugin →Installable DeepSeek Harness runtime bundle with Desktop, Web, and TUI development surfaces.
View plugin →Browser automation plugin enabling DeepSeek Harness agents to interact with logged-in browser sessions safely via dedicated Agent Windows.
View plugin →