vela-slides-83c0b8 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited vela-slides-83c0b8 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
v2.5.1 · 2026-03-20 · Three formats (full/compact/turbo), vela deck compact/expand/turbo, 262 tests, auto-expand pipelineGenerate presentation-ready slide decks and assemble them into runnable Vela .jsx artifacts. Also supports modular editing of the Vela app itself.
Read the references — they contain the complete block schema, design patterns, and theming system:
Read references/block-schema.md # All 20+ block types with properties
Read references/design-patterns.md # Layout rules, slide archetypes, composition
Read references/themes.md # Color palettes, theming systemFor app editing (part-files, concat, template), read references/app-editing.md.The vela CLI is a single entry point for all deck operations. Install once per session:
export PATH="/home/claude/.local/bin:$PATH"
ln -sf /mnt/skills/user/vela-slides/scripts/vela.py /home/claude/.local/bin/velaDiscovery (zero turns wasted):
vela --capabilities # JSON index of all commands, flags, exit codes
vela --help # Human-readable overviewVela supports three JSON formats. All commands auto-detect and auto-expand as needed.
| Format | Detection | Token savings | Use case |
|---|---|---|---|
| Full | has "lanes" key | baseline | editing, shipping, human-readable |
| Compact | has "S" key | ~32% fewer | LLM generation (named keys = reliable) |
| Turbo | top-level is array | ~47% fewer | storage, cache, inter-LLM context |
Pipeline: any format → _load_full() auto-expands → validate → assemble → ship.
When generating a new deck, the LLM outputs compact JSON — minified, with short keys, flat slides array, theme presets, spacer shorthand, and color palette aliases. The CLI auto-expands to full Vela JSON on ship.
Key differences from full format:
| Full JSON | Compact JSON | Savings |
|---|---|---|
"type": "heading" | "_": "heading" | shorter keys |
"text": "..." | "x": "..." | shorter keys |
{"type":"spacer","h":8} | 8 | spacer → int |
"bg":"#0A0F1C","color":"#E6F1FF",... per slide | "t":"d" (theme ref) | theme presets |
"lanes":[{"items":[{"slides":[...]}]}] | "S":[...] | flat structure |
"#3B82F6" repeated 28× | "$A" + "C":{"$A":"#3B82F6"} | color palette |
#### Compact key reference (use when generating)
Top-level: n=deckTitle, T=themes, C=color palette, S=slides array
Slide level: t=theme ref, n=title, d=duration, B=blocks, p=padding (only if overriding theme)
Block level: _=type, x=text, s=size, c=color, i=icon, b=bg, w=weight, ic=iconColor, ib=iconBg, I=items, B=blocks (nested), g=gap, lb=label, v=variant, H=headers, R=rows, sl=sublabel, slc=sublabelColor, ac=arrowColor, lc=labelColor, ts=titleSize, xs=textSize, hb=headerBg, hc=headerColor, cc=cellColor, bc=borderColor, str=striped, lo=loop, lnc=lineColor, nc=numberColor, tc=titleColor, xc=textColor, dc=dotColor, cir=circle, dir=direction
Color palette (`C`): define every color used ≥2× as "$A":"#hex". Use $A everywhere instead of raw hex. Assign in frequency order ($A = most common).
Theme palette (`T`): "d":dark, "l":light, "a":alt. Keys: b=bg, c=color, a=accent, p=padding. Theme values can use $ aliases too.
Spacers: bare int 8 instead of {"_":"spacer","h":8}
#### Compact commands
# Convert full → compact (for analysis/storage)
vela deck compact full.json compact.json
# Convert compact → full
vela deck expand compact.json full.json
# Ship auto-expands compact format transparently
vela deck ship compact.json # expand → validate → assemble → copy
# All read commands auto-expand compact format
vela deck list compact.json # works
vela slide view compact.json 3 # worksPositional arrays + color palette. NOT for LLM generation — for storage, cache, and passing deck context between LLM calls. The format eliminates all JSON key names by using positional arrays with implicit schemas.
Structure: [deckTitle, [lanes], colorPalette] Blocks: [type_id, ...positional values] where type IDs: 0=badge, 1=spacer, 2=heading, 3=text, 4=grid, 5=icon, 6=callout, 7=icon-row, 8=code, 9=table, 10=flow, 11=steps, 12=tag-group, 13=divider, 99=passthrough
# Convert to turbo
vela deck turbo full.json turbo.json
vela deck turbo compact.json turbo.json # compact→full→turbo automatically
# Read/ship turbo (auto-expands)
vela deck list turbo.json
vela slide view turbo.json 3
vela deck ship turbo.json
# Expand turbo back to full
vela deck expand turbo.json full.json# 1. LLM generates compact JSON (minified, named keys = reliable)
create_file /home/claude/deck.json # compact format
# 2. Ship (auto-expands + validates + assembles)
vela deck ship /home/claude/deck.json
# 3. Edits work on any format (auto-expand on load)
vela slide edit /home/claude/deck.json 3 block.2.text "New heading"
vela deck ship /home/claude/deck.json
# 4. For passing deck context to another LLM call (minimal tokens)
vela deck turbo deck.json context.json # 47% fewer tokensBaseline (full+minified): 4,955 bytes
Compact (short keys+palette): 3,363 bytes (32.1% smaller)
Turbo (positional arrays): 2,600 bytes (47.5% smaller)
All CLI operations work on any format: list, view, edit, replace-text,
insert, move, duplicate, remove, remove-block, validate, ship.Always generate in compact format — it saves ~32% output tokens vs full format, and the CLI auto-expands it.
Rules for generating compact:
{"n":"Title","T":{themes},"C":{color palette},"S":[slides]}$A, $B, etc. Use these aliases everywhere in the deck instead of raw hex/rgba values."d" = dark, "l" = light, "a" = alt."t":"d" (theme ref), "n" (title), "d" (duration), "B" (blocks)._=type, x=text, s=size, c=color, i=icon, b=bg, etc.)8 instead of {"_":"spacer","h":8}#### Complete example (3-slide compact deck)
{"n":"AI Workshop","C":{"$A":"#3B82F6","$B":"#E6F1FF","$C":"#8892B0","$D":"#0A0F1C","$E":"#3B82F620","$F":"#1e293b"},"T":{"d":{"b":"$D","c":"$B","a":"$A","p":"60px 72px"},"l":{"b":"#ffffff","c":"$F","a":"$A","p":"36px 48px"}},"S":[{"t":"d","n":"Cover","d":15,"B":[{"_":"badge","x":"WORKSHOP","i":"GraduationCap","b":"$E","c":"$A"},8,{"_":"heading","x":"AI para Equipas","s":"3xl","w":700},{"_":"text","x":"Formação prática com LLMs e agentes.","s":"lg","c":"$C"}]},{"t":"l","n":"Agenda","d":60,"B":[{"_":"badge","x":"PROGRAMA","i":"Calendar","b":"$E","c":"$A"},8,{"_":"heading","x":"Agenda do Dia","s":"2xl"},{"_":"steps","I":[{"title":"09:00","x":"Fundamentos LLM"},{"title":"13:30","x":"Agentes e MCP"}],"lnc":"$A","nc":"$A","tc":"$F","xc":"#64748b"}]},{"t":"d","n":"CTA","d":20,"B":[{"_":"heading","x":"Vamos Construir?","s":"3xl","w":700},12,{"_":"text","x":"[email protected]","s":"lg","c":"$C"}]}]}Key patterns in the example:
$A = #3B82F6 used 5× (badges, steps, accent) — saves ~16 tokens"t":"d" or "t":"l"8, 12"title" and "x" (text)vela deck ship /home/claude/<deck-name>-slides.jsonThis runs expand → validate → assemble → copy in one call.
present_files(["/mnt/user-data/outputs/<deck>.jsx", "/mnt/user-data/outputs/<deck>-slides.json"])Use the vela CLI instead of view + str_replace — saves 80-97% tokens on typical edits.
vela deck list deck.json # TOC: slide#, title, blocks, theme, duration
vela slide view deck.json 3 # Compact block summary
vela slide view deck.json 3 --raw # Full JSON for one slide
vela slide view deck.json 3 --json # Structured output for agent consumption# Text replacement across entire deck (idempotent)
vela deck replace-text deck.json "old text" "new text"
# Slide-level property
vela slide edit deck.json 3 duration 90
vela slide edit deck.json 3 bg "#ffffff"
# Block-level property (use block.INDEX.KEY syntax)
vela slide edit deck.json 3 block.2.text "New heading"
vela slide edit deck.json 3 block.0.color "#3B82F6"
# Structural operations
vela slide remove deck.json 4
vela slide remove-block deck.json 3 5
vela slide move deck.json 5 2
vela slide duplicate deck.json 2
vela slide insert deck.json 3 new-slide.json# Preview destructive operations before executing
vela slide remove deck.json 3 --dry-run
# Returns: {"would_execute": "remove_slide", "title": "...", "reversible": false}vela deck ship deck.json # validate + assemble + copy in one call| Task | Command | Why |
|---|---|---|
| Change a word/phrase everywhere | vela deck replace-text | 1 call vs N×str_replace |
| Change one slide property | vela slide edit N key value | No need to view JSON first |
| Change one block property | vela slide edit N block.I.key value | Precise, zero collateral |
| Remove/reorder slides | vela slide remove/move | Clean item-level removal |
| Check what slides exist | vela deck list | ~200 tokens vs ~800 for view |
| Check one slide | vela slide view N | ~150 tokens vs ~500 for view+range |
| Preview before destructing | Add --dry-run | Agent safety net |
| Full pipeline | vela deck ship | Replaces 3-4 tool calls with 1 |
| Rewrite a slide entirely | vela slide view N --raw → str_replace | Still best for full rewrites |
| Complex block structure changes | str_replace on JSON | CLI handles properties, not deep nesting |
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | General failure |
| 2 | Usage error (bad arguments) |
| 3 | Resource not found |
| 4 | Validation failure |
| 5 | Conflict |
All commands support --json for structured output (errors include suggestions and retryable fields).
For app editing and updating, read references/app-editing.md.{
"deckTitle": "My Presentation",
"lanes": [
{
"title": "Main",
"items": [
{
"title": "Section Name",
"status": "todo",
"importance": "must",
"slides": [ ...slide objects... ]
}
]
}
]
}{
"bg": "#0f172a",
"bgGradient": "linear-gradient(135deg, #0f172a 0%, #1e293b 100%)",
"color": "#e2e8f0",
"accent": "#3b82f6",
"padding": "36px 48px",
"duration": 60,
"blocks": [ ... ]
}"36px 48px" — never lessduration (integer, seconds)bg or bgGradient3xl-4xl titles > 2xl headings > lg body > md supporting > sm captionsspacer blocks for breathing room.icon-row > plain bullets for feature listsflow for processes | flow loop:true for cycles | flow gate:true for approvalssvg for custom diagrams (use {{accent}}, {{color}}, {{muted}}, {{bg}} tokens)grid 2-3 cols for comparisons | grid 1 col + direction:"row" for layer diagramsmetric for stats | table for structured data | progress for bars/spectrumssteps for numbered sequences | timeline for roadmaps | tag-group for labelscallout with icon for key insightsSee references/themes.md for palettes. Available directions: dark, midnight, light, warm light, vibrant, editorial, minimal. Custom brand colors supported.
PascalCase Lucide names. 1000+ available. Common: Zap, Brain, Rocket, Shield, Target, Clock, Users, Heart, Globe, Code, Database, Lightbulb, TrendingUp, BarChart, Lock, Eye, Cpu, Layers, Bot, Sparkles, Award, CheckCircle, AlertTriangle, DollarSign, ArrowRight
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.