Skip to content

OpenSpec-Workflow

OpenPencil verwendet OpenSpec für spezifikationsgetriebene Entwicklung. Spezifikationen sind die Wahrheitsquelle.

Struktur

openspec/
├── specs/              # Source of truth
│   ├── scene-graph/
│   ├── canvas-rendering/
│   ├── auto-layout/
│   └── ...             # 19 capability specs
├── changes/
│   └── archive/
└── config.yaml

Aktuelle Spezifikationen

CapabilityDescription
scene-graphFlat Map, CRUD, hit testing
canvas-renderingCanvasKit WASM rendering
auto-layoutYoga WASM flexbox
fig-import.fig file import
kiwi-codecKiwi binary codec
editor-uiVue 3 panels, toolbar
desktop-appTauri v2
testingPlaywright + bun:test
toolingVite, oxlint, tsgo

Workflow

1. Änderung vorschlagen

/opsx:propose change-name

→ proposal.md, design.md, specs/, tasks.md

2. Implementieren

/opsx:apply

3. Archivieren

/opsx:archive

Spezifikationsformat

markdown
# capability-name Specification
## Requirements
### Requirement: Name
#### Scenario: Name
- **WHEN** condition
- **THEN** expected outcome

CLI-Befehle

sh
openspec list
openspec show <name>
openspec status --change <name>
openspec archive <name>

Released under the MIT License.