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

challenge

Presents adaptive codebase challenge questions with multiple-choice and trace exercises. Use when testing contributor knowledge of the codebase.

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

它会碰到什么

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

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

技能内容

Run Gauntlet Challenge

Present challenges from the knowledge base and evaluate answers.

When NOT To Use

  • The knowledge base does not exist yet (use gauntlet:extract)
  • A staged path for a new contributor (use gauntlet:onboard)

In-Loop Provider Setup

Before generating a challenge, register the in-loop variation

provider so we do not call out to the Anthropic API just to spawn

a sibling Claude (issue #464). Outside Claude Code this is a

no-op and the default Anthropic provider remains active.

from gauntlet.providers.in_loop import (
    register_in_loop_provider_if_inside_claude_code,
)
register_in_loop_provider_if_inside_claude_code()

Steps

  1. Load state: read .gauntlet/knowledge.json and developer

progress

  1. Check for pending challenge: if

.gauntlet/state/pending_challenge.json exists, evaluate the

developer's most recent message as an answer before generating

a new one

  1. Generate challenge: use adaptive weighting to select a

knowledge entry and challenge type

  1. Present challenge: show the question with context
  1. Evaluate answer: score the response (pass/partial/fail)
  1. Record result: update developer progress and streak
  1. On pass: write pass token if from pre-commit gate. Show

next challenge if in session.

  1. On fail: show correct answer with explanation. Present a

new challenge.

Scoring

| Result | Score | Streak |

|--------|-------|--------|

| Pass | 1.0 | +1 |

| Partial | 0.5 | reset |

| Fail | 0.0 | reset |

Exit Criteria

  • [ ] .gauntlet/knowledge.json exists and is readable before a

challenge is generated; if missing, the skill surfaces the error

and suggests running gauntlet:extract

  • [ ] Each challenge attempt results in a score (1.0/0.5/0.0) written

to the developer's progress store and a streak update applied

  • [ ] .gauntlet/state/pending_challenge.json is evaluated before

generating a new challenge when it exists; the file is removed

or updated after evaluation

  • [ ] On fail, the correct answer and explanation are shown before

the next challenge is presented (not skipped silently)

想直接用这个技能?

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