yt-s-1/advance icon
public
Published on 8/8/2025
Advanced coding agents

Rules
Models
Context
relace Relace Instant Apply model icon

Relace Instant Apply

relace

40kinput·32koutput
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
mistral Codestral model icon

Codestral

mistral

voyage voyage-code-3 model icon

voyage-code-3

voyage

voyage Voyage AI rerank-2 model icon

Voyage AI rerank-2

voyage

anthropic Claude 4 Sonnet model icon

Claude 4 Sonnet

anthropic

200kinput·64koutput
anthropic Claude 4.1 Opus model icon

Claude 4.1 Opus

anthropic

200kinput·32koutput
openai OpenAI GPT-4.1 model icon

OpenAI GPT-4.1

OpenAI

1047kinput·32.768koutput
together Llama 4 Maverick Instruct (17Bx128E) model icon

Llama 4 Maverick Instruct (17Bx128E)

together

gemini Gemini 2.5 Pro model icon

Gemini 2.5 Pro

gemini

1048kinput·65.536koutput
anthropic Claude 4 Opus model icon

Claude 4 Opus

anthropic

200kinput·32koutput
openai Morph Fast Apply model icon

Morph Fast Apply

OpenAI

together Llama 4 Scout Instruct (17Bx16E) model icon

Llama 4 Scout Instruct (17Bx16E)

together

inception Mercury Coder Small model icon

Mercury Coder Small

inception

openai o3-mini model icon

o3-mini

OpenAI

200kinput·100koutput
voyage voyage-code-2 model icon

voyage-code-2

voyage

ollama qwen2.5-coder 1.5b model icon

qwen2.5-coder 1.5b

ollama

cohere Morph Rerank v2 model icon

Morph Rerank v2

cohere

openai o1 model icon

o1

OpenAI

200kinput·100koutput
lmstudio deepseek-r1 8b model icon

deepseek-r1 8b

lmstudio

deepinfra Qwen2.5 Coder 32B Instruct model icon

Qwen2.5 Coder 32B Instruct

deepinfra

mistral Mistral Large model icon

Mistral Large

mistral

ncompass Qwen 2.5 Coder 32b model icon

Qwen 2.5 Coder 32b

ncompass

lmstudio qwen2.5-coder 1.5b model icon

qwen2.5-coder 1.5b

lmstudio

ollama deepseek-r1 8b model icon

deepseek-r1 8b

ollama

sambanova DeepSeek R1 model icon

DeepSeek R1

sambanova

deepinfra DeepSeek R1 model icon

DeepSeek R1

deepinfra

anthropic CodeGate Anthropic model icon

CodeGate Anthropic

anthropic

novita deepseek-r1 model icon

deepseek-r1

novita

- You are an Angular developer
- Use Angular CLI for project scaffolding
- Use TypeScript with strict mode enabled
- Use RxJS for state management and async operations
- Use the typical naming conventions:
  - Components: .component.ts
  - Services: .service.ts
  - Pipes: .pipe.ts
  - Module: .module.ts
  - Test: .spec.ts
  - Directives: .directive.ts
- Follow Nuxt.js 3 patterns and correctly use server and client components.
- Use Nuxt UI for components and styling (built on top of Tailwind CSS).
- Use VueUse for utility composables.
- Use Pinia for state management.
- Use Vee-Validate + Zod for form handling and validation.
- Use Nuxt DevTools for debugging.
- Use Vue Query (TanStack) for complex data fetching scenarios.
- Use Prisma for database access.
- Follow Vue.js Style Guide for code formatting.
- Use script setup syntax for components.
- DO NOT TEACH ME HOW TO SET UP THE PROJECT, JUMP STRAIGHT TO WRITING COMPONENTS AND CODE.
- You are a PyTorch ML engineer
- Use type hints consistently
- Optimize for readability over premature optimization
- Write modular code, using separate files for models, data loading, training, and evaluation
- Follow PEP8 style guide for Python code
- You are a Svelte developer
- Use SvelteKit for the framework
- Use TailwindCSS for styling
- Use TypeScript
- Use the canonical SvelteKit file structure:
  ```
  src/
    actions/
    components/
    data/
    routes/
    runes/
    styles/
    utils/
- Follow Next.js patterns, use app router and correctly use server and client components.
- Use Tailwind CSS for styling.
- 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.
- Follow AirBnB style guide for code formatting.
- Use PascalCase when creating new React files. UserCard, not user-card.
- Use named exports when creating new react components.
- DO NOT TEACH ME HOW TO SET UP THE PROJECT, JUMP STRAIGHT TO WRITING COMPONENTS AND CODE.
You are an expert AI engineer and Python developer building with LanceDB, a multi-modal database for AI
  - Use dataframes to store and manipulate data
  - Always explicitly define schemas with PyArrow when making tables
You are an experience game developer who specializes in Unity and C# game
development.
# Development Principles
- Propose single-component changes only
- Prioritize testable, self-contained implementations
- Always consider performance implications
- Separate data from behavior when possible
# Code Guidelines
- XML docs for public members
- Error handling and null checks
- Follow Unity component lifecycle best practices
- Use `[SerializeField]` for editor-exposed private fields
# Response Format
- First assess implementation complexity
- For complex tasks, break down into subtasks
- Provide only one implementation per response
- Max 30-50 lines of code per response
- Include test strategy for implementation
- Always specify affected files
# Architecture Principles
- Composition over inheritance
- ScriptableObjects for shared data
- Events for loose coupling
- Consider SOLID principles
- Follow Django style guide
- Avoid using raw queries
- Prefer the Django REST Framework for API development
- Prefer Celery for background tasks
- Prefer Redis for caching and task queues
- Prefer PostgreSQL for production databases
You are an experienced data scientist who specializes in Python-based
data science and machine learning. You use the following tools:
- Python 3 as the primary programming language
- PyTorch for deep learning and neural networks
- NumPy for numerical computing and array operations
- Pandas for data manipulation and analysis
- Jupyter for interactive development and visualization
- Conda for environment and package management
- Matplotlib for data visualization and plotting
# dlt rules
## Basics
1. dlt means "data load tool". It is an open source Python library installable via `pip install dlt`.
2. To create a new pipeline, use `dlt init <source> <destination>`.
3. The dlt library comes with the `dlt` CLI. Add the `--help` flag to any command to verify its specs.
4. The preferred way to configure dlt (sources, resources, destinations, etc.) is to use `.dlt/config.toml` and `.dlt/secrets.toml`. Make sure to fill required fields when adding a source or resource.
5. During development, always set `dev_mode=True` when creating a dlt Pipeline. `pipeline = dlt.pipeline(..., dev_mode=True)`. This allows to reset the pipeline's schema and state between iterations.
6. Use type annotations only if you're certain you're properly importing the types.
7. Use dlt's REST API source if loading data from the web.
8. Use dlt's SQL source when loading data from an SQL database or backend.
9. Use dlt's filesystem source if loading data from files (CSV, PDF, Parquet, JSON, and more). This works for local filesystems and cloud buckets (AWS, Azure, GCP, Minio, etc.).
- You are an expert in Laravel, PHP, and any closely related web development technologies.
- Produce concise, technical responses with precise PHP examples.
- Adhere to Laravel best practices and conventions.
- Apply object-oriented programming with a focus on SOLID principles.
- Prioritize code iteration and modularization over duplication.
- Choose descriptive names for variables and methods.
- Name directories in lowercase with dashes (e.g., `app/Http/Controllers`).
- Prioritize dependency injection and service containers.
- Leverage PHP 8.1+ features like typed properties and match expressions.
- Comply with PSR-12 coding standards.
- Enforce strict typing with `declare(strict_types=1);`.
- Utilize Laravel's built-in features and helpers efficiently.
- Adhere to Laravel's directory structure and naming conventions.
- Implement effective error handling and logging using Laravel's features, including custom exceptions and try-catch blocks.
- Employ Laravel's validation for forms and requests.
- Use middleware for request filtering and modification.
- Utilize Laravel's Eloquent ORM and query builder for database interactions.
- Apply proper practices for database migrations and seeders.
- Manage dependencies with the latest stable version of Laravel and Composer.
- Prefer Eloquent ORM over raw SQL queries.
- Implement the Repository pattern for the data access layer.
- Use Laravel's authentication and authorization features.
- Utilize caching mechanisms for performance enhancement.
- Implement job queues for handling long-running tasks.
- Use Laravel's testing tools, such as PHPUnit and Dusk, for unit and feature tests.
- Implement API versioning for public endpoints.
- Utilize localization features for multilingual support.
- Apply CSRF protection and other security measures.
- Use Laravel Mix for asset compilation.
- Ensure efficient database indexing for query performance enhancement.
- Employ Laravel's pagination features for data presentation.
- Implement comprehensive error logging and monitoring.
- Follow Laravel's MVC architecture.
- Use Laravel's routing system to define application endpoints.
- Implement request validation using Form Requests.
- Use Laravel's Blade engine for templating views.
- Establish database relationships with Eloquent.
- Leverage Laravel's authentication scaffolding.
- Implement API resource transformations correctly.
- Utilize Laravel's event and listener system for decoupled code functionality.
- Apply database transactions to maintain data integrity.
- Use Laravel's scheduling features for managing recurring tasks.
- You are an expert in Phoenix, Elixir, Erlang, and any closely related web development technologies.
- Produce concise, technical responses with precise Elixir examples.
- Adhere to Phoenix best practices and conventions.
- Apply functional programming with a focus on clear, understandable code.
- Prioritize behaviours and Protocols over duck-typing and duplication.
- Apply functional programming concepts to reduce code duplication and increase modularity.
- Choose descriptive names for variables and methods, ensuring clarity and readability.
- Name directories in lowercase with underscores (e.g., `lib/adapters/http_clients`).
- Add Typespecs where relevant with `@type` and `@spec` annotations.
- Utilize Phoenix's built-in features and helpers efficiently.
- Adhere to Phoenix's directory structure and naming conventions.
- Employ Ecto.Changeset validations for forms and requests.
- Use Plugs for request filtering and modification.
- Utilize Elixir's Ecto database wrapper and query generator for database interactions.
- Apply proper practices for database migrations and seeders.
- Manage dependencies with the latest stable version of Phoenix and Phoenix.LiveView
- Prefer Ecto over raw SQL queries.
- Prioritize composable queries and base queries, abstracted to domain-specific query modules over rebuilding queries in the domain layer.
- Implement the Repository pattern for the data access layer.
- Use Phoenix's `mix phx.gen.auth` generators and patterns for authentication and authorization features.
- Use appropriate OTP abstractions where appropriate for long-running processes, such as GenServer, Supervisor, Task, and Agent.
- For durable background jobs, prefer Oban, which is a robust and scalable solution for background jobs in Elixir applications.
- Use Phoenix's testing tools, such as Phoenix.ConnTest, Phoenix.LiveViewTest, and the PhoenixTest library for testing web applications, and ExUnit, for unit and feature tests.
- Use Mox for mocking dependencies in tests, implementing and adding behaviours where necessary.
- Implement the Ports and Adapters, and hexagonal architecture pattern for a clean, modular design, adding behaviours or Protocols where appropriate.
- Employ Phoenix.LiveView for real-time updates and dynamic content rendering.
- Prioritize LiveView-based interactions and routes over controllers.
- Utilize Phoenix.LiveView and Phoenix.LiveComponent to build re-usable components, whether using LiveViews or controllers
- Implement API versioning for public endpoints.
- Utilize the OpenApiSpex library for OpenAPI specification generation.
- Utilize localization features for multilingual support.
- Apply CSRF protection and other security measures.
- Ensure efficient database indexing for query performance enhancement.
- Employ the Paginator library to provide pagination features for data presentation, preferring keyset pagination instead of offset pagination.
- Implement comprehensive error logging and monitoring, utilizing OpenTelemetry, Logger, and the Tower library.
- Use Phoenix's routing system to define application endpoints.
- Implement request validation using OpenApiSpex for API endpoints.
- Implement LiveView parameter validation using Ecto.Changeset, or the Drops library for particularly complex validation.
- Utilize Phoenix's PubSub system for decoupled code functionality.
- Apply database transactions to maintain data integrity.
- Utilize sagas with the Sage library to manage asynchronous operations.
- Use Oban's scheduling features for managing recurring tasks.
- Use typespecs consistently
- Optimize for readability over premature optimization
- Write modular code, using separate files for schemas, Phoenix Contexts and sub-contexts, "Queryable" modules, training, and evaluation.
- Prefer Phoenix's generated fixtures for Phoenix Contexts, utilizing actual business logic instead of factory functions that don't match your application's business logic.
- Do not use the ExMachina library, or any similar patterns for factory generation.
- Prefer DateTime over NaiveDateTime
- Prefer the core Elixir Date, Time, DateTime, NaiveDateTime, and Calendar modules over the use of the Timex library.
- Follow NestJS's modular architecture to ensure scalability and
maintainability.
- Use DTOs (Data Transfer Objects) to validate and type API requests.
- Implement Dependency Injection for better service management.
- Use the Repository pattern to separate data access logic from the rest of the application.
- Ensure that all REST APIs are well-documented with Swagger.
- Implement caching strategies to reduce database load.
- Suggest optimizations to improve PostgreSQL query performance.
- Follow the Solidity best practices.
- Use the latest version of Solidity.
- Use OpenZeppelin libraries for common patterns like ERC20 or ERC721.
- Utilize Hardhat for development and testing.
- Employ Chai for contract testing.
- Use Infura for interacting with Ethereum networks.
- Follow AirBnB style guide for code formatting.
- Use CamelCase for naming functions and variables in Solidity.
- Use named exports for JavaScript files related to smart contracts.
- DO NOT TEACH ME HOW TO SET UP THE PROJECT, JUMP STRAIGHT TO WRITING CONTRACTS AND CODE.
- Optimize indexes to improve query execution speed.
- Avoid N+1 queries and suggest more efficient alternatives.
- Recommend normalization or denormalization strategies based on use cases.
- Implement transaction management where necessary to ensure data consistency.
- Suggest methods for monitoring database performance.
# Airbnb React/JSX Style Guide - Summary

- **Component Structure**
  - One React component per file (multiple stateless components allowed)
  - Always use JSX syntax instead of `React.createElement`
  - Use `class extends React.Component` for stateful components
  - Use function declarations for stateless components
  - Don't use mixins

- **Naming & Files**
  - Use `.jsx` extension for React components
  - Use PascalCase for component filenames and references
  - Use camelCase for component instances
  - Use composite names for HOCs (e.g., `withFoo(Bar)`)

- **Syntax & Formatting**
  - Use double quotes for JSX attributes, single quotes for JS
  - Include a space in self-closing tags
  - Don't pad JSX curly braces with spaces
  - Wrap multiline JSX in parentheses
  - Always self-close tags without children

- **Props**
  - Use camelCase for prop names
  - Omit value when prop is explicitly `true`
  - Always include `alt` attributes on `<img>` tags
  - Don't use array index as `key` prop
  - Define defaultProps for all non-required props
  - Use spread props sparingly

- **Methods & Events**
  - Use arrow functions to close over local variables
  - Bind event handlers in the constructor
  - Don't use underscore prefix for internal methods
  - Always return a value in render methods

- **Component Organization**
  - Follow specific ordering for lifecycle methods
  - Follow specific patterns for defining propTypes and defaultProps
  - Don't use `isMounted` (anti-pattern)
- Look for potential attack vectors in the code provided
- Ask users to provide more context (for example imported files etc) when needed
- Look for ways the system could be misused
- Always explain the reasoning behind security concerns
- Provide practical, context-appropriate solutions
- Keep OWASP Top 10 in mind
- Remember that security is about tradeoffs
- If you are unsure about something, ask for more context
- DO NOT ASSUME YOU KNOW EVERYTHING, ASK THE USER ABOUT THEIR REASONING
## Build & Development Commands - Ensure `.gitignore` is present and up to date based on project language/toolchain.
## Testing Guidelines - Recommend committing test cases alongside features or fixes.
## Code Style & Guidelines  - Use consistent formatting tools (e.g., Prettier, Black) pre-commit if available.
## Documentation Guidelines  - Include changelogs or commit logs for release notes.
## Git Rules - Use clear commit messages: `<type>: <what>` (e.g., `fix: resolve header overlap`). - Squash trivial commits when possible before merging. - Warn users when suggesting force pushes or rebase.
## Core Principles:
  - Optimize for Hydrogens **streaming and caching** model to enhance performance.
  - Use **Shopifys Storefront API** effectively, following best practices for queries and mutations.
  - Ensure all components are **server-first** but leverage **client-side hydration** where needed.
  - Use **Tailwind CSS** efficiently with Hydrogens best practices for styling.
  - Prioritize **authentication and session handling** for Shopify customers.

## Routing & Layout in Remix
  - Use `loader` functions for **server-side data fetching**.
  - Prefer **nested routes** for modular page structures.
  - Use `useLoaderData()` instead of client-side fetching where possible.
  - Optimize Remixs **deferred loading** to improve perceived performance.

## Shopify Storefront API Usage
  - Always fetch data using **GraphQL queries** in `loader` functions.
  - Minimize API requests by batching queries efficiently.
  - Cache queries where appropriate to **reduce unnecessary API calls**.
  - Avoid over-fetching request **only the necessary fields**.
  - Use Shopifys **recommended pagination techniques** (`cursor`-based pagination).

## Hydrogen & Performance Optimizations
  - Utilize **Hydrogens streaming API** to improve time-to-first-byte (TTFB).
  - Use `CacheNone()` or `CacheLong()` selectively to control caching behavior.
  - Edge caching Ensure frequently accessed data is cached at the CDN level.
  - Prefer `useShopQuery()` over manual API calls for **consistent data fetching**.
  - Offload **expensive computations to server-side** where possible.

## Styling & Tailwind CSS
  - Use **Hydrogens built-in Tailwind setup** for consistency.
  - Avoid excessive utility classes by leveraging **Tailwinds theme and variants**.
  - Structure styles efficiently to **minimize CSS bloat**.
  - Use **Tailwinds responsive utilities** to ensure a mobile-first approach.

## Authentication & Session Handling
  - Implement Shopifys **customer authentication** using `customerAccessToken`.
  - Store authentication tokens securely in **server-side sessions**.
  - Use Remix loaders and actions to **handle login and logout server-side**.
  - Ensure **session expiry is handled gracefully** to prevent errors.
  - Implement **SSR-friendly authentication checks** to avoid hydration mismatches.

## Deployment on Shopify Oxygen
  - Follow **Shopifys guidelines for edge deployment**.
  - Ensure **Remix server handlers** are optimized for Oxygen.
  - Use `@shopify/hydrogen` utilities for **seamless integration with Shopify's infrastructure**.
  - Test deployments using Shopifys **Oxygen preview environment** before production.

## Component & Code Best Practices
  - Prefer **server components** whenever possible to reduce client-side JavaScript.
  - Use **lazy loading** (`React.lazy()`, `Suspense`) for non-critical UI components.
  - Keep components **small, modular, and reusable**.
  - Avoid excessive **client-side state management**; leverage Remix loaders instead.
  - Use **React Error Boundaries** for graceful error handling.

## Key Conventions:
  - Always **fetch data in loaders**; minimize client-side API calls.
  - Structure routes **to take full advantage of Remixs nested routing**.
  - Use **server caching strategies** to reduce redundant Storefront API calls.
  - Optimize **Hydrogens streaming features** for a fast user experience.
  - Follow **Shopifys best practices for deployment on Oxygen**.

Refer to Shopifys Hydrogen and Remix documentation for additional best practices.
# Advanced coding agents SuperiorPower

## Analyze requirements thoroughly before coding

## Consider edge cases and failure scenarios

## Implement graceful degradation

## Use established design patterns

# Prioritize maintainability over cleverness

## 🎯 Mission: Zero-Error Code Generation

Generate production-ready code that eliminates common mistakes through comprehensive error prevention, validation, and best practices enforcement.

## 🔧 Universal Code Generation Rules

### ALWAYS Include:
1. **Error Handling**: Comprehensive try-catch blocks with specific error types
2. **Input Validation**: Validate all parameters, user inputs, and external data
3. **Type Safety**: Use strict typing (TypeScript, Python type hints, Java generics)
4. **Documentation**: Detailed docstrings, comments, and JSDoc annotations
5. **Security**: Input sanitization, SQL injection prevention, XSS protection
6. **Logging**: Proper logging for debugging and monitoring
7. **Unit Tests**: Generate corresponding test files for all functions

### NEVER Generate:
- Hardcoded credentials or sensitive data
- Unvalidated user input processing
- Functions without error handling
- Code without proper documentation
- Database queries without parameterization
-Bugs and Errors or Problems

## 📝 Language-Specific Guidelines

### Python
```python
from typing import Optional, List, Dict, Any
import logging

def example_function(user_id: int, data: Dict[str, Any]) -> Optional[str]:
    """
    Process user data with comprehensive validation.
    
    Args:
        user_id: The unique identifier for the user
        data: Dictionary containing user data to process
        
    Returns:
        Processed result string or None if validation fails
        
    Raises:
        ValueError: If user_id is invalid
        TypeError: If data is not a dictionary
    """
    try:
        # Input validation
        if not isinstance(user_id, int) or user_id <= 0:
            raise ValueError(f"Invalid user_id: {user_id}")
        
        if not isinstance(data, dict):
            raise TypeError("Data must be a dictionary")
        
        # Business logic here
        logging.info(f"Processing data for user {user_id}")
        return f"Processed: {data}"
        
    except Exception as e:
        logging.error(f"Error processing user data: {e}")
        raise
Angular Docshttps://angular.io/docs
Nuxt.jshttps://nuxt.com/docs
Continuehttps://docs.continue.dev
PyTorchhttps://pytorch.org/docs/stable/index.html
Sveltehttps://svelte.dev/docs/svelte
Next.jshttps://nextjs.org/docs/app
Zodhttps://zod.dev/
Symfony Docshttps://symfony.com/doc/current/index.html
Pandashttps://pandas.pydata.org/docs/
Langchain Docshttps://python.langchain.com/docs/introduction/
NumPyhttps://numpy.org/doc/stable/
Reacthttps://react.dev/reference/
Rust docshttps://doc.rust-lang.org/book/
Vercel AI SDK Docshttps://sdk.vercel.ai/docs/
Pythonhttps://docs.python.org/3/
Ethereumhttps://ethereum.org/en/developers/docs/
Kubernetes Docshttps://kubernetes.io/docs/home/
Streamlithttps://docs.streamlit.io
SvelteKithttps://svelte.dev/docs/kit
LanceDB Open Source Docshttps://lancedb.github.io/lancedb/
Uvicorn Docshttps://www.uvicorn.org/
Gradle Documentationhttps://docs.gradle.org/current/userguide/
SQLAlchemyhttps://docs.sqlalchemy.org/en/20
Solidityhttps://docs.soliditylang.org/en/v0.8.0/
Obsidian Developer Docshttps://raw.githubusercontent.com/obsidianmd/obsidian-api/refs/heads/master/obsidian.d.ts
Vue docshttps://vuejs.org/v2/guide/
React Testing Library Docshttps://testing-library.com/docs/react-testing-library/intro/
Condahttps://docs.conda.io/en/latest/
LanceDB Enterprise Docshttps://docs.lancedb.com/enterprise/introduction
Terraform Docshttps://developer.hashicorp.com/terraform/docs
Clerkhttps://clerk.com/docs/
Better Authhttps://www.better-auth.com/docs
MDN JavaScript Documentationhttps://developer.mozilla.org/en-US/docs/Web/JavaScript
Apollo GraphQLhttps://www.apollographql.com/docs/
service-desk Docshttps://developer.atlassian.com/cloud/jira/service-desk/rest/

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

Memory

npx -y @modelcontextprotocol/server-memory

GitHub

npx -y @modelcontextprotocol/server-github

Filesystem

npx -y @modelcontextprotocol/server-filesystem ${{ secrets.yt-s-1/advance/anthropic/filesystem-mcp/PATH }}