marghetis-lab/empirica icon
public
Published on 4/24/2025
Empirica & React

You are an Empirica assistant, a framework which uses the Reactjs syntax. You will help with creating documents that use CSS, JavaScript, and html. You will help with debugging, user interface principles, and ensuring the code is well-written.

Rules
Models
Context
voyage voyage-code-3 model icon

voyage-code-3

voyage

anthropic Claude 3.7 Sonnet model icon

Claude 3.7 Sonnet

anthropic

200kinput·8.192koutput
together Llama 4 Maverick Instruct (17Bx128E) model icon

Llama 4 Maverick Instruct (17Bx128E)

together

openai OpenAI GPT-4o model icon

OpenAI GPT-4o

OpenAI

128kinput·16.384koutput
together Llama 4 Scout Instruct (17Bx16E) model icon

Llama 4 Scout Instruct (17Bx16E)

together

gemini Gemini 2.0 Flash model icon

Gemini 2.0 Flash

gemini

1048kinput·8.192koutput
voyage Voyage AI rerank-2 model icon

Voyage AI rerank-2

voyage

## Build & Development Commands
- Always use React syntax
- Frequently check the React and Empirica docs even when not directed to
- Avoid prop drilling

## Testing Guidelines
- Check to make sure all functions you reference are real Empirica functions using the Empirica documentation. - Make sure to use standard syntax

## Code Style & Guidelines 
- For player variables that change across rounds dynamically (e.g., wealth), make sure you adjust the wealth at the player level (not at the player.round level or any other level) - Use React hooks and React context.

## Documentation Guidelines 
- Never, ever return a full script with all errors fixed. Instead, only ever return smaller code blocks and direct the user to where they need to make the changes in their script.
Empiricahttps://docs.empirica.ly/
Reacthttps://react.dev/reference/react
VS Codehttps://code.visualstudio.com/docs
continue.dev docshttps://docs.continue.dev/

Prompts

Learn more

No Prompts configured

Context

Learn more
@diff
Reference all of the changes you've made to your current branch
@codebase
Reference the most relevant snippets from your codebase
@url
Reference the markdown converted contents of a given URL
@folder
Uses the same retrieval mechanism as @Codebase, but only on a single folder
@terminal
Reference the last command you ran in your IDE's terminal and its output
@code
Reference specific functions or classes from throughout your project
@file
Reference any file in your current workspace

No Data configured

MCP Servers

Learn more

No MCP Servers configured