スキル一覧に戻る
mastra-ai

mastra-embeded-docs-look-up

by mastra-ai

Official agent skills for coding agents working with the Mastra AI framework

5🍴 0📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: mastra-embeded-docs-look-up

prettier-ignore

description: Look up Mastra API documentation embedded in node_modules/@mastra/*/dist/docs/ for accurate API signatures. Use for Agent, Workflow, Tool, Memory configuration questions and code validation. license: Apache-2.0 metadata: author: Mastra version: "1.0.0" repository: https://github.com/mastra-ai/skills

Mastra Embedded Docs Lookup

Look up API signatures from embedded docs in node_modules/@mastra/*/dist/docs/ - these match the installed version.


Documentation Structure

node_modules/@mastra/core/dist/docs/
├── SKILL.md           # Package overview, exports
├── SOURCE_MAP.json    # Export→file mappings
└── [topics]/          # Feature docs (agents/, workflows/, etc.)

Lookup Process

1. Find the export:

cat node_modules/@mastra/core/dist/docs/SOURCE_MAP.json | grep '"Agent"'

Returns: { "Agent": { "types": "dist/agent/agent.d.ts", ... } }

2. Read type definition:

cat node_modules/@mastra/core/dist/agent/agent.d.ts

3. Check topic docs:

cat node_modules/@mastra/core/dist/docs/agents/01-overview.md

Common Packages

PackagePathContains
@mastra/corenode_modules/@mastra/core/dist/docs/Agents, Workflows, Tools
@mastra/memorynode_modules/@mastra/memory/dist/docs/Memory systems
@mastra/ragnode_modules/@mastra/rag/dist/docs/RAG features

Quick Commands

# List installed packages
ls node_modules/@mastra/

# Find export in SOURCE_MAP
cat node_modules/@mastra/core/dist/docs/SOURCE_MAP.json | grep '"ExportName"'

# Read type definition
cat node_modules/@mastra/core/dist/[path-from-source-map]

# List available topics
ls node_modules/@mastra/core/dist/docs/

Why Use This

  • Embedded docs match installed version
  • Mastra is in active beta (APIs change frequently)
  • Training data may be outdated
  • Type definitions include JSDoc and examples

スコア

総合スコア

55/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

0/5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です