Skip to content
Back to skills

Quickstart

ASecurity

Agent workflow for learning JSALT and building .jsa apps with executable validation and AST checks.

  • 58 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 6, 2026
toolsbashreactfrontend

Works with

  • cli

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 6, 2026

npx -y skills add javimosch/supercli --skill quickstart --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Quickstart?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Quickstart
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/javimosch-quickstart-b28a2f19/badge)](https://www.skillsdirectory.com/skills/javimosch-quickstart-b28a2f19)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: jsalt.quickstart
description: Agent workflow for learning JSALT and building .jsa apps with executable validation and AST checks.
tags: jsalt,jsa,frontend,ast,validation,agents
---

# jsalt Quickstart

Use this when you need to generate or edit JSALT (`.jsa`) apps with reliable syntax validation.

## 1) Install plugin and dependency

```bash
supercli plugins learn jsalt
npm install -g jsalt
supercli plugins install ./plugins/jsalt --json
```

## 2) Validate CLI wiring

```bash
supercli jsalt cli help
supercli plugins doctor jsalt --json
```

## 3) Core JSALT syntax checklist

- `let key = value` for reactive state.
- `const x = computed(() => expr)` for derived state.
- `fn name = "handler code"` for reusable handlers.
- `watch key = "handler code"` for side effects.
- `on mount = "..."` and `on destroy = "..."` for lifecycle.
- Element shape: `div#id.class { css: value } @click = "..." = "content"`.

## 4) Useful directives for agent-generated UI

- `if = "${expr}"` conditional render.
- `show = "${expr}"` visibility toggle.
- `each = "${array}"` loops (`item`, `idx` available).
- `bind = "stateKey"` two-way form binding.
- `:attr = "..."` dynamic attributes.
- `html = "..."` raw HTML when needed.
- `transition = "fade"` enter transition classes.

## 5) Validate and inspect AST during generation

```bash
supercli jsalt ast validate --path app.jsa
supercli jsalt ast json --path app.jsa
supercli jsalt ast tree --path app.jsa
```

## 6) Full passthrough for advanced runs

```bash
supercli jsalt app.jsa --json
supercli jsalt examples --tree
```

## 7) Minimal example patterns

Counter:

```jsa
let count = 0
const doubled = computed(() => count * 2)
fn inc = "setState('count', getState('count') + 1)"

div
  h1 = "Count: ${count}"
  p = "Doubled: ${doubled}"
  button @click = "inc()" = "+"
```

Todo list loop:

```jsa
let items = []
let text = ""
fn add = "if(!getState('text')) return; setState('items', [...getState('items'), getState('text')]); setState('text', '')"

div
  input bind = "text"
  button @click = "add()" = "Add"
  ul
    li each = "${items}" = "${idx + 1}. ${item}"
```

## 8) Agent workflow recommendation

1. Draft `.jsa` using the syntax checklist.
2. Run `ast validate` after each meaningful edit.
3. Run `ast json` when tooling needs structural introspection.
4. Prefer simple handlers and immutable updates for predictable diffs.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.