Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ikrambagban-mastra
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/mastra
What's inside
- Skill name
mastra- Description
- Comprehensive Mastra framework guide. Teaches how to find current documentation, verify API signatures, and build agents and workflows. Covers documentation lookup strategies (embedded docs, remote docs), core concepts (agents vs workflows, tools, memory, RAG), TypeScript requirements, and common patterns. Use this skill for all Mastra development to ensure you're using current APIs from the installed version or latest documentation.
- License
- Apache-2.0
- Metadata
- author: Mastra · version: 2.0.0 · repository: https://github.com/mastra-ai/skills
- Instructions
- 165 lines in SKILL.md · view on GitHub
Files (6)
- SKILL.md
- common-errors.md · references/
- create-mastra.md · references/
- embedded-docs.md · references/
- migration-guide.md · references/
- remote-docs.md · references/
SKILL.md (first lines)
# Mastra Framework Guide
Build AI applications with Mastra. This skill teaches you how to find current documentation and build agents and workflows.
## ⚠️ Critical: Do not trust internal knowledge
Everything you know about Mastra is likely outdated or wrong. Never rely on memory. Always verify against current documentation.
Your training data contains obsolete APIs, deprecated patterns, and incorrect usage. Mastra evolves rapidly - APIs change between versions, constructor signatures shift, and patterns get refactored.
## Prerequisites
Before writing any Mastra code, check if packages are installed:
```bash
ls node_modules/@mastra/
```
- **If packages exist:** Use embedded docs first (most reliable)
- **If no packages:** Install first or use remote docs
## Documentation lookup guide
### Quick Reference
| User Question | First Check | How To |
| ----------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------- |
| "Create/install Mastra project" | [`references/create-mastra.md`](references/create-mastra.md) | Setup guide with CLI and manual steps |
| "How do I use Agent/Workflow/Tool?" | [`references/embedded-docs.md`](references/embedded-docs.md) | Look up in `node_modules/@mastra/*/dist/docs/` |
| "How do I use X?" (no packages) | [`references/remote-docs.md`](references/remote-docs.md) | Fetch from `https://mastra.ai/llms.txt` |
| "I'm getting an error..." | [`references/common-errors.md`](references/common-errors.md) | Common errors and solutions |
| "Upgrade from v0.x to v1.x" | [`references/migration-guide.md`](references/migration-guide.md) | Version upgrade workflows |
### Priority order for writing code
⚠️ Never write code without checking current docs first.
1. **Embedded docs first** (if packages installed)
Look up current docs in `node_modules` for a package. Example of looking up "Agent" docs in `@mastra/core`:
```bash
grep -r "Agent" node_modules/@mastra/core/dist/docs/references
```
- **Why:** Matches your EXACT installed version
- **Most reliable source of truth**
- **See:** [`references/embedded-docs.md`](references/embedded-docs.md)
2. **Source code second** (if packages installed)
If you can't find what you need in the embedded docs, look directly at the source code. This is more time consuming but can provide insights into implementation details.
```bash
# Check what's available
cat node_modules/@mastra/core/dist/docs/assets/SOURCE_MAP.json | grep '"Agent"'
# Read the actual type definition
cat node_modules/@mastra/core/dist/[path-from-source-map]
```
- **Why:** Ultimate source of truth if docs are missing or unclear
- **Use when:** Embedded docs don't cover your question
- **See:** [`references/embedded-docs.md`](references/embedded-docs.md)
3. **Remote docs third** (if packages not installed)
You can fetch the latest docs from the Mastra website:
```bash
https://mastra.ai/llms.txt
```
- **Why:** Latest published docs (may be ahead of installed version)
- **Use when:** Packages not installed or exploring new features
- **See:** [`references/remote-docs.md`](references/remote-docs.md)
## Core concepts
### Agents vs workflows
**Agent**: Autonomous, makes decisions, uses tools
Use for: Open-ended tasks (support, research, analysis)
**Workflow**: Structured sequence of steps
Use for: Defined processes (pipelines, approvals, ETL)
### Key components
- **Tools**: Extend agent capabilities (APIs, databases, external services)
- **Memory**: Maintain context (message history, working memory, semantic recall)
- **RAG**: Query external knowledge (vector stores, graph relationships)
- **Storage**: Persist data (Postgres, LibSQL, MongoDB)
## Critical requirements
### TypeScript config
Mastra requires **ES2022 modules**. CommonJS will fail.
```json
{
"compilerOptions": {
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "bundler"
}
}
```
### Model format
Always use `"provider/model-name"`:
- `"openai/gpt-5.2"`
- `"anthropic/claude-sonnet-4-5"`
- `"google/gemini-2.5-pro"`
## When you see errorsFrom IkramBagban/helmsman, Apache-2.0.
More from IkramBagban/helmsman
- 0.411score
dns-knowledge-base
Helmsman
DNS/domain operations knowledge for Helmsman with Cloudflare (primary) and Namecheap (conditional).
SkillDFreshness: DClaude Code +9 - 0.405score
skill-creator
IkramBagban
Design, write, test, and improve SKILL.md skills end-to-end.
SkillDFreshness: DClaude Code +9 - 0.402score
cloudflare-knowledge
IkramBagban
Comprehensive Cloudflare knowledge base for Helmsman.
SkillDFreshness: DClaude Code +9 - 0.400score
core-truthfulness
IkramBagban
Always-on truthfulness and safety constraints.
SkillDFreshness: DClaude Code +9 - 0.397score
dynamic-selection
IkramBagban
Dynamic skill selection policy.
SkillDFreshness: DClaude Code +9 - 0.397score
scheduling
IkramBagban
Scheduling and reminder workflow skill.
SkillDFreshness: DClaude Code +9 - 0.397score
aws-operations
IkramBagban
AWS operational workflow skill.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 1, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 2.0.0
- License
- Apache-2.0
- Repository
- github.com/IkramBagban/helmsman
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Mastra
- 0.737score
Mastra
Mastra
TypeScript framework for AI agents and apps with graph-based workflows, memory, suspend-and-resume approvals, MCP servers and model routing.
HarnessAFreshness: A★ 29.1K↓ 1.4M/wk - 0.595score
Mastra Platform
Mastra
Hosted platform to deploy, observe and manage AI agents built with the open-source Mastra framework.
InfrastructureAFreshness: Ahosting
Cite this page
mastra skill. Agent Mart. https://agentmart.dev/skills/ikrambagban-mastra (last updated 2026-10-24)