ai-ml

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

AI/ML Workflow Bundle

AI/ML工作流合集

Overview

概述

Comprehensive AI/ML workflow for building LLM applications, implementing RAG systems, creating AI agents, and developing machine learning pipelines. This bundle orchestrates skills for production AI development.
用于构建LLM应用、实现RAG系统、创建AI Agent以及开发机器学习流水线的综合性AI/ML工作流。该合集编排了生产级AI开发所需的各项技能。

When to Use This Workflow

何时使用此工作流

Use this workflow when:
  • Building LLM-powered applications
  • Implementing RAG (Retrieval-Augmented Generation)
  • Creating AI agents
  • Developing ML pipelines
  • Adding AI features to applications
  • Setting up AI observability
在以下场景使用此工作流:
  • 构建基于LLM的应用
  • 实现RAG(检索增强生成)
  • 创建AI Agent
  • 开发ML流水线
  • 为应用添加AI功能
  • 搭建AI可观测性体系

Workflow Phases

工作流阶段

Phase 1: AI Application Design

阶段1:AI应用设计

Skills to Invoke

需调用的技能

  • ai-product
    - AI product development
  • ai-engineer
    - AI engineering
  • ai-agents-architect
    - Agent architecture
  • llm-app-patterns
    - LLM patterns
  • ai-product
    - AI产品开发
  • ai-engineer
    - AI工程
  • ai-agents-architect
    - Agent架构设计
  • llm-app-patterns
    - LLM应用模式

Actions

操作步骤

  1. Define AI use cases
  2. Choose appropriate models
  3. Design system architecture
  4. Plan data flows
  5. Define success metrics
  1. 定义AI用例
  2. 选择合适的模型
  3. 设计系统架构
  4. 规划数据流
  5. 定义成功指标

Copy-Paste Prompts

可复制粘贴的提示词

Use @ai-product to design AI-powered features
Use @ai-agents-architect to design multi-agent system
Use @ai-product to design AI-powered features
Use @ai-agents-architect to design multi-agent system

Phase 2: LLM Integration

阶段2:LLM集成

Skills to Invoke

需调用的技能

  • llm-application-dev-ai-assistant
    - AI assistant development
  • llm-application-dev-langchain-agent
    - LangChain agents
  • llm-application-dev-prompt-optimize
    - Prompt engineering
  • gemini-api-dev
    - Gemini API
  • llm-application-dev-ai-assistant
    - AI助手开发
  • llm-application-dev-langchain-agent
    - LangChain Agent
  • llm-application-dev-prompt-optimize
    - 提示词工程
  • gemini-api-dev
    - Gemini API开发

Actions

操作步骤

  1. Select LLM provider
  2. Set up API access
  3. Implement prompt templates
  4. Configure model parameters
  5. Add streaming support
  6. Implement error handling
  1. 选择LLM提供商
  2. 配置API访问权限
  3. 实现提示词模板
  4. 配置模型参数
  5. 添加流式支持
  6. 实现错误处理

Copy-Paste Prompts

可复制粘贴的提示词

Use @llm-application-dev-ai-assistant to build conversational AI
Use @llm-application-dev-langchain-agent to create LangChain agents
Use @llm-application-dev-prompt-optimize to optimize prompts
Use @llm-application-dev-ai-assistant to build conversational AI
Use @llm-application-dev-langchain-agent to create LangChain agents
Use @llm-application-dev-prompt-optimize to optimize prompts

Phase 3: RAG Implementation

阶段3:RAG实现

Skills to Invoke

需调用的技能

  • rag-engineer
    - RAG engineering
  • rag-implementation
    - RAG implementation
  • embedding-strategies
    - Embedding selection
  • vector-database-engineer
    - Vector databases
  • similarity-search-patterns
    - Similarity search
  • hybrid-search-implementation
    - Hybrid search
  • rag-engineer
    - RAG工程
  • rag-implementation
    - RAG实现
  • embedding-strategies
    - 嵌入策略选择
  • vector-database-engineer
    - 向量数据库
  • similarity-search-patterns
    - 相似度搜索
  • hybrid-search-implementation
    - 混合搜索实现

Actions

操作步骤

  1. Design data pipeline
  2. Choose embedding model
  3. Set up vector database
  4. Implement chunking strategy
  5. Configure retrieval
  6. Add reranking
  7. Implement caching
  1. 设计数据流水线
  2. 选择嵌入模型
  3. 搭建向量数据库
  4. 实现分块策略
  5. 配置检索逻辑
  6. 添加重排序机制
  7. 实现缓存功能

Copy-Paste Prompts

可复制粘贴的提示词

Use @rag-engineer to design RAG pipeline
Use @vector-database-engineer to set up vector search
Use @embedding-strategies to select optimal embeddings
Use @rag-engineer to design RAG pipeline
Use @vector-database-engineer to set up vector search
Use @embedding-strategies to select optimal embeddings

Phase 4: AI Agent Development

阶段4:AI Agent开发

Skills to Invoke

需调用的技能

  • autonomous-agents
    - Autonomous agent patterns
  • autonomous-agent-patterns
    - Agent patterns
  • crewai
    - CrewAI framework
  • langgraph
    - LangGraph
  • multi-agent-patterns
    - Multi-agent systems
  • computer-use-agents
    - Computer use agents
  • autonomous-agents
    - 自主Agent模式
  • autonomous-agent-patterns
    - Agent模式
  • crewai
    - CrewAI框架
  • langgraph
    - LangGraph
  • multi-agent-patterns
    - 多Agent系统
  • computer-use-agents
    - 计算机操作Agent

Actions

操作步骤

  1. Design agent architecture
  2. Define agent roles
  3. Implement tool integration
  4. Set up memory systems
  5. Configure orchestration
  6. Add human-in-the-loop
  1. 设计Agent架构
  2. 定义Agent角色
  3. 实现工具集成
  4. 搭建记忆系统
  5. 配置编排逻辑
  6. 添加人在环机制

Copy-Paste Prompts

可复制粘贴的提示词

Use @crewai to build role-based multi-agent system
Use @langgraph to create stateful AI workflows
Use @autonomous-agents to design autonomous agent
Use @crewai to build role-based multi-agent system
Use @langgraph to create stateful AI workflows
Use @autonomous-agents to design autonomous agent

Phase 5: ML Pipeline Development

阶段5:ML流水线开发

Skills to Invoke

需调用的技能

  • ml-engineer
    - ML engineering
  • mlops-engineer
    - MLOps
  • machine-learning-ops-ml-pipeline
    - ML pipelines
  • ml-pipeline-workflow
    - ML workflows
  • data-engineer
    - Data engineering
  • ml-engineer
    - ML工程
  • mlops-engineer
    - MLOps
  • machine-learning-ops-ml-pipeline
    - ML流水线
  • ml-pipeline-workflow
    - ML工作流
  • data-engineer
    - 数据工程

Actions

操作步骤

  1. Design ML pipeline
  2. Set up data processing
  3. Implement model training
  4. Configure evaluation
  5. Set up model registry
  6. Deploy models
  1. 设计ML流水线
  2. 搭建数据处理流程
  3. 实现模型训练
  4. 配置评估机制
  5. 搭建模型仓库
  6. 部署模型

Copy-Paste Prompts

可复制粘贴的提示词

Use @ml-engineer to build machine learning pipeline
Use @mlops-engineer to set up MLOps infrastructure
Use @ml-engineer to build machine learning pipeline
Use @mlops-engineer to set up MLOps infrastructure

Phase 6: AI Observability

阶段6:AI可观测性

Skills to Invoke

需调用的技能

  • langfuse
    - Langfuse observability
  • manifest
    - Manifest telemetry
  • evaluation
    - AI evaluation
  • llm-evaluation
    - LLM evaluation
  • langfuse
    - Langfuse可观测性
  • manifest
    - Manifest遥测
  • evaluation
    - AI评估
  • llm-evaluation
    - LLM评估

Actions

操作步骤

  1. Set up tracing
  2. Configure logging
  3. Implement evaluation
  4. Monitor performance
  5. Track costs
  6. Set up alerts
  1. 搭建追踪系统
  2. 配置日志记录
  3. 实现评估逻辑
  4. 监控性能指标
  5. 追踪成本开销
  6. 配置告警机制

Copy-Paste Prompts

可复制粘贴的提示词

Use @langfuse to set up LLM observability
Use @evaluation to create evaluation framework
Use @langfuse to set up LLM observability
Use @evaluation to create evaluation framework

Phase 7: AI Security

阶段7:AI安全

Skills to Invoke

需调用的技能

  • prompt-engineering
    - Prompt security
  • security-scanning-security-sast
    - Security scanning
  • prompt-engineering
    - 提示词安全
  • security-scanning-security-sast
    - 安全扫描

Actions

操作步骤

  1. Implement input validation
  2. Add output filtering
  3. Configure rate limiting
  4. Set up access controls
  5. Monitor for abuse
  6. Implement audit logging
  1. 实现输入验证
  2. 添加输出过滤
  3. 配置速率限制
  4. 搭建访问控制
  5. 监控滥用行为
  6. 实现审计日志

AI Development Checklist

AI开发检查清单

LLM Integration

LLM集成

  • API keys secured
  • Rate limiting configured
  • Error handling implemented
  • Streaming enabled
  • Token usage tracked
  • API密钥已加密存储
  • 速率限制已配置
  • 错误处理已实现
  • 流式功能已启用
  • Token使用量已追踪

RAG System

RAG系统

  • Data pipeline working
  • Embeddings generated
  • Vector search optimized
  • Retrieval accuracy tested
  • Caching implemented
  • 数据流水线正常运行
  • 嵌入向量已生成
  • 向量搜索已优化
  • 检索准确率已测试
  • 缓存功能已实现

AI Agents

AI Agent

  • Agent roles defined
  • Tools integrated
  • Memory working
  • Orchestration tested
  • Error handling robust
  • Agent角色已定义
  • 工具已集成
  • 记忆系统正常工作
  • 编排逻辑已测试
  • 错误处理机制健壮

Observability

可观测性

  • Tracing enabled
  • Metrics collected
  • Evaluation running
  • Alerts configured
  • Dashboards created
  • 追踪功能已启用
  • 指标已收集
  • 评估任务已运行
  • 告警已配置
  • 仪表盘已创建

Quality Gates

质量门禁

  • All AI features tested
  • Performance benchmarks met
  • Security measures in place
  • Observability configured
  • Documentation complete
  • 所有AI功能已测试
  • 性能基准已达标
  • 安全措施已部署
  • 可观测性已配置
  • 文档已完善

Related Workflow Bundles

相关工作流合集

  • development
    - Application development
  • database
    - Data management
  • cloud-devops
    - Infrastructure
  • testing-qa
    - AI testing
  • development
    - 应用开发
  • database
    - 数据管理
  • cloud-devops
    - 基础设施
  • testing-qa
    - AI测试