Agent skill

data-structure-chooser

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

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/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

  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.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results