skills/openspec/SKILL.md
Use when planning new features, starting spec-driven development workflows, or when the user mentions OpenSpec, SDD, or spec-driven development. Also triggers when user asks about feature specifications, change proposals, or wants to organize development workflow.
npx skillsauth add seikaikyo/dash-skills openspecInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
OpenSpec 是一個規格驅動開發 (Spec-Driven Development, SDD) 框架,讓你在寫程式碼之前先寫規格,確保開發方向正確、減少返工。
| 指令 | 功能 |
|------|------|
| dash spec init . | 初始化 OpenSpec |
| dash spec list . | 列出活動變更 |
| dash spec view . | 互動式儀表板 |
| dash spec show . <name> | 顯示變更詳情 |
| dash spec validate . <name> | 驗證規格格式 |
| dash spec archive . <name> | 歸檔完成的變更 |
| dash spec status . | 快速狀態總覽 |
| 指令 | 功能 |
|------|------|
| openspec init | 初始化 |
| openspec list | 列出變更 |
| openspec view | 互動式儀表板 |
| openspec show <name> | 顯示詳情 |
| openspec validate <name> | 驗證格式 |
| openspec archive <name> | 歸檔變更 |
1. SPEC (規格化)
└── 定義功能規格 → openspec/specs/feature-name.md
2. PROPOSE (提案)
└── 建立變更提案 → openspec/changes/change-name.md
3. IMPLEMENT (實作)
└── 根據規格實作程式碼
4. VERIFY (驗證)
└── 確認實作符合規格
5. ARCHIVE (歸檔)
└── 完成後歸檔變更 → dash spec archive . change-name
project/
└── openspec/
├── specs/ # 功能規格
│ ├── auth.md
│ └── dashboard.md
├── changes/ # 活動變更提案
│ └── add-login-feature.md
└── archive/ # 已歸檔的變更
└── 2026-01-setup-project.md
---
title: 使用者認證
status: active
created: 2026-01-17
---
# 使用者認證
## 概述
實作使用者登入/登出功能。
## 功能需求
1. 支援 Email + 密碼登入
2. 支援 Google OAuth
3. 記住登入狀態
## API 規格
- POST /api/auth/login
- POST /api/auth/logout
- GET /api/auth/me
## 相關變更
- [[add-login-feature]]
---
title: 新增登入功能
type: feature
status: in-progress
spec: auth
created: 2026-01-17
---
# 新增登入功能
## 變更內容
實作 Email + 密碼登入功能。
## 影響範圍
- `src/auth/` 目錄
- `src/api/routes/auth.ts`
## 測試計畫
1. 單元測試: 登入邏輯
2. 整合測試: API 端點
3. E2E 測試: 登入流程
## Checklist
- [ ] 實作登入表單
- [ ] 實作 API 端點
- [ ] 撰寫測試
- [ ] 更新文件
dash validate . 自動驗證規格dash health . 顯示規格健康度dash spec status . 快速總覽# 自動偵測 openspec/ 並驗證
dash validate .
# 檢查項目:
# - 目錄結構完整性
# - 規格檔案格式
# - 過期變更提醒
# 顯示規格健康度
dash health .
# 評分項目:
# - 規格覆蓋率
# - 變更處理率
# - 格式正確性
# 安裝 OpenSpec CLI
npm install -g @fission-ai/openspec@latest
# 驗證安裝
openspec --version
# 在專案中初始化
cd your-project
dash spec init .
npm install -g @fission-ai/openspec@latest
確保每個 .md 檔案都有 YAML frontmatter:
---
title: 規格標題
status: active
---
# 內容...
使用 dash spec archive . <name> 歸檔已完成的變更。
tools
Conduct comprehensive GDPR compliance assessments by evaluating data processing activities against EU Regulation 2016/679, including Article 30 records of processing, lawful basis validation, data subject rights implementation, Data Protection Impact Assessments (DPIAs) under Article 35, breach notification procedures, international transfer safeguards (SCCs, adequacy decisions), and technical/organizational measures under Article 32. Use when processing personal data of EU residents, preparing for supervisory authority audits, implementing privacy-by-design for new systems, scoping compliance gaps for M&A due diligence, assessing third-party processors, or responding to data subject access requests at scale. Incorporates 2026 guidance from ICO, EDPB, and post-Data (Use and Access) Act 2025 UK-GDPR considerations. Do not use for implementing specific Article 32 controls — use implementing-gdpr-data-protection-controls; or for DSAR automation — use implementing-gdpr-data-subject-access-request.
tools
Parse Windows forensic artifacts—$MFT/$J (MFTECmd), Prefetch (PECmd), registry hives (RECmd), shellbags, and Amcache—into normalized CSV/JSON with Eric Zimmerman's EZ Tools, then load results into Timeline Explorer for analysis. Use during DFIR/incident-response investigations, after triage collection (e.g. with KAPE), to establish program execution, file/folder access, and persistence evidence from acquired forensic images.
development
Build automated multi-turn adversarial attacks against conversational LLM targets using Microsoft PyRIT's RedTeamingOrchestrator, CrescendoOrchestrator (gradual escalation), and TreeOfAttacksWithPruningOrchestrator (adaptive branching), with scorer feedback loops and persisted conversation memory. Use when single-shot LLM scanning is insufficient and you need multi-turn, scorer-driven AI red-team campaigns against a chatbot or agent.
testing
Stand up MISP, enable and cache curated threat feeds (CIRCL, abuse.ch, Feodo Tracker), apply warninglists to suppress false positives, query indicators with PyMISP, and export attributes as auto-generated Suricata/Sigma/Wazuh detection rules. Use when maturing a MISP instance to actively drive detection, curating threat feeds with quality controls, or automating IOC-to-detection pipelines for the SIEM/IDS.