Implement a playbook from its PROMPT specification files. Supports both single-framework (PROMPT-REACT.md, etc.) and 3-framework (PROMPT-3-FRAMEWORKS.md) modes.
npx skills add https://github.com/AgnosticUI/agnosticui --skill implement-ag-playbook
Usage: /implement-ag-playbook PLAYBOOK_NAME [MODE]
Examples:
/implement-ag-playbook onboarding - Implement all available prompts/implement-ag-playbook login 3-frameworks - Implement only PROMPT-3-FRAMEWORKS.md/implement-ag-playbook login react - Implement only PROMPT-REACT.mdImplement the specified playbook based on its existing PROMPT specification files.
Complete playbooks have this structure (see v2/playbooks/README.md):
v2/playbooks/[name]/
├── PROMPT-3-FRAMEWORKS.md # Builds → react-example/, vue-example/, lit-example/
├── PROMPT-REACT.md # Builds → react/
├── PROMPT-VUE.md # Builds → vue/
├── PROMPT-LIT.md # Builds → lit/
└── design/ # Shared assets (mockups, icons, images)
Single-Framework vs 3-Frameworks differences:
logo.svg vs logo-3-frameworks.svg)v2/playbooks/$ARGUMENTS/ existsPROMPT-3-FRAMEWORKS.mdPROMPT-REACT.mdPROMPT-VUE.mdPROMPT-LIT.mdagnosticui-cli add)v2/playbooks/$ARGUMENTS/For 3-frameworks mode:
npm create vite@latest react-example -- --template react-ts
npm create vite@latest vue-example -- --template vue-ts
npm create vite@latest lit-example -- --template lit-ts
For single-framework mode:
npm create vite@latest react -- --template react-ts # PROMPT-REACT.md
npm create vite@latest vue -- --template vue-ts # PROMPT-VUE.md
npm create vite@latest lit -- --template lit-ts # PROMPT-LIT.md
npm install && npm install lucide-react litnpm install && npm install lucide-vue-next litnpm install && npm install lit npx agnosticui-cli init --framework [react|vue|lit] --skip-prompts
npx agnosticui-cli add [COMPONENTS from prompt]
design/ folder for assets beyond mockupsonboarding)public/ folderag-* tags: vue({
template: {
compilerOptions: {
isCustomElement: (tag) => tag.startsWith('ag-'),
},
},
})
import './components/ag/styles/ag-tokens.css'
import './components/ag/styles/ag-tokens-dark.css'
index.html per PROMPT specification10. TypeScript configuration (Vue)
tsconfig.app.json: "strict": false,
"noUnusedLocals": false,
"noUnusedParameters": false
11. Implement each framework
src/App.tsx using React wrappers + lucide-reactsrc/App.vue using Vue wrappers + lucide-vue-next12. Verify builds
npm run build in each projectnpm run dev13. Visual verification
design/14. Cross-framework consistency
15. Stage and commit
git diff --statimport { Icon } from "lucide-react"import { Icon } from "lucide-vue-next"./components/ag/[Component]/react/./components/ag/[Component]/vue/./components/ag/[Component]/core/selection-change events{ value, checked, selectedValues }| Issue | Fix |
|-------|-----|
| Vue ag-* warnings | Add isCustomElement to vite.config.ts |
| TypeScript strict errors | Relax tsconfig.app.json settings |
| Missing dark mode | Import both ag-tokens.css AND ag-tokens-dark.css |
| Button isDisabled prop | Use disabled not isDisabled |
| Timeline connector misalignment | Ensure core component has ::slotted(*) { box-sizing: border-box } |
If a playbook is missing PROMPT files, notify the user:
> Warning: The $ARGUMENTS playbook is incomplete.
>
> Present: [list files]
> Missing: [list files]
>
> Complete playbooks should have:
> - PROMPT-3-FRAMEWORKS.md → react-example/, vue-example/, lit-example/
> - PROMPT-REACT.md → react/
> - PROMPT-VUE.md → vue/
> - PROMPT-LIT.md → lit/
>
> Would you like to:
> 1. Implement only the available prompts
> 2. Generate the missing PROMPT files first
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
Take agnosticui/implement-ag-playbook from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference npm, npx.
Without those the skill loads but fails at the first command.