Openspec Plus Proposal 标志

Openspec Plus Proposal

社区
sudokar
openspec-plus-proposal

必需技能:每当 OpenSpec 进入 proposal 阶段时激活。触发条件:运行 /opsx-new 或 /opsx-continue;启用 openspec-new-change、openspec-continue-change 或 openspec-explore;调用 `openspec instructions proposal`;或用户希望创建、更新、审阅、完善或讨论 OpenSpec 提案。

Add to TypingMind

概览

发布者sudokar
代码仓库openspec-plus
技能名称openspec-plus-proposal
星标数
215
复刻数
11
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 sudokar 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Openspec Plus Proposal AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/sudokar/openspec-plus/tree/main/skills/openspec-plus-proposal
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/sudokar/openspec-plus.git /tmp/openspec-plus
mkdir -p .claude/skills
cp -r /tmp/openspec-plus/skills/openspec-plus-proposal .claude/skills/openspec-plus-proposal
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Openspec Plus Proposal,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Openspec Plus Proposal。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Openspec Plus Proposal 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

OpenSpec Plus Proposal

Mission

Brainstorming-style interactive discovery for OpenSpec proposals. Produce a lean Why / What Changes / Capabilities / Impact proposal at intent level — never sliding into design, spec, or implementation.

OpenSpec provides the format and template (resolved dynamically in Phase 0). This skill provides the process discipline: five-lens Q&A, decomposition check, scope discipline, subagent review.


Inputs

  • User request — authoritative for intent
  • Existing proposals in openspec/changes/ — for terminology and convention only
  • NEVER read source code — proposal is intent, not implementation grounding

Workflow

Four phases. NEVER skip, merge, or reorder.

text
Phase -1: Auto-Update Check (once per session)
Phase 0: Schema & Template Resolution
Phase 1: Interactive Discovery (5-lens Q&A)
Phase 2: Write & Artifact Compliance Review

Workflow Visibility (MANDATORY)

Display workflow phases via task tool at start; update as each phase completes.


Core Principles

  • Understand Before Defining — seek the problem before describing the change; never jump to proposed solutions.
  • Goals Before Solutions — solution language ("add Redis", "use Postgres") → redirect to the underlying problem and goal.
  • Scope Boundaries Are Critical — non-goals as deliberate as in-scope items; strong non-goals reduce future scope creep.
  • YAGNI — No Speculative Scope — every scope item traces to a stated user need or stakeholder concern.
  • Respect Project Standards — read project instruction files (AGENTS.md, CLAUDE.md, GEMINI.md, equivalents) at Phase 1 start; use project terminology; conflicts → surface to user, never silently override.

Phase -1: Auto-Update Check (MANDATORY — once per session)

Run FIRST, before Phase 0. Skip if already run this session.

  1. Read openspec/.plus/config.yaml:
    • settings.autoUpdateCheck is false → skip Phase -1 entirely, proceed to Phase 0
    • Missing/unreadable, or not false → continue
  2. Read openspec/.plus/last-update-check:
    • File exists AND timestamp is within 7 days of today → skip immediately, proceed to Phase 0
    • Missing or older than 7 days → continue:
      • Fetch https://api.github.com/repos/sudokar/openspec-plus/releases/latest (single JSON object). Read the tag_name field and strip the leading v if present. This is the remote version.
      • Compare remote version with openspec/.plus/VERSION (local)
      • If remote > local → prompt the user using the question tool:

        🔔 OpenSpec Plus v{remote} is available (you have v{local}).

        • Option 1: Upgrade (Recommended)
        • Option 2: Upgrade later
        • If user selects Upgrade → display the install/update link: https://github.com/sudokar/openspec-plus#-install--update and STOP. Do NOT continue to Phase 0 — the user should run the install/update prompt first and restart the session.
        • If user selects Upgrade later → proceed to Phase 0 normally.
      • Write current timestamp to openspec/.plus/last-update-check
  3. Network/file errors → silently continue. NEVER block the workflow for network issues — proceed to Phase 0.

Mark Phase -1 complete, proceed to Phase 0.


Phase 0: Schema & Template Resolution

Run FIRST (after Phase -1), before any questions:

  1. Run:
    bash
    openspec instructions proposal --change <name> --json
    Extract: template (structural authority; sections you MUST fill), instruction (per-section guidance; what content each section needs), rules (project constraints to honor). Parse template sections (H2/H3 headers + HTML comments) — these are your information requirements; every section = information you MUST collect during Phase 1. If a section needs data the five lenses don't cover, add questions for it.
  2. Read openspec/.plus/config.yaml (missing/unreadable/unrecognized → defaults): settings.questionMode (sequential default; batch groups Phase 1's five lenses into fewer question-tool rounds instead of one at a time).

Phase 1: Interactive Discovery

Pre-existing answers: If recent conversation already answers any of the five lenses (Problem & Why, Goals, Scope & Capabilities, Non-Goals, Impact) — via prior exploration, a detailed initial request, or any other source — state the resolved answer in your analysis and SKIP that lens's question. Ask ONE question at a time only for unresolved or partial lenses (batch mode: present all unresolved lenses together instead — see below). NEVER re-ask answered questions.

Read in this order:

  1. Project-level instruction files first — AGENTS.md, CLAUDE.md, GEMINI.md, or equivalents at project root, .claude/, .opencode/, or docs/. These capture terminology conventions and project shape that should inform proposal language.
  2. Existing proposals and changes in openspec/changes/ for terminology and structural convention.

NEVER read source code.

If the request describes multiple independent subsystems (e.g., "add chat, file storage, billing, analytics"): STOP. Surface to user. Help decompose: what are the independent pieces, how do they relate, what order to build? Each sub-change gets its own proposal → spec → design → tasks cycle. Begin the first sub-change through normal flow. NEVER write a single proposal covering multiple independent subsystems.

Use the question tool, ONE question at a time. Cover these lenses until each is answered:

  1. Problem & Why — what problem exists, why it matters, what happens without action
  2. Goals (not solutions) — desired outcome; if request is phrased as a solution, what is the underlying goal
  3. Scope & Capabilities — high-level changes; capabilities added, modified, or removed
  4. Non-Goals — what is explicitly NOT in scope; scope creep to prevent
  5. Impact — affected systems, files, teams, or workflows

In sequential mode (default), NEVER batch questions. NEVER assume answers. Always include your recommended answer with rationale on every question — never a bare question without a recommendation.

batch mode (settings.questionMode: batch): present all unresolved lenses together — one question-tool call per lens up to its multi-question cap, or one combined numbered message if the tool allows only one question per call. Wait for one combined reply; map answers back by lens. Same real answers and recommendations as sequential — never skip or assume a lens.

If the user's answer introduces a new decision point or leaves something partially unresolved, follow that branch with a targeted follow-up before advancing to the next lens (in batch mode, defer the follow-up to the next batch round). A lens is fully resolved only when no dependent decision within it remains open.

If a fact can be determined from existing artifacts, project files, or the environment, look it up — do not ask the user for discoverable information.

Once all five lenses answered, summarize for the user: problem (one sentence), outcome (one sentence), in-scope capabilities, non-goals, impact areas. In sequential mode, explicitly ask the user to confirm shared understanding before proceeding to Phase 2 — do NOT advance on silence or implied agreement. In batch mode, skip this extra question — the summary was already built from the user's one combined reply; proceed to Phase 2.

Phase 1 Complete Checks:

  • Mid-discovery scope check: re-evaluate — did scope grow beyond a single cohesive change during Q&A? If so, decompose before writing.
  • Template coverage check: verify every template section (from Phase 0) has collected substance to fill it; ask targeted questions if any section lacks substance (batch: combine into one round).
  • Rules compliance check: review rules from Phase 0; if any rule constrains what can be proposed, surface the conflict to the user before writing (batch: fold multiple conflicts into one round).

Phase 2: Write & Artifact Compliance Review

Use the template and outputPath from Phase 0. Use template structure EXACTLY. Never improvise sections, restructure, or add headers the template does not include. Apply instruction and rules as constraints — do NOT copy them into the file.

2.1 Write Proposal

Before writing — 2 mandatory steps:

Step 1 — Map Phase 1 to template: Phase 1 answers are in context — use them directly. Do NOT extract, summarize, or rephrase. For each template section (from Phase 0), map the full Phase 1 answer unchanged. Nothing left unmapped.

Step 2 — Density check: Proposal must be at least as dense as Phase 1.

Write from the mapping. Do NOT discard any Phase 1 answer.

CRITICAL — Missing or underrepresented information propagates as blind spots into all downstream artifacts. Every Phase 1 answer must appear with full weight and specificity intact.

2.2 Artifact Compliance Review (MANDATORY — single-shot)

Dispatch subagent of type general-purpose (use your subagent/task tool) with reviewer prompt below. Subagent loads written proposal into its own context, returns structured findings list, exits.

type-general-purpose dispatch: Claude Code Agent(general-purpose) · Devin/Windsurf run_subagent(subagent_general) · OpenCode @general · Codex spawn_agent (multi_agent=true) · Antigravity invoke_subagent(self) · Pi subagent · unlisted → self-assess; no dispatch tool → execute inline as self-check.

Discipline:

  • Single-shot — dispatch once, get findings, fix inline in root, surface for user review
  • NEVER re-dispatch after fixing
  • NEVER skip subagent because "proposal looks fine to me"
  • NEVER reload proposal into root for review — defeats the purpose
Reviewer Subagent Prompt
You are a proposal document reviewer for an OpenSpec change. Verify the proposal is
clean, intent-level, and ready for user review.

Inputs:
- Proposal file: <PROPOSAL_PATH>
- Template: <TEMPLATE_CONTENT_FROM_PHASE_0>

Read the proposal before reviewing. Check each category:

| Category | What to look for |
|---|---|
| Solution language | Why or Goals sections describe WHAT not HOW — no implementation detail |
| Tech selection | No databases, frameworks, or tools named without justification |
| Design leaks | No architecture, components, schemas, contracts, or workflows |
| Implementation leaks | No tasks, sequences, estimates, milestones, or execution plans |
| Placeholders | No TBD, TODO, "[fill in]", incomplete sections |
| Non-goals | At least one non-goal explicit |
| Scope cohesion | No independent subsystems crept in — single cohesive change |
| YAGNI | Every scope item traces to a stated user need — no "while we're at it" additions |
| Template compliance | Artifact sections match the provided template — no improvised, missing, or reordered sections |
| Terminology consistency | Same concept named consistently throughout |

Calibration: only flag issues that would mislead downstream phases or
cause spec/design to build the wrong thing. Minor wording improvements
and stylistic preferences are NOT issues.

Return format:

Status: Approved | Issues Found

Issues (if any):
- [Category]: [specific finding] — [why it matters]

Recommendations (advisory, do not block):
- [optional improvement suggestions]

After receiving reviewer's response:

  • Status Approved → surface proposal for user review
  • Status Issues Found → fix each Issue inline in root context, surface for user review (NEVER re-dispatch)

Anti-Patterns

NEVER propose architectures, components, services, APIs, schemas, contracts, or workflows. NEVER recommend technologies, frameworks, databases, or infrastructure. NEVER create tasks, milestones, work breakdowns, execution plans, or sequences. NEVER read source code. NEVER write a proposal covering multiple independent subsystems — decompose first.

Implementation details appear — redirect to the corresponding downstream phase.


Success Criteria

Succeeds: problem clear, goals separated from solutions, scope/non-goals explicit, impact identified, format compliant, reviewer dispatched once with findings applied.

Fails: written before lenses answered, multiple independent subsystems in one proposal, solution/tech/design/implementation language present, reviewer skipped/re-dispatched.

常见问题

Openspec Plus Proposal AI 技能有什么作用?

必需技能:每当 OpenSpec 进入 proposal 阶段时激活。触发条件:运行 /opsx-new 或 /opsx-continue;启用 openspec-new-change、openspec-continue-change 或 openspec-explore;调用 `openspec instructions proposal`;或用户希望创建、更新、审阅、完善或讨论 OpenSpec 提案。

为什么在 TypingMind 中使用 Openspec Plus Proposal?

因为您只需安装一次,就能搭配任何模型使用。Openspec Plus Proposal 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Openspec Plus Proposal?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/sudokar/openspec-plus/tree/main/skills/openspec-plus-proposal。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Openspec Plus Proposal?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Openspec Plus Proposal 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Openspec Plus Proposal 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Openspec Plus Proposal AI 技能免费吗?

是的。sudokar 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇