據 AlphaMoat 統計,截至 2026-10,OpenSpec 累計下載 13,621 次、獲 7 個星標,按累計下載量在本次參與排名的 10,914 個 AI 技能中排名第 2,045 位,在「開發程式設計」分類(1,069 個)中排名第 144 位。
列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。
| 平台 | 累計下載 | 星標 | 評論 |
|---|---|---|---|
| ClawHub ↗ | 5133 | - | - |
| SkillHub ↗ | 1.4萬 | 7 | — |
各平台的計數口徑不同,統計時間不一致。
它用提案、規格、設計和任務組織功能開發、遷移與重構,並按新建、規劃、實施、驗證、歸檔推進。全域 @latest 可能改變安裝版本行為,工作流也可能改動專案檔案,寫入或歸檔前應審閱。 使用 npm 與已審核固定的專案內 OpenSpec CLI;流程為新建、規劃、實作、驗證、封存,封存會將增量規格合入主規格並移動變更。確認寫入並檢查產生的整合檔案。
資料釋出於 2026-10-27
以下是根據技能文件生成的示例,不代表實際執行結果。
2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。
| 月份 | 累計下載 | 環比 | 星標 |
|---|---|---|---|
| 2026-10 | 1.4萬 | — | 7 |
| 2026-09 | 7202 | — | 7 |
| 2026-08 | 5766 | +11.0% | 7 |
| 2026-07 | 5196 | +24.5% | 6 |
| 2026-06 | 4175 | +1.5% | - |
| 2026-05 | 4113 | — | 2 |
以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。
--- name: openspec description: Spec-driven development with OpenSpec CLI. Use when building features, migrations, refactors, or any structured development work. Manages proposal → specs → design → tasks → implementation workflows. Supports custom schemas (TDD, rapid, etc.). Trigger on requests involving feature planning, spec writing, change management, or when /opsx commands are mentioned. --- # OpenSpec — Spec-Driven Development OpenSpec structures AI-assisted development into trackable changes with artifacts (proposal, specs, design, tasks) that guide implementation. ## Setup
```bash
# Install globally
npm install -g @fission-ai/openspec@latest
# Initialize in a project
cd /path/to/project
openspec init --tools claude
# Update after CLI upgrade
openspec update
```
## Core Workflow
Each change follows: **new → plan → apply → verify → archive**
### 1. Start a Change
```bash
# Create change folder with default schema
openspec new change <name>
# With specific schema
openspec new change <name> --schema tdd-driven
```
### 2. Plan (Create Artifacts)
Use the CLI `instructions` command to get enriched prompts for each artifact:
```bash
# Get instructions for next artifact
openspec instructions --change <name> --json
# Check progress
openspec status --change <name> --json
```
**Artifact sequence (spec-driven schema):**
1. `proposal.md` — Why and what (intent, scope, approach)
2. `specs/` — Requirements + scenarios (Given/When/Then)
3. `design.md` — Technical approach and architecture decisions
4. `tasks.md` — Implementation checklist with checkboxes
### 3. Implement
Read `tasks.md` and work through items, marking `[x]` as complete.
### 4. Verify
```bash
openspec validate --change <name> --json
```
Checks completeness, correctness, and coherence.
### 5. Archive
```bash
openspec archive <name> --yes
```
Merges delta specs into main `openspec/specs/` and moves change to archive.
## Agent Workflow (How to Use as an AI Agent)
When the user asks to build/migrate/refactor something with OpenSpec:
1. **Check project state:**
```bash
openspec list --json # Active changes
openspec list --specs --json # Current specs
openspec schemas --json # Available schemas
```
2. **Create the change:**
```bash
openspec new change <name> [--schema <schema>]
```
3. **For each artifact**, get instructions and create the file:
```bash
openspec instructions <artifact> --change <name> --json
openspec status --change <name> --json
```
Then write the artifact file to `openspec/changes/<name>/`.
4. **Implement** tasks from `tasks.md`.
5. **Validate and archive:**
```bash
openspec validate <name> --json
openspec archive <name> --yes
```
## CLI Quick Reference
| Command | Purpose |
|---------|---------|
| `openspec list [--specs] [--json]` | List changes or specs |
| `openspec show <name> [--json]` | Show change/spec details |
| `openspec status --change <name> [--json]` | Artifact completion status |
| `openspec instructions [artifact] --change <name> [--json]` | Get enriched creation instructions |
| `openspec validate [name] [--all] [--json]` | Validate changes/specs |
| `openspec archive <name> [--yes]` | Archive completed change |
| `openspec schemas [--json]` | List available schemas |
| `openspec templates [--json]` | Show template paths |
| `openspec config` | View/modify settings |
Always use `--json` for programmatic/agent use.
## Custom Schemas
Schemas define artifact sequences. Create custom ones for different workflows:
```bash
# Fork built-in schema
openspec schema fork spec-driven my-workflow
# Create from scratch
openspec schema init my-workflow
# Validate
openspec schema validate my-workflow
```
Schema files live in `openspec/schemas/<name>/schema.yaml` with templates in `templates/`.
For schema structure details, see [references/schemas.md](references/schemas.md).
## Project Structure
```
project/
├── openspec/
│ ├── config.yaml # Project config (default schema, context, rules)
│ ├── specs/ # Source of truth — current system behavior
│ ├── changes/ # Active changes (one folder each)
│ │ └── <change-name>/
│ │ ├── .openspec.yaml
│ │ ├── proposal.md
│ │ ├── specs/ # Delta specs (what's changing)
│ │ ├── design.md
│ │ └── tasks.md
│ └── schemas/ # Custom schemas
└── .claude/skills/ # Auto-generated Claude integration
```
## Spec Format
Specs use RFC 2119 keywords (SHALL/MUST/SHOULD/MAY) with Given/When/Then scenarios:
```markdown
### Requirement: User Authentication
The system SHALL issue a JWT token upon successful login.
#### Scenario: Valid credentials
- GIVEN a user with valid credentials
- WHEN the user submits login form
- THEN a JWT token is returned
```
## Delta Specs
Changes don't rewrite specs — they describe deltas (ADDED/MODIFIED/REMOVED) that merge into main specs on archive.
## Config
`openspec/config.yaml` sets defaults:
```yaml
schema: spec-driven # or tdd-driven, rapid, custom
context: |
Tech stack: TypeScript, React, Node.js
Testing: Jest
rules:
proposal:
- Include rollback plan
specs:
- Use Given/When/Then format
```
【全棧能力】程式設計大神.Skill:面向複雜真實專案的高階全棧程式設計助手。不止生成程式碼,而是從一句目標接手陌生程式碼庫,拆解需求、補齊實現、追到根因、完成重構、聯調前後端,並把結果推進到能執行、能驗證、能交付。覆蓋 Web、後端、指令碼、iOS、安卓、鴻蒙 ArkUI、微信小程式及其他技術棧,支援中英文工程、疑難 Bug、跨模組任務和長任務續做;用構建、日誌、真實入口、裝置或介面證據說明結果。僅問概念時直接回答,要求落地時持續推進到驗收或明確阻塞。
程式設計專家 Pro:融合程式設計專家 2.0.3 工程專題與程式設計大神的鴻蒙 ArkTS/ArkUI、微信小程式和小遊戲開發資料。用於專案實現、根因除錯、審查、重構、測試、架構效能分析及多端開發驗證。支援自然語言和 @專題標識,按任務讀取包內知識;只問概念時直接回答。
程式設計專家.Skill P8級程式設計助手,25年實戰經驗技能Skill,全棧:Java/Php網站/軟體專案、API設計、Bug診斷、程式碼生成、程式碼審查、重構、測試用例、效能基準、技術選型、文件生成、任務拆解、Spec驅動、Karpathy規範、CMS二次開發、前端設計、MySQL/Mariadb、專案知識圖譜,以及工程紀律層(根因除錯硬閉環、階段導航、事故復盤/SLO、威脅建模/供應鏈安全、生產就緒/漸進式釋出、AI編碼治理、面向Agent程式碼可讀性、LLM應用安全)。支援 @標識 顯式呼叫跳過路由。
程式設計專家.Skill P8級程式設計助手,25年實戰經驗技能Skill,全棧:Java/Php網站/軟體專案、API設計、Bug診斷、程式碼生成、程式碼審查、重構、測試用例、效能基準、技術選型、文件生成、任務拆解、Spec驅動、Karpathy規範、CMS二次開發、前端設計、MySQL/Mariadb、專案知識圖譜,以及工程紀律層(根因除錯硬閉環、階段導航、事故復盤/SLO、威脅建模/供應鏈安全、生產就緒/漸進式釋出、AI編碼治理、面向Agent程式碼可讀性、LLM應用安全)。支援 @標識 顯式呼叫跳過路由。
程式設計專家 Pro:融合程式設計專家 2.0.3 工程專題與程式設計大神的鴻蒙 ArkTS/ArkUI、微信小程式和小遊戲開發資料。用於專案實現、根因除錯、審查、重構、測試、架構效能分析及多端開發驗證。支援自然語言和 @專題標識,按任務讀取包內知識;只問概念時直接回答。
程式設計專家 Pro:融合程式設計專家 2.0.3 工程專題與程式設計大神的鴻蒙 ArkTS/ArkUI、微信小程式和小遊戲開發資料。用於專案實現、根因除錯、審查、重構、測試、架構效能分析及多端開發驗證。支援自然語言和 @專題標識,按任務讀取包內知識;只問概念時直接回答。
程式設計專家.Skill P8級程式設計助手,25年實戰經驗技能Skill,全棧:Java/Php網站/軟體專案、API設計、Bug診斷、程式碼生成、程式碼審查、重構、測試用例、效能基準、技術選型、文件生成、任務拆解、Spec驅動、Karpathy規範、CMS二次開發、前端設計、MySQL/Mariadb、專案知識圖譜,以及工程紀律層(根因除錯硬閉環、階段導航、事故復盤/SLO、威脅建模/供應鏈安全、生產就緒/漸進式釋出、AI編碼治理、面向Agent程式碼可讀性、LLM應用安全)。支援 @標識 顯式呼叫跳過路由。
用 gh 命令列工具檢視 GitHub 上的 PR 檢查、工作流執行與 API 查詢的技能。
資料月份:2026-10 · 下載/星標數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。