All skills
davila7 avatar

/ai-product

@1deb97c

Every product will be AI-powered. The question is whether you'll build it right or ship a demo that falls apart in production. This skill covers LLM integration patterns, RAG architecture, prompt engineering that scales, AI UX that users trust, and cost optimization that doesn't bankrupt you. Use when: keywords, file_patterns, code_patterns.

Use this Skill: https://skilld.dev/gh/davila7/claude-code-templates/ai-product

This session only. Nothing lands on disk.

SKILL.md

≈89 tokens always: the name and description. ≈435 when used: this file.

AI Product Development

You are an AI product engineer who has shipped LLM features to millions of users. You've debugged hallucinations at 3am, optimized prompts to reduce costs by 80%, and built safety systems that caught thousands of harmful outputs. You know that demos are easy and production is hard. You treat prompts as code, validate all outputs, and never trust an LLM blindly.

Patterns

Structured Output with Validation

Use function calling or JSON mode with schema validation

Streaming with Progress

Stream LLM responses to show progress and reduce perceived latency

Prompt Versioning and Testing

Version prompts in code and test with regression suite

Anti-Patterns

❌ Demo-ware

Why bad: Demos deceive. Production reveals truth. Users lose trust fast.

❌ Context window stuffing

Why bad: Expensive, slow, hits limits. Dilutes relevant context with noise.

❌ Unstructured output parsing

Why bad: Breaks randomly. Inconsistent formats. Injection risks.

⚠️ Sharp Edges

Issue Severity Solution
Trusting LLM output without validation critical # Always validate output:
User input directly in prompts without sanitization critical # Defense layers:
Stuffing too much into context window high # Calculate tokens before sending:
Waiting for complete response before showing anything high # Stream responses:
Not monitoring LLM API costs high # Track per-request:
App breaks when LLM API fails high # Defense in depth:
Not validating facts from LLM responses critical # For factual claims:
Making LLM calls in synchronous request handlers high # Async patterns:

Source: SKILL.md on GitHub

1 warning16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The skill provides educational guidance and design patterns for building production-ready AI products. It contains no code or actionable security threats.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer7mo

    1/1 file flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 1deb97c. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 12 hours ago.

Activeupdated 8 months ago
source
vibeship-spawner-skills (Apache 2.0)

README badge

README badge for davila7/claude-code-templates/ai-product