CC-SK-021: Hardcoded User Directory Path - Claude Skills
Summary
- Rule ID:
CC-SK-021 - Severity:
MEDIUM - Category:
Claude Skills - Normative Level:
SHOULD - Auto-Fix:
No - Verified On:
2026-04-26
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
---
name: build-helper
description: Build the project
---
Run the script at /Users/alice/projects/myrepo/build.sh to compile.
Valid
---
name: build-helper
description: Build the project
---
Run `cargo build` from the repo root, or set `$BUILD_DIR` to override.