Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add advanced prompt for sophisticated code assistance #1236

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

munnam77
Copy link

Added a new advanced-prompts.ts file containing:

A highly detailed and structured system prompt for advanced AI assistance.

Integration with the existing PromptLibrary class.

Updated the PromptLibrary to include the advanced prompt option:

Added a new entry in the library object for the advanced prompt.

The advanced prompt uses the getAdvancedPrompt function to generate responses.

Ensured compatibility with the existing PromptOptions interface.

Completely revamped the getSystemPrompt function to include detailed sections for identity, design engineering manifesto, response workflow, design system, tech stack, code constitution, security charter, and example implementations.
Added new constants and imports for better modularity and future extensibility.
Updated the CONTINUE_PROMPT section to align with the new system prompt structure.
@munnam77
Copy link
Author

munnam77 commented Feb 7, 2025

@leex279 @dashawk you can merge and close this pull

@leex279
Copy link
Collaborator

leex279 commented Feb 7, 2025

Hi @munnam77, do you have a example prompt / testcase where we can see good why this prompt is needed / better working as the others?

@leex279 leex279 self-requested a review February 7, 2025 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants