${CLAUDE_PLUGIN_ROOT:-$PWD} fell back to the user's project directory when
the plugin variable was absent, so standalone installs and standalone ECC
checkouts hit 'Cannot find module' — the same failure #3530 reported.
The three skill commands now probe CLAUDE_PLUGIN_ROOT, then a standalone
install ($CLAUDE_CONFIG_DIR or ~/.claude), then an ECC checkout run from its
root, verifying the script exists at each step and failing with an explicit
message when none resolves. Paths stay quoted so plugin roots containing
spaces work.
Adds executed regression coverage for #3530: the documented TDD detector
command now runs from an unrelated project directory against a real copy
of the ECC scripts in a plugin root whose path contains spaces, a
standalone ~/.claude install, and an ECC checkout, and must fail with an
explicit error when no root resolves. Red against the current skill
commands, which run the helper from the user's project directory.