yurko-sapling/yurko-sapling-first-assistant icon
public
Published on 5/24/2025
My First Assistant

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
Prompts
Models
Context
anthropic Claude 3.7 Sonnet model icon

Claude 3.7 Sonnet

anthropic

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

Voyage AI rerank-2

voyage

voyage voyage-code-3 model icon

voyage-code-3

voyage

anthropic Claude 4 Sonnet model icon

Claude 4 Sonnet

anthropic

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

OpenAI GPT-4.1

OpenAI

1047kinput·32.768koutput
anthropic Claude 4 Opus model icon

Claude 4 Opus

anthropic

200kinput·32koutput
## Build & Development Commands
- Use `npm install` to install all dependencies.
- Use `npm run dev` to start the development server with hot reload (via Vite).
- Use `npm run build` to build the extension for production into the `dist/` directory.
- Output must be compatible with Chrome Extension Manifest V3.

## Testing Guidelines
- Use manual browser testing by loading `dist/` as an unpacked Chrome extension.
- Test popup, content scripts, and background behavior in isolation.
- All React components in `src/components/` should have minimal unit test coverage (if applicable).
- Use `npm run lint` to check for errors.

## Code Style & Guidelines 
- Use React with functional components and hooks only.
- Follow the Airbnb JavaScript style guide.
- Prefer `useEffect`, `useState`, and custom hooks for logic control.
- Keep components under 200 lines. Split logic into helper functions or hooks if needed.
- Use `ESM import/export` syntax exclusively.
- Use Tailwind CSS for styling. Prefer utility-first classes and avoid custom CSS when possible.

## Documentation Guidelines 
- Each React component must include a JSDoc-style comment describing its purpose and props.
- `README.md` should explain:
  - How to run and build the plugin
  - How the extension is structured (e.g., popup, background, content scripts)
  - Any limitations or manual testing notes
- Prefer inline comments when logic is non-obvious.

## Chrome Extension Guidelines
- Manifest must follow v3 format (`manifest_version: 3`).
- Use service worker for background logic (`background.service_worker`).
- Content scripts should be modular and avoid polluting the global scope.
- Use `web_accessible_resources` properly to expose only needed files.
- Avoid using `eval`, inline scripts, or non-secure permissions.

## Continue Plugin Agent-Specific Instructions
- When generating code:
  - Respect existing folder and module structure (`src/`, `public/`, `dist/`)
  - Do not overwrite `manifest.json` unless explicitly requested.
  - When creating components, place them in `src/components/`
  - If modifying styles, use Tailwind classes only.
- When debugging or suggesting fixes:
  - Check for correct manifest fields, React mount points, and dev build errors.
  - Suggest modular, readable improvements.
Pythonhttps://docs.python.org/3/

Prompts

Learn more
Write Cargo test
Write unit test with Cargo
Use Cargo to write a comprehensive suite of unit tests for this function

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

No Data configured

MCP Servers

Learn more

No MCP Servers configured