跳到主要内容
知仓学习社ZHICANG

gauntlet-curate

Audits the DSA problem bank for coverage gaps and proposes new YAML entries. Use when refreshing the problem bank during update-plugins runs.

不碰外部(只输出文字)无严重或高危命中athola/claude-night-market

它会碰到什么

扫了多少1 个文本文件,4 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Gauntlet Curate

Survey the DSA problem bank, identify coverage gaps, and propose

new YAML entries for human review.

When NOT To Use

  • Annotating this codebase rather than the problem bank (use

gauntlet:curate)

  • Rebuilding the knowledge base (use gauntlet:extract)

When This Skill Fires

Invoke this skill manually with Skill(gauntlet:gauntlet-curate)

when the problem bank needs a coverage review. The skill is intended

to participate in /update-plugins runs but is not yet wired into

that command (see openpackage.yml registration). It is distinct from

gauntlet:curate, which handles per-annotation knowledge capture

and is what /gauntlet-curate invokes today.

Steps

  1. Locate the problem bank at plugins/gauntlet/data/problems/.

Read _manifest.yaml to load the expected NeetCode counts per

category.

  1. Survey current coverage by counting problems in each YAML

file (skipping _manifest.yaml).

Run the analysis script:

   cd plugins/gauntlet
   python scripts/curate_problems.py data/problems/ --output /tmp/gauntlet-curate-report.md
  1. Identify gaps: categories whose actual count falls below

the neetcode_count in the manifest.

The script sorts gaps largest-first so the worst shortfalls

appear at the top.

  1. Review existing problems in each gap category to understand

what is already covered before proposing additions.

  1. Propose new YAML entries following the schema below.

Add proposals to the report under "Proposed New Problems".

Do NOT write proposals directly into data/problems/*.yaml.

  1. Validate proposals by running:
   python -c "
   import yaml, sys
   sys.path.insert(0, 'src')
   from gauntlet.models import BankProblem
   proposals = yaml.safe_load(open('proposals.yaml'))
   for p in proposals:
       BankProblem.from_dict(p)
   print('All proposals valid.')
   "
  1. Present the report to the human for review.

The report includes the coverage table, gap list, and proposed

entries.

The human decides which proposals to merge into the YAML files.

Problem Schema

Each proposed entry must follow this schema:

- id: category-NNN
  title: Problem Title
  difficulty: easy       # easy | medium | hard | extra_hard
  prompt: |
    Problem statement with constraints and examples.
  hints:
    - First hint.
    - Second hint.
  solution_outline: |
    Approach and time/space complexity.
  tags: [tag1, tag2]
  neetcode_id: neetcode-NNN
  challenge_type: explain_why  # explain_why | multiple_choice | trace
                                # | code_complete | debug | rank

Required fields: id, title, difficulty, prompt.

Optional fields default to empty values.

Safety Constraints

  • Never modify files under data/problems/ directly.
  • Never run with a --write or --fix flag: the script

intentionally has none.

  • All output is a proposal report for human approval.
  • Existing hand-curated problems are never touched.

Output

A markdown report at the path specified by --output, containing:

  • Coverage summary table (expected vs. actual per category)
  • Gaps list sorted by missing count
  • YAML schema template for new proposals
  • Space for the human reviewer to add proposed entries

Human review is required before any YAML file changes.

Exit Criteria

  • [ ] Script runs without error and produces a markdown report at the

path given to --output (e.g., /tmp/gauntlet-curate-report.md)

  • [ ] Report contains a coverage summary table comparing expected

neetcode_count versus actual count for every category in

_manifest.yaml, with gaps sorted largest-first

  • [ ] No files under plugins/gauntlet/data/problems/ are modified;

all proposals appear only in the report under "Proposed New

Problems"

  • [ ] Every proposed YAML entry passes BankProblem.from_dict()

validation (required fields: id, title, difficulty,

prompt) before appearing in the report

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。