chore: automate CLAUDE.md generation from RFC discussions#2199
Merged
Conversation
Contributor
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
Copilot
AI
changed the title
[WIP] Generate CLAUDE.md file from contribution guidelines
feat: automate CLAUDE.md generation from RFC discussions
Nov 11, 2025
stalniy
requested changes
Nov 11, 2025
4a9b7e9 to
0e47e98
Compare
0e47e98 to
5cba863
Compare
stalniy
reviewed
Jan 13, 2026
| } | ||
|
|
||
| function writeAiInstruction(filepath: string, aiInstructions: string): void { | ||
| writeFileSync(filepath, aiInstructions, "utf-8"); |
Contributor
There was a problem hiding this comment.
thought: we could also generate here cursor/copilot rules
stalniy
approved these changes
Jan 13, 2026
stalniy
reviewed
Jan 13, 2026
Signed-off-by: Serhii Stotskyi <sergiy.stotskiy@gmail.com>
ygrishajev
approved these changes
Jan 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Implements GitHub Actions automation to generate CLAUDE.md from RFC discussions labeled
RFC:Landed, providing AI coding assistants with project-specific contribution guidelines.Changes
Script:
script/generate-claude-md.ts--experimental-strip-typesfor direct executiongh cliGraphQL API## AI Instructionssections from RFC:Landed discussions.claude/instructions/with lowercase-dashed namingCLAUDE.mdwith@.contribution-guidelines/[filename].mdlinksWorkflow:
.github/workflows/generate-claude-md.ymllabeled,unlabeled,editedeventsgithub.event.discussion.category.namefrom event contextgit commit,git push) for commits instead of GitHub APIautomated/claude-md-updatebranch (no direct commits)Documentation
.contribution-guidelines/README.md: System overview and usageCONTRIBUTING.md: Added AI Coding Guidelines sectionExample Output
When an RFC titled "Testing Strategy" gets the
RFC:Landedlabel:Generated
.contribution-guidelines/testing-strategy.md:Generated
CLAUDE.md:Usage
## AI Instructionssection with guidance for AI toolsRFC:LandedlabelOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.