@fui-org/fui-cli 1.0.4 → 1.0.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/README.md +17 -4
- package/dist/fui.js +158 -156
- package/package.json +1 -1
- package/skills/fui/SKILL.md +1 -1
package/README.md
CHANGED
|
@@ -58,7 +58,7 @@ This puts `fui` on your `PATH`, in `~/.bun/bin` on macOS and Linux and in `%USER
|
|
|
58
58
|
bunx --package @fui-org/fui-cli fui --help
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
A global install updates itself. At most once an hour, a command starts a background check against the npm registry. When a newer release exists, the check runs `bun add -g @fui-org/fui-cli@<latest>`. The command you ran is never delayed, and the next run prints one line saying what changed
|
|
61
|
+
A global install updates itself. At most once an hour, a command starts a background check against the npm registry. When a newer release exists, the check runs `bun add -g @fui-org/fui-cli@<latest>`. The command you ran is never delayed, and the next run prints one line saying what changed and refreshes the Claude skills.
|
|
62
62
|
|
|
63
63
|
- `fui update` updates now; `fui update --check` only reports.
|
|
64
64
|
- Turn it off with `fui config set auto-update off` or `FUI_AUTO_UPDATE=0`.
|
|
@@ -94,12 +94,25 @@ bun publish --otp <code>
|
|
|
94
94
|
|
|
95
95
|
## Use with an AI agent
|
|
96
96
|
|
|
97
|
+
A global install gives each AI agent on the machine two skills:
|
|
98
|
+
|
|
99
|
+
- `fui/SKILL.md` teaches the agent the commands, output format, exit codes and safety rules. `fui skill` prints the same guide.
|
|
100
|
+
- `fui-skill/` is the FUI domain skill from Fui MCP 1.4.0, unchanged: module.json, components, tAPI and SP references, design systems.
|
|
101
|
+
|
|
102
|
+
| Agent | Found when this folder exists | Skills go to |
|
|
103
|
+
| ----------- | ------------------------------------ | ------------------------------ |
|
|
104
|
+
| Claude Code | `~/.claude` (or `CLAUDE_CONFIG_DIR`) | `~/.claude/skills` |
|
|
105
|
+
| Codex | `~/.codex` (or `CODEX_HOME`) | `~/.agents/skills` |
|
|
106
|
+
| Antigravity | `~/.gemini/antigravity` | `~/.gemini/antigravity/skills` |
|
|
107
|
+
|
|
108
|
+
The skills are written on the first `fui` run after install, right after every update, and on the first run after you install another agent. On Windows, `~` is `%USERPROFILE%`. Each install replaces both folders, so keep your own notes elsewhere. Turn it off with `FUI_AUTO_SKILLS=0`.
|
|
109
|
+
|
|
110
|
+
To install by hand, for an agent not installed yet, or into another folder:
|
|
111
|
+
|
|
97
112
|
```bash
|
|
98
|
-
fui skill install
|
|
113
|
+
fui skill install [--agent claude,codex,antigravity|all] [--dir <skills-root>]
|
|
99
114
|
```
|
|
100
115
|
|
|
101
|
-
This writes `~/.claude/skills/fui/SKILL.md`, which teaches the agent the commands, output format, exit codes and safety rules. `fui skill` prints the same guide.
|
|
102
|
-
|
|
103
116
|
## Quick tour
|
|
104
117
|
|
|
105
118
|
```bash
|