ai-infrastructure-hugg…
Hugging Face Inference SDK patterns for TypeScript/Node.js — InferenceClient setup, chat completion, text generation, streaming, embeddings, image generation,…
CLI specification planning frameworks. Use when a spec touches a command surface, an interactive flow, config precedence, exit codes, or output modes. Covers flag contracts, prompt flow design, precedence tables, exit-code taxonomy, TTY/piped/JSON output, error text, signals,
$ npx -y skills add agents-inc/skills --skill meta-planning-cli-planning --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/meta-planning-cli-planningContext preview
The summary Claude sees to decide when to auto-load this skill.
CLI specification planning frameworks. Use when a spec touches a command surface, an interactive flow, config precedence, exit codes, or output modes. Covers flag contracts, prompt flow design, precedence tables, exit-code taxonomy, TTY/piped/JSON output, error text, signals,
name: meta-planning-cli-planning description: CLI specification planning frameworks. Use when a spec touches a command surface, an interactive flow, config precedence, exit codes, or output modes. Covers flag contracts, prompt flow design, precedence tables, exit-code taxonomy, TTY/piped/JSON output, error text, signals, and cross-platform concerns.
> **Quick Guide:** Specify each contract the feature actually touches — the full flag table for a new surface, the per-step prompt table for an interactive flow, a precedence table per config key, an exit code for every terminating path, and output behaviour per context (TTY, piped, `--json`, quiet, verbose). Apply a framework only when the spec touches its artifact class; a config-only change needs no prompt-flow section.
---
<critical_requirements>
> **All specifications must be grounded in the codebase's real commands, prompts, resolvers, and constants** — reference specific files with line numbers
**(You MUST give every prompted value a non-interactive twin — a flag or config key — and state what happens with no TTY and no flag)**
**(You MUST give every terminating path an exit code named as a constant, with cancellation distinct from failure)**
**(You MUST specify output per context — TTY, piped, `--json`, quiet, verbose — and state which stream carries payload versus diagnostics)**
**(You MUST state config precedence per key as a table with merge semantics — "merged" without a rule is not a rule)**
**(You MUST apply each framework only when the spec touches its artifact class — an unused section is omitted, never filled with placeholders)**
</critical_requirements>
---
**Auto-detection:** CLI spec, command surface design, flag contract, subcommand, interactive wizard spec, prompt flow, config precedence, exit codes, JSON output mode, help text spec, signal handling spec
**When to use:**
**When NOT to use:**
**Key patterns covered:**
**Detailed Resources:**
---
<philosophy>
**A CLI's public API is bigger than its code.** Flags, exit codes, output streams, and config keys are contracts that humans, scripts, and CI all branch on. A spec that leaves one of them implicit forces the developer to invent it — and an invented contract is one nobody documented.
**When specifying CLI work:**
**When NOT to specify:**
**Core principles:**
</philosophy>
---
<patterns>
Argument, flag, subcommand, or prompt — decided by role, not preference.
Is the value the thing the command acts ON, and required in almost every call?
├─ YES -> positional argument (app deploy <environment>)
└─ NO -> Does it modify HOW the command behaves?
├─ YES -> flag (--dry-run, --force, --concurrency=4)
└─ NO -> Does it select a fundamentally different operation?
├─ YES -> subcommand (app config get | app config set)
└─ NO -> Is it only knowable by asking the human?
├─ YES -> prompt, with a flag that supplies the same value non-interactively
└─ NO -> derive it from config or the filesystem; do not ask**Naming rules to specify:**
| Rule | Specify as | | ---------------- | ---------------------------------------------------------------------- | | Command names | Lowercase verb or noun-verb, matching the vocabulary alrea
The 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,…