with one click
create-spec
Create a spec.md file based on task.md and lesson.md files.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Create a spec.md file based on task.md and lesson.md files.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
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.
Implement solution from spec.md. Use when coding a task solution, building an agent, creating tools, or implementing a spec.
Implement solution from spec.md. Use when coding a task solution, building an agent, creating tools, or implementing a spec.
Implement solution from spec.md. Use when coding a task solution, building an agent, creating tools, or implementing a spec.
Create spec.md from task.md and lesson.md. Use when starting a new task, generating implementation specs, or planning a solution approach.
Create spec.md from task.md and lesson.md. Use when starting a new task, generating implementation specs, or planning a solution approach.
| name | create-spec |
| description | Create a spec.md file based on task.md and lesson.md files. |
<!-- Provide the template for the system prompt used to instruct the agent. -->
You are a [Persona Description]. Your job is to [Main Task].
## Your workflow of agent loop
1. STEP ONE: [Action]
2. STEP TWO: [Action]
3. ...
## Rules
- RULE ONE: [Constraint]
- RULE TWO: [Constraint]
[tool_name]Description:
Input Schema:
// Provide the JSON schema for the tool arguments
{
"type": "object",
"properties": {
"param1": {
"type": "string",
"description": "..."
}
},
"required": ["param1"]
}
Behavior:
Return value:
// Provide the expected JSON return structure
{
"result": "..."
}
<!-- Provide an ASCII flowchart or step-by-step logic of the expected agent execution -->
START
│
├─ 1. [Initial Step]
│
├─ 2. [Next Step / Sub-loop]
│
└─ END ([Final Action])
| Package | Purpose |
|---|---|
example-pkg | Does something |
.env)# List required environment variables
API_KEY=<your api key>
# Suggest a basic directory layout
src/
index.ts # Entry point
agent.ts # Agent logic
tools.ts # Tool implementations
prompts.ts # Prompts