agentsclimarketplace

Bash

Skill kimtth/agent-skill-100-lines-or-less/skills/bash

🧿 Minimal but effective AI agent skill definitions in 100 lines or less.

Install
npx -y skills add kimtth/agent-skill-100-lines-or-less --skill bash

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when: write or review robust shell scripts that fail fast and handle paths and input safely.

SKILL.md

1.0 KB, as published. Nobody here has run it

Goal: shell scripts that are safe, portable, and fail loudly.

Use for:

  • automation, CI steps, and glue scripts
  • reviewing fragile or unsafe shell code
  • hardening scripts against edge cases

Workflow:

  1. Start with set -euo pipefail for strict failure.
  2. Quote every variable expansion: "$var", "${arr[@]}".
  3. Check for required commands and inputs up front.
  4. Use functions and local variables for structure.
  5. Prefer printf over echo for predictable output.
  6. Verify with shellcheck and a dry run.

Idioms:

  • "${var:-default}" for fallbacks
  • [[ ... ]] over [ ... ] for tests
  • trap for cleanup on exit
  • mktemp for temporary files

Rules:

  • always quote expansions to survive spaces and globs
  • set -euo pipefail unless you have a reason not to
  • validate inputs before destructive actions
  • run shellcheck; treat its findings as real bugs

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.