Token导航 LogoToken导航

Agent Skill · 研究检索

socratic-review(苏格拉底式评论)

socratic-review 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

socratic-review 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证为 MIT,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 21,311。

总安装 4,896周安装 202GitHub Stars 55下载 1,275核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:socratic-review(苏格拉底式评论)
来源仓库:https://github.com/rysweet/amplihack
仓库路径:skills/socratic-review
安装命令:
npx skills add https://github.com/rysweet/amplihack --skill socratic-review
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/rysweet/amplihack --skill socratic-review

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

socratic-review 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。聚焦于文本分析与观点提炼,适用于论文评审、政策评估或复杂议题的多角度审视任务。

采用分层提问策略识别核心主张、证据链与潜在假设,帮助用户系统化梳理争议焦点。安装命令为 npx skills add https://github.com/rysweet/amplihack --skill socratic-review,可能涉及网络请求与第三方服务集成。

建议验证其数据来源可靠性,并关注是否包含自动化执行脚本带来的系统影响。

来源仓库内路径:skills/socratic-review

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/rysweet/amplihack --skill socratic-review;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

socratic-review 怎么安装?

在终端执行 npx skills add https://github.com/rysweet/amplihack --skill socratic-review。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

socratic-review 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

socratic-review 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/rysweet/amplihack --skill socratic-review;npx skills add rysweet/amplihack --skill "socratic-review" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

socratic-review 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

socratic-review 用的人多吗?

公开数据是累计安装 4,896 次,近一周安装 202 次,下载 1,275 次,GitHub 55 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

socratic-review 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
socratic-review

苏格拉底式评论 · 本页

4,89655执行命令MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Socratic Code Review

You are initiating a Socratic code review session. Instead of telling the developer what's wrong, you'll ask probing questions that help them discover issues and articulate their reasoning.

When to Use This Skill

Use Socratic review when:

  • You want deeper understanding, not just compliance
  • The developer should own the insights (learning > fixing)
  • Design decisions need articulation and documentation
  • You want to surface hidden assumptions
  • The code is complex and needs explanation
  • You're mentoring or onboarding

Use traditional review when:

  • Time is critical and you need fast feedback
  • Issues are obvious and straightforward
  • You need a written report for documentation
  • The developer explicitly wants direct feedback

Usage

# Basic usage - reviews file with standard depth (7-10 questions)
/socratic-review path/to/file.py

# Quick review - 3-5 focused questions
/socratic-review path/to/file.py --depth=quick

# Deep review - 15-20 comprehensive questions
/socratic-review path/to/file.py --depth=deep

# Review specific function/class
/socratic-review path/to/file.py --focus="function_name"

# Review a directory
/socratic-review src/auth/

# Non-interactive mode (for CI/subprocess - asks all questions, synthesizes without waiting)
/socratic-review path/to/file.py --non-interactive

# Output structured JSON for programmatic processing
/socratic-review path/to/file.py --non-interactive --output=review.json

# Write insights to DECISIONS.md
/socratic-review path/to/file.py --write-decisions

How It Works

1. Context Analysis

First, I'll analyze the code to understand:

  • What files/functions are being reviewed
  • Complexity level and patterns used
  • Areas that warrant deeper questions

2. Question Selection

Based on the code, I'll select questions from six categories:

  • Design: Why was this approach chosen?
  • Edge Cases: What happens in unusual situations?
  • Clarity: How would you explain this?
  • Philosophy: Does this follow project principles?
  • Failure Modes: What could go wrong?
  • Testing: How do you know it works?

3. Dialogue

I'll ask questions one at a time and wait for your responses:

**Q1** [Category: Design]
Why did you choose to store session data in memory rather than a database?

[WAIT FOR YOUR RESPONSE]

After each answer, I may:

  • Ask a follow-up question if the answer reveals uncertainty
  • Move to the next question if understanding is solid
  • Note insights for the final synthesis

4. Synthesis

After all questions, I'll summarize:

  • Insights Revealed: What became clear through dialogue
  • Assumptions Surfaced: Hidden assumptions that were exposed
  • Recommendations: What should change based on the dialogue
  • Strengths: What you clearly understood well

Depth Levels

Quick (3-5 questions, ~5 min)

Best for:

  • Small bug fixes
  • Simple changes
  • Obvious code

Focus: Highest-risk areas only

Standard (7-10 questions, ~15 min)

Best for:

  • Feature implementations
  • Refactoring
  • Typical PRs

Focus: All question categories covered

Deep (15-20 questions, ~30 min)

Best for:

  • Security-sensitive code
  • Core infrastructure
  • Architectural changes

Focus: Comprehensive with follow-ups

Example Session

## Socratic Review: auth/login.py

I'm going to ask you some questions about this login implementation.
There are no wrong answers - the goal is to think through the design together.

---

**Q1** [Category: Design]
I see you're storing session data in an in-memory dictionary.
Why did you choose this approach over Redis or database storage?

> Your answer: "It was simpler to implement and we don't have many users yet."

That makes sense for simplicity. **Follow-up**: What would trigger you to
migrate to a different storage mechanism?

> Your answer: "Um... I guess when we scale? Or add multiple servers?"

**Insight noted**: Migration criteria aren't clearly defined.

---

**Q2** [Category: Edge Case]
What happens if a user's session expires while they're submitting a form?

> Your answer: "I... actually haven't thought about that."

**Insight noted**: Session timeout during active use is unhandled.

---

[... more questions ...]

---

## Review Synthesis

### Insights Revealed

- Session storage is pragmatic but migration path unclear
- Session timeout during active use is unhandled

### Assumptions Surfaced

- Single server deployment assumption
- Users won't have long form submissions

### Recommendations

1. Document session storage migration criteria
2. Add graceful session timeout handling

### Strengths Identified

- Clear awareness of simplicity trade-offs
- Quick recognition of gaps when prompted

Integration with Workflow

Socratic review can replace standard review at Step 11 of DEFAULT_WORKFLOW:

Step 11: Review the Code

Choose review approach:
A) Standard review - Direct feedback from reviewer agent
B) Socratic review - Dialogue with socratic-reviewer agent

Use Socratic when:

- Learning is as important as fixing
- Design decisions need documentation
- Mentoring/onboarding context

Tips for Good Responses

When answering questions:

  1. Be specific: "It handles null by returning empty array" is better than "It should be fine"
  2. Acknowledge uncertainty: "I'm not sure what happens" is valuable - it reveals gaps
  3. Think out loud: Explain your reasoning, not just the answer
  4. Ask for clarification: If a question is unclear, say so

Feedback Loop: How Insights Return

The key question: how do insights from dialogue become actual improvements?

Interactive Mode (Default)

During live dialogue:

  1. Each question and response is captured
  2. Insights are noted inline
  3. At the end, a synthesis is produced
  4. You can use --write-decisions to persist insights to DECISIONS.md

Non-Interactive Mode (CI/Subprocess)

For automated contexts:

  1. All questions are asked rhetorically
  2. Agent analyzes code to identify likely issues
  3. Structured JSON output is produced
  4. Output can be posted to PR comments automatically

Auto-Detection: The skill automatically detects non-interactive contexts (e.g., claude --print, CI pipelines, no TTY) and switches to non-interactive mode. This prevents the frustrating pattern of asking questions, waiting for responses that can't come, and exiting INCONCLUSIVE with no useful output.

Posting to PR

# Run non-interactive review
/socratic-review src/auth/ --non-interactive --output=review.json

# Post results to PR
gh pr comment 123 --body "$(jq -r '.synthesis | "## Socratic Review\n\n### Insights\n" + (.insights_revealed | map("- " + .) | join("\n")) + "\n\n### Recommendations\n" + (.recommendations | map("- [" + .priority + "] " + .description) | join("\n"))' review.json)"

Exit on Inconclusive

If 3 questions go unanswered in interactive mode, the session exits with INCONCLUSIVE status. Socratic review requires willing participation - without it, exit cleanly rather than pretend to do something else. The user can then choose to run traditional /review instead.

What This Is NOT

  • Not a test: There are no wrong answers
  • Not criticism: Questions explore, not judge
  • Not a checklist: Questions adapt to your code and answers
  • Not replacement for tests: This is for understanding, not verification

Underlying Philosophy

This skill is based on:

  1. Feynman Technique: Teaching reveals gaps in understanding
  2. Socratic Method: Questions create deeper insight than answers
  3. Rubber Duck Debugging: Explaining forces thoroughness
  4. Pair Programming: Dialogue catches what solo work misses

Related

  • Agent: ~/.amplihack/.claude/agents/amplihack/specialized/socratic-reviewer.md
  • Traditional Review: /reviewing-code skill for direct feedback
  • Philosophy Check: philosophy-guardian agent for compliance

Execution

When this skill is invoked:

  1. Parse arguments (file path, depth level, focus)
  2. Read and analyze the target code
  3. Invoke the socratic-reviewer agent with context
  4. Facilitate the dialogue, waiting for user responses
  5. Synthesize findings at the end
Task(
  subagent_type="socratic-reviewer",
  prompt="Conduct Socratic review of [file] at [depth] level. Focus on: [areas]"
)

The agent will handle the question flow and wait for responses using [WAIT] markers.

平台分布

Claude Code

32.03%
按下载量换算408

Antigravity

22.28%
按下载量换算284

OpenCode

19.89%
按下载量换算254

Gemini CLI

12.77%
按下载量换算163

windsurf

8.2%
按下载量换算105

github-copilot

3.39%
按下载量换算43

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/rysweet/amplihack --skill socratic-review;npx skills add rysweet/amplihack --skill "socratic-review" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills