modelscope.cn

openspec-cli

Guidelines for using the OpenSpec CLI tool in non-interactive environments. Use this skill when validating specifications or changes to ensure commands run successfully without user intervention.

Installation

$ npx skills add https://modelscope.cn

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from modelscope.cn · top by installs.

npx skills add https://modelscope.cn

Browse all from modelscope.cn

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

More metadata
short-description
Run OpenSpec validation non-interactively

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,304 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

OpenSpec CLI Guidelines

This skill provides instructions for using the openspec command-line interface (CLI) effectively within the MCP environment, where interactive prompts are not supported.

Core Principles

  • Non-Interactive Mode: Always use flags that bypass interactive prompts.
  • Explicit Targets: Specify exactly what to validate to avoid ambiguity.

Validation Commands

The default openspec validate command triggers an interactive mode which will cause the agent to hang or fail. Use the following explicit commands instead:

Validate All

To validate the entire project:

openspec validate --all

Validate Changes

To validate only the currently changed files (useful for quick checks):

openspec validate --changes

Validate Specifications

To validate only the specification files:

openspec validate --specs

Validate Specific Item

To validate a specific item by name:

openspec validate <item-name>