Skip to content

Migrate Deploy command to Skill#92

Open
alex-doudou wants to merge 1 commit intogemini-cli-extensions:mainfrom
alex-doudou:main
Open

Migrate Deploy command to Skill#92
alex-doudou wants to merge 1 commit intogemini-cli-extensions:mainfrom
alex-doudou:main

Conversation

@alex-doudou
Copy link

  • Migrate Deploy command to Skill

@gemini-code-assist
Copy link
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 new "skill" designed to streamline the deployment of applications to Google Cloud Platform. It provides a structured, assistant-driven approach for users to deploy various application types, from static websites to containerized services, by guiding them through predefined workflows and ensuring adherence to best practices for security and error handling.

Highlights

  • New GCP Deployment Skill: Introduced a comprehensive deploy-cicd-gcp skill to assist users in deploying applications to Google Cloud, covering static sites and containerized services.
  • Defined Workflows: Established three distinct deployment workflows: Google Cloud Storage for static applications, and Google Cloud Run with Buildpacks or From Image for container-based applications.
  • Operational Logic: Outlined core operational logic including intent analysis, application type analysis (static vs. dynamic), and workflow selection.
  • Universal Protocols: Incorporated universal protocols for secret scanning, error handling, and adherence to constraints, ensuring robust and secure deployments.

🧠 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
  • skills/gcp-cicd-deploy/SKILL.md
    • Added a new skill definition for deploying applications to Google Cloud Platform.
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
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

The pull request introduces a new SKILL.md file that defines the operational logic and workflows for a Google Cloud DevOps Assistant AI, detailing steps for intent analysis, application type detection, and deployment to Google Cloud Storage or Cloud Run. The review comments suggest minor formatting corrections, adding a missing comma in a list of languages to prevent misinterpretation, and fixing a typo for consistency.

@yeshwanth1993
Copy link
Contributor

/gcbrun

* If git is installed use `git remote get-url origin` to get the git url. From URL used repository name as default target name.
* If git is not installed, use the name of the current directory as the default target name.

## **User Prompt**
Copy link
Contributor

Choose a reason for hiding this comment

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

you can remove this

* **Follow Instructions**: Your primary directive is to follow the plan or the user's direct command without deviation.
* **Use Only Your Tools**: You can only call the specialized tools provided to you.

### Execution mandate
Copy link
Contributor

Choose a reason for hiding this comment

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

remove this

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