Skip to content

Conversation

tomasz-stefaniak
Copy link
Collaborator

@tomasz-stefaniak tomasz-stefaniak commented Oct 2, 2025

Description

Make rules and prompts directories interchangeable - detect rules located in 'prompts' directory and detect prompts located in a rules directory.

AI Code Review

  • Team members only: AI review runs automatically when PR is opened or marked ready for review
  • Team members can also trigger a review by commenting @continue-review

Checklist

  • [] I've read the contributing guide
  • [] The relevant docs, if any, have been updated or created
  • [] The relevant tests, if any, have been updated or created

Screen recording or screenshot

[ When applicable, please include a short screen recording or screenshot - this makes it much easier for us as contributors to review and understand your changes. See this PR as a good example. ]

Tests

[ What tests were added or updated to ensure the changes work as expected? ]


Summary by cubic

Makes the prompts and rules directories interchangeable. Rules and prompts now load from both .continue/rules and .continue/prompts in workspace and global paths to prevent missing files.

  • Bug Fixes
    • Load markdown rules from .continue/rules and .continue/prompts.
    • Read prompt files from .continue/rules and ~/.continue/rules in addition to prompts.
    • Added shared dir name constants and clearer error messages with directory context.

@tomasz-stefaniak tomasz-stefaniak changed the title fix rules and prompts Detect invokable rules located in 'prompts' direcoty Oct 2, 2025
@tomasz-stefaniak tomasz-stefaniak changed the title Detect invokable rules located in 'prompts' direcoty Detect invokable rules located in 'prompts' directory Oct 2, 2025
@tomasz-stefaniak tomasz-stefaniak marked this pull request as ready for review October 2, 2025 20:38
@tomasz-stefaniak tomasz-stefaniak requested a review from a team as a code owner October 2, 2025 20:38
@tomasz-stefaniak tomasz-stefaniak requested review from tingwai and removed request for a team October 2, 2025 20:38
Copy link

github-actions bot commented Oct 2, 2025

⚠️ 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.

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Oct 2, 2025
Copy link

github-actions bot commented Oct 2, 2025

✅ Review Complete

⚠️ AI review completed but no review output was generated.

Likely cause: Expired CONTINUE_API_KEY or missing continuedev/review-bot assistant

📋 View workflow logs for details.


Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Oct 2, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Oct 2, 2025
@tomasz-stefaniak tomasz-stefaniak merged commit 9b4224d into main Oct 6, 2025
134 of 150 checks passed
@tomasz-stefaniak tomasz-stefaniak deleted the tomasz/fix-rules-and-prompts branch October 6, 2025 17:51
@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PRs Oct 6, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Oct 6, 2025
@sestinj
Copy link
Contributor

sestinj commented Oct 8, 2025

🎉 This PR is included in version 1.27.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:M This PR changes 30-99 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants