opsx-workspace-gate

Installation
SKILL.md

OPSX Workspace Gate

Internal shared skill for OPSX workflows. It establishes an OpenSpec project root and verifies native-skill prerequisites before the host starts its workflow-specific orchestration.

1. Locate the project root

Use this priority order and stop at the first unique result:

  1. The current working directory contains openspec/.
  2. Walk upward from the current edit file and use the first ancestor containing openspec/.
  3. Scan direct children of the current working directory for openspec/.
    • One match: use it.
    • Multiple matches: list candidates and wait for the user to select one.
  4. No match: stop and ask the user to enter an initialized OpenSpec project or run openspec init.

Output 【工程定位结果】目标工程根:<absolute path>. Run subsequent OpenSpec paths, CLI commands, and native-skill delegation from that root; if changing the working directory is unavailable, use absolute paths.

2. Verify the OpenSpec directory

Installs
30
GitHub Stars
6
First Seen
Jul 29, 2026
opsx-workspace-gate — fudesign2008/open-skills