tiger-js-cli
v0.2.0
Published
Command-line tools for a Tiger app: tiger check (diagnostics), tiger map (a structured JSON map of the app), and tiger skill install (the Tiger Skill for Claude Code).
Maintainers
Readme
tiger-js-cli
Three commands for a Tiger project: two read-only diagnostics, no build, no browser, just the files already on disk, and one that installs the Tiger Skill for Claude Code.
npm install -g tiger-js-clitiger check
The same diagnostics the VS Code extension gives a human ("no cell named taks, did you mean
task?"), as a command instead of a squiggle only an editor can show:
$ tiger check
pages/tasks.html:22:14 warning Tiger: no cell named "newTag". Did you mean "newtag"?
0 error(s), 1 warning(s)Exits with a non-zero code on any diagnostic, error or warning, so it works as a pass/fail gate in
a script or an agent loop. Add --json for structured output.
tiger map
The whole shape of the app, read once instead of pieced together file by file: every route, every
component (straight from components.json), every cell and its shape, every action, every
machine.
$ tiger map
routes: home, settings, task
components: task-item, empty-state, t-tabs, t-chips, …
cells: left, filter, search, tasks, task, draft, theme, …
actions: addTask--json gives the full structured version, including each cell's declared shape (task becomes
{ id, text, done, priority, tags }).
tiger skill install
Writes the Tiger Skill, a SKILL.md file Claude Code loads on its own once it recognizes a
Tiger project (a <cells> block, a pages/ folder, a components.json), no copy, paste, or
prompt engineering needed.
tiger skill installInstalls to ~/.claude/skills/tiger/SKILL.md by default, so it's available in every Tiger
project you open from then on, not just the one you ran it from. Pass --project to install it
into just the current project instead (.claude/skills/tiger/SKILL.md):
tiger skill install --projectSafe to run again any time: it reports installed, updated, or unchanged and only writes
when something actually changed. This is Claude Code specific, it does nothing for other AI
coding tools; for those, see AGENTS.md (seeded into every scaffold) or primer.md (paste into
any chat).
Usage
tiger check [dir] [--json]
tiger map [dir] [--json]
tiger skill install [--project]dir defaults to the current folder. check and map expect the usual Tiger project shape:
app.html, shared.cells, pages/*.html, components/*.html, components.json, the same
convention the router already uses.
