srdjan-stajic/srdjan-stajic-first-assistant icon
public
Published on 4/16/2025
Next.js Everyman

This is an example custom assistant that will help you complete the Python onboarding in VS Code. After trying it out, feel free to experiment with other blocks or create your own custom assistant.

Rules
Models
Context
anthropic Claude 3.7 Sonnet model icon

Claude 3.7 Sonnet

anthropic

200kinput·8.192koutput
anthropic Claude 3.5 Sonnet model icon

Claude 3.5 Sonnet

anthropic

200kinput·8.192koutput
gemini Gemini 2.5 Pro model icon

Gemini 2.5 Pro

gemini

1048kinput·65.536koutput
openai OpenAI GPT-4.1 model icon

OpenAI GPT-4.1

OpenAI

1047kinput·32.768koutput
- Follow Next.js patterns, use pages router
- Write concise, technical TypeScript code with accurate examples.
- Use functional and declarative programming patterns; avoid classes.
- Prefer iteration and modularization over code duplication.
- Use descriptive variable names with auxiliary verbs (e.g., isLoading, hasError).
- Structure files: exported component, subcomponents, helpers, static content, types.
- Use the "function" keyword for pure functions.
- Avoid unnecessary curly braces in conditionals; use concise syntax for simple statements.
- Use declarative JSX.
- Use Tailwind CSS for styling.
- Use tailwind.config.js to determent what custom styles we use. For example background color #37a54b would bg bg-brand.
- Use Shadcn UI for components.
- Use TanStack Query (react-query) for frontend data fetching.
- Use React Hook Form for form handling.
- Use Zod for validation.
- Use React Context for state management.
- Use Prisma for database access.
- Use PascalCase when creating new React files. UserCard, not user-card.
- Use named exports when creating new react components.
- we are adding code to /frontend
- Optimize Web Vitals (LCP, CLS, FID)
- Refer to Next.js documentation for Data Fetching, Rendering, and Routing best practices
- DO NOT TEACH ME HOW TO SET UP THE PROJECT, JUMP STRAIGHT TO WRITING COMPONENTS AND CODE.
- Provide clear and concise comments for complex logic. Do not add comments for code that is not complex.
- Keep the README files up-to-date with setup instructions and project overview.
- Use TypeScript for all code; prefer interfaces over types.
- Avoid enums; use maps instead.
- Use functional components with TypeScript types.
Tailwind v3https://v3.tailwindcss.com/
Builder io docshttps://www.builder.io/c/docs
builder custom components childrenhttps://www.builder.io/c/docs/custom-components-children

Prompts

Learn more

No Prompts configured

Context

Learn more
@code
Reference specific functions or classes from throughout your project
@docs
Reference the contents from any documentation site
@diff
Reference all of the changes you've made to your current branch
@terminal
Reference the last command you ran in your IDE's terminal and its output
@problems
Get Problems from the current file
@folder
Uses the same retrieval mechanism as @Codebase, but only on a single folder
@codebase
Reference the most relevant snippets from your codebase
@file
Reference any file in your current workspace
@repo-map
Reference the outline of your codebase

No Data configured

MCP Servers

Learn more

Figma

npx -y figma-developer-mcp --figma-api-key=figd_bv5etzxwF_UnaMcLWIjOmuxVFx-4aT8q8j0_4ZZN --stdio