skills/ai-product/SKILL.md
Every product will be AI-powered. The question is whether you'll build it right or ship a demo that falls apart in production.
npx skillsauth add ranbot-ai/awesome-skills ai-productInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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 function calling or JSON mode with schema validation
When to use: LLM output will be used programmatically
import { z } from 'zod';
const schema = z.object({ category: z.enum(['bug', 'feature', 'question']), priority: z.number().min(1).max(5), summary: z.string().max(200) });
const response = await openai.chat.completions.create({ model: 'gpt-4', messages: [{ role: 'user', content: prompt }], response_format: { type: 'json_object' } });
const parsed = schema.parse(JSON.parse(response.content));
Stream LLM responses to show progress and reduce perceived latency
When to use: User-facing chat or generation features
const stream = await openai.chat.completions.create({ model: 'gpt-4', messages, stream: true });
for await (const chunk of stream) { const content = chunk.choices[0]?.delta?.content; if (content) { yield content; // Stream to client } }
Version prompts in code and test with regression suite
When to use: Any production prompt
// prompts/categorize-ticket.ts export const CATEGORIZE_TICKET_V2 = { version: '2.0', system: 'You are a support ticket categorizer...', test_cases: [ { input: 'Login broken', expected: { category: 'bug' } }, { input: 'Want dark mode', expected: { category: 'feature' } } ] };
// Test in CI const result = await llm.generate(prompt, test_case.input); assert.equal(result.category, test_case.expected.category);
Cache embeddings and deterministic LLM responses
When to use: Same queries processed repeatedly
// Cache embeddings (expensive to compute)
const cacheKey = embedding:${hash(text)};
let embedding = await cache.get(cacheKey);
if (!embedding) { embedding = await openai.embeddings.create({ model: 'text-embedding-3-small', input: text }); await cache.set(cacheKey, embedding, '30d'); }
Graceful degradation when LLM API fails or returns garbage
When to use: Any LLM integration in critical path
const circuitBreaker = new CircuitBreaker(callLLM, { threshold: 5, // failures timeout: 30000, // ms resetTimeout: 60000 // ms });
try { const response = await circuitBreaker.fire(prompt); return response; } catch (error) { // Fallback: rule-based system, cached response, or human queue return fallbackHandler(prompt); }
Combine semantic search with keyword matching for better retrieval
When to use: Implementing RAG systems
// 1. Semantic search (vector similarity) const embedding = await embed(query); const semanticResults = await vectorDB.search(embedding, topK: 20);
// 2. Keyword search (BM25) const keywordResults = await fullTextSearch(query, topK: 20);
// 3. Rerank combined results const combined = rerank([...semanticResults, ...keywordResults]); const topChunks =
testing
Fix SEO indexing issues, crawl budget problems, and Search Console coverage errors for Next.js apps. Covers canonical tags, noindex audits, sitemap health, static rendering, and internal linking.
data-ai
Analyze AI disruption pressure across a business, map competitive exposure, and produce a 90-day defensive action plan.
tools
--- name: longbridge description: 125+ agent skills for Longbridge Securities — real-time quotes, charts, fundamentals, portfolio analysis, options, and more for HK/US/A-share/SG markets. Trilingual: Simplified Chinese, Traditional category: AI & Agents source: antigravity tags: [api, mcp, claude, ai, agent, security, cro] url: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/longbridge --- # Longbridge ## Overview Longbridge is the official skill collection for Longbr
tools
Design, debug, and harden GitHub Actions CI/CD workflows, including reusable workflows, matrix builds, self-hosted runners, OIDC authentication, caching, environments, secrets, and release automation.