Data Structure Chooser
Recommend basic data structures for a task
install path
~/.claude/skills/data-structure-chooser/SKILL.md command
/data-structure-chooser SKILL.md
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.
Copy this into ~/.claude/skills/data-structure-chooser/SKILL.md to use it as a slash command in Claude Code.