Skills bash-pro
๐Ÿ“ฆ

bash-pro

Content revision r2 Safe โš™๏ธ External commands๐ŸŒ Network access๐Ÿ“ Filesystem access

Build Safer Production Bash Scripts

Shell automation often fails through unsafe expansion, weak error handling, and portability gaps. This skill guides defensive Bash design, testing, documentation, and review.

Supports: Claude Codex Code(CC)
๐Ÿฅ‰ 78 Bronze

Install with my Agent

Copy this request to your Agent. It includes the canonical Skill page and manifest.

Agent request
Review the Skillstore skill "bash-pro" from https://skillstore.io/skills/sickn33-bash-pro.md and its manifest at https://skillstore.io/api/skills/sickn33-bash-pro/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

Your Agent should still show its plan and request any confirmation required by the security policy.

Agent-readable resources

Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.

Test it

Using "bash-pro". Review a backup script that accepts a destination directory and removes old archives.

Expected outcome:

  • High priority: validate the destination against an approved base directory before deletion.
  • Add dry-run behavior, restrictive permissions, quoted paths, and cleanup traps.
  • Test empty paths, spaces, symbolic links, interrupted runs, and retention boundaries.

Using "bash-pro". Plan quality checks for a Bash command-line utility.

Expected outcome:

The plan covers formatting, static analysis, unit tests, platform checks, help validation, failure cases, and release gates.

Using "bash-pro". Modernize a legacy Bash 3 script for Bash 5.2.

Expected outcome:

The review identifies version-dependent features, migration steps, compatibility checks, regression tests, and a controlled rollout plan.

Security Audit

Safe
v5 โ€ข 8/14/2026 Open versioned report

All 136 static detections are false positives caused by Markdown code formatting, defensive examples, or reference links. The skill contains no executable files or prompt injection.

1
Files scanned
321
Lines analyzed
0
Review items
0
False positives ignored
No confirmed security findings were detected by the latest completed static and semantic audit. This does not prove the skill has no side effects.
Audited by: codex View Audit History โ†’
Share & cite this report

Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.

Open versioned report
Security Assessment

Copy report link

https://skillstore.io/skills/sickn33-bash-pro/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown badge

[![Skillstore security assessment](https://skillstore.io/badges/skills/sickn33-bash-pro/security.svg)](https://skillstore.io/skills/sickn33-bash-pro?utm_source=security_passport_badge)

HTML badge

<a href="https://skillstore.io/skills/sickn33-bash-pro?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/sickn33-bash-pro/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

Embed card

<iframe src="https://skillstore.io/embed/skills/sickn33-bash-pro.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
Academic citations (APA ยท BibTeX ยท CFF)

APA citation

sickn33. (2026). bash-pro security audit report (audit version 5) [Author version unspecified]. Skillstore. https://skillstore.io/skills/sickn33-bash-pro/audits/5

BibTeX citation

@techreport{sickn33-sickn33-bash-pro-2026, author = {sickn33}, title = {bash-pro security audit report (audit version 5)}, institution = {Skillstore}, year = {2026}, number = {5}, url = {https://skillstore.io/skills/sickn33-bash-pro/audits/5}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "bash-pro security audit report (audit version 5)" version: "unspecified" type: report authors: - name: "sickn33" date-released: "2026-08-14" url: "https://skillstore.io/skills/sickn33-bash-pro/audits/5" identifiers: - type: other value: "skillstore:sickn33-bash-pro:audit:5" description: "Skillstore immutable audit report identifier"

Skillstore Score

Why this score Evidence Confidence: High
55
Architecture
85
Maintainability
87
Content
69
Community
83
Spec Compliance

What You Can Build

Harden Deployment Automation

Review deployment scripts for quoting, cleanup, error propagation, idempotency, and safe handling of operator input.

Build Tested Command-Line Tools

Create maintainable Bash utilities with argument parsing, help output, structured logs, and automated tests.

Standardize CI Shell Checks

Define ShellCheck, shfmt, and Bats checks across supported Bash versions and operating systems.

Try These Prompts

Create a Simple Script
Create a Bash script that [task]. Define inputs, outputs, failure behavior, and a dry-run option. Explain required commands.
Review an Existing Script
Review this Bash script for quoting, input validation, cleanup, pipeline failures, and portability. Rank issues and propose focused corrections: [script]
Add Tests and CI
Create a test strategy for [script]. Include Bats cases, ShellCheck and shfmt checks, supported Bash versions, and CI failure criteria.
Design Production Automation
Design production Bash automation for [workflow]. Include threat boundaries, idempotency, rollback, observability, dependency checks, concurrency controls, tests, and release validation.

Best Practices

  • State inputs, permissions, destructive effects, and target platforms before generating or revising a script.
  • Run ShellCheck, formatting checks, and focused tests in an isolated environment before production use.
  • Request dry-run behavior and explicit confirmation for deletion, privilege changes, or broad file operations.

Avoid

  • Do not execute generated scripts without reviewing paths, variables, dependencies, and command arguments.
  • Do not pass untrusted text through eval or construct commands with unsafe string concatenation.
  • Do not assume Linux and macOS commands share identical options or output formats.

Frequently Asked Questions

Does this skill execute Bash commands?
The skill provides guidance and generated content. Command execution depends on the host agent, available tools, and user approval.
Which Bash versions does it support?
It covers Bash 4.4 through 5.2 patterns and recommends explicit checks before using version-specific features.
Can it write POSIX-compatible shell?
It can discuss portability, but its primary scope is Bash. Request POSIX constraints explicitly and validate with suitable tools.
Does it replace ShellCheck?
No. It recommends ShellCheck and explains findings, but generated scripts should still pass automated static analysis.
Can it create tests?
Yes. It can propose Bats or ShellSpec tests for success cases, failures, edge conditions, cleanup, and portability.
Is generated automation production-ready?
Not automatically. Validate dependencies, permissions, data paths, failure recovery, security controls, and target environments before deployment.

Developer Details

Author

sickn33

License

MIT

Skillstore revision

r2

Version notice

The author did not declare a version.

Ref

5a26d1d61d694db29af9b138c661c1981076d9df

Maintenance freshness

8/15/2026

Usage

11 downloads ยท 100 views

File structure

๐Ÿ“„ SKILL.md