Token导航 LogoToken导航TokenDH.com
待分类需要联网github未标认证来源可访问许可证需确认审计通过

042-planning-openspec042 规划 openspec

Agent Skill

042-planning-openspec 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

890

周安装

36

GitHub Stars

365

下载量

279
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:042-planning-openspec(042 规划 openspec)
来源仓库:https://github.com/jabrena/cursor-rules-java
仓库路径:skills/042-planning-openspec
安装命令:
npx skills add https://github.com/jabrena/cursor-rules-java --skill 042-planning-openspec
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jabrena/cursor-rules-java --skill 042-planning-openspec

简介

该技能适用于需要将开发计划自动转换为 OpenSpec 变更流程的场景,如设计评审、任务拆解和规格更新。核心能力包括解析 plan.md 文件、验证 OpenSpec CLI 环境、初始化项目或更新现有变更,并生成提案、设计和任务清单。使用方式为通过 npx 安装后交互式引导完成变更创建与归档。安装前请确认是否具备 npm 权限、CLI 可执行路径及网络访问能力,避免在非受控环境中运行命令。

SKILL.md

OpenSpec Change Planning from *.plan.md

Guide the process of turning an implementation plan (*.plan.md) into an OpenSpec change workflow. This is an interactive SKILL. It verifies CLI availability, initializes OpenSpec when needed, and then creates or updates a change with proposal, design, tasks, and spec deltas.

What is covered in this Skill?

  • Input analysis from *.plan.md (scope, change-id candidate, affected capabilities)
  • Installation and availability checks for OpenSpec CLI
  • Recommended installation paths on macOS, Linux, and Windows using npm
  • OpenSpec project bootstrapping with openspec init
  • Existing-project workflow using openspec list, openspec status, openspec show
  • Validation and completion flow with openspec validate --all and openspec archive
  • Example-root workflow at examples/requirements-examples/problem1/requirements/openspec

Constraints

Always execute OpenSpec commands from the parent directory that contains the openspec/ folder. Do not invent requirements not present in the *.plan.md; convert plan intent into explicit OpenSpec change artifacts.

  • MUST: Start by reading and summarizing the provided *.plan.md
  • MUST: Check CLI availability with openspec --version before any OpenSpec operation
  • MUST: If OpenSpec is missing, provide macOS, Linux, and Windows install guidance via npm command
  • MUST: Offer openspec init when no OpenSpec project exists
  • MUST: When creating a new OpenSpec project, run plain openspec init only (do not use --tools... options)
  • MUST: Use a stable change-id (for example: add-dark-mode) for status/show/archive commands
  • MUST: Run openspec validate --all before archiving
  • MUST: When a feature/change is completed (all checklist tasks done), guide the user to archive it (for example: openspec archive us-001-god-analysis-api)
  • MUST: In tasks.md, generate a single OpenSpec checklist (- [] / - [x]) only; do not add a second table-based task list
  • MUST: Explain whether the workflow creates a new change or updates an existing one
  • EDGE CASE: If request scope is ambiguous, stop and ask a clarifying question before applying changes
  • EDGE CASE: If required inputs, files, or tooling are missing, report what is missing and ask whether to proceed with setup guidance

When to use this skill

  • Convert *.plan.md into OpenSpec
  • Add change proposal from plan
  • Update existing OpenSpec project
  • Initialize OpenSpec in requirements folder
  • Validate and archive OpenSpec change

Workflow

  1. Read and summarize plan input

Read references/042-planning-openspec.md and the provided *.plan.md, then summarize scope and identify candidate change-id and affected capabilities.

  1. Check OpenSpec CLI and install gate

Run openspec --version; if missing, provide npm installation guidance for macOS, Linux, and Windows before proceeding.

  1. Initialize or detect OpenSpec project

From the parent directory containing openspec/, run project checks and offer openspec init (without --tools) when initialization is needed.

  1. Create or update change artifacts

Explain whether this is a new or existing change, then create/update proposal, design, tasks, and spec deltas using a stable change-id.

  1. Validate and close workflow

Run openspec validate --all; when checklist tasks are complete, guide the user to archive the change with openspec archive <change-id>.

Reference

For detailed guidance, examples, and constraints, see references/042-planning-openspec.md.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.76%
按下载量换算100

Claude

29.09%
按下载量换算81

Cursor

19.16%
按下载量换算53

Gemini CLI

9.49%
按下载量换算26

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills