josiahsiegel/claude-plugin-marketplace/bash-53-features
Claude Code and agent skill by josiahsiegel/claude-plugin-marketplace
- community
Checking that the SKILL.md file is still in the repository.
Bash 5.3 new features and modern patterns (2025). PROACTIVELY activate for: (1) Bash 5.3 specific features (BASH_TRAPSIG, in-shell command substitution, ${|} REPLY syntax), (2) checking bash version compatibility, (3) migrating scripts to take advantage of 5.3 additions, (4) C23 conformance changes in bash 5.3, (5) new shopt and bind options, (6) trap handling improvements, (7) wait -p enhancements, (8) READLINE_ARGUMENT and history expansion changes. Provides: complete 5.3 feature reference, version-detection snippets, compatibility shims for older bash, migration recipes, and POSIX.1-2024 alignment notes.
Install
npx vskill@latest install josiahsiegel/claude-plugin-marketplace/bash-53-featuresSKILL.md
The same SKILL.md was published earlier as josiahsiegel/claude-plugin-marketplace/bash-53-features.
🚨 CRITICAL GUIDELINES
Windows File Path Requirements
MANDATORY: Always Use Backslashes on Windows for File Paths
When using Edit or Write tools on Windows, you MUST use backslashes (\) in file paths, NOT forward slashes (/).
Examples:
- ❌ WRONG:
D:/repos/project/file.tsx - ✅ CORRECT:
D:\repos\project\file.tsx
This applies to:
- Edit tool file_path parameter
- Write tool file_path parameter
- All file operations on Windows systems
Documentation Guidelines
NEVER create new documentation files unless explicitly requested by the user.
- Priority: Update existing README.md files rather than creating new documentation
- Repository cleanliness: Keep repository root clean - only README.md unless user requests otherwise
- Style: Documentation should be concise, direct, and professional - avoid AI-generated tone
- User preference: Only create additional .md files when user specifically asks for documentation
Bash 5.3 Features (2025)
Overview
Bash 5.3 (released July 2025) introduces significant new features that improve performance, readability, and functionality.
Key New Features
1. In-Shell Command Substitution
New: ${ command; } syntax - Executes without forking a subshell (runs in current shell context):
Benefits:
- No subshell overhead (faster)
- Preserves variable scope
- Better performance in loops
Example:
2. REPLY Variable Command Substitution
New: ${| command; } syntax - Stores result in REPLY variable:
Use Cases:
- Avoid variable naming conflicts
- Clean syntax for temporary values
- Standardized result variable
3. Enhanced read Builtin
New: -E option - Uses readline with programmable completion:
Benefits:
- Better UX for interactive scripts
- Built-in path completion
- Command history support
4. Enhanced source Builtin
New: -p PATH option - Custom search path for sourcing:
Benefits:
- Modular library organization
- Avoid hard-coded paths
- Environment-specific sourcing
5. Enhanced compgen Builtin
New: Variable output option - Store completions in variable:
Benefits:
- Cleaner completion handling
- No extra subshells
- Better performance
6. GLOBSORT Variable
New: Control glob sorting behavior:
Options:
name- Alphabetical (default)reverse- Reverse alphabeticalsize- By file sizemtime- By modification time-mtime- Reverse modification time
7. BASH_TRAPSIG Variable
New: Signal number variable in traps:
Benefits:
- Reusable signal handlers
- Dynamic signal-specific behavior
- Better logging and debugging
8. Floating-Point Arithmetic
New: `fltexpr` loadable builtin:
Use Cases:
- Scientific calculations
- Financial computations
- Avoid external tools (bc, awk)
Performance Improvements
Avoid Subshells
Performance Gain: ~40% faster in benchmarks
Efficient File Processing
Migration Guide
Check Bash Version
Feature Detection
Gradual Adoption
Best Practices (2025)
- Use ${ } for performance-critical loops
``bash for item in "${large_array[@]}"; do processed=${ transform "$item"; } done ``
- Use ${| } for clean temporary values
``bash ${| calculate_hash "$file"; } if [[ "$REPLY" == "$expected_hash" ]]; then echo "Valid" fi ``
- Enable readline for interactive scripts
``bash read -E -p "Config file: " config ``
- Use source -p for modular libraries
``bash source -p "$LIB_PATH" database.sh logging.sh ``
- Document version requirements
``bash # Requires: Bash 5.3+ for performance features ``
Compatibility Notes
Bash 5.3 Availability (2025)
Note: Bash 5.3 (released July 2025) is the latest stable version. There is no Bash 5.4 as of October 2025.
- Linux: Ubuntu 24.04+, Fedora 40+, Arch (current)
- macOS: Homebrew (
brew install bash) - Windows: WSL2 with Ubuntu 24.04+
- Containers:
bash:5.3official image
C23 Conformance
Bash 5.3 updated to C23 language standard. Note: K&R style C compilers are no longer supported.
Fallback Pattern
Real-World Examples
Fast Log Parser
Interactive Configuration
Resources
Bash 5.3 provides significant performance and usability improvements. Adopt these features gradually while maintaining backwards compatibility for older systems.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/bash-master/skills/bash-53-features/SKILL.md
Popularity
- Repository stars
- 51
- Repository forks
- 10
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 21 Aug 2026, 3 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/josiahsiegel/claude-plugin-marketplace/bash-53-features)