Chuyển đến nội dung
Skillpedia
Agent8.2k · #12534

intelligent-routing

Skill này làm gì

Skill này khiến AI của bạn hoạt động như một quản lý dự án. Nó đọc từng yêu cầu và chọn cách tiếp cận chuyên gia phù hợp nhất, nên bạn không cần nêu tên một chuyên gia. Dành cho người làm việc với nhiều trợ lý AI.

Khi nào nên dùng

  • ✓Khi bạn đưa ra một yêu cầu chạm đến nhiều lĩnh vực, như đăng nhập cộng với thay đổi thiết kế.
  • ✓Khi bạn không biết nên hỏi chuyên gia nào.
  • ✓Khi bạn muốn AI tự chọn đúng chuyên gia cho từng tác vụ mới.

Liên kết skill

https://github.com/vudovn/ag-kit/blob/main/.agents/skills/intelligent-routing/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/vudovn/ag-kit/blob/main/.agents/skills/intelligent-routing/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Thêm một trang đăng nhập vào ứng dụng của tôi. Hãy chọn các chuyên gia cần thiết và tự xử lý.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill kiểm tra yêu cầu xem có từ khóa nào, các lĩnh vực liên quan và mức độ phức tạp. Sau đó nó khớp những điều này với một bảng chuyên gia và mời những người phù hợp.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Intelligent Agent Routing

Purpose: Automatically analyze user requests and route them to the most appropriate specialist agent(s) without requiring explicit user mentions.

Core Principle

The AI should act as an intelligent Project Manager, analyzing each request and automatically selecting the best specialist(s) for the job.

How It Works

1. Request Analysis

Before responding to ANY user request, perform automatic analysis:

graph TD
    A[User Request: Add login] --> B[ANALYZE]
    B --> C[Keywords]
    B --> D[Domains]
    B --> E[Complexity]
    C --> F[SELECT AGENT]
    D --> F
    E --> F
    F --> G[security-auditor + backend-specialist]
    G --> H[AUTO-INVOKE with context]

2. Agent Selection Matrix

Use this matrix to automatically select agents:

User Intent Keywords Selected Agent(s) Auto-invoke?
Authentication "login", "auth", "signup", "password" security-auditor + backend-specialist ✅ YES
UI Component "button", "card", "layout", "style" frontend-specialist ✅ YES
Mobile UI "screen", "navigation", "touch", "gesture" mobile-developer ✅ YES
API Endpoint "endpoint", "route", "API", "POST", "GET" backend-specialist ✅ YES
Database "schema", "migration", "query", "table" database-architect + backend-specialist ✅ YES
Bug Fix "error", "bug", "not working", "broken" debugger ✅ YES
Test "test", "coverage", "unit", "e2e" test-engineer ✅ YES
Deployment "deploy", "production", "CI/CD", "docker" devops-engineer ✅ YES
Security Review "security", "vulnerability", "exploit" security-auditor + penetration-tester ✅ YES
Performance "slow", "optimize", "performance", "speed" performance-optimizer ✅ YES
Product Def "requirements", "user story", "backlog", "MVP" product-owner ✅ YES
New Feature "build", "create", "implement", "new app" orchestrator → multi-agent ⚠️ ASK FIRST
Complex Task Multiple domains detected orchestrator → multi-agent ⚠️ ASK FIRST

3. Automatic Routing Protocol

TIER 0 - Automatic Analysis (ALWAYS ACTIVE)

Before responding to ANY request:

// Pseudo-code for decision tree
function analyzeRequest(userMessage) {
    // 1. Classify request type
    const requestType = classifyRequest(userMessage);

    // 2. Detect domains
    const domains = detectDomains(userMessage);

    // 3. Determine complexity
    const complexity = assessComplexity(domains);

    // 4. Select agent(s)
    if (complexity === "SIMPLE" && domains.length === 1) {
        return selectSingleAgent(domains[0]);
    } else if (complexity === "MODERATE" && domains.length <= 2) {
        return selectMultipleAgents(domains);
    } else {
        return "orchestrator"; // Complex task
    }
}

4. Response Format

When auto-selecting an agent, inform the user concisely:

🤖 **Applying knowledge of `@security-auditor` + `@backend-specialist`...**

[Proceed with specialized response]

Benefits:

  • ✅ User sees which expertise is being applied
  • ✅ Transparent decision-making
  • ✅ Still automatic (no /commands needed)

Domain Detection Rules

Single-Domain Tasks (Auto-invoke Single Agent)

Domain Patterns Agent
Security auth, login, jwt, password, hash, token security-auditor
Frontend component, react, vue, css, html, tailwind frontend-specialist
Backend api, server, express, fastapi, node backend-specialist
Mobile react native, flutter, ios, android, expo mobile-developer
Câu hỏi thường gặp

Nó có hỏi tôi nên dùng chuyên gia nào không?

Không. Skill được viết để tự chọn chuyên gia từ yêu cầu.

Nó kiểm tra gì trước khi chọn?

Nó xem các từ khóa trong yêu cầu, các lĩnh vực liên quan và mức độ phức tạp của tác vụ.

Nó khớp những loại yêu cầu nào?

Nó khớp các lĩnh vực phổ biến như xác thực, giao diện người dùng và màn hình di động, dựa trên từ khóa trong yêu cầu.

Chi tiết

Mô tả gốc của tác giả

Automatic agent selection and intelligent task routing. Analyzes user requests and automatically selects the best specialist agent(s) without requiring explicit user mentions.

repo: vudovn/ag-kit

Độ phổ biến

Sao GitHub
8.2k
Vị trí xếp hạng
#12534
Giấy phép
MIT
Cập nhật
18/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự