Skip to content

feat(skills): add pr-creator skill and enable skills#16232

Merged
NTaylorMullen merged 2 commits intomainfrom
ntm/pr-creator-skill
Jan 9, 2026
Merged

feat(skills): add pr-creator skill and enable skills#16232
NTaylorMullen merged 2 commits intomainfrom
ntm/pr-creator-skill

Conversation

@NTaylorMullen
Copy link
Copy Markdown
Collaborator

Summary

This PR introduces a new skill, pr-creator, to standardize pull request creation and enables the skills feature for the project configuration.

Details

  • New Skill: Added .gemini/skills/pr-creator/SKILL.md, which instructs agents to locate and follow the repository's PR template.
  • Git Configuration: Updated .gitignore to allow tracking of .gemini/skills/ and .gemini/settings.json.
  • Project Settings: Created .gemini/settings.json with "experimental": { "skills": true } to enable skills for anyone working in this repo.

Related Issues

N/A

How to Validate

  1. Check Files: Verify .gemini/skills/pr-creator/SKILL.md exists and contains the correct instructions.
  2. Check Gitignore: Verify .gitignore includes the new exceptions.
  3. Check Settings: Verify .gemini/settings.json enables skills.
  4. Test Skill: (Optional) Use an agent with this branch checked out to create a dummy PR and confirm it finds the template.

Pre-Merge Checklist

  • Updated relevant documentation and README (if needed) - Skill documentation added.
  • Added/updated tests (if needed)
  • Noted breaking changes (if any)
  • Validated on required platforms/methods:
    • MacOS
      • npm run
      • npx
      • Docker
      • Podman
      • Seatbelt
    • Windows
      • npm run
      • npx
      • Docker
    • Linux
      • npm run
      • npx
      • Docker
@NTaylorMullen NTaylorMullen requested a review from a team as a code owner January 9, 2026 08:48
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @NTaylorMullen, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request integrates a new pr-creator skill to streamline pull request generation and activates the experimental skills feature across the project. Concurrently, it introduces a user-configurable setting to manage a startup warning related to running the CLI in the home directory, enhancing user experience and control over system notifications.

Highlights

  • New pr-creator Skill: A new skill, pr-creator, has been introduced to standardize pull request creation by guiding agents to locate and follow the repository's PR template.
  • Skills Feature Enabled: The project configuration now explicitly enables the "skills" experimental feature via .gemini/settings.json.
  • Git Configuration Update: .gitignore has been updated to allow tracking of the new .gemini/skills/ directory and .gemini/settings.json file.
  • Configurable Home Directory Warning: A new UI setting, ui.showHomeDirectoryWarning, has been added, allowing users to suppress the warning when running the Gemini CLI in their home directory. This warning also respects folder trust settings.
Ignored Files
  • Ignored by pattern: .gemini/** (2)
    • .gemini/settings.json
    • .gemini/skills/pr-creator/SKILL.md
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

- Added 'pr-creator' skill to guide PR creation according to repository standards.
- Updated .gitignore to track .gemini/skills/ and .gemini/settings.json.
- Created .gemini/settings.json to enable experimental skills for this project.
- This ensures all contributors have access to the skill and the necessary configuration.
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 9, 2026

Size Change: -2 B (0%)

Total Size: 22.3 MB

ℹ️ View Unchanged
Filename Size Change
./bundle/gemini.js 22.3 MB -2 B (0%)
./bundle/sandbox-macos-permissive-closed.sb 1.03 kB 0 B
./bundle/sandbox-macos-permissive-open.sb 890 B 0 B
./bundle/sandbox-macos-permissive-proxied.sb 1.31 kB 0 B
./bundle/sandbox-macos-restrictive-closed.sb 3.29 kB 0 B
./bundle/sandbox-macos-restrictive-open.sb 3.36 kB 0 B
./bundle/sandbox-macos-restrictive-proxied.sb 3.56 kB 0 B

compressed-size-action

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new setting ui.showHomeDirectoryWarning to control whether a warning is displayed when running the Gemini CLI in the user's home directory. The changes include adding the setting to the schema and documentation, and implementing the logic to check this setting before displaying the warning. While the changes for the home directory warning seem mostly correct, a critical type error was found in packages/cli/src/utils/userStartupWarnings.ts where an interface was changed but not all its implementations were updated, which will break compilation. Additionally, there is a significant discrepancy between the pull request's title and description, which focus on adding a pr-creator skill, and the actual code changes provided for review. This should be rectified for clarity.

@gemini-cli gemini-cli bot added the status/need-issue Pull requests that need to have an associated issue. label Jan 9, 2026
!.gemini/config.yaml
!.gemini/commands/
!.gemini/skills/
!.gemini/settings.json
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we want to start including the settings.json?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without it you wont get skills by default. I figured it could be a way to share settings across the group. Add shared slash commands maybe a few other deets. Do you have specific settings that you personally disable in the repo?

@@ -0,0 +1,5 @@
{
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we actually want to add this settings.json?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See above

@NTaylorMullen NTaylorMullen added this pull request to the merge queue Jan 9, 2026
Merged via the queue into main with commit 8bc3cfe Jan 9, 2026
26 checks passed
@NTaylorMullen NTaylorMullen deleted the ntm/pr-creator-skill branch January 9, 2026 17:34
sumansaurabh pushed a commit to sumansaurabh/gemini-cli that referenced this pull request Jan 9, 2026
thacio added a commit to thacio/auditaria that referenced this pull request Jan 24, 2026
kuishou68 pushed a commit to iOfficeAI/aioncli that referenced this pull request Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/need-issue Pull requests that need to have an associated issue.

3 participants