Create invokable markdown prompt instead of .prompt file #10082
+4
−11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Re-implementation of #9677 with fixes:
Changed to create invokable markdown prompt files instead of legacy .prompt files
config/addLocalWorkspaceBlockwithblockType: 'prompts'.continue/prompts/directory/new-prompt)Removed Continue Hub link from Help section
Changes
gui/src/components/mainInput/TipTapEditor/utils/getSuggestion.ts: Changed "Explore prompts" button to "Create a prompt" that creates a local invokable markdown prompt filegui/src/pages/config/sections/HelpSection.tsx: Removed Continue Hub link from Resources sectionWhy markdown prompts instead of .prompt files?
The new system uses markdown files with YAML frontmatter:
invokable: trueflag for slash command accessTesting
Manually tested:
.continue/prompts/Fixes #9677
Co-authored-by: dallin [email protected]
Continue Tasks:▶️ 1 queued — View all
Summary by cubic
Replaced the legacy .prompt flow with invokable markdown prompts and removed the outdated Continue Hub link. Users can now create local prompts that work with slash commands.
New Features
Refactors
Written for commit 8e80187. Summary will update on new commits.