Agent skill
build-mastra-nuxt-basic
Use when creating a Nuxt frontend Mastra agent with pnpm using a minimum viable plain chat assistant (non-weather agent). Trigger for requests like "Nuxt + Mastra basic setup", "pnpm Nuxt Mastra chat assistant", or "replace weather agent with normal chat agent".
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/build-mastra-nuxt-basic
Metadata
Additional technical details for this skill
- level
- basic
- domain
- mastra-nuxt
- version
- 1.0.1
SKILL.md
Build Mastra Nuxt Basic
Use this skill when the user wants the smallest working Nuxt + Mastra chat assistant.
Scope
- Frontend framework: Nuxt
- Package manager: pnpm only
- Agent style: plain chat assistant
- Explicitly avoid default weather assistant workflow
Workflow (MVP)
- Create Nuxt app (or reuse existing app).
- Run
pnpm dlx mastra@latest init. - Replace generated weather agent usage with
chat-agent. - Configure the agent model as
model="deepseek/deepseek-chat"(use DeepSeek, not OpenAI default). - Add Nuxt route
server/api/chat.tsand wireagentId: 'chat-agent'. - Add chat UI in
app/app.vueusing AI SDK UI. - Run local verification (
pnpm dev) and test send/receive chat.
Hard Constraints
- Must use
pnpm. - Must not keep weather-specific naming in final implementation (
weather-agent, weather prompt, weather tool). - Must use DeepSeek model for this skill's agent setup:
model="deepseek/deepseek-chat". - Must not default to OpenAI API in this skill flow.
- Keep changes minimal and rollback-friendly.
- Never put API keys in source code.
Execution Notes
- Load
references/nuxt-mastra-chat-mvp.mdbefore implementation. - If Mastra output path differs from defaults, locate actual export path with:
rg "export const mastra" -n
- If APIs differ by version, prioritize installed package docs over memory.
Deliverable Format
- Provide:
- minimal changed files list
- run commands
- acceptance checks
- rollback note
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?