Communitygithub.com

SamuelChien/mega-skills-collection

AI 代理開發工作流程,用於建構自主代理、多代理系統以及使用 CrewAI、LangGraph 和自訂代理進行代理協調。

mega-skills-collection 是什麼?

此技能提供了一個專門的工作流程,用於使用現代框架(如 CrewAI 和 LangGraph)開發 AI 代理,涵蓋從單一自主代理到複雜多代理系統與協調的整個開發生命週期。它引導開發人員依序完成七個階段:代理設計、單一代理實作、多代理系統建置、代理協調、工具整合、記憶體系統設置以及最終評估。透過為每個階段定義明確的行動、可調用的輔助技能以及可複製的提示詞,此工作流程有助於標準化開發流程並減少認知負荷。它支援多種平台(包括 Cursor、Claude Code 和 Codex),並整合了品質關卡,以確保代理邏輯、工具、記憶體和協調功能完整且經過驗證。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/SamuelChien/mega-skills-collection/tree/HEAD/ai-agent-development

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

AI 代理開發工作流程

概述

專門用於建構 AI 代理的工作流程,包含單一自主代理、多代理系統、代理協調、工具整合以及人機協作模式。

何時使用此工作流程

在以下情況使用此工作流程:

  • 建構自主 AI 代理
  • 建立多代理系統
  • 實作代理協調
  • 為代理新增工具整合
  • 設定代理記憶體

工作流程階段

階段 1:代理設計

應調用的技能

  • ai-agents-architect - 代理架構
  • autonomous-agents - 自主模式

行動

  1. 定義代理目的
  2. 設計代理能力
  3. 規劃工具整合
  4. 設計記憶體系統
  5. 定義成功指標

可複製提示詞

使用 @ai-agents-architect 設計 AI 代理架構

階段 2:單一代理實作

應調用的技能

  • autonomous-agent-patterns - 代理模式
  • autonomous-agents - 自主代理

行動

  1. 選擇代理框架
  2. 實作代理邏輯
  3. 新增工具整合
  4. 設定記憶體
  5. 測試代理行為

可複製提示詞

使用 @autonomous-agent-patterns 實作單一代理

階段 3:多代理系統

應調用的技能

  • crewai - CrewAI 框架
  • multi-agent-patterns - 多代理模式

行動

  1. 定義代理角色
  2. 設定代理通訊
  3. 設定協調機制
  4. 實作任務委派
  5. 測試協調

可複製提示詞

使用 @crewai 建構具有角色的多代理系統

階段 4:代理協調

應調用的技能

  • langgraph - LangGraph 協調
  • workflow-orchestration-patterns - 協調模式

行動

  1. 設計工作流程圖
  2. 實作狀態管理
  3. 新增條件分支
  4. 設定持久化
  5. 測試工作流程

可複製提示詞

使用 @langgraph 建立有狀態的代理工作流程

階段 5:工具整合

應調用的技能

  • agent-tool-builder - 工具建構
  • tool-design - 工具設計

行動

  1. 識別工具需求
  2. 設計工具介面
  3. 實作工具
  4. 新增錯誤處理
  5. 測試工具使用

可複製提示詞

使用 @agent-tool-builder 建立代理工具

階段 6:記憶體系統

應調用的技能

  • agent-memory-systems - 記憶體架構
  • conversation-memory - 對話記憶體

行動

  1. 設計記憶體結構
  2. 實作短期記憶體
  3. 設定長期記憶體
  4. 新增實體記憶體
  5. 測試記憶體檢索

可複製提示詞

使用 @agent-memory-systems 實作代理記憶體

階段 7:評估

應調用的技能

  • agent-evaluation - 代理評估
  • evaluation - AI 評估

行動

  1. 定義評估標準
  2. 建立測試情境
  3. 衡量代理效能
  4. 測試邊界情況
  5. 迭代改進

可複製提示詞

使用 @agent-evaluation 評估代理效能

代理架構

使用者輸入 -> 規劃器 -> 代理 -> 工具 -> 記憶體 -> 回應
              |          |        |        |
         分解任務    LLM 核心  行動   短期/長期

品質關卡

  • 代理邏輯運作正常
  • 工具已整合
  • 記憶體功能正常
  • 協調已測試
  • 評估通過

相關工作流程套件

  • ai-ml - AI/ML 開發
  • rag-implementation - RAG 系統
  • workflow-automation - 工作流程模式

限制

  • 僅在任務明確符合上述範圍時使用此技能。
  • 請勿將輸出視為特定環境驗證、測試或專家審查的替代品。
  • 如果缺少所需的輸入、權限、安全邊界或成功標準,請停止並要求釐清。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

SamuelChien/mega-skills-collection

Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.

SamuelChien/mega-skills-collection

Arquitecto de Soluciones Principal y Consultor Tecnológico de Andru.ia. Diagnostica y traza la hoja de ruta óptima para proyectos de IA en español.

SamuelChien/mega-skills-collection

Ingeniero de Sistemas de Andru.ia. Diseña, redacta y despliega nuevas habilidades (skills) dentro del repositorio siguiendo el Estándar de Diamante.

SamuelChien/mega-skills-collection

Estratega de Inteligencia de Dominio de Andru.ia. Analiza el nicho específico de un proyecto para inyectar conocimientos, regulaciones y estándares únicos del sector. Actívalo tras definir el nicho.

SamuelChien/mega-skills-collection

2D game development principles. Sprites, tilemaps, physics, camera.

SamuelChien/mega-skills-collection

3D game development principles. Rendering, shaders, physics, cameras.

SamuelChien/mega-skills-collection

Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portfolios, immersive websites, and bringing depth to web experiences.

SamuelChien/mega-skills-collection

Accessibility audit skill for scanning, fixing, and verifying WCAG 2.2 Level A and AA compliance across React, Next.js, Vue, Angular, Svelte, and plain HTML codebases. Use when auditing accessibility, fixing a11y violations, checking color contrast, generating compliance reports, or integrating accessibility checks into CI/CD pipelines.

SamuelChien/mega-skills-collection

Ab Test Analyzer - Auto-activating skill for Data Analytics. Triggers on: ab test analyzer, ab test analyzer Part of the Data Analytics skill category.

SamuelChien/mega-skills-collection

A B Test Config Creator - Auto-activating skill for ML Deployment. Triggers on: a b test config creator, a b test config creator Part of the ML Deployment skill category.

SamuelChien/mega-skills-collection

When the user wants to plan, design, or implement an A/B test or experiment. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "conversion experiment," "statistical significance," or "test this." For tracking implementation, see analytics-tracking.

SamuelChien/mega-skills-collection

Acceptance Criteria Creator - Auto-activating skill for Enterprise Workflows. Triggers on: acceptance criteria creator, acceptance criteria creator Part of the Enterprise Workflows skill category.

SamuelChien/mega-skills-collection

Use when a coding task should be driven end-to-end from issue intake through implementation, review, deployment, and acceptance verification with minimal human re-intervention.

SamuelChien/mega-skills-collection

Accessibility Audit Runner - Auto-activating skill for Frontend Development. Triggers on: accessibility audit runner, accessibility audit runner Part of the Frontend Development skill category.

SamuelChien/mega-skills-collection

You are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive technology compatibility. Conduct audits, identify barriers, and provide remediation guidance.

SamuelChien/mega-skills-collection

Web accessibility patterns for WCAG 2.2 compliance including ARIA, keyboard navigation, screen readers, and testing

SamuelChien/mega-skills-collection

Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the Discord channel.

SamuelChien/mega-skills-collection

Create unified specification packages across Business, Development, and Design teams. Staged elaboration (L0 Vision → L1 Requirements → L2 Team Detail → L3 Acceptance Criteria) to build shared understanding. Does not write code.

SamuelChien/mega-skills-collection

Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect enrichment tools or your CRM. Trigger with "research [company]", "look up [person]", "intel on [prospect]", "who is [name] at [company]", or "tell me about [company]".

SamuelChien/mega-skills-collection

Validate messaging consistency across website, GitHub repos, and local documentation generating read-only discrepancy reports. Use when checking content alignment or finding mixed messaging. Trigger with phrases like "check consistency", "validate documentation", or "audit messaging".

相關技能