Skip to content

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

@bdougie bdougie closed this Sep 6, 2025
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

3 participants