add-ai-feature
/add-ai-feature
Dodaje do produktu funkcję AI, np. czat, generowanie lub klasyfikację, z kluczami po stronie serwera i limitem kosztów.
- Autor
- chatquill ↗
- Repozytorium
- claude-code-websites ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 09.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 09.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Dodaje do produktu funkcję AI, np. czat, generowanie lub klasyfikację, z kluczami po stronie serwera i limitem kosztów.
Argumenty
/add-ai-feature <feature description>
Oryginalny opis (EN)
Adds an LLM-powered feature (chat, generation, summarisation, extraction, classification, agent with tools, RAG over the product's data) with server-side keys, streaming, structured outputs, prompt-injection defences, cost limits and an eval set. Use when the product needs AI capabilities.
Jak działa
- Inputs
- Phases
- Never
- Next step
Podgląd SKILL.md
--- name: add-ai-feature description: "Adds an LLM-powered feature (chat, generation, summarisation, extraction, classification, agent with tools, RAG over the product's data) with server-side keys, streaming, structured outputs, prompt-injection defences, cost limits and an eval set. Use when the product needs AI capabilities." argument-hint: "<feature description>" user-invocable: true allowed-tools: Read, Glob, Grep, Write, Edit, AskUserQuestion, Agent, Bash(bash .claude/scripts/*), WebFetch model: opus --- # Add AI Feature AI features must be useful, safe and affordable, and measured with evals. No paid API calls happen without the user's explicit go-ahead; tests use recorded or mocked responses. ## Inputs - The feature description and its spec/PRD section - `project.yaml → stack.ai`, `stack.database`, `stack.search`, `privacy.regions` - If installed, the `claude-api` skill (current model IDs, SDK usage, tool use, prompt caching); otherwise fetch the provider's official docs. Never guess model IDs. ## Phases ### Phase 1: Shape the feature Ask: what the user gives, what they get, what "good" looks like (3–5 concrete examples), latency expectation (streaming?), and what must never happen. Decide the pattern: single call with structured output, chat, RAG, or tool-using agent. ### Phase 2: Provider and model If `stack.ai` is null, ask for the provider. Pick the model by task, latency and cost; default to the provider's latest suitable models. Estimate cost per request and per active user per month. ADR for a new vendor; `config-set.sh stack.ai=<value>` after approval. ### Phase 3: Data, safety and privacy - RAG: what sources, chunking, embeddings, vector store (pgvector by default), permission filtering at retrieval time (users only retrieve what they may read), citations back to sources. - `security-lead`: prompt injection from retrieved/user content, tool misuse, data exfiltration via output links/markdown, over-broad tools. Tools with side effects require user confirmation. - `privacy-compliance-specialist`: what personal data goes to the provider, retention, processor listing, disclosure to users. ### Phase 4: Plan `ai-features-engineer` with the backend specialist: - server-only SDK client; key in env (`.env.example` placeholder) - versioned prompts in code; structured outputs (JSON schema / tool use) for anything parsed - streaming endpoint with abort and timeout handling; UI with partial rendering and stop button - per-user rate limits and quotas, token budgets, prompt caching where supported, usage logging - eval set (`tests/evals/<feature>.jsonl`, 10–30 labelled cases) and a script to run it on demand - tests with mocked model responses; no live calls in CI Ask: stories (recommended) or direct implementation. ## Never Ship keys to the client; let model output execute code or side effects unreviewed; send data the privacy policy doesn't cover; run evals against paid APIs without the user's go. ## Next step `/security-audit ai`, then `/analytics-plan` to measure the feature's use.
Wersje
W bazie nie ma innych skilli o nazwie add-ai-feature.
Migawka bazy z 13.11.2026 · wersja paczki 35146edaf335 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90ai-product-architect
Projektuje produkty AI i przepływy agentów: wybór modelu, RAG, narzędzia, ewaluację, koszty i bariery bezpieczeństwa. - 100llm-feature-eval
Projektuje zestaw ewaluacyjny dla funkcji opartej na LLM: złoty zbiór danych, rubryki, progi regresji, koszty i przypadki brzegowe. - 100llm-integration
Buduje produkcyjne funkcje oparte na API LLM: strukturę promptów, walidowane dane wyjściowe, strumieniowanie i obronę przed wstrzyknięciami. - 100secure-llm-features
Projektuje lub przegląda funkcję LLM, która czyta niezaufany tekst lub używa narzędzi, z limitami kosztów i zgodnością z OWASP LLM Top 10. - 100eval-driven-ai-product
Wymaga, by akceptacją funkcji opartej na AI i LLM była ewaluacja: przed wdrożeniem określa zbiór danych, graderów, progi i taksonomię porażek. - 100ai-integration
Projektuje, wdraża, ocenia i zabezpiecza funkcje LLM, systemy RAG i agentów korzystających z narzędzi, w tym dane wyjściowe w strukturze i kontrolę kosztów.