AgentSkillsCN

command-line-tools

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

SKILL.md
--- frontmatter
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