CC-PL-022: Monitor Command References user_config
Summary
- Rule ID:
CC-PL-022 - Severity:
HIGH - Category:
Claude Plugins - Normative Level:
MUST - Auto-Fix:
No - Verified On:
2026-10-17
Applicability
- Tool:
claude-code - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
- https://code.claude.com/docs/en/plugins/components
- https://code.claude.com/docs/en/plugins/manifest-reference
Test Coverage Metadata
- Unit tests:
true - Fixture tests:
true - E2E tests:
false
Examples
The following examples demonstrate what triggers this rule and how to fix it.
Invalid
{
"experimental": {
"monitors": [{ "name": "deploys", "command": "poll ${user_config.url}", "description": "Deploy status" }]
}
}
Valid
{
"experimental": {
"monitors": [{ "name": "deploys", "command": "\"${CLAUDE_PLUGIN_ROOT}\"/scripts/poll.sh", "description": "Deploy status" }]
}
}