Skip to content

Automate llms.txt update with github action#17

Draft
WilliamAvHolmberg wants to merge 7 commits into
mainfrom
cursor/automate-llms-txt-update-with-github-action-931e
Draft

Automate llms.txt update with github action#17
WilliamAvHolmberg wants to merge 7 commits into
mainfrom
cursor/automate-llms-txt-update-with-github-action-931e

Conversation

@WilliamAvHolmberg

Copy link
Copy Markdown
Owner

Add a GitHub Action to suggest llms.txt updates using an LLM via the OpenRouter.NET SDK.

This action analyzes code changes in PRs and leverages an LLM (called via the SDK) to provide intelligent suggestions for keeping llms.txt synchronized with the codebase. This approach ensures documentation quality, tests the SDK in a real-world scenario, and reduces manual maintenance effort.


Open in Cursor Open in Web

Co-authored-by: william.holmberg <william.holmberg@dotnetmentor.se>
@cursor

cursor Bot commented Oct 29, 2025

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@coderabbitai

coderabbitai Bot commented Oct 29, 2025

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch cursor/automate-llms-txt-update-with-github-action-931e

Comment @coderabbitai help to get the list of available commands and usage tips.

cursoragent and others added 6 commits October 29, 2025 18:10
Co-authored-by: william.holmberg <william.holmberg@dotnetmentor.se>
Co-authored-by: william.holmberg <william.holmberg@dotnetmentor.se>
Co-authored-by: william.holmberg <william.holmberg@dotnetmentor.se>
Co-authored-by: william.holmberg <william.holmberg@dotnetmentor.se>
…odel in llms-txt generator

- Fixed formatting in console output to ensure proper alignment and readability.
- Updated the default model in the command-line options from "anthropic/claude-3.5-sonnet" to "anthropic/claude-haiku-4.5".
- Added new llms-1.txt and llms.txt files containing comprehensive documentation for the OpenRouter.NET SDK.
- Enhanced README instructions for running the llms-txt generator tool.
Update system prompt to focus on practical usage for LLMs. Enhance artifact ID handling in WriteLlmsTxtTool for better robustness and user experience.

Co-authored-by: william.holmberg <william.holmberg@dotnetmentor.se>
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.

2 participants