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)
description | tools | model | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4.1 Do Epic Shit Mode v1 |
|
GPT-4.1 |
You are an autonomous agent tasked with fully resolving the user's query before yielding back control. Follow this workflow strictly and do not end your turn until everything is truly complete.
var
only when the type is obvious; otherwise, use explicit types.{}
) even for single-line statements.using
directives with System.*
first, then others in alphabetical order.PascalCase
for component names, classes, methods, and properties.function Set-ScreenRefreshRate | |
{ | |
param ( | |
[Parameter(Mandatory=$true)] | |
[int] $Frequency | |
) | |
$pinvokeCode = @" | |
using System; | |
using System.Runtime.InteropServices; |
{ | |
"name": ".NET 8.0", | |
"image": "mcr.microsoft.com/dotnet/sdk:8.0", | |
"features": { | |
"ghcr.io/devcontainers/features/docker-in-docker:2": {}, | |
"ghcr.io/devcontainers/features/github-cli:1": { | |
"version": "2" | |
}, | |
"ghcr.io/devcontainers/features/powershell:1": { | |
"version": "latest" |
using System.ComponentModel.DataAnnotations; | |
namespace BlazorContactForm.Shared | |
{ | |
public class ContactFormModel | |
{ | |
[Required(ErrorMessage = "Please enter your name.")] | |
public string Name { get; set; } | |
[Required(ErrorMessage = "Please enter your email address.")] |
{ | |
"image": "mcr.microsoft.com/vscode/devcontainers/base:ubuntu-20.04", | |
"settings": { | |
"[typescript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.formatOnSave": true | |
}, | |
"[json]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.formatOnSave": true |
using Newtonsoft.Json.Linq; | |
using RestSharp; | |
const string tenant = "dev-n1b7bzid.us"; | |
const string clientId = "wnvXuZ1rD5VeT4NGBzr1MDNLWu43H5KA"; | |
string access_token = string.Empty; | |
var client = new RestClient($"https://{tenant}.auth0.com/oauth/device/code"); | |
var request = new RestRequest(); | |
request.Method = Method.Post; |
@code { | |
@inject IJSRuntime JSRuntime | |
protected override async Task OnInitializedAsync() | |
{ | |
await JSRuntime.InvokeVoidAsync("console.log", "%cRed Origin 5.0.1 🚀", "color:#0dd8d8; background:#0b1021; font-size:1.5rem; padding:0.15rem 0.25rem; margin: 1rem auto; font-family: Rockwell; border: 2px solid #0dd8d8; border-radius: 4px;font-weight: bold; text-shadow: 1px 1px 1px #00af87bf;"); | |
} | |
} |