Skip to content

Snippets Overview

ds-agent-rules includes 23 domain-specific snippet modules. Mix and match them to build the perfect rule set for your project.

How to use snippets

# Add individual snippets
./sync.sh ds-ml rag mlops pytorch

# Or list them in .ai-rules.yaml
# snippets:
#   - rag
#   - mlops
#   - pytorch

Available Snippets

Snippet Domain Recommended Preset
agentic-ai AI Agents & Tool Use agentic-ai
audio-speech ASR / TTS / Audio
chinese-nlp Traditional Chinese NLP
ctr-prediction CTR / Recommendations recsys-project
cv Computer Vision cv-project
data-labeling Annotation & Active Learning labeling-project
distributed-training Multi-GPU/Node distributed-llm
edge-inference Mobile / Edge Deployment edge-deploy
evaluation-framework Systematic Evaluation nlp-project
graph-ml Graph Neural Networks graph-ml-project
jax JAX / Flax jax-research
llm-finetuning LLM Fine-Tuning (LoRA, RLHF) llm-project
mlops MLOps & Deployment Most presets
nlp-general General NLP nlp-project
prompt-engineering Prompt Design & Versioning agentic-ai
pytorch PyTorch distributed-llm
rag RAG Pipeline llm-project
responsible-ai Responsible AI & Safety llm-project
streaming-ml Online Learning & Streaming data-platform
synthetic-data Synthetic Data & Privacy
tabular-ml Tabular ML tabular-project
time-series Time Series Forecasting ts-forecast
vlm Vision-Language Models vlm-project

Writing Your Own Snippet

See the Contributing Guide for the snippet format specification and quality criteria.