Skip to content

feat: add rstest-best-practices skill#33

Merged
Timeless0911 merged 2 commits intomainfrom
rstest-best-practices
Mar 16, 2026
Merged

feat: add rstest-best-practices skill#33
Timeless0911 merged 2 commits intomainfrom
rstest-best-practices

Conversation

@9aoy
Copy link
Copy Markdown
Contributor

@9aoy 9aoy commented Mar 16, 2026

Add new skill documentation covering best practices for Rstest config, CLI workflow, test writing, mocking, snapshot testing, DOM testing, coverage, multi-project setup, CI integration, performance and debugging. Use when writing, reviewing, or troubleshooting Rstest test projects.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, 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 enhances the agent's capabilities by integrating a new skill focused on Rstest best practices. The primary goal is to equip users with a detailed guide for effectively developing, reviewing, and troubleshooting Rstest-based test projects, ensuring adherence to optimal testing methodologies across various aspects of the development lifecycle.

Highlights

  • New Skill Added: Introduced a new skill, "rstest-best-practices", providing comprehensive guidelines for Rstest configuration, CLI usage, test writing, mocking, snapshot testing, coverage, multi-project setups, CI integration, performance, and debugging.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • README.md
    • Added a new section documenting the "rstest-best-practices" skill, including its description and installation command.
  • skills/rstest-best-practices/SKILL.md
    • Created a new markdown file outlining comprehensive best practices for Rstest, covering configuration, CLI, test writing, environments, UI testing, mocking, snapshots, coverage, multi-project setups, CI, performance, debugging, profiling, and toolchain integration.
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.

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 rstest-best-practices skill. It updates the README.md to include this new skill and adds a comprehensive SKILL.md document detailing best practices for Rstest, covering configuration, CLI usage, test writing, environment setup, component testing, mocking, snapshot testing, coverage, multi-project setups, CI integration, performance, debugging, profiling, and toolchain integration.

Copy link
Copy Markdown
Member

@Timeless0911 Timeless0911 left a comment

Choose a reason for hiding this comment

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

Update ai pages in Rstest website later.

@Timeless0911 Timeless0911 merged commit 89c2e18 into main Mar 16, 2026
4 checks passed
@Timeless0911 Timeless0911 deleted the rstest-best-practices branch March 16, 2026 07:10
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