ai-infrastructure-hugg…
Hugging Face Inference SDK patterns for TypeScript/Node.js — InferenceClient setup, chat completion, text generation, streaming, embeddings, image generation,…
Frontend specification planning frameworks. Use when a spec touches UI components, forms, client state, or user-facing flows. Covers UI-state completeness (loading, error, empty, success), component boundaries, form validation contracts, state ownership, and measurable UI
$ npx -y skills add agents-inc/skills --skill meta-planning-web-planning --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/meta-planning-web-planningContext preview
The summary Claude sees to decide when to auto-load this skill.
Frontend specification planning frameworks. Use when a spec touches UI components, forms, client state, or user-facing flows. Covers UI-state completeness (loading, error, empty, success), component boundaries, form validation contracts, state ownership, and measurable UI
name: meta-planning-web-planning description: Frontend specification planning frameworks. Use when a spec touches UI components, forms, client state, or user-facing flows. Covers UI-state completeness (loading, error, empty, success), component boundaries, form validation contracts, state ownership, and measurable UI success criteria.
> **Quick Guide:** Specify every state the UI can be in — loading, error, empty, and success are four different screens, and an unspecified one ships as a blank div. Reference the concrete component and form patterns the implementation must follow (file:line), bound the change to named directories, and write success criteria a reviewer can check with a yes/no: which element appears, what the validation rejects, what the user sees on a network error.
---
<critical_requirements>
> **All specifications must be grounded in the codebase's real components, stores, and form patterns** — reference specific files with line numbers
**(You MUST specify every UI state the feature can render — loading, error, empty, and success — or explicitly rule one out)**
**(You MUST reference the concrete component, form, and store patterns to follow, with file and line numbers)**
**(You MUST specify validation per field — the rule, when it fires, and the exact message shown)**
**(You MUST bound the change to named files and directories, with an explicit do-not-touch list)**
**(You MUST write success criteria as yes/no checks a reviewer can verify — never "works well" or "good UX")**
</critical_requirements>
---
**Auto-detection:** UI spec, component spec, frontend feature spec, form spec, modal spec, loading state, empty state, error state, client state design, frontend success criteria
**When to use:**
**When NOT to use:**
**Key patterns covered:**
**Detailed Resources:**
---
<philosophy>
**A UI spec is a contract about what the user sees, in every state.** The happy path is the easy fifth of the work; the loading spinner, the validation message, the empty list, and the failed request are where an unspecified feature quietly becomes four different developers' four different guesses.
**When specifying frontend work:**
**When NOT to specify:**
**Core principles:**
</philosophy>
---
<patterns>
Every data-driven surface has four states. Specify each, or explicitly rule it out.
## UI States For EACH data-driven surface the spec adds or changes: - [ ] Loading — what renders while data is in flight (skeleton, spinner, disabled control) - [ ] Error — what the user sees on failure, and whether retry is offered - [ ] Empty — what renders with zero items, and whether a call-to-action belongs there - [ ] Success — the populated state, including singular/plural and overflow behavior
BAD: "Show the user's projects"
GOOD: "Loading: 3 skeleton rows. Error: inline message with Retry button.
Empty: 'No projects yet' with a Create button. Success: project cards,
newest first, 20 per page."**Why this matters:** the unspecified states are the ones users hit at the worst moments — slow networks and failures. A spec that covers only success delegates the other three to chance.
---
Reference the concrete implementation to follow, never a style in the abstract.
BAD: "Use proper form handling"
GOOD: "Follow the form pattern from SettingsForm.tsx:45-89. Use the same validation
approach, error display, and success messaging."
BAD: "Open it in our usual modal"
GOOD: "Use the ModalContainer pattern from components/modals/UpdateAllProjects.tsx:12-78 —
overlay, positioning, and onClose handled byThe official skills marketplace for Agents Inc. 150+ skills covering everything from React and Prisma to Redis, ElevenLabs, and infrastructure tooling. Pick the skills that match your stack and install them via Claude Code. Need more control?
Repo: agents-inc/skills
Hugging Face Inference SDK patterns for TypeScript/Node.js — InferenceClient setup, chat completion, text generation, streaming, embeddings, image generation,…
LiteLLM proxy server setup, TypeScript client patterns via OpenAI SDK, model routing, fallbacks, load balancing, spend tracking, virtual keys, and production…
Serverless GPU compute platform for AI model deployment — web endpoints, GPU functions, model serving, and TypeScript client patterns
Local LLM inference with the Ollama JavaScript client -- chat, streaming, tool calling, vision, embeddings, structured output, model management, and…
Replicate SDK patterns for TypeScript/Node.js -- client setup, predictions, streaming, webhooks, file handling, model versioning, deployments, and training
Together AI SDK patterns for TypeScript — client setup, chat completions, streaming, structured output, function calling, embeddings, image generation,…