Skip to content

fix: resolving the Claude rendering issue #23

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bdougie
Copy link
Contributor

@bdougie bdougie commented Jun 26, 2025

What is this?

fixes #22

User reported the basic example in the docs is not working when running render claude. After a quick triage it is due to the alwaysApply not existing in the starter/nextjs-rules rules does not included this frontmatter and the rendering specifically is looking for that.

return false
// If alwaysApply is not explicitly set, default to true
// This ensures rules without the alwaysApply field are included in single-file formats
return true
Copy link
Contributor

Choose a reason for hiding this comment

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

Given the ways that this function is used, I think we should allow it to still return false, but should instead change just the rendering logic for CLAUDE.md, etc. files.

I'm happy to do this myself, just lmk, but what I would recommend here is a) change the spec for rendering so that it describes the behavior we want and then b) in Continue, run the @ regenerate command, which will help you update the codebase to match the change in behavior from the spec

I've found this workflow helps keep everything pretty consistent

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.

rules render claude doesn't work
2 participants