figura-cli 0.3.1 → 0.4.0
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/README.md +14 -0
- package/dist/index.js +84 -63
- package/package.json +3 -2
- package/skills/figura-fig/SKILL.md +230 -0
- package/skills/figura-fig/reference/brand-tokens.md +118 -0
- package/skills/figura-fig/reference/examples.md +104 -0
package/README.md
CHANGED
|
@@ -44,6 +44,20 @@ Resolution precedence:
|
|
|
44
44
|
| token | `FIGURA_TOKEN` env → `--token` flag → config file |
|
|
45
45
|
| apiUrl | `FIGURA_API_URL` env → `--api-url` flag → config → default `https://figura.so` |
|
|
46
46
|
|
|
47
|
+
## Claude Code skill
|
|
48
|
+
|
|
49
|
+
Install the bundled **`/fig`** skill so Claude Code can generate on-brand figs in
|
|
50
|
+
your team from any project:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
figura skill install # → ~/.claude/skills/figura-fig (global)
|
|
54
|
+
figura skill install --project # → ./.claude/skills (this repo only)
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Re-run it after upgrading `figura-cli` to update the skill — the skill version is
|
|
58
|
+
bundled with the CLI, so they stay in lockstep. Then, in Claude Code, just ask it
|
|
59
|
+
to mock up a screen or build a fig.
|
|
60
|
+
|
|
47
61
|
## Usage
|
|
48
62
|
|
|
49
63
|
```bash
|