hashdir
Installation
SKILL.md
hashdir - Recursive Directory Hash Utility
The hashdir module recursively calculates hashes for all files within a directory tree, generating a consolidated list of checksums and relative paths for integrity verification.
When to Activate
- When comparing two directory structures for differences in content.
- When creating a security baseline for a specific folder (e.g., config or source code).
- When tracking directory changes in version control via baseline hash files.
Core Principles & Rules
- Consistency: Files are sorted alphabetically to ensure consistent hash output regardless of OS traversal order.
- Relative Paths: Uses relative paths in the output to allow for portability across different root paths.