opencodekit 0.19.3 → 0.19.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/template/.opencode/agent/vision.md +5 -5
- package/dist/template/.opencode/dcp-prompts/defaults/compress-message.md +11 -12
- package/dist/template/.opencode/dcp-prompts/defaults/compress-range.md +1 -1
- package/dist/template/.opencode/dcp-prompts/defaults/context-limit-nudge.md +3 -9
- package/dist/template/.opencode/dcp-prompts/defaults/iteration-nudge.md +0 -2
- package/dist/template/.opencode/dcp-prompts/defaults/system.md +0 -13
- package/dist/template/.opencode/dcp-prompts/defaults/turn-nudge.md +1 -2
- package/dist/template/.opencode/dcp.jsonc +8 -2
- package/dist/template/.opencode/memory.db +0 -0
- package/dist/template/.opencode/memory.db-shm +0 -0
- package/dist/template/.opencode/memory.db-wal +0 -0
- package/dist/template/.opencode/opencode.json +1679 -1684
- package/dist/template/.opencode/opencodex-fast.jsonc +3 -0
- package/dist/template/.opencode/package.json +1 -1
- package/dist/template/.opencode/skill/pencil/SKILL.md +36 -32
- package/package.json +1 -1
|
@@ -1,68 +1,72 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: pencil
|
|
3
|
-
description:
|
|
3
|
+
description: OpenPencil design-as-code workflow (legacy skill name: pencil). Create/edit .op files, export code, and use desktop-bundled MCP.
|
|
4
4
|
version: 1.0.0
|
|
5
|
-
tags: [design,
|
|
5
|
+
tags: [design, openpencil, mcp, cli]
|
|
6
6
|
mcp:
|
|
7
7
|
pencil:
|
|
8
|
-
command:
|
|
9
|
-
args: ["--app", "desktop"]
|
|
8
|
+
command: openpencil-mcp
|
|
10
9
|
---
|
|
11
10
|
|
|
12
|
-
#
|
|
11
|
+
# OpenPencil Skill
|
|
12
|
+
|
|
13
|
+
Legacy skill name: `pencil`.
|
|
13
14
|
|
|
14
15
|
## When to Use
|
|
15
16
|
|
|
16
|
-
- Create or modify UI designs as code using `.
|
|
17
|
-
- Export
|
|
18
|
-
-
|
|
17
|
+
- Create or modify UI designs as code using `.op` files.
|
|
18
|
+
- Export production code or visuals from the terminal.
|
|
19
|
+
- Use OpenPencil's desktop-bundled MCP server after installing the app.
|
|
19
20
|
|
|
20
21
|
## Prerequisites
|
|
21
22
|
|
|
22
23
|
### Install CLI
|
|
23
24
|
|
|
24
25
|
```bash
|
|
25
|
-
npm install -g @
|
|
26
|
-
|
|
26
|
+
npm install -g @zseven-w/openpencil
|
|
27
|
+
op status
|
|
27
28
|
```
|
|
28
29
|
|
|
29
|
-
###
|
|
30
|
+
### Install Desktop App for MCP
|
|
30
31
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
- Install the OpenPencil desktop app from the ZSeven-W/openpencil releases page.
|
|
33
|
+
- Open **Agent Settings** inside OpenPencil and use the one-click MCP install for OpenCode/Claude Code/Codex/etc.
|
|
34
|
+
- The npm CLI install does **not** provide `openpencil-mcp`; that binary is bundled with the desktop app.
|
|
34
35
|
|
|
35
36
|
### MCP Server
|
|
36
37
|
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
38
|
+
- OpenPencil ships a built-in MCP server for agent tooling.
|
|
39
|
+
- The server command is `openpencil-mcp` once the desktop app has installed/exposed it.
|
|
40
|
+
- Keep MCP disabled in template config until OpenPencil desktop is installed locally.
|
|
40
41
|
|
|
41
42
|
## Quick Start
|
|
42
43
|
|
|
43
44
|
```bash
|
|
44
45
|
# Create new design
|
|
45
|
-
|
|
46
|
+
op design @landing.txt
|
|
46
47
|
|
|
47
|
-
#
|
|
48
|
-
|
|
48
|
+
# Start the desktop app
|
|
49
|
+
op start
|
|
49
50
|
|
|
50
|
-
# Export
|
|
51
|
-
|
|
51
|
+
# Export code
|
|
52
|
+
op export react --out .
|
|
52
53
|
|
|
53
|
-
#
|
|
54
|
-
|
|
54
|
+
# Import a Figma file
|
|
55
|
+
op import:figma design.fig
|
|
55
56
|
```
|
|
56
57
|
|
|
57
|
-
## Core
|
|
58
|
+
## Core CLI Commands
|
|
58
59
|
|
|
59
|
-
- `
|
|
60
|
-
- `
|
|
61
|
-
- `
|
|
62
|
-
- `
|
|
63
|
-
- `
|
|
60
|
+
- `op design @brief.txt`
|
|
61
|
+
- `op design:skeleton`
|
|
62
|
+
- `op design:content`
|
|
63
|
+
- `op design:refine --root-id <id>`
|
|
64
|
+
- `op export react --out .`
|
|
65
|
+
- `op import:figma design.fig`
|
|
64
66
|
|
|
65
67
|
## Notes
|
|
66
68
|
|
|
67
|
-
-
|
|
68
|
-
-
|
|
69
|
+
- OpenPencil uses `.op` files as the source of truth.
|
|
70
|
+
- CLI install is published on npm as `@zseven-w/openpencil` and exposes the `op` binary.
|
|
71
|
+
- MCP is a desktop-app-bundled feature, not a standalone npm package.
|
|
72
|
+
- Use taste-skill for design quality, OpenPencil for execution.
|