Skip to main content

Overview

@acromedia/gesso-cli scaffolds prototypes, adds Gesso to existing Next.js projects, gives coding agents versioned design-system information, and checks project health.

Installation and usage

Set up registry authentication, then run an installed CLI command with pnpm gesso:

pnpm add --save-dev @acromedia/gesso-cli
pnpm gesso <command>

Setup commands can also use pnpm dlx @acromedia/gesso-cli as shown in their reference pages.

New agent and setup commands

CommandPurpose
agentSummarize the installed Gesso version, bundled documentation, rules, and next steps.
create <dir>Create a standalone Gesso prototype.
initAdd Gesso and agent support to an existing Next.js project.
rules [topic]List or print Gesso rules.
componentsList components, optionally by category.
component <Name>Print one component's import, props, and usage.
patternsList patterns and their Storybook paths, optionally by category.
pattern <Name>Print one pattern's path, verified import status, props, and usage.
layoutsList layouts and their Storybook paths, optionally by category.
layout <Name>Print one layout's path, verified import status, props, and usage.
search --query <query>Search component, pattern, and layout metadata.
tokensList token groups or one group's tokens.

The changed health command reports eight project checks with actionable remediation.