Skip to content
Development
Command

/scaffold

Scaffold a minimal PyWry app in a new directory (main.py, pyproject.toml, README.md).

From plugin
pywry
992 skills1 agent2 commands1 MCP
$ npx -y skills add deeleeramone/PyWry --agent claude-code

Command definition

scaffold.md
description: Scaffold a minimal PyWry app in a new directory (main.py, pyproject.toml, README.md).
argument-hint: "<app-name> [--kind widget|chat|tvchart|dashboard]"

Scaffold a new PyWry app in a fresh directory named by the first positional argument `$ARGUMENTS`. If no argument is given, ask the user for a name.

**Before writing any files**, call the `get_skills` MCP tool with the topic that matches `--kind` (default `widget` → skill `component_reference`, `chat` → `chat`, `tvchart` → `tvchart`, `dashboard` → `data_visualization`). Read the returned skill text before choosing the template.

Then create the following files in `./<app-name>/`:

1. **`main.py`** — a runnable PyWry app using `PyWry().show*(...)` appropriate to `--kind`. Keep it under 40 lines. Use headless‑friendly patterns (no hard‑coded `block()` call at module import level). 2. **`pyproject.toml`** — minimal, pinned to `pywry[mcp]>=2.0.0rc7`. Use the user's Python version. 3. **`README.md`** — one paragraph describing the app and a `python main.py` quick start. 4. **`.gitignore`** — standard Python entries (`__pycache__/`, `*.pyc`, `.venv/`).

After writing files:

  • Run `ruff format` on `main.py`
  • Print the directory listing
  • Tell the user: `cd <app-name> && pip install -e . && PYWRY_HEADLESS=1 python main.py` to run headlessly, or drop `PYWRY_HEADLESS=1` to see the native window

Do **not** install the package or run the app automatically. The user should review the generated code first.

Read more
@deeleeramone
Ships withpywry

PyWry is a cross-platform app factory, rendering engine and UI toolkit for Python that produces native desktop, web, and notebook experiences from a single API.

9918 skills1 agent1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
99
Star history of deeleeramone/PyWry on GitHub, a chart by star-history.com

Other commands on pywry.

doctor

doctor

Command

Diagnose the PyWry install (Python interpreter, pywry[mcp] extra, native binary, MCP server reachability).

@deeleeramone@deeleeramoneInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command