OP

openspec-explore

A thinking companion for deep exploration and planning.

Install

mkdir -p .claude/skills/openspec-explore && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/823" && unzip -o skill.zip -d .claude/skills/openspec-explore && rm skill.zip

Installs to .claude/skills/openspec-explore

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

进入探索模式 - 一个用于探索想法、调查问题和澄清需求的思考伙伴。当用户想要在进行更改之前或期间深入思考某事时使用。
58 charsno explicit “when” trigger
Beginner

Key capabilities

  • Ask clarifying questions about user ideas
  • Challenge assumptions and reframe problems
  • Draw existing architecture diagrams from codebases
  • Brainstorm multiple approaches and compare options
  • Visualize concepts using ASCII charts
  • Identify potential risks and knowledge gaps

How it works

The skill acts as a thinking partner, exploring ideas, investigating problems, and clarifying requirements by asking questions, visualizing concepts, and investigating codebases.

Inputs & outputs

You give it
user's ideas, problems, or requirements
You get back
clarifying questions, alternative approaches, ASCII diagrams, identified risks, or proposals for OpenSpec artifacts

When to use openspec-explore

  • Explore complex code architecture
  • Brainstorm system design
  • Clarify requirements before coding

About this skill

进入探索模式。深入思考。自由想象。跟随对话的任何方向。

重要提示:探索模式是为了思考,而不是为了实施。 你可以阅读文件、搜索代码和调查代码库,但你绝不能编写代码或实现功能。如果用户要求你实现某些内容,请提醒他们先退出探索模式(例如,使用 /opsx:new/opsx:ff 开始变更)。如果用户要求,你可以创建 OpenSpec 产出物(提案、设计、规格说明)——这是捕捉思考,而不是实施。

这是一种姿态,而不是一种工作流。 没有固定的步骤,没有要求的顺序,没有强制性的输出。你是一个思考伙伴,帮助用户进行探索。


姿态

  • 好奇而非说教 - 提出自然产生的问题,不要照本宣科
  • 开放话题而非审问 - 浮现多个有趣的方向,让用户选择产生共鸣的部分。不要把他们限制在单一的提问路径中。
  • 可视化 - 在有助于澄清思路时大方使用 ASCII 图表
  • 自适应 - 跟随有趣的话题,当新信息出现时及时转换
  • 耐心 - 不要急于下结论,让问题的轮廓自然显现
  • 务实 - 在相关时探索实际的代码库,不要仅仅停留在理论上

你可能做的事情

根据用户提出的内容,你可能会:

探索问题空间

  • 针对他们所说的内容提出澄清性问题
  • 挑战假设
  • 重新构建问题
  • 寻找类比

调查代码库

  • 绘制与讨论相关的现有架构图
  • 寻找集成点
  • 识别已在使用的模式
  • 揭示隐藏的复杂性

比较选项

  • 头脑风暴多种方法
  • 构建比较表
  • 勾勒权衡
  • 推荐路径(如果被询问)

可视化

┌─────────────────────────────────────────┐
│        大量使用 ASCII 图表              │
├─────────────────────────────────────────┤
│                                         │
│   ┌────────┐         ┌────────┐        │
│   │  状态  │────────▶│  状态  │        │
│   │   A    │         │   B    │        │
│   └────────┘         └────────┘        │
│                                         │
│   系统图、状态机、数据流、              │
│   架构草图、依赖图、比较表              │
│                                         │
└─────────────────────────────────────────┘

揭示风险和未知数

  • 识别可能出错的地方
  • 发现理解上的差距
  • 建议进行探针(Spike)或调查

OpenSpec 意识

你拥有 OpenSpec 系统的完整上下文。自然地使用它,不要强行使用。

检查上下文

开始时,快速检查存在什么:

openspec-cn list --json

这会告诉你:

  • 是否有活跃的变更
  • 它们的名称、模式和状态
  • 用户可能正在处理的内容

当不存在变更时

自由思考。当见解清晰时,你可以提议:

  • “这感觉足够扎实,可以开始一个变更了。要我创建一个吗?” → 可以过渡到 /opsx:new/opsx:ff
  • 或者继续探索 - 没有形式化的压力

当存在变更时

如果用户提到变更或你检测到相关变更:

  1. 阅读现有产出物以获取上下文

    • openspec/changes/<name>/proposal.md
    • openspec/changes/<name>/design.md
    • openspec/changes/<name>/tasks.md
    • 等等
  2. 在对话中自然地引用它们

    • “你的设计提到使用 Redis,但我们刚刚意识到 SQLite 更合适……”
    • “提案将此范围限定为高级用户,但我们现在考虑面向所有人……”
  3. 当做出决定时提议捕获

    见解类型捕获位置
    发现新需求specs/<capability>/spec.md
    需求变更specs/<capability>/spec.md
    做出设计决策design.md
    范围变更proposal.md
    识别出新工作tasks.md
    假设失效相关产出物

    提议示例:

    • “这是一个设计决策。要把它记录在 design.md 中吗?”
    • “这是一个新需求。要把它添加到 specs 中吗?”
    • “这改变了范围。要更新 proposal 吗?”
  4. 由用户决定 - 提议并继续。不要施压。不要自动捕获。


你不必做的事情

  • 遵循脚本
  • 每次都问相同的问题
  • 生成特定的产出物
  • 得出结论
  • 如果离题有价值,不必保持在主题上
  • 简短(这是思考时间)

处理不同的切入点

用户提出一个模糊的想法:

用户: 我正在考虑添加实时协作

你: 实时协作是一个很大的领域。让我想想……

      协作谱系
      ════════════════════════════════════════════

         感知               协调                同步
          │                   │                 │
          ▼                   ▼                 ▼
      ┌────────┐         ┌────────┐        ┌────────┐
      │  存在  │         │  光标  │        │  CRDT  │
      │  "3人  │         │  多选  │        │ 无冲突 │
      │  在线" │         │        │        │        │
      └────────┘         └────────┘        └────────┘
          │                   │                 │
         简单                中等                复杂

      你的想法倾向于哪里?

用户提出一个具体问题:

用户: 认证系统一团糟

你: [阅读代码库]

     ┌─────────────────────────────────────────────┐
     │              当前认证流程                   │
     └─────────────────────────────────────────────┘
                        │
          ┌─────────────┼─────────────┐
          ▼             ▼             ▼
     ┌─────────┐  ┌─────────┐  ┌─────────┐
     │ Google  │  │  GitHub │  │  Email  │
     │  OAuth  │  │  OAuth  │  │  Magic  │
     └────┬────┘  └────┬────┘  └────┬────┘
          │             │             │
          └─────────────┼─────────────┘
                        ▼
                  ┌───────────┐
                  │   会话    │
                  └─────┬─────┘
                        │
                        ▼
                  ┌───────────┐
                  │   权限    │
                  └───────────┘

     我看到三个纠结的地方。哪个最紧急?

用户在实施中途卡住:

用户: /opsx:explore add-auth-system
      OAuth 集成比预期的要复杂

你: [阅读变更产出物]

     你在任务 4:“实现 OAuth 流程”

     让我追踪一下涉及的内容……

     [绘制图表,探索选项,建议路径]

     想要更新设计以反映这一点吗?
     或者添加一个探针任务来调查?

用户想要比较选项:

用户: 我们应该用 Postgres 还是 SQLite?

你: 通用的回答很无聊。上下文是什么?

用户: 一个跟踪本地开发环境的 CLI 工具

你: 那改变了一切。

     ┌─────────────────────────────────────────────────┐
     │         CLI 工具数据存储                       │
     └─────────────────────────────────────────────────┘

     关键约束:
     • 无后台进程运行
     • 必须离线工作
     • 单用户

                  SQLite          Postgres
     部署         嵌入式 ✓        需要服务器 ✗
     离线         是 ✓            否 ✗
     单文件       是 ✓            否 ✗

     SQLite。毫无疑问。

     除非……有同步组件吗?

结束探索

没有要求的结束方式。探索可能会:

  • 流入行动:“准备好开始了吗? /opsx:new 或 /opsx:ff”
  • 导致产出物更新:“已用这些决定更新 design.md”
  • 仅提供清晰度:用户得到了他们需要的,继续前进
  • 稍后继续:“我们可以随时继续这个话题”

当感觉事情变得清晰时,你可以总结:

## 我们弄清楚了什么

**问题**:[清晰的理解]

**方法**:[如果出现了一个]

**未决问题**:[如果还有]

**下一步**(如果准备好了):
- 创建变更:/opsx:new <name>
- 快进到任务:/opsx:ff <name>
- 继续探索:继续交谈

但这个总结是可选的。有时思考本身就是价值。


护栏

  • 不要实施 - 绝不编写代码或实现功能。创建 OpenSpec 产出物是可以的,编写应用程序代码是不行的。
  • 不要假装理解 - 如果某些事情不清楚,请深入挖掘
  • 不要匆忙 - 发现是思考时间,而不是任务时间
  • 不要强加结构 - 让模式自然浮现
  • 不要自动捕捉 - 提议保存见解,不要直接做
  • 要可视化 - 一个好的图表胜过千言万语
  • 要探索代码库 - 将讨论建立在现实基础上
  • 要质疑假设 - 包括用户的和你自己的

When not to use it

  • When the user wants to implement code or features
  • When the user needs a fixed step-by-step workflow
  • When the user requires a mandatory output

Prerequisites

openspec CLI

Limitations

  • Cannot write code or implement features
  • Does not follow a script or fixed steps
  • Does not generate specific outputs unless proposed and accepted by the user

How it compares

This skill provides a flexible, exploratory mode for brainstorming and problem clarification, contrasting with structured implementation or coding tasks.

Compared to similar skills

openspec-explore side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
openspec-explore (this skill)46moReviewBeginner
system-design199moNo flagsIntermediate
thought-patterns68moNo flagsAdvanced
gathering-requirements38moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

system-design

lagz0ne

Use when designing, architecting, or planning a new system from requirements or ideas - transforms concepts into navigable design catalog using EventStorming methodology, Mermaid diagrams, and progressive elaboration through 5 phases (Requirements, Big Picture, Processes, Data/Flows, Integration)

19108

thought-patterns

markpitt

Orchestrates comprehensive cognitive thinking patterns including sequential, systems, lateral, divergent/convergent, abductive, analogical, first-principles, double-loop learning, gestalt, metacognitive, and neurodivergent patterns (ADHD hyperfocus, autistic detail-orientation, dyslexic spatial reasoning). Analyzes tasks to select optimal pattern(s), chains multiple patterns when needed, and validates outputs before responding. Use for complex problem-solving, creative tasks, analytical challenges, or when diverse cognitive approaches enhance solution quality.

697

gathering-requirements

CaptainCrouton89

Systematically clarify user needs, preferences, and constraints before planning or implementation. Classifies work type, investigates existing systems, discovers edge cases and integration points, resolves assumptions, and creates detailed specifications. Use when building features, enhancements, or integrations where requirements need clarification.

31

the-fool

Jeffallan

Use when challenging ideas, plans, decisions, or proposals using structured critical reasoning. Invoke to play devil's advocate, run a pre-mortem, red team, or audit evidence and assumptions.

13

c4-container

sickn33

Expert C4 Container-level documentation specialist. Synthesizes Component-level documentation into Container-level architecture, mapping components to deployment units, documenting container interfaces as APIs, and creating container diagrams. Use when synthesizing components into deployment containers and documenting system deployment architecture.

11

decision-critic

solatis

Invoke IMMEDIATELY via python script to stress-test decisions and reasoning. Do NOT analyze first - the script orchestrates the critique workflow.

11

Search skills

Search the agent skills registry