jac-scaffold

Scaffolds new Jac projects with jac create kinds, templates, and post-scaffold verification.

Updated Jul 26, 2026
One-click install
npx skills add https://github.com/nihalnihalani/jachacks-sf-2026 --skill jac-scaffold-nihalnihalani
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: jac-scaffold
Source: https://github.com/nihalnihalani/jachacks-sf-2026/tree/main/plugins/jac-codex/skills/jac-scaffold
Command: npx skills add https://github.com/nihalnihalani/jachacks-sf-2026 --skill jac-scaffold-nihalnihalani

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Starting a new Jac project by hand leads to wrong layouts, missing jac.toml sections, and mismatched entry points. This Skill guides you through the official jac create scaffolder so every new project starts with the correct structure for its kind. ## Core Features & Use Cases - Kind-aware scaffolding: Choose from 12 built-in project kinds (cli, service, web-app, desktop, mobile, native-binary, and more) so jac run does the natural action for your project type. - Template and variant support: Scaffold from local template directories, .jacpack archives, URLs, or the built-in jac-shadcn variant for production UI with 53 accessible primitives. - Post-scaffold checklist: Covers jac install, jac check verification, running with jac run or jac start --dev, and headless browser QA with jac browse. - Use Case: You want to build a full-stack web app in Jac. The Skill helps you pick between standard web-app and jac-shadcn, scaffold it safely without nesting inside an existing project, and verify it compiles before writing any code. ## Quick Start Ask the assistant to scaffold a new Jac web application named myapp using jac create and then verify it compiles.

Frequently Asked Questions about jac-scaffold

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a new Jac project from scratch?▼

Run jac create myapp to scaffold a cli project by default, or pass --kind to pick another type such as service or web-app. Without a name, jac create initializes the current directory like cargo init.

What project kinds does jac create support?▼

jac create supports 12 built-in kinds including cli, cli-native, native-binary, native-lib, service, service-mesh, py-package, js-package, web-app, web-static, mobile, and desktop. All are built into jaclang core with no separate plugin install.

Should I use standard web-app or jac-shadcn for a Jac UI?▼

Use --kind web-app for full control with plain Jac JSX and Tailwind, or --use jac-shadcn for production UI with 53 accessible primitives. Do not mix methods, since shadcn components fail to resolve in non-shadcn projects.

Why does jac create fail with directory already exists?▼

The named form refuses to overwrite an existing directory unless you pass --force. The no-name form refuses inside an existing Jac project, but running the named form inside a project nests silently, so inspect the workspace first.

How do I verify a scaffolded Jac project works?▼

Run jac install after finalizing jac.toml, then jac check . to confirm the scaffold compiles. A bare jac run dispatches on the project kind, and jac start --dev runs web apps with hot reload.

Can I build a custom Jac project template?▼

Yes, add a [jacpack] section with name and description to any Jac project's jac.toml, using {{name}} placeholders in files. Pack it with jac create --pack or use the directory directly via jac create --use.