Skill / SKILL.md

Advanced Array Patterns

josiahsiegel/claude-plugin-marketplace

Advanced bash array patterns including indexed and associative arrays, mapfile/readarray, slicing, and array manipulation (2025). PROACTIVELY activate for: (1) using bash arrays effectively, (2) reading file contents into an array via mapfile/readarray, (3) authoring associative arrays (declare -A), (4) iterating arrays safely under set -u, (5) deleting/inserting array elements, (6) joining and splitting arrays, (7) passing arrays to functions via nameref (declare -n), (8) array slicing and parameter expansion, (9) sorting and deduplicating arrays in pure bash. Provides: indexed and associative array reference, mapfile and readarray recipes, nameref-based pass-by-reference, slicing/expansion patterns, and gotchas for unset variables and word splitting.
2 views 67 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Advanced bash array patterns including indexed and associative arrays, mapfile/readarray, slicing, and array manipulation (2025). PROACTIVELY activate for: (1) using bash arrays effectively, (2) reading file contents into an array via mapfile/readarray, (3) authoring associative arrays (declare -A), (4) iterating arrays safely under set -u, (5) deleting/inserting array elements, (6) joining and splitting arrays, (7) passing arrays to functions via nameref (declare -n), (8) array slicing and parameter expansion, (9) sorting and deduplicating arrays in pure bash. Provides: indexed and associative array reference, mapfile and readarray recipes, nameref-based pass-by-reference, slicing/expansion patterns, and gotchas for unset variables and word splitting.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/josiahsiegel/claude-plugin-marketplace' skill-source

Use the complete skill-source/plugins/bash-master/skills/advanced-array-patterns directory with your client’s skill installer.

  • plugins/bash-master/skills/advanced-array-patterns

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory plugins/bash-master/skills/advanced-array-patterns

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
cd50c3e93fc6b25a0f5b1aae97fb7a8afb6a9cc62579aee65c043fd9215d99e0
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills