Claude-skill-registry data-structure-chooser
Recommend basic data structures for a task. Use when a junior developer needs help choosing lists, maps, or sets.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/data-structure-chooser" ~/.claude/skills/majiayu000-claude-skill-registry-data-structure-chooser && rm -rf "$T"
manifest:
skills/data/data-structure-chooser/SKILL.mdsource content
Data Structure Chooser
Purpose
Recommend basic data structures for a task.
Inputs to request
- Core operations and their frequency.
- Ordering and uniqueness requirements.
- Expected data size and memory limits.
Workflow
- Clarify operations: lookup, insert, iterate, order.
- Recommend a structure with time/space tradeoffs.
- Provide a small example usage.
Output
- Recommendation and rationale.
Quality bar
- State the complexity assumptions clearly.
- Offer an alternative when tradeoffs are close.