Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

elite-tools

bởi bezkom

Web & Frontend Development
582Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Elite CLI tooling for efficient shell operations with optimized token usage.

Mô tả

Kỹ năng này làm gì

A guide for AI agents to prefer modern CLI utilities over legacy POSIX tools. Covers ten tools: fdfind, batcat, sd, ast-grep, jc, gron, yq, difftastic, tealdeer, and html2text. Reduces token consumption and avoids regex escaping errors during shell operations.

Modern replacements produce cleaner, more structured output than legacy tools like find, sed, and grep, which reduces token waste and eliminates common escaping bugs in agent-driven shell tasks.

Khi nào nên dùng

  • Searching files by name without complex find syntax
  • Find-and-replace across files without escaping regex special characters
  • Searching code by AST structure rather than raw text
  • Converting YAML or JSON configs during automated workflows

Quy trình ví dụ

ĐẦU VÀO

User asks: rename all occurrences of 'OldConfig' to 'NewConfig' across TypeScript files

AGENT
  1. 1

    Use fdfind to list all .ts files in the project

  2. 2

    Run ast-grep to locate 'OldConfig' as an identifier using AST patterns

  3. 3

    Apply sd to replace the string without regex escaping issues

  4. 4

    Use batcat to review changed files with syntax highlighting

ĐẦU RA

All TypeScript files updated with 'NewConfig', changes visually confirmed

Yêu cầu

  • Install fd (fdfind on Debian/Ubuntu)
  • Install bat (batcat on Debian/Ubuntu)
  • Install sd
  • Install ast-grep (sg)
  • Install jc, gron, yq, difftastic, tealdeer, and html2text

Cài đặt

clawhub install bezkom/elite-tools

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết