Skip to content
bash-defensive-patterns

Alternatives to bash-defensive-patterns

200 apps like bash-defensive-patterns, closest match first.

Top picks

  1. B

    bash-scripting

    Get

    bash-scripting is an agent skill that provides a workflow for creating robust, production-ready bash scripts with defensive programming, error handling and automated testing. It is for automation scripts, system administration tools, deploy

  2. B

    bash-master

    Get

    Expert bash/shell scripting system across ALL platforms with Bash 5.3 and 2025 security-first practices. PROACTIVELY activate for: (1) ANY bash/shell

  3. S

    shellcheck-configuration

    Get

    shellcheck-configuration is an agent skill from the wshobson/agents collection for configuring and using ShellCheck, the static analysis tool for shell scripts. ShellCheck reads a script and reports common mistakes and pitfalls, so problems

  4. B

    bats-testing-patterns

    Get

    bats-testing-patterns is an agent skill from the wshobson/agents collection for writing automated tests for shell scripts with Bats, the Bash Automated Testing System. It covers writing unit tests for scripts, using test patterns and fixtur

  5. B

    bash-linux

    Get

    bash-linux is an agent skill that covers essential Bash patterns for Linux and macOS terminals. It explains operator syntax and chaining commands: a semicolon runs commands in sequence, double ampersand runs the next command only if the pre

  6. D

    Dippy

    Get

    by Lily Dayton - Auto-approve safe bash commands using AST-based parsing, while prompting for destructive operations. Solves permission fatigue without disabling safety. Supports Claude Code, Gemini CLI, and Cursor.

More like bash-defensive-patterns

7
W

wizard

Generate an interactive bash wizard

Get
8
N

nushell-pro

Comprehensive Nushell scripting best practices, idioms, security

Get
9
G

garrytan/careful

Safety Guardrails: warns before destructive commands

Get
10
G

garrytan/guard

Full Safety: /careful + /freeze in one command for maximum safety

Get
11
N

no-mistakes

Validate your code changes through the no-mistakes pipeline

Get
12
S

safety-guard

Guard against destructive operations

Get
13
C

cmdi-command-injection

Command injection playbook

Get
14
A

agent-hooks

Manage shell hooks

Get
15
S

Shell GPT

A command-line productivity tool powered by AI large language models like GPT-5

Launch
16
C

Claude Code Safety Net

by kenryu42 - A coding agent CLI hook

Get
17
O

openai/security-best-practices

Review code for language-specific security vulnerabilities

Get
18
S

safety-hooks

Provides safety guards to block or require confirmation

Get
19
T

testing-handbook-generator

Generates Claude Code skills from the Trail of Bits Testing Handbook

Get
20
S

secure-code-guardian

Implementing authentication/authorization, securing user input

Get
21
G

git-guardrails-claude-code

Set up Claude Code hooks to block dangerous git commands

Get
22
S

security-review

Ensures all code follows security best practices

Get
23
C

cc-skill-security-review

Ensures all code follows security best practices

Get
24
T

trailofbits/sharp-edges

Identify error-prone APIs and dangerous configurations

Get
25
S

Semgrep

Enable AI agents to secure code with Semgrep

Get
26
S

security-and-hardening

Hardens code against vulnerabilities

Get
27
T

terminal-ops

Evidence-first repo execution workflow for ECC

Get
28
I

implement

Change or repair code, config or services without weakening tests

Get
29
L

linux-security-bypass

Linux security mechanism bypass playbook

Get
30
S

security-review

Adding authentication, handling user input, working

Get
31
E

extract

Turn a proven pattern or debugging solution into a standalone reusable skill

Get
32
D

debugging-wizard

Parses error messages, traces execution flow through stack traces

Get
33
C

ci-cd-security

Scan GitHub Actions workflow files for security vulnerabilities

Get
34
S

security-audit

Comprehensive security scanning and vulnerability detection

Get
35
C

clean-code-guard

Review generated or changed production code before it ships

Get
36
G

github-actions-hardening

Security hardening reviewer for GitHub Actions workflow files

Get
37
S

skill-security

Audit an AI agent skill for security risks before installing or trusting it

Get
38
F

find-bugs

Find bugs, security vulnerabilities

Get
39
G

gateguard

PreToolUse fact-forcing gate that denies the first Edit/Write/Bash

Get
40
C

clawhub-skill-vetting

Vet ClawHub skills before installation

Get
41
A

audit-prep-assistant

Prepares codebases for security review using Trail of Bits' checklist

Get
42
C

cli-developer

Building CLI tools, implementing argument parsing, or adding interactive prompts

Get
43
S

Synk Skill Security Scanner

Security scanner for AI agents, MCP servers and agent skills

Get
44
S

Shellcheck

ShellCheck, a static analysis tool for shell scripts

Launch
45
B

best-practices

Apply modern web development best practices for security, compatibility

Get
46
C

control-cli

Build or adapt a local harness to drive, inspect

Get
47
T

trailofbits/insecure-defaults

Detect insecure default configurations like hardcoded secrets

Get
48
C

context-mode

Use context-mode tools (ctx_execute, ctx_execute_file) instead of Bash/cat

Get
49
C

code-reviewer

Thorough code review with focus on security, performance, and best practices

Get
50
G

gha-security-review

GitHub Actions security review for workflow exploitation vulnerabilities

Get

About bash-defensive-patterns

B

bash-defensive-patterns

Master defensive Bash programming techniques for production-grade scripts

bash-defensive-patterns is an agent skill from the wshobson/agents collection for writing production-grade Bash scripts. It collects defensive programming techniques: error handling, careful handling of variables and input, and safety practices that prevent the common pitfalls that cause shell scripts to fail quietly or do the wrong thing. The goal is reliability for scripts that matter, including automation scripts, CI/CD pipeline steps, deployment helpers, system administration utilities and shell libraries that many scripts share. The skill also covers the logging and monitoring that make a script's behavior visible, and it helps scripts that must handle edge cases safely, such as unusual file names or missing inputs. The detailed patterns and worked examples sit in a separate reference file, which the agent reads when the main guidance is not enough. The skill is useful when writing new scripts or hardening existing ones. It is installed with the skills CLI from the wshobson/agents repository, and its skills.sh page showed about 13.0K installs and passing results from three security audits at the time of the scan.

Price
Free
Made by
wshobson
Category
AI Skills
Website
github.com/wshobson/agents/bash-defensive-patterns