Examples

Agent Skills

Hwaro ships two Agent Skills — self-contained SKILL.md files that teach a skill-aware AI agent how to work with Hwaro. Once installed, the agent loads the relevant skill automatically when it detects a Hwaro task.

Skill What it teaches
hwaro Operating the CLI — scaffolding (init), content (new), preview (serve), production builds (build), and the doctor/tool/deploy subcommands. Emphasizes the agent-safe output contract: --json, --quiet, NO_COLOR, and the classified HWARO_E_* error/exit codes, plus safe config.toml and Crinja template edits.
hwaro-design Designing and restyling a site. It reads your brief, declares a one-line Design Read, and sets three design dials (asking questions only when your intent is genuinely ambiguous), then produces distinctive, production-grade design within Hwaro's Crinja templates and CSS-variable token system — under a strict anti-slop discipline and a mechanical pre-flight check that filter out generic AI aesthetics.

Install with npx skills

The skills CLI is the easiest way to install and keep skills up to date. Adding the repo installs both Hwaro skills (hwaro and hwaro-design).

# Add to the current project — prompts you to pick the agent (.claude/skills, .cursor/, …)
npx skills add hahwul/hwaro

# Install globally for every project
npx skills add hahwul/hwaro -g

# Target a specific agent (e.g. Claude Code)
npx skills add hahwul/hwaro -a claude-code

# Non-interactive — good for CI
npx skills add hahwul/hwaro -g -a claude-code -y

Update or remove later by skill name:

npx skills update hwaro hwaro-design
npx skills remove hwaro hwaro-design

Install manually

If you would rather not use npx, copy the files straight from the repository. For Claude Code the target path is ~/.claude/skills/<name>/SKILL.md:

# hwaro — the CLI skill
mkdir -p ~/.claude/skills/hwaro
curl -o ~/.claude/skills/hwaro/SKILL.md \
  https://raw.githubusercontent.com/hahwul/hwaro/main/skills/hwaro/SKILL.md

# hwaro-design — the design skill
mkdir -p ~/.claude/skills/hwaro-design
curl -o ~/.claude/skills/hwaro-design/SKILL.md \
  https://raw.githubusercontent.com/hahwul/hwaro/main/skills/hwaro-design/SKILL.md

Other agents use different skill directories (for example .cursor/ or a project-local skills/ folder) — check your agent's documentation for the correct location.

What the skills cover

hwaro — driving the CLI

hwaro-design — designing the site

Prerequisite

Install the Hwaro CLI so the agent can actually run builds and previews — see Installation. A skill is only as useful as the binary it drives.

The hwaro skill complements your project's AGENTS.md: the skill is portable guidance that travels with the agent across any Hwaro project, while AGENTS.md (generated by hwaro tool agents-md) carries project-specific conventions. Agents should read AGENTS.md first — it can override the skill's defaults.

Authoring tips

Both skills live under skills/ in the Hwaro repository. When contributing:

See Also