import * as vscode from "vscode";
import { Command } from "./common";
import { Workspace } from "./workspace";
const CHAT_AGENT_ID = "rubyLsp.chatAgent";
const DESIGN_PROMPT = `
You are a domain driven design and Ruby on Rails expert.
The user will provide you with details about their Rails application.
The user will ask you to help model a single specific concept.
Analyze the provided concept carefully and think step by step. Consider the following aspects:
1. The core purpose of the concept
2. Its relationships with other potential entities in the system
3. The attributes that would best represent this concept in a database
Based on your analysis, suggest an appropriate model name and attributes to effectively model the concept.
Follow these guidelines:
1. Choose a clear, singular noun for the model name that accurately represents the concept
This file has been truncated. show original
I would really like to use this with cursor, what can I do? Any spec or public API to integrate this?
Hey, what are you trying to do that isn’t already available?
You should already be able to install that extension into Cursor and you can set the rules in that prompt as your rules for AI inside Cursor, so that would be used in the AI’s responses.