command-line-tools
Best practices for common command-line tools. Use when working with specific CLI commands like rm, tree, and other Unix utilities.
When & Why to Use This Skill
This Claude skill provides expert-level best practices and safety guidelines for common Unix command-line tools. It is designed to help developers and system administrators execute CLI commands like rm and tree with precision, ensuring safe file manipulation, efficient directory management, and robust shell scripting while preventing common operational errors.
Use Cases
- Executing safe file deletions using 'rm' with interactive flags and path verification to prevent accidental data loss.
- Visualizing and documenting complex project structures using the 'tree' command for better codebase organization.
- Writing and auditing shell scripts that utilize standard Unix utilities to ensure they follow industry-standard safety protocols.
- Performing recursive file operations and batch processing with a focus on risk mitigation and backup management.
| name | command-line-tools |
|---|---|
| description | Best practices for common command-line tools. Use when working with specific CLI commands like rm, tree, and other Unix utilities. |
Command-Line Tools Skill
When to Use
- Using file manipulation commands
- Working with directory trees
- Performing file operations
- Writing scripts that use CLI tools
Tool Guidelines
File Removal (rm)
Safe deletion practices: @rm.md
Directory Tree (tree)
Proper usage of tree command: @tree.md
General Principles
- Always verify file paths before destructive operations
- Use appropriate flags for safety (e.g., -i for interactive)
- Understand the implications of recursive operations
- Keep backups before batch operations