Bash Hygiene
Review, create, and validate Bash scripts when shell work needs strict mode, quoting safety, portability, or interpreter-compatible behavior.
Install
npx skills add jscraik/Agent-Skills --skill bash-hygienegit clone --depth 1 https://github.com/jscraik/Agent-Skills.git /tmp/Agent-Skills
mkdir -p ~/.claude/skills
cp -r /tmp/Agent-Skills/Skills/agent-ops/bash-hygiene ~/.claude/skills/bash-hygienePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Bash Hygiene ## Philosophy - Keep the skill focused on the decision and workflow the user actually requested. - Preserve important context through progressive disclosure instead of trimming it away. - Prefer repo-local contracts, wrappers, and validation before generic advice. ## When To Use - A Bash script or hook is being created or edited. - Shell failures involve word splitting, globbing, strict mode, or interpreter mismatch. - The user wants a safety review before committing shell changes. ## Avoid - General Python, Node, or Makefile work with no shell script surface. - Replacing repo wrappers with ad hoc shell snippets. - Executing destructive shell commands without explicit user intent. ## Inputs - script path - target shell - runtime environment - expected behavior - validation command ## Outputs - findings or patch - quoting and portability notes - validation commands - residual risks - blockers - Schema-bound outputs include schema_version. ## Workflow - Start with 2-3 focused surfaces before expanding scope. - Identify the target shell and repo wrapper expectations. - Check strict mode, quoting, arrays, traps, paths, and temporary files. - Prefer argument arrays and explicit paths over string-built commands. - Run shellcheck or the nearest repo validation when available. - Report exact failures and safe fixes. ## Constraints
Details
- Skill name
bash-hygiene- Repository
- jscraik/Agent-Skills
- Path
Skills/agent-ops/bash-hygiene/SKILL.md- License
- Apache-2.0
- Repo updated
- 16 November 2026
FAQ
What does the Bash Hygiene skill do?
Review, create, and validate Bash scripts when shell work needs strict mode, quoting safety, portability, or interpreter-compatible behavior.
How do I install the Bash Hygiene skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add jscraik/Agent-Skills --skill bash-hygiene. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Bash Hygiene popular?
It lives in jscraik/Agent-Skills, which has 9 GitHub stars and 4 forks.
Related skills
1password
9jscraik/Agent-Skills
Plan, diagnose, and validate 1Password CLI workflows. Use when tasks need op CLI sign-in, secret references, op run, op inject, item reads, env injection, or service-account secret access.
Agentation
9jscraik/Agent-Skills
Audit, validate, and troubleshoot Agentation integrations in frontend apps. Use when annotations, MCP registration, endpoint sync, webhook delivery, or watch mode readiness are failing.
Agents Md
9jscraik/Agent-Skills
Use when reviewing, creating, shrinking, or refactoring AGENTS.md and directly linked instruction guidance for stale or conflicting rules against current model documentation, scoped routing, deduplication, or progressive disclosure.
Biome Linting
9jscraik/Agent-Skills
Analyze, fix, and validate Biome linting workflows. Use when JavaScript or TypeScript projects need Biome commands, diagnostics, safe fixes, or CI lint gates.
Azure AI Projects Py
9huytran1120/vietnam-agentic-skills
Build AI applications on Microsoft Foundry using the azure-ai-projects SDK.
Bootstrap
9jscraik/Agent-Skills
Create, diagnose, and validate a local dev bootstrap. Use when the user asks to clone a repo, install toolchains, install dependencies, and prove the project runs.
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.