data-structure-chooser

star 107

Recommend basic data structures for a task. Use when a junior developer needs help choosing lists, maps, or sets.

proflead By proflead schedule Updated 1/12/2026

name: data-structure-chooser description: Recommend basic data structures for a task. Use when a junior developer needs help choosing lists, maps, or sets.

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

  1. Clarify operations: lookup, insert, iterate, order.
  2. Recommend a structure with time/space tradeoffs.
  3. Provide a small example usage.

Output

  • Recommendation and rationale.

Quality bar

  • State the complexity assumptions clearly.
  • Offer an alternative when tradeoffs are close.
Install via CLI
npx skills add https://github.com/proflead/codex-skills-library --skill data-structure-chooser
Repository Details
star Stars 107
call_split Forks 23
navigation Branch main
article Path SKILL.md
More from Creator