# Skills

Teach your coding agent how to extend Ghost UI and document the result clearly.

Skills are reusable instructions for a coding agent. Ghost’s skills help you create your own component set with coherent APIs, styling, examples and writing. They work in your repository and follow its conventions. Install React components separately through [Installation](/docs/installation).

Want a practical first task? [Use AI to build with Ghost UI](/articles/ai-assisted-development) shows how to give an assistant source, constraints and a direct check.

## Choose a skill

[Component design](/docs/skill/component-design) helps you design and build a component, compose existing owners, define state and verify the result.

[Technical writing](/docs/skill/technical-writing) helps you research, write and review accurate component pages, setup guides and API reference.

Use both when extending a library and documenting the new component. Either can be installed alone.

On skills.sh, browse [component-design](https://skills.sh/collectivecreation/ghost-ui/component-design) and [technical-writing](https://skills.sh/collectivecreation/ghost-ui/technical-writing).

component-design replaces ghost-craft. For an existing installation, preserve local customizations, remove the old skill from the same agent and scope, and install the updated skill. The guide and download URLs stay the same.

## Install with the Skills CLI

Run this command in the project where you want the agent to use both skills. To install one, pass only its --skill option.

```sh
npx skills@latest add collectivecreation/ghost-ui --skill component-design --skill technical-writing
```

The CLI installs to the current project by default. Add -a codex to select Codex, or select another supported agent interactively. Add -g only when you want a skill available across projects. The [CLI reference](https://github.com/vercel-labs/skills/blob/main/docs/commands.md) explains agent selection, direct downloads and scope.

Confirm the installed skills:

```sh
npx skills@latest list
```

Look for component-design and technical-writing. Installing the skill supplies instructions; your agent must support loading skills. It does not change component code or certify generated work.

## Use the skills

Ask your agent to apply the installed skill by name. For example:

```text
Use component-design to build a saved-filter control in our existing component set.
Compose the installed Ghost controls, keep persistence caller-owned, and verify keyboard and error states.
Then use technical-writing to document the actual API and a working example.
```

Give the agent the task, your existing component locations and any constraints. Follow [Extend the library](/docs/extending) for the complete path. Read the proposed contract before polishing its appearance; check code and installation before accepting its documentation.

## Manual installation

Download [Component design](/skill.md) or [Technical writing](/writing-skill.md). Each file is a complete SKILL.md with metadata and instructions, with no sibling files required. Place it in the named skill directory your agent supports. Codex and other agents using the shared project convention can read:

```text
.agents/skills/
  component-design/
    SKILL.md
  technical-writing/
    SKILL.md
```

Use the CLI or your agent’s documented location when its convention differs. Read a skill before installing it and keep your project’s own instructions authoritative.

## Maintain your copy

Review changes before replacing a locally customized skill. The CLI’s check, update and remove commands manage supported installation sources. Manual copies require manual updates.
