Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Ai Features?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/thaithienvanid-ai-features)
---
name: ai-features
description: "In an aidd repository, use when code touches LLM calls, prompts, model versions, RAG, embeddings, vector stores, fine-tuning, evals, or guardrails."
---
<!-- generated by `aidd gen-docs` from schemas/packs.json; edit the registry, not this file -->
# AI features
## Scope
Applies when the change touches a model call, retrieval, embeddings, or fine-tuning. Not when no model, retrieval, or embedding runs when the product does. Neighbours: `aidd-team:ai-evals`, `aidd-domains:ai-agents-and-tools`, `aidd-domains:privacy-by-default`.
## Standards
| # | Standard | Edition | Checked | Source |
| --- | --- | --- | --- | --- |
| S1 | NIST AI RMF and NIST AI 600-1 | AI RMF 1.0; NIST AI 600-1 | 2026-11-10 | <https://www.nist.gov/itl/ai-risk-management-framework> |
| S2 | OWASP Top 10 for LLM Applications | 2026 edition | 2026-11-10 | <https://genai.owasp.org/resource/owasp-genai-llm-top-10-2026/> |
| S3 | EU AI Act | Regulation (EU) 2024/1689 as amended by Regulation (EU) 2026/1744 (Digital Omnibus on AI) | 2026-10-16 | <https://eur-lex.europa.eu/eli/reg/2024/1689/oj> |
| S4 | Evals with golden datasets, and model cards | — | 2026-10-16 | — |
| S5 | Human-AI interaction guidelines: Microsoft's 18 Guidelines and the Google PAIR Guidebook | Guidelines for Human-AI Interaction (CHI 2019) | 2026-10-16 | <https://www.microsoft.com/en-us/haxtoolkit/ai-guidelines/> |
| S6 | Output guardrails and input filters as a named layer, mapped to OWASP LLM01:2026 and LLM10:2026 (emerging) | — | 2026-10-16 | <https://docs.nvidia.com/nemo/guardrails/> |
| S7 | Token and GPU cost as a FinOps unit metric | FinOps Framework 2026 | 2026-10-16 | <https://www.finops.org/framework/> |
| S8 | Model and system cards for AI features, datasheets for datasets, and the Article 50 marking and disclosure text users see | — | 2026-10-16 | <https://arxiv.org/abs/1810.03993> |
| S9 | CCPA/CPRA: the California Consumer Privacy Act, as amended by Proposition 24 (the CPRA), and its regulations | CCPA regulations effective 2026-01-01 | 2026-10-22 | <https://cppa.ca.gov/regulations/> |
| S10 | Colorado SB26-189: automated decisions with consequences | SB26-189, signed 2026-05-14 | 2026-10-22 | <https://leg.colorado.gov/bills/sb26-189> |
### Open choices
The team decides these. aidd's default holds until a `standards` entry fills one (`aidd standard list`).
| Choice | Question | aidd's default | Options |
| --- | --- | --- | --- |
| `llm-gateway` | Does a gateway sit between the code and the model providers? | No gateway for one provider: one module calls its SDK and sets max_tokens, a timeout, and bounded retries. Add a gateway when the product needs two providers, a fallback, or shared spend caps. | no gateway (the provider's SDK), LiteLLM, Cloudflare AI Gateway, Vercel AI Gateway, Portkey, OpenRouter |
| `llm-budget-mechanism` | Where are the caps on model spending enforced? | In the one module that calls the model, through the provider's SDK, with the provider's own spend limit behind it. A gateway's budgets per key take over once the project runs a gateway. | the provider's SDK in the calling module, a gateway's budgets per key, the provider's own limits |
| `vector-store` | Where are the embeddings stored and searched? | pgvector in the PostgreSQL database the application already runs, until the corpus or the query load needs a dedicated vector database. | pgvector (PostgreSQL), the host's managed vector search, Qdrant, Weaviate, Milvus, Pinecone |
| `model-serving` | Where does the model run? | A hosted provider's API. Serve an open-weights model yourself only when data residency, cost at volume, or a model the providers do not offer asks for it: vLLM on GPUs behind the gateway, and Ollama on a developer's machine. | a hosted provider's API, vLLM, SGLang, Text Generation Inference, Ollama, llama.cpp |
## Dated obligations
| From | Obligation | Standard |
| --- | --- | --- |
| 2026-08-02 | Article 50 applies: people know they deal with an AI system, and generated content is marked. | S3 |
| 2026-12-02 | Article 50(2): a generative system on the market before 2026-08-02 marks its output. AI systems that generate non-consensual sexual deepfakes or child sexual abuse material are prohibited. | S3 |
| 2027-01-01 | California: a business that uses automated decisionmaking technology (ADMT) for a significant decision meets the CPPA's rules. | S9 |
| 2027-01-01 | Colorado SB26-189: an ADMT developer documents it for deployers, and a deployer gives notice, explains an adverse outcome within 30 days, and offers human review. | S10 |
| 2027-12-02 | The rules for high-risk AI systems in Annex III apply. | S3 |
| 2028-08-02 | The rules for high-risk AI embedded in products regulated under Annex I apply. | S3 |
## Checklist by loop step
| Step | Item | Standard |
| --- | --- | --- |
| Before the first edit (`aidd risk --paths`) | Classify the feature by EU AI Act tier and NIST AI RMF risk. A prohibited use stops; a high-risk use is major, with the compliance analyst. A model that guides a decision on a person's job, housing, credit, insurance, care, or schooling is ADMT in California and Colorado. | S3, S1, S9, S10 |
| Specify | Golden dataset, eval thresholds, and a regression eval per kept behavior, in the Acceptance. | S4 |
| Specify | Model, prompt, and parameters pinned in the Spec; a documentation Task updates the model card. | S8 |
| Implement | Model output is untrusted input: validate structured output once complete, bound latency, guard against prompt injection (LLM01) and data leakage (LLM02). Caps in layers stop the calls (LLM06): max tokens per call, a budget per user that counts partial output, and the provider's spend limit. A stream stops its model call when the user stops, runs a tool call once its input validates in full, and bounds its buffer. | S2, S6, S7 |
| Implement | Generated media carries a machine-readable mark (C2PA Content Credentials or a watermark); a deepfake says so (Art. 50). | S8, S3 |
| Review | Evals ran on head against the thresholds; failure modes and human oversight documented. | S5, S1 |
| Roll out | Canary with eval and cost rollback triggers; prompts and outputs logged under the privacy rules. | S7 |
## Test commands
- From `aidd-team:ai-evals`: Eval suite, Regression evals, Injection probes, Cost and latency budget, Output PII scan.
## References
- [references/mlops.md](references/mlops.md): the model registry, reproducible training, and drift.
## Keep it current
Each entry is due after its `review_every_days` (else emerging 90 days, established 365) or by its `review_due`. An emerging one applies only when the change needs it, said in the Spec. One `aidd eval standards` lists as due is looked up in Specify, and a missing one is proposed to aidd's `schemas/industry-standards.json`.