In this gist, you can find all the VS Code chat modes I am using in my projects for the Persona based approach technique I created.
You will find an article about on my dev.to blog (dev.to/kasuken)
In this gist, you can find all the VS Code chat modes I am using in my projects for the Persona based approach technique I created.
You will find an article about on my dev.to blog (dev.to/kasuken)
Beast Mode is a custom chat mode for VS Code agent that adds an opinionated workflow to the agent, including use of a todo list, extensive internet research capabilities, planning, tool usage instructions and more. Designed to be used with 4.1, although it will work with any model.
Below you will find the Beast Mode prompt in various versions - starting with the most recent - 3.1
| # syntax=docker/dockerfile:1 | |
| # Keep this syntax directive! It's used to enable Docker BuildKit | |
| # Based on https://github.com/python-poetry/poetry/discussions/1879?sort=top#discussioncomment-216865 | |
| # but I try to keep it updated (see history) | |
| ################################ | |
| # PYTHON-BASE | |
| # Sets up all our shared environment variables | |
| ################################ |
| import json | |
| import logging | |
| import platform | |
| import sys | |
| import time | |
| import traceback | |
| class JSONFormatter: | |
| """A formatter for the standard logging module that converts a LogRecord into JSON |
| import datetime | |
| import uuid | |
| import psycopg2.extras | |
| from sqlalchemy import Column, MetaData, Table | |
| from sqlalchemy.types import Integer, DateTime, TypeDecorator | |
| from sqlalchemy.dialects.postgresql import ARRAY, array | |
| from sqlalchemy.dialects.postgresql import UUID | |
| from sqlalchemy.sql.expression import cast, literal, select |
| from collections import namedtuple | |
| from marshmallow import Schema | |
| from marshmallow.decorators import post_load | |
| def class_and_schema(class_name, fields): | |
| """Create a class and its marshmallow schema. | |
| Example:: |
| /CHANGELOG merge=union |