Skip to content

Commit a7a32e6

Browse files
authored
internal: Refine changeset skill — add skill awareness, remove PR desc (#3775)
- Add step to check for and update modified skills when code changes affect documented workflows - Remove PR description generation (handled by the pr skill instead) - Clean up description and overview to reflect new scope Made-with: Cursor
1 parent 0e0ff1a commit a7a32e6

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

.cursor/skills/changeset/SKILL.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
---
22
name: changeset
3-
description: Create changesets for version bump, release notes, changelog, PR description, semver patch/minor/major, breaking changes, and documentation updates after code changes
3+
description: Create changesets for version bump, release notes, changelog, semver patch/minor/major, breaking changes, documentation and skill updates after code changes
44
disable-model-invocation: true
55
---
66

7-
# Create Changesets and PR
7+
# Create Changesets
88

99
## Overview
10-
Generate changesets, update documentation, draft blog entries, and prepare PR description for user-facing changes.
10+
Generate changesets, update documentation, draft blog entries, and update skills for user-facing changes.
1111

1212
## Steps
1313
1. **Analyze changes**
1414
- Compare current branch to `master` to identify modified packages
1515
- Group changes by impact type (feature, fix, breaking)
1616
- Identify transitive dependencies that expose the change
17+
- Check for modified skills in `.cursor/skills/` and `packages/*/.cursor/skills/`
1718

1819
2. **Determine affected packages**
1920
- Include directly modified packages
@@ -41,15 +42,10 @@ Generate changesets, update documentation, draft blog entries, and prepare PR de
4142
- Link to PR/commit and relevant docs
4243
- For breaking changes: add to summary's Breaking Changes section with anchor link
4344

44-
6. **Generate PR description**
45-
- Output a PR description for the user to copy/paste using @.github/PULL_REQUEST_TEMPLATE.md format
46-
- Fill in the sections based on the analyzed changes
47-
- Link related issues if known
48-
- Summarize motivation from changeset descriptions
49-
- Describe solution at a high level first (not implementation details)
50-
- Include any mermaid diagrams that might help convey key concepts, especially if one was present in a plan.md
51-
- Drop 'Open questions' section if no relevant content
52-
- Keep in mind you are a chat agent talking in markdown, so cannot start a markdown block without escaping the contents.
45+
6. **Update skills**
46+
- If code changes affect workflows described in existing skills, update those skills to match
47+
- If new APIs or patterns are introduced that agents should know about, add them to the relevant skill
48+
- Skill changes don't need changesets — they are development tooling, not published packages
5349

5450
## Changeset Format
5551
- **First line**: Action verb ("Add", "Fix", "Update", "Remove")
@@ -63,4 +59,4 @@ Generate changesets, update documentation, draft blog entries, and prepare PR de
6359
- Multiple use cases: Separate with brief labels
6460

6561
## Markdown Formatting
66-
Follow `@.cursor/rules/markdown-formatting.mdc` for all markdown content including the PR desc.
62+
Follow `@.cursor/rules/markdown-formatting.mdc` for all markdown content.

0 commit comments

Comments
 (0)