utilizing-cli-tools
CLI tools guide for git, gh, npm, and other development tools. Best practices for command-line operations in development workflows. Triggers: CLI, command line, git, gh, npm, yarn, pnpm, terminal, コマンドライン, ターミナル, GitHub CLI, package manager, パッケージマネージャ, Conventional Commits, HEREDOC, シェル.
When & Why to Use This Skill
This Claude skill provides a comprehensive guide and best practices for essential command-line interface (CLI) tools, including Git, GitHub CLI (gh), and package managers like npm, yarn, and pnpm. It optimizes development workflows by offering quick references for version control, branch management, and efficient terminal operations to enhance developer productivity.
Use Cases
- Efficient Version Control: Quickly execute Git commands for status checks, diffs, and branch management to maintain a streamlined coding workflow.
- GitHub CLI Integration: Leverage the GitHub CLI (gh) to manage repositories and automate GitHub-specific tasks directly from the terminal.
- Package Management: Standardize dependency management and script execution using npm, yarn, or pnpm across different development environments.
- Advanced Terminal Operations: Utilize HEREDOC for complex multi-line commits and implement Conventional Commits to maintain a clean and readable project history.
| name | utilizing-cli-tools |
|---|---|
| description | > |
| allowed-tools | [Bash, Read, Glob] |
| user-invocable | false |
CLI Tools Guide
References
| Category | Reference |
|---|---|
| Version Control | @./references/git-essentials.md |
| GitHub | @./references/gh-github-cli.md |
| Package Management | @./references/npm-scripts.md |
Quick Reference
Git
| Action | Command |
|---|---|
| Status | git status --short |
| Diff | git diff --staged |
| Branch | git branch --show-current |
| Log | git log --oneline -10 |
HEREDOC Commit
git commit -m "$(cat <<'EOF'
feat(auth): add OAuth authentication
EOF
)"