Back to list
srnnkls

bash-use

by srnnkls

0🍴 0📅 Jan 25, 2026

SKILL.md


name: bash-use description: Ultra-concise bash command patterns. Use when constructing shell commands or one-liners.

Bash Use Skill

Patterns for interactive bash commands, one-liners, and CLI usage.


When to Use

  • Constructing shell commands
  • Writing one-liners
  • Interactive CLI usage
  • Command debugging or improvement

Quick Reference

Quote paths with spaces:

cd "/path with spaces/dir"

Relative paths with rm:

rm -rf ./build  # Not $HOME/...

Chain commands:

cmd1 && cmd2 && cmd3  # Stop on failure
cmd1; cmd2; cmd3      # Continue regardless

Command substitution:

result=$(command)  # Not `command`

Check command exists:

command -v jq &>/dev/null || echo "not found"

Output redirection:

command 2>&1        # Stderr to stdout
command &>/dev/null # Suppress all

Process substitution:

diff <(cmd1) <(cmd2)

Full Guidelines

Read: ~/.claude/skills/code-implement/resources/loqui/languages/bash/reference/commands.md

Use Read tool to access (paths outside cwd require direct reads).


Anti-Patterns Checklist

  • ✘ Unquoted paths with spaces
  • ✘ Absolute paths with rm
  • ✘ Using ; when && is needed
  • ✘ Backticks instead of $()

  • code-implement: Language-specific patterns (includes bash)
  • code-test: TDD workflow

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon