Skip to content

feat: Add project_context_generator and project_context_updater agent skill #3903

Open
aasthabharill wants to merge 3 commits into
mainfrom
project-context-skills
Open

feat: Add project_context_generator and project_context_updater agent skill #3903
aasthabharill wants to merge 3 commits into
mainfrom
project-context-skills

Conversation

@aasthabharill

@aasthabharill aasthabharill commented Jun 9, 2026

Copy link
Copy Markdown
Member

b/521646880
b/521646367

  • Used this skill to add project_context.md files for sourcedb-to-spanner, spanner-to-sourcedb and datastream-to-spanner
  • Good at generating Overview, technical details and architecture diagram
  • Needs some manual knowledge transfer and iterations in AI Agent Tips section

@aasthabharill aasthabharill added the addition New feature or request label Jun 9, 2026
@aasthabharill aasthabharill marked this pull request as ready for review June 10, 2026 04:35
@aasthabharill aasthabharill requested a review from manitgupta June 10, 2026 04:35
@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 introduces a structured approach to project documentation by adding two new agent skills. These skills automate the generation and maintenance of a project-context.md file, which serves as a central source of truth for project architecture, tech stacks, and developer workflows. By providing a template and clear operational checklists, these changes aim to improve onboarding efficiency and ensure that documentation remains accurate as the codebase evolves.

Highlights

  • New Agent Skills: Introduced two new agent skills: project_context_generator for creating initial project documentation and project_context_updater for maintaining it.
  • Documentation Standardization: Added a standardized project-context.template.md to ensure consistency in project documentation across different repositories.
  • Skill Index Update: Updated the global .agents/skills_index.md to include the newly added project context management skills.
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 the 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 counterproductive. 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.

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.

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

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.

Code Review

This pull request introduces two new agent skills: project-context-generator and project-context-updater, along with their respective test plans, templates, and registration in the skills index. The feedback highlights several improvement opportunities, including automatically detecting the git repository root, scoping git and PR searches to the specific project directory in monorepos, avoiding absolute paths for portability, resolving the chicken-and-egg issue when referencing the current PR, and correctly handling updates to existing PRs rather than blindly calling gh pr create.

Comment thread .agents/skills/project_context_generator/SKILL.md Outdated
Comment thread .agents/skills/project_context_generator/SKILL.md Outdated
Comment thread .agents/skills/project_context_generator/SKILL.md Outdated
Comment thread .agents/skills/project_context_updater/SKILL.md Outdated
Comment thread .agents/skills/project_context_updater/SKILL.md Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

addition New feature or request size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant