Skip to main content

data-structure-chooser

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

来源信息

仓库
proflead/codex-skills-library
最近来源活动
2026年1月12日 16:12
检测到的 SKILL.md 语言
英语
星标
154
分支
34

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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.
在 GitHub 查看