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.
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
- Follow Next.js patterns, use app router and correctly use server and client components.
- Use React Hook Form for form handling.
- Use React Context for state management.
- 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.
- 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.
Build & Development Commands
Use npm install to install all dependencies.
Run npm run build to compile the project for production.
Use npm run dev to start the development server with hot reloading.
Testing Guidelines
Run npm test to execute all unit tests.
Use npm run test:watch to run tests in watch mode during development.
Ensure all new features have corresponding tests in the __tests__ folder.
Code Style & Guidelines
Adhere to ESLint and Prettier configurations for consistent formatting.
Use TypeScript for type safety and consistent type annotations.
Follow the project's directory structure and naming conventions.
Documentation Guidelines
Use JSDoc for documenting functions, classes, and complex logic.
Maintain a clear README file with setup instructions and usage examples.
Update the docs/ folder for any new features or changes to existing functionality.
Use Cargo to write a comprehensive suite of unit tests for this function
Check for indentation, spacing, and syntax errors in the provided Python code.
Do not modify logic, naming or structure.
If there are issues, return the fully corrected code.
If everything is correct, just say so.
Please write all comments and explanations in Russian briefly and concisely,
but at the same time keep in mind that I have almost no experience in creating code.
If possible, offer an example of correcting lines of code or logic,
but do not rewrite the entire file.
If changes are not required, do not rewrite the code.
No Data configured
No MCP Servers configured