command-line-tools

majiayu000 的头像作者 majiayu000

常见命令行工具的最佳实践。在使用特定 CLI 命令(如 rm、tree 和其他 Unix 实用程序)时使用。

📖 中文导读:常见命令行工具的最佳实践。在使用特定 CLI 命令(如 rm、tree 和其他 Unix 实用程序)时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

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