-
Notifications
You must be signed in to change notification settings - Fork 843
Improve jetpack-changelog Claude command: add step to return to root directory #46402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Conversation
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR improves the jetpack-changelog Claude command by adding an instruction to navigate back to the root repository directory after running the changelogger command, preventing subsequent commands from failing due to being in a project subdirectory.
Key Changes:
- Adds step 5 to navigate back to the root repo directory
- Renumbers the git staging step from 5 to 6
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| --entry="{description}" | ||
| ``` | ||
| 5. Stage the generated changelog file with `git add` | ||
| 5. Navigate back to root repo directory |
Copilot
AI
Dec 23, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The instruction to navigate back to the root directory should include the actual command to execute, similar to how other steps provide explicit commands. Consider specifying the command, such as using cd - to return to the previous directory, or cd ../.. or similar depending on the typical project depth.
| 5. Navigate back to root repo directory | |
| 5. Navigate back to root repo directory: `cd -` |
Proposed changes:
Other information:
Jetpack product discussion
N/A - Developer tooling improvement
Does this pull request change what data or activity we track or use?
No
Testing instructions:
/jetpack-changelogin Claude Code on a branch with project changes