基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/a16z/jolt --skill analyze-spec命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | analyze-spec |
| description | Spec analysis with ambiguity scoring — interactive locally, single-pass remotely via label |
| argument-hint | [spec file path] |
This skill operates in two modes:
/analyze-spec in Claude Code): Full interactive Socratic interview — one question at a time, iterative refinement with the spec author.claude-spec-review-request label): Single-pass analysis — all questions posted at once as a single PR comment. Reads prior PR comments as context to account for already-answered questions.Adapted from the Ouroboros-inspired deep interview methodology — specification quality is the primary bottleneck in AI-assisted development.
<Execution_Policy>
explore agent BEFORE asking about them<Mode_Detection> Detect which mode to use:
claude-spec-review-request label. Indicators: environment is non-interactive (no TTY), or running inside a GitHub PR context./analyze-spec.When in doubt, default to local mode (interactive). </Mode_Detection>
{{ARGUMENTS}}, use that directly.gh pr view --json number --jq .number to get the current branch's PR number.ls specs/ and ask the user which one.specs/<PR#>-*.md matching the PR number. This is the spec for this PR.specs/*.md file that is NOT TEMPLATE.md.jolt-eval/README.md so you understand the invariant/objective framework for scoring Success Criteria and generating questions.explore agent to map codebase areas relevant to the spec's intent.gh pr view --json comments to identify questions already asked and answers already given. Account for these when scoring — don't re-ask answered questions.Score clarity across four dimensions (0.0–1.0 each):
| Dimension | Weight | What to assess |
|---|---|---|
| Goal Clarity | 0.35 | Is the primary objective unambiguous? Can you state it in one sentence? Are key entities and relationships clear? |
| Constraint Clarity | 0.20 | Are boundaries, limitations, and non-goals clear? |
| Success Criteria | 0.30 | Could you write a test that verifies success? Are acceptance criteria concrete? Are relevant jolt-eval invariants/objectives described? |
| Context Clarity | 0.15 | Do we understand the existing system well enough to modify it safely? |
Calculate ambiguity:
ambiguity = 1 - (goal × 0.35 + constraints × 0.20 + criteria × 0.30 + context × 0.15)
For each dimension below 0.9, generate a targeted question that would improve it:
references/remote-mode.md (in this skill's directory) for the comment template and label handling.references/local-mode.md for the round protocol, challenge modes, and stop conditions.Task: Analyze the spec. {{ARGUMENTS}}
Wrap a Rust function in a Jolt zero-knowledge proof
Deep code review of a pull request using parallel analysis agents (semantic consistency, bugs, tech debt, security). USE FOR: - Reviewing PRs for bugs, security issues, and code quality - Analyzing new abstractions for consistency and correctness - Identifying tech debt and architectural concerns - Posting review comments to specific lines on GitHub TRIGGERS: - "review PR", "code review", "review changes" - "diff review", "PR feedback", "check PR" - "analyze diff", "critique code", "review code" - "pull request review", "GitHub PR review"
Autonomous one-shot implementation from an approved spec (local/cloud only)