Token导航 LogoToken导航TokenDH.com
开发操作浏览器github未标认证来源可访问clear审计通过

openspecOpenSpec 规范

Agent Skill

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

总安装

6,891

周安装

293

GitHub Stars

14

下载量

2,414
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/itechmeat/llm-code --skill openspec

简介

openspec 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理的场景。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 该技能归类为开发,适合 OpenSpec 规范相关的协作支持。

SKILL.md

OpenSpec (OPSX) Skill

Use this skill to guide or reason about the OpenSpec artifact-driven workflow system (OPSX), including artifact graphs, schema/template resolution, change lifecycle, and experimental commands/skills.

Quick Navigation

  • Artifact graph core concepts: references/artifact-core.md
  • OPSX workflow behavior and usage: references/opsx-workflow.md
  • Setup + profiles (init, update, config profile): references/setup-profiles.md
  • Schema customization workflow and gaps: references/schema-customization.md
  • End-to-end schema workflow gaps and proposed solution: references/schema-workflow-gaps.md
  • Experimental release plan and rollout checklist: references/experimental-release-plan.md

Release Highlights (1.2.0 → 1.3.0)

  • More tool integrations: adds support for Junie, Lingma, ForgeCode, and IBM Bob.
  • Safer setup: shell completion installation is now opt-in, and Copilot auto-detection no longer triggers from a bare .github/ directory alone.
  • Adapter fixes: Pi command generation was corrected, and OpenCode now uses the canonical .opencode/commands/ path.
  • Safer status checks: openspec status now exits cleanly when a project has no changes yet.

OPSX Commands

CommandPurpose
/opsx:exploreThink through ideas, investigate problems (no structure)
/opsx:newStart a new change
/opsx:continueCreate next artifact based on dependencies
/opsx:ffFast-forward — create all planning artifacts at once
/opsx:applyImplement tasks, updating artifacts as needed
/opsx:verifyValidate implementation matches spec
/opsx:syncSync delta specs to main specs
/opsx:archiveArchive single completed change
/opsx:bulk-archiveArchive multiple completed changes at once

Legacy (non-OPSX) command: /openspec:proposal creates all planning artifacts at once. Prefer OPSX, but this can be useful for small/straightforward changes or older setups.

Schema Management

openspec schemas                    # List available schemas
openspec schema which --all         # Show resolution sources
openspec schema init my-workflow    # Create new schema interactively
openspec schema fork spec-driven my-workflow  # Fork existing schema
openspec schema validate my-workflow  # Validate schema structure

Project Configuration

Create openspec/config.yaml for per-project settings:

schema: spec-driven

context: |
  Tech stack: TypeScript, React, Node.js
  Testing: Vitest, Playwright

rules:
  proposal:
    - Include rollback plan
  specs:
    - Use Given/When/Then format

Schema precedence: CLI flag → Change metadata → Project config → Default (spec-driven)

Core Concepts

  • Artifact graph, not a workflow engine: Dependencies enable actions; they do not force linear phases.
  • Filesystem-as-database: Completion is derived from file existence, not stored state.
  • Deterministic CLI: Commands require explicit change context (agent infers, CLI remains strict).
  • XDG schema resolution: User overrides take precedence over built-ins.
  • Templates are schema-scoped: Templates live next to schema and resolve with a strict 2-level fallback.

Decision Rules

  • Prefer update when intent stays the same and you are refining scope or approach.
  • Prefer new change when intent or scope fundamentally shifts, or the original can be completed independently.
  • Always preserve a clear history of why artifacts changed (proposal/specs/design/tasks).

Recipes

1) Show what is ready to create next

  1. Determine the active change id.
  2. Query status and ready artifacts with the change explicitly set.
  3. Present ready artifacts and their dependencies.

Expected behavior: show ready artifacts, not required steps.

2) Generate instructions for a specific artifact

  1. Resolve schema and template with XDG fallback.
  2. Build context: change metadata, dependency status, and target paths.
  3. Return enriched instructions in plain Markdown.

3) Start a new change

  1. Validate change name (kebab-case).
  2. Create change directory and README.
  3. Show initial status and first ready artifact.

4) Schema customization guidance

  1. Explain XDG override paths.
  2. Describe copying built-in schema + templates.
  3. Provide verification steps or recommended CLI commands for listing and resolving.

5) Explain schema binding for a change

  1. Prefer change metadata if available.
  2. Fallback to project default schema if configured.
  3. Otherwise default to spec-driven.

Prohibitions

  • Do not treat the system as a linear workflow engine.
  • Do not assume a change is active without explicit selection.
  • Do not silently fall back between schemas or templates without reporting.
  • Do not copy long vendor docs verbatim; summarize and provide actionable guidance.

Output Expectations

  • Give clear artifact readiness and dependency explanations.
  • Use explicit change identifiers in examples.
  • Provide concise, actionable steps and indicate whether they are informational or required.

Links

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

github-copilot

28.08%
按下载量换算678

OpenCode

22.06%
按下载量换算533

Claude Code

15.92%
按下载量换算384

windsurf

12.38%
按下载量换算299

amp

7.76%
按下载量换算187

Gemini CLI

3.19%
按下载量换算77

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills