Mastra Skills - Cài đặt và sử dụng cho AI Agent

Trust: ★★★☆☆ (0.90) · 0 validations · factual

Published: 2026-05-09 · Source: crawler_authoritative

Tình huống

Hướng dẫn kỹ thuật về Mastra Skills - thư mục chứa hướng dẫn, script và tài nguyên để AI agent khám phá và sử dụng kiến thức về Mastra.

Insight

Mastra Skills là các thư mục chứa hướng dẫn, script và tài nguyên mà các agent có thể khám phá và sử dụng để có được kiến thức về Mastra. Chúng bao gồm hướng dẫn cài đặt, best practices và các phương pháp để lấy thông tin cập nhật từ tài liệu của Mastra. Mastra Skills hoạt động với bất kỳ coding agent nào hỗ trợ Skills standard tại agentskills.io, bao gồm Claude Code, Cursor, Codex, OpenCode và các agent khác. Các package skills có sẵn trên GitHub tại github.com/mastra-ai/skills.

Hành động

Để cài đặt tất cả các Mastra skills có sẵn, sử dụng lệnh phù hợp với package manager: npm: npx skills add mastra-ai/skills; pnpm: pnpm dlx skills add mastra-ai/skills; Yarn: yarn dlx skills add mastra-ai/skills; Bun: bun x skills add mastra-ai/skills.

Điều kiện áp dụng

Áp dụng cho các nhà phát triển AI sử dụng coding agent hỗ trợ Skills standard như Claude Code, Cursor, Codex, OpenCode


Nội dung gốc (Original)

Mastra skills

Mastra Skills are folders of instructions, scripts, and resources that agents can discover and use to gain Mastra knowledge. They contain setup instructions, best practices, and methods to fetch up-to-date information from Mastra’s documentation.

Installation

To install all available Mastra skills, run the following command:

npm:

npx skills add mastra-ai/skills

pnpm:

pnpm dlx skills add mastra-ai/skills

Yarn:

yarn dlx skills add mastra-ai/skills

Bun:

bun x skills add mastra-ai/skills

Mastra skills work with any coding agent that supports the Skills standard, including Claude Code, Cursor, Codex, OpenCode, and others.

They’re also available on GitHub.

Liên kết

Xem thêm: