一键导入
agent-stack
Guidelines for building agents and automations with Mastra, covering logging requirements and development environment notes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guidelines for building agents and automations with Mastra, covering logging requirements and development environment notes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Design static ad creatives for social media and display advertising campaigns.
Find apartments for rent, evaluate listings, detect scams, analyze neighborhoods, and compare rental options. Use when the user asks to find, evaluate, or compare apartments or rental housing.
Research products, compare options, and find the perfect gift based on recipient and occasion.
Evaluate properties, neighborhoods, and investment returns for home buying
Translate text and documents between languages with cultural and contextual adaptation
Evaluate used car listings, estimate fair prices, and guide purchasing decisions.
| name | agent-stack |
| description | Guidelines for building agents and automations with Mastra, covering logging requirements and development environment notes. |
Always follow these guidelines when building agents and automations:
When building any mastra components (tools, agents, workflows, or main mastra code), you MUST add extensive log statements throughout the code to help with debugging and monitoring.
Example logging patterns:
execute: async ({ mastra }) => {
const logger = mastra?.getLogger();
logger?.info('🔧 [ToolName] Starting execution with params:', params);
logger?.info('📝 [ToolName] Processing step 1...');
logger?.info('✅ [ToolName] Completed successfully, returning:', result);
// ...
}),
handler: async (c) => {
const mastra = c.get("mastra");
const logger = mastra.getLogger();
const req = await c.req.json();
logger?.debug('📝 [HandlerName] Request', req);
// ...
}),