Conversation
In order to provide consistent LOC breakdowns in pull request descriptions, this PR adds a "Code changes table" section to the write-pr skill template. The new section defines seven categories for classifying code changes: - Core code (SDK packages source) - Tests (unit tests, e2e tests) - Automated files (generated files like API reports) - Documentation (docs site and examples) - Apps (application code) - Templates (starter templates) - Config/tooling (config files, CI, build scripts) Each PR description should include a table showing net LOC changes per category, with all rows summing to the total diff. ### Change type - [x] `improvement` ### Test plan - [ ] Verify the skill template renders correctly by reviewing the raw markdown - [ ] Create a test PR using the `/pr` command and confirm the code changes table is included ### Code changes | Section | LOC change | | -------------- | ---------- | | Config/tooling | +26 / -0 | <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Documentation-only change that adjusts PR-writing guidance; no runtime or production code is affected. > > **Overview** > Updates the `write-pr` skill template (`.claude/skills/write-pr/SKILL.md`) to require a new **Code changes** section in PR bodies. > > The new section defines standard change categories (core code, tests, automated files, documentation, apps, templates, config/tooling) and provides a markdown table format for reporting net `+/-` LOC per category, with rows omitted when unchanged and totals matching the PR diff. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 95bda30. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )