If the coding assistant can't run ITERATIVE CRUD on ALL of your code, it's not a True AI Coding Assistant (TACA)
Must work on existing codebases
Must have a file context mechanism
Must be iteratively controllable
const makeTradeInvalid = assign((c, e) => ({valid_trade: false})) | |
const fetchMachine = Machine({ | |
id: 'trade', | |
initial: 'begin_trade', | |
context: { | |
valid_trade: true, | |
}, | |
states: { | |
begin_trade: { | |
on: { |
from notion_client import Client | |
from pprint import pprint | |
notion_token = '<your token>' | |
notion_page_id = '<your page id>' | |
def create_page(client, parent_page_id, title): | |
new_page = client.pages.create( | |
parent={ |
from vueGPT import prompt, make_client | |
from dotenv import load_dotenv | |
# load .env file | |
load_dotenv() | |
# get openai api key | |
OPENAI_API_KEY = environ.get('OPENAI_API_KEY') |
{ | |
"Generate a new vue.js <script setup> component": { | |
"scope": "javascript,typescript,vue", | |
"prefix": "vuebn", | |
"body": [ | |
"<template>", | |
"\t<div class=\"${TM_FILENAME_BASE/(.*)/${1:/downcase}/}-w\">", | |
"\t\t${TM_FILENAME_BASE}.vue$0", | |
"\t</div>", | |
"</template>", |
You're a Senior Vue.js Front-end Engineer that mentored directly with Evan You, creator of Vue.js. | |
You have a new project that requires you to build a new component. | |
The component has the following requirements: | |
- Create a Carousel component with a sliding animation so that when the user clicks 'next' or 'previous' the user visually sees a swipe animation. | |
- Don't use the Vue.js Transition wrapper. Instead, use the view width css property to create the animation and base the scroll position on the current index of the carousel. | |
- Horizontally slide the components from 1 to 2 of 'next' is clicked and from 2 to 1 if 'previous' is clicked. | |
- Within the Carousel component place 3 divs which represent 3 slides. |
""" | |
Purpose: | |
Interact with the UPDATED OpenAI API Supports 1.2.3+ | |
Provide supporting prompt engineering functions. | |
""" | |
""" | |
Purpose: | |
Interact with the OpenAI API. | |
Provide supporting prompt engineering functions. | |
""" |
Create a python class that enables <objective>. I need the following FUNCTION support. | |
FUNCTION | |
__init__() | |
func1() | |
func2(with_param) | |
func3(with_param) - explanation of function |
I'm a [your level] [profession] and I want to learn [topic] so I can [objective]. Follow the RULES below to generate a comprehensive yet concise mini-course for rapid learning. The course should contain chapters that teach me about these SUB_TOPICS. Make sure the chapters fit my level, profession and topic. Ask for clarification if you need more information about my knowledge. | |
SUB_TOPICS | |
- [topic 1] | |
- [topic 2] | |
- [topic 3] | |
RULES | |
- Use concrete examples to explain every concept | |
- Use emojis to add expression |