cot-lint
Run the following command in DeepSeek Harness:
dsh plugin install YuanyuanMa03/cot-lint
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install YuanyuanMa03/cot-lint in DeepSeek Harness to install the plugin; the full source is available at https://github.com/YuanyuanMa03/cot-lint
About this plugin
Your coding agent writes great code, but it also drops a design-session number, a justification addressed to a reviewer who has already left, and a let-me-fix-it-later aside straight into your docs, comments, and JSDoc. None of that harms the code itself, yet it makes the text unreadable to anyone who was not in the room. cot-lint exists for exactly this: it scans repository text and applies a single test to every passage—can a reader who has only HEAD resolve every reference and verify every claim?
In terms of core capabilities, cot-lint covers eight leakage classes: dead design-session citations, PR vantage, change narration, review choreography, reviewer-addressed justification, control-flow narration, hedge and planning residue, and authoring-language slips. Both English and Chinese detectors are built in, with zero external dependencies and a Node 20 minimum. Exit codes 0, 1, and 2 map to clean, findings, and usage error respectively, so it drops straight into any CI pipeline. A built-in set of keep-rules mechanically exempts issue references, TODO/FIXME/XXX markers, and citations of external standards such as RFCs, so the linter does not destroy annotations that genuinely earn their place. The companion cot-trim skill goes beyond detection: it judges every hit against the one test, enumerates the passage propositions before deleting anything, and fixes owner-first—generated files via their source, model-visible strings via their owning snapshot.
Who is it for? Any team that relies on AI coding agents, any repository whose documentation should be self-sufficient at HEAD, and any project that wants a prose-hygiene gate in CI. It is language-agnostic, agent-agnostic, MIT-licensed, and ready to use the moment you run it.
Use Cases
- Gate AI-generated docs and comments for session-transcript residue in CI
- Pre-review pass to catch dead design-session citations and PR vantage in JSDoc
- Verify all repository text is self-sufficient at HEAD before merge
Best For
- Development teams that rely on AI coding agents
- Open-source maintainers who want docs self-sufficient at HEAD
- DevOps engineers who need a prose-hygiene gate in CI
Related Plugins
Adds an Auto approval mode on the official workspace-write sandbox, classifying semantic risks, asking when ambiguous, and denying destructive operations.
Undo/rollback system for DSH: config & plugin snapshots, one-click undo/redo/restore, message-level revert, secret masking, safe mode, and offline WebUI/GUI/CLI rescue tools for when DSH won't start.
Packages all 87 SKILL.md files from upstream reverse-skill as a DeepSeek Harness plugin that auto-registers them for authorized reverse engineering, penetration testing, and security research.
Dockyard DSH is a native DeepSeek Harness plugin that unifies official OAuth/client sessions for Codex, Antigravity, Grok, Claude, and Cursor, providing account pool, model catalog, and quota status.