command-line-tools

Best practices for common command-line tools. Use when working with specific CLI commands like rm, tree, and other Unix utilities.

⭐5stars🔀1forks📁View on GitHub🕐Updated Jan 11, 2026⬇️1downloads

When & Why to Use This Skill

The Command-Line Tools skill provides expert guidance and best practices for essential Unix utilities, focusing on safe file manipulation and efficient directory management. It serves as a safety-first reference for developers and system administrators to execute commands like 'rm' and 'tree' with confidence, ensuring robust terminal workflows and preventing accidental data loss through standardized procedures.

Use Cases

  • Safe File Deletion: Implementing interactive flags and path verification strategies to prevent catastrophic data loss when using destructive commands like 'rm'.
  • Directory Structure Visualization: Utilizing the 'tree' command effectively to map out complex project architectures and document file hierarchies.
  • Shell Scripting Optimization: Writing robust and secure shell scripts by following general principles for file operations and recursive tasks.
  • System Maintenance: Performing routine batch file operations and directory cleanups while adhering to safety guidelines and backup best practices.
namecommand-line-tools
descriptionBest 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