coding-shell-scripts

Generate bash scripts with templates for logging, cleanup, and error handling.

1|Updated Feb 11, 2024
One-click install
npx skills add https://github.com/loklaan/dotfiles --skill coding-shell-scripts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-shell-scripts
Source: https://github.com/loklaan/dotfiles/tree/main/home/dot_claude/skills/coding-shell-scripts
Command: npx skills add https://github.com/loklaan/dotfiles --skill coding-shell-scripts

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides templates and patterns for writing bash scripts, helping you build robust, portable shell utilities.

Core Features & Use Cases

  • Simple Script Structure: For quick, single-purpose tools.
  • Full Script Template: For complex scripts with logging, cleanup, and robust error handling.
  • Validation Guidance: Use the recommended validation steps to ensure script correctness.

Quick Start

Create a new script named my-tool.sh, add the shebang, and implement a main function following the Simple Script Structure.