Skip to content

Conversation

@continue
Copy link
Contributor

@continue continue bot commented Sep 23, 2025

Summary

Fixes the issue where creating a new prompt in the Local Agent settings generates the old YAML format instead of the new markdown format.

Changes Made

  1. Added function in :

    • Creates markdown prompts with YAML frontmatter
    • Supports , , and properties
    • Similar structure to existing function
  2. **Updated **:

    • Changed prompt file extension from to
    • Modified to use markdown format for prompts
    • Now generates prompts with proper frontmatter structure
  3. Updated tests to reflect the new markdown format expectations

Before

After

Testing

  • Created test files for the new function
  • Updated existing tests to expect extensions and markdown content for prompts
  • Verified the generated output matches the expected format

Fixes the issue mentioned in the docs: #7664


Summary by cubic

Fixes Local Agent prompt creation to use the new markdown format with YAML frontmatter and .md files. Prompts now include name, description, and invokable in the frontmatter.

  • Bug Fixes
    • Added createPromptMarkdown to generate markdown prompts with frontmatter.
    • Updated workspaceBlocks to use .md for prompts and create markdown content.
    • Updated tests to expect markdown output and .md filenames.

- Added createPromptMarkdown function to generate markdown prompts with frontmatter
- Updated workspaceBlocks to use .md extension and markdown format for prompts
- Changed prompt creation from old YAML format to new markdown format with name, description, and invokable properties
- Updated tests to reflect the new markdown format expectations
- Prompts now generate with proper frontmatter: name, description, invokable: true

Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <[email protected]>
@continue continue bot requested a review from a team as a code owner September 23, 2025 16:19
@continue continue bot requested review from RomneyDa and removed request for a team September 23, 2025 16:19
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Sep 23, 2025
@github-actions
Copy link

⚠️ PR Title Format

Your PR title doesn't follow the conventional commit format, but this won't block your PR from being merged. We recommend using this format for better project organization.

Expected Format:

<type>[optional scope]: <description>

Examples:

  • feat: add changelog generation support
  • fix: resolve login redirect issue
  • docs: update README with new instructions
  • chore: update dependencies

Valid Types:

feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert

This helps with:

  • 📝 Automatic changelog generation
  • 🚀 Automated semantic versioning
  • 📊 Better project history tracking

This is a non-blocking warning - your PR can still be merged without fixing this.

@TyDunn TyDunn changed the title Fix prompt creation to use new markdown format fix: fix prompt creation to use new markdown format Sep 23, 2025
RomneyDa
RomneyDa previously approved these changes Sep 25, 2025
@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Sep 25, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 25, 2025
@sestinj sestinj merged commit 5b0f475 into main Sep 26, 2025
69 of 71 checks passed
@sestinj sestinj deleted the fix-prompt-creation-format branch September 26, 2025 23:41
@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PRs Sep 26, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Sep 26, 2025
@sestinj
Copy link
Contributor

sestinj commented Sep 26, 2025

🎉 This PR is included in version 1.22.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor

sestinj commented Oct 1, 2025

🎉 This PR is included in version 1.21.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor

sestinj commented Oct 15, 2025

🎉 This PR is included in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm This PR has been approved by a maintainer released size:L This PR changes 100-499 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants