微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

challenge

challenge · v1.9.17
安全 unknown 级 作者 athola 公开目录收录
1.1k 下载 0 安装 5.2k 收藏 4 浏览

简介

challenge

原始描述

Presents adaptive codebase challenge questions with multiple-choice and trace exercises

通过你的 Agent 添加

安装目录:challenge/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/challenge/
Codex CLI~/.codex/skills/challenge/
DeepSeek Harness~/.agents/skills/challenge/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: challenge description: Invoke The Contrarian (Naqid) to steelman-then-challenge an idea, feature, decision, or plan — surfaces assumptions, failure modes, and alternatives. Advisory only; never blocks a gate. argument-hint: "<idea | #N | path/to/doc | 'the plan'>"

Writing: read docs/skills/shared/writing-rule.md before you write a durable artifact.

/challenge — Stress-test the premise with The Contrarian

/challenge <target> spawns the Contrarian agent (Naqid) to adversarially challenge an idea before you commit build effort to it. It is the premise-level analog of /code-review (Rex), /security-review (Hakim), and /design-review (Tariq) — but where those review built artifacts and gate a merge, the Contrarian challenges whether the idea is right at all and is advisory-only: it never writes a marker, never blocks a gate. The call stays yours.

This is the operational tool for the "play devil's advocate" reflex — made a first-class, repeatable move instead of an ad-hoc prompt.

When to use it

  • Before writing a spec or filing an epic — pressure-test the idea while it's cheap to change.
  • Before a big technical decision (/decide) — surface the assumptions and the cheaper alternative.
  • Before committing to a multi-step plan — find the load-bearing assumption that, if wrong, sinks the plan.
  • Any time you catch yourself agreeing with an idea too easily — that's exactly when an adversary earns its keep.

Usage

/challenge add a second database to handle reporting load
/challenge #345
/challenge projects/sample-app/prd.md
/challenge the plan

The argument is free-form. Step 1 normalises it into a concrete target for the agent.

Process

1. Resolve the target

Classify the argument:

Argument shape Target the agent receives
#N or owner/repo#N The ticket — instruct the agent to gh issue view <N> and challenge it.
A path ending .md (or under projects/, docs/, prds/, designs/) that exists The document — the agent reads it and challenges it.
the plan / this plan The most recent multi-step plan presented in the conversation — pass it inline to the agent.
Anything else (free text) An idea stated in the conversation — pass the idea text (plus relevant conversation context) inline to the agent.

If the argument is empty, ask: What should I challenge? An idea, a ticket #N, a doc path, or "the plan"?

2. Spawn the Contrarian

Invoke the agent via the Agent tool with subagent_type: contrarian, handing it the resolved target plus enough context to ground itself (the idea text / ticket ref / doc path). Instruct it to follow its steelman-first method and return its structured output. The agent is read-only; it will not modify anything.

Agent(subagent_type: "contrarian", prompt: "Challenge the following <idea|ticket|doc|plan>: <resolved target + context>. Steelman it first, then work the full challenge lens, and return your structured verdict.")

3. Relay the verdict

Present the agent's structured output verbatim (Steelman · Hidden assumptions · Failure modes · Strongest objections · Cheaper alternatives · What would have to be true · Verdict). Do not soften or editorialise it — the value is the unfiltered adversarial read.

Then, in one line, note the next move the verdict implies — e.g. "Verdict: reconsider — the cheaper alternative (a read replica) likely gets 80% of the value; want me to spec that instead?" — and let the operator decide. Never auto-act on a reconsider; surface it and stop.

Rules

  1. Advisory only. This skill never writes an approval marker, never runs a merge, never blocks a gate. It produces an opinion, full stop.
  2. One target per invocation. Challenging two unrelated things at once muddies the verdict — run it twice.
  3. Relay, don't dilute. Present the Contrarian's objections as-is. If you disagree, say so as a separate note; don't edit the agent's verdict.
  4. The call stays human. A reconsider verdict is input, not a stop order. Surface it and let the operator choose.
  5. Not a substitute for the gates. The Contrarian challenges the premise; Rex / Hakim / Tariq still review the built artifact. Passing a challenge is not passing review.

Glossary

Term Definition
The Contrarian (Naqid) The advisory agent that steelmans then adversarially challenges an idea/decision.
Steelman Stating the strongest honest version of an argument before critiquing it.
Premise-level review Challenging whether/what to build, as opposed to reviewing how it was built.

Part of ApexYard — multi-project SDLC framework for Claude Code · MIT.

正文来自原始仓库, 版权归作者所有,许可:MIT。 权利人认为有不妥,可申请下架。

原始仓库

作者的项目地址:https://github.com/pedrohcgs/claude-code-my-workflow

标签

没有标签

同类 Skill