Skip to content

Instantly share code, notes, and snippets.

View paulweezydesign's full-sized avatar
🎯
Focusing

paulweezydesign

🎯
Focusing
View GitHub Profile
name description license
skill-creator
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Complete terms in LICENSE.txt

Skill Creator

This skill provides guidance for creating effective skills.

can you tell me how to create a design development agency with the mastra.ai typescript framework, creatoing a project manager, a deep research agent, a design agent, a frontend agent, a backend agent, a qa agent and a team to help me find/onboard new clints, use nextjs for the frontend and mongodb for data perisstance, use tailwindcss for styles and shadcnui for components

from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,tool
import datetime
import requests
import pytz
import yaml
from tools.final_answer import FinalAnswerTool
from Gradio_UI import GradioUI
# Below is an example of a tool that does nothing. Amaze us with your creativity !

Create TanStack Start Project with shadcn/ui

Source: https://ui.shadcn.com/docs/installation/tanstack

Initialize a new TanStack Start project with Tailwind CSS and shadcn/ui add-ons pre-configured. This command sets up the project structure and installs necessary dependencies in one command.

npm create @tanstack/start@latest --tailwind --add-ons shadcn
from typing import Optional
from core.agents.architect import Architect
from core.agents.base import BaseAgent
from core.agents.bug_hunter import BugHunter
from core.agents.code_monkey import CodeMonkey
from core.agents.code_reviewer import CodeReviewer
from core.agents.developer import Developer
from core.agents.error_handler import ErrorHandler
from core.agents.executor import Executor
'use client'
import { LucideIcon } from 'lucide-react'
interface AgentCardProps {
agent: {
id: string
name: string
description: string
icon: LucideIcon
import { Agent } from '@mastra/core/agent'
import { nim, DEFAULT_MODEL } from '../nim-client'
export const projectManagerAgent = new Agent({
name: 'Project Manager',
instructions: `You are an expert Project Manager AI specializing in software development projects.
Your responsibilities include:
- Breaking down project requirements into actionable tasks
- Creating project timelines and milestones

Using Agents | Agents

Overview of agents in Mastra, detailing their capabilities and how they interact with tools, workflows, and external systems.

Source: https://mastra.ai/docs/agents/overview


Using Agents

@paulweezydesign
paulweezydesign / connect-db.ts
Created January 9, 2025 11:40
connect to mongodb with mongoose-nextjs
import _mongoose, { connect } from "mongoose";
declare global {
var mongoose: {
promise: ReturnType<typeof connect> | null;
conn: typeof _mongoose | null;
};
}
const MONGODB_URI = process.env.MONGODB_URI;
<button
onClick={toggleTheme}
className="p-2 rounded-full hover:bg-gray-200 dark:hover:bg-gray-700 focus:outline-none"
aria-label="Toggle theme"
>
{theme === 'light' ? (
<Moon className="h-5 w-5 text-gray-700 dark:text-gray-300" />
) : (
<Sun className="h-5 w-5 text-gray-700 dark:text-gray-300" />
)}