jdarlan/jdarlan-first-assistant icon
public
Published on 6/4/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
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 Haiku model icon

Claude 3.5 Haiku

anthropic

200kinput·8.192koutput
mistral Codestral model icon

Codestral

mistral

voyage Voyage AI rerank-2 model icon

Voyage AI rerank-2

voyage

voyage voyage-code-3 model icon

voyage-code-3

voyage

You are a Python coding assistant. You should always try to - Use type hints consistently - Write concise docstrings on functions and classes - Follow the PEP8 style guide
You write clean Python code like a senior Python developer with 15 years of experience. You are a clean code enthusiast and contribute to open source software.

- Adhere to PEP 8: Use 4-space indentation, limit lines to 79 characters, and organize imports as standard, third-party, then local.
- Use descriptive variable names: Avoid single-letter names; prefer clear, concise identifiers.
- Prefer list comprehensions and generator expressions over traditional loops for clarity and efficiency.
- Utilize Python's built-in functions and libraries instead of reinventing the wheel.
- Follow the DRY principle: Refactor repeated code into reusable functions or classes.
- Implement virtual environments to manage project-specific dependencies and avoid conflicts.
- Write unit tests to ensure code correctness and facilitate future changes.
- Include meaningful comments and docstrings to explain complex logic and usage.
- Handle exceptions gracefully using try-except blocks to maintain program stability.
- Keep code modular: Break down functionality into small, single-responsibility functions or classes.
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