CC-MEM-004: Invalid Command Reference - Claude Memory
Summary
- Rule ID:
CC-MEM-004 - Severity:
MEDIUM - Category:
Claude Memory - Normative Level:
SHOULD - Auto-Fix:
No - Verified On:
2026-02-09
Applicability
- Tool:
claude-code - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
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
# Commands
Run tests with `npm run nonexistent`
(Requires package.json with scripts section in the same directory for this rule to trigger)
Valid
# Commands
Run tests with `npm run test`
Build with `npm run build`
(Valid when package.json has test and build scripts)