cli-skills
CLI best practices for LlamaFarm. Covers Cobra, Bubbletea, Lipgloss patterns for Go CLI development.
React 18 patterns for LlamaFarm Designer. Covers components, hooks, TanStack Query, and testing.
Claude Code
$ npx -y skills add llama-farm/llamafarm --skill react-skills --agent claude-code
Codex
$ npx skills add llama-farm/llamafarm --skill react-skills -a codex -y
Cursor
$ npx skills add llama-farm/llamafarm --skill react-skills -a cursor -y
Gemini CLI
$ npx skills add llama-farm/llamafarm --skill react-skills -a gemini-cli -y
GitHub Copilot
$ npx skills add llama-farm/llamafarm --skill react-skills -a github-copilot -y
OpenCode
$ npx skills add llama-farm/llamafarm --skill react-skills -a opencode -y
Windsurf
$ npx skills add llama-farm/llamafarm --skill react-skills -a windsurf -y
name: react-skills description: React 18 patterns for LlamaFarm Designer. Covers components, hooks, TanStack Query, and testing. allowed-tools: Read, Grep, Glob user-invocable: false
Best practices and patterns for React 18 development in the Designer subsystem.
designer/src/ api/ # API service functions components/ # React components (feature-organized) contexts/ # React context providers hooks/ # Custom hooks lib/ # Utility functions (cn, etc.) types/ # TypeScript type definitions utils/ # Helper functions test/ # Test utilities and mocks
// Utility for merging Tailwind classes
import { cn } from '@/lib/utils'
cn('base-class', condition && 'conditional-class', className)
// Query key factory pattern
export const projectKeys = {
all: ['projects'] as const,
lists: () => [...projectKeys.all, 'list'] as const,
list: (ns: string) => [...projectKeys.lists(), ns] as const,
}
// Context with validation hook
const MyContext = createContext<MyContextType | undefined>(undefined)
export function useMyContext() {
const ctx = useContext(MyContext)
if (!ctx) throw new Error('useMyContext must be within MyProvider')
return ctx
}import { renderWithProviders } from '@/test/utils'
import { screen } from '@testing-library/react'
test('renders component', () => {
renderWithProviders(<MyComponent />)
expect(screen.getByText('Hello')).toBeInTheDocument()
})Enterprise AI capabilities on your own hardware. No cloud required. LlamaFarm is an open-source AI platform that runs entirely on your hardware.
CLI best practices for LlamaFarm. Covers Cobra, Bubbletea, Lipgloss patterns for Go CLI development.
Comprehensive code review for diffs. Analyzes changed code for security vulnerabilities, anti-patterns, and quality issues.…
Commit changes, push to GitHub, and open a PR. Includes quality checks (security, patterns, simplification). Use --quick to skip…
Best practices for the Common utilities package in LlamaFarm. Covers HuggingFace Hub integration, GGUF model management, and…
Configuration module patterns for LlamaFarm. Covers Pydantic v2 models, JSONSchema generation, YAML processing, and validation.
Designer subsystem patterns for LlamaFarm. Covers React 18, TanStack Query, TailwindCSS, and Radix UI.
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.