Skip to content

thanksmors/cheatcodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cheatcodes

A Claude Code plugin providing bash scripting patterns, defensive programming, Unix command chaining, and shell script structure.

Installation

Claude Code

# Add the marketplace
/plugin marketplace add thanksmors

# Install the plugin
/plugin install cheatcodes@thanksmors

Then restart Claude Code.

The bash Skill

The bash skill activates automatically when you work with bash scripts.

Triggers when:

  • Writing or editing bash scripts
  • Asking about shell commands
  • Needing defensive programming patterns
  • Debugging bash script issues

Covers:

Category Topics
Defensive Patterns set -euo pipefail, quoting, [[ ]] vs [ ], parameter expansion
Script Structure Template, getopts parsing, traps, cleanup
Unix Philosophy Command chaining, pipes, xargs, process substitution
Essential Commands find, grep, sed, awk, cut, sort, curl
Common Patterns Retry logic, temp files, dry-run, confirmation prompts
Testing Bats framework, ShellCheck integration

Usage Examples

"write a bash script that takes a filename and prints its line count"
"how do I parse command line flags in bash?"
"my grep command is failing with set -e"
"add error handling to this bash script"

Structure

cheatcodes/
├── .claude-plugin/
│   └── plugin.json          # Plugin manifest
├── skills/
│   └── bash/
│       └── SKILL.md        # Bash skill
└── README.md

License

MIT

About

Claude Code plugin for bash scripting patterns, defensive programming, Unix command chaining, and shell script structure.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors