treg
superdesigndev
OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:lengrufeng2008/dsh-tdd-guard
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A lightweight test-before-commit guard. It runs the project's
npm testscript and can install an opt-in.git/hooks/pre-commit. It is not the original TDD Guard's edit-time enforcement.
node bin/dsh-tdd-guard.mjs status --root .
node bin/dsh-tdd-guard.mjs check --root .
node bin/dsh-tdd-guard.mjs install --root .
node bin/dsh-tdd-guard.mjs uninstall --root .
In DSH:
Use tdd_check on this project.
npm test; a non-zero exit blocks the commit.install refuses to overwrite an unmarked hook unless --force is passed.uninstall only removes a hook carrying the dsh-tdd-guard marker.check returns pass/fail and the last 20 KB of output; timeout 120 s (150 s tool).npm test
Inspired by nizos/tdd-guard; no source code copied. See NOTICE.md.
License: MIT.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: testing。