# AI Agent Skills

Install the create-xtarter-app skill for AI assistants (Claude Code, GitHub Copilot, Cline, etc.) to give them deep knowledge of scaffolding, template selection, and project creation.

When installed, your AI assistant knows how to pick the right template from your stack description, use proper flags, and follow best practices.

## Install

```bash
npx skills add agustinusnathaniel/xtarter
```

## How it works

The skill activates when you ask about creating a project or mention a template:

| You ask... | The agent... |
|------------|-------------|
| "Scaffold a new project" | Runs interactive mode or suggests a template based on your stack |
| "I want a Next.js app with Tailwind" | Maps to `next-tailwind`, runs scaffold with `--template next-tailwind` |
| "Create a Vite SPA with Chakra UI" | Maps to `vite-chakra`, runs scaffold with `--template vite-chakra` |
| "What templates are available?" | Runs `preview` to list all 5 templates |
| "Preview the vite-tailwind template" | Runs `preview vite-tailwind` to show repo and branch details |
**Tip:** The skill teaches agents to match your stack description to the correct template ID using a decision table, so you don't need to remember template names.

## What's included

- Scaffold and preview commands with all flags (`--template`, `--pm`, `--no-git`, `--clean`, `--yes`)
- Template selection decision table mapping stack descriptions to template IDs
- All 5 templates (`next-chakra`, `next-tailwind`, `vite-chakra`, `vite-tailwind`, `vite-hero`)
- Agent workflows for scaffolding, previewing, and CI usage
- Anti-patterns — common mistakes agents should avoid

## Resources

- [CLI Reference](/create-xtarter-app/guide/cli/) — Full command reference
- [Templates](/create-xtarter-app/guide/templates/) — Template catalog
- [skills.sh](https://skills.sh) — Learn more about AI skills

[Browse Templates →](/create-xtarter-app/guide/templates/)