Loading...
Loading...
Compare original and translation side by side
Is this a reference/lookup task?
├── YES → Use a SKILL (lightweight, auto-injects)
└── NO → Does it require reasoning/decisions?
├── YES → Use an AGENT (heavyweight, spawns subagent)
└── MAYBE → Check catalogs belowIs this a reference/lookup task?
├── YES → Use a SKILL (lightweight, auto-injects)
└── NO → Does it require reasoning/decisions?
├── YES → Use an AGENT (heavyweight, spawns subagent)
└── MAYBE → Check catalogs below| Skill | Triggers |
|---|---|
| file-search | fd, rg, fzf, find files |
| find-replace | sd, batch replace |
| code-stats | tokei, difft, line counts |
| data-processing | jq, yq, json, yaml |
| structural-search | ast-grep, sg, ast pattern |
| git-workflow | lazygit, gh, delta, rebase |
| python-env | uv, venv, pyproject |
| rest-patterns | http methods, status codes |
| sql-patterns | cte, window functions |
| sqlite-ops | sqlite, aiosqlite |
| tailwind-patterns | tailwind, tw classes |
| mcp-patterns | mcp server, protocol |
| Skill | 触发条件 |
|---|---|
| file-search | fd、rg、fzf、查找文件 |
| find-replace | sd、批量替换 |
| code-stats | tokei、difft、代码行数统计 |
| data-processing | jq、yq、json、yaml |
| structural-search | ast-grep、sg、AST模式 |
| git-workflow | lazygit、gh、delta、变基 |
| python-env | uv、venv、pyproject |
| rest-patterns | HTTP方法、状态码 |
| sql-patterns | cte、窗口函数 |
| sqlite-ops | sqlite、aiosqlite |
| tailwind-patterns | tailwind、tw类 |
| mcp-patterns | mcp服务器、协议 |
| Agent | Triggers |
|---|---|
| python-expert | Python, async, pytest |
| typescript-expert | TypeScript, types, generics |
| react-expert | React, hooks, state |
| postgres-expert | PostgreSQL, query optimization |
| cloudflare-expert | Workers, KV, D1, R2 |
| Explore | "where is", "find" |
| Plan | design, architect |
| Agent | 触发条件 |
|---|---|
| python-expert | Python、async、pytest |
| typescript-expert | TypeScript、类型、泛型 |
| react-expert | React、hooks、状态管理 |
| postgres-expert | PostgreSQL、查询优化 |
| cloudflare-expert | Workers、KV、D1、R2 |
| Explore | "where is"、"find" |
| Plan | 设计、架构 |
Skill tool → skill: "file-search"Task tool → subagent_type: "python-expert"
→ prompt: "Your task"Skill tool → skill: "file-search"Task tool → subagent_type: "python-expert"
→ prompt: "Your task"| Task | Skill First | Agent If Needed |
|---|---|---|
| "How to write a CTE?" | sql-patterns | sql-expert |
| "Optimize this query" | — | postgres-expert |
| "Find files named X" | file-search | Explore |
| "Set up Python project" | python-env | python-expert |
| "What HTTP status for X?" | rest-patterns | — |
| 任务 | 优先使用Skill | 必要时使用Agent |
|---|---|---|
| "如何编写CTE?" | sql-patterns | sql-expert |
| "优化这个查询" | — | postgres-expert |
| "查找名为X的文件" | file-search | Explore |
| "搭建Python项目" | python-env | python-expert |
| "X对应的HTTP状态码是什么?" | rest-patterns | — |
./references/agents-catalog.md./references/skills-catalog.md./references/agents-catalog.md./references/skills-catalog.md