Skip to content

docs(project): Add comprehensive project documentation and enhance IDE schema integration#22

Merged
ioncakephper merged 1 commit intomainfrom
chore/gemini-file
Dec 8, 2025
Merged

docs(project): Add comprehensive project documentation and enhance IDE schema integration#22
ioncakephper merged 1 commit intomainfrom
chore/gemini-file

Conversation

@ioncakephper
Copy link
Copy Markdown
Owner

Introduced a new GEMINI.md file providing comprehensive project documentation, including project overview, installation, running, testing, linting, formatting, and development conventions.

Updated the README.md with a new section on 'Schema-Driven Development in your IDE', detailing how to leverage the JSON schema for autocompletion and real-time validation in YAML files using the yaml-language-server directive.

The $id property in schema/cli.schema.json was updated to a public CDN URL (https://cdn.jsdelivr.net/npm/cli-schema@3.0.0/schema/cli.schema.json). This change is crucial for enabling seamless schema discovery by IDEs and other tools, directly supporting the new IDE integration documentation.

Example YAML definition files were updated to include the yaml-language-server directive and conform to recent schema property renames (e.g., command to name, alias to short) that were part of the v3.0.0 release. The .gitignore file was also updated to ignore the new .gemini/ directory.

…E schema integration

Introduced a new `GEMINI.md` file providing comprehensive project documentation, including project overview, installation, running, testing, linting, formatting, and development conventions.

Updated the `README.md` with a new section on 'Schema-Driven Development in your IDE', detailing how to leverage the JSON schema for autocompletion and real-time validation in YAML files using the `yaml-language-server` directive.

The `$id` property in `schema/cli.schema.json` was updated to a public CDN URL (`https://cdn.jsdelivr.net/npm/cli-schema@3.0.0/schema/cli.schema.json`). This change is crucial for enabling seamless schema discovery by IDEs and other tools, directly supporting the new IDE integration documentation.

Example YAML definition files were updated to include the `yaml-language-server` directive and conform to recent schema property renames (e.g., `command` to `name`, `alias` to `short`) that were part of the v3.0.0 release. The `.gitignore` file was also updated to ignore the new `.gemini/` directory.
@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello @ioncakephper, 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 significantly improves the project's documentation and developer experience by introducing comprehensive project guidelines and enhancing IDE integration for schema-driven development. These changes aim to make it easier for contributors to understand and work with the project, while also providing better tooling support for defining CLIs using the project's schema.

Highlights

  • Comprehensive Documentation: A new "GEMINI.md" file has been added, providing extensive project documentation covering overview, installation, running, testing, linting, formatting, and development conventions.
  • Enhanced IDE Integration: The "README.md" now includes a section on "Schema-Driven Development in your IDE," guiding users on how to leverage the JSON schema for autocompletion and real-time validation in YAML files using the "yaml-language-server" directive.
  • Public Schema CDN: The "$id" property in "schema/cli.schema.json" has been updated to a public CDN URL ("https://cdn.jsdelivr.net/npm/cli-schema@3.0.0/schema/cli.schema.json"), which is essential for seamless schema discovery by IDEs and tools.
  • Example File Updates: Existing example YAML definition files have been updated to incorporate the "yaml-language-server" directive and reflect recent schema property renames (e.g., "command" to "name", "alias" to "short") from the v3.0.0 release.
  • Git Ignore Update: The ".gitignore" file has been updated to ignore the newly introduced ".gemini/" directory.
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.

@ioncakephper ioncakephper merged commit 5658f07 into main Dec 8, 2025
2 checks passed
@ioncakephper ioncakephper deleted the chore/gemini-file branch December 8, 2025 15:18
Copy link
Copy Markdown

@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 significantly improves the project's documentation and developer experience. The addition of the GEMINI.md file provides a comprehensive project overview, and the new 'Schema-Driven Development' section in the README.md is a great enhancement for users of the schema. The changes to enable IDE integration by updating the schema's $id and aligning the example files are well-implemented. I have two suggestions: one to fix a reference in the new documentation and another to address a potential long-term maintenance issue with how the schema version is hardcoded in its $id.

Comment thread schema/cli.schema.json
@@ -1,5 +1,5 @@
{
"$id": "https://example.com/cli.schema.json",
"$id": "https://cdn.jsdelivr.net/npm/cli-schema@3.0.0/schema/cli.schema.json",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

Hardcoding the version 3.0.0 in the schema's $id URI can lead to maintenance issues and version mismatches in the future. When you release a new version (e.g., 3.0.1), this $id will need to be manually updated. If forgotten, the schema for the new version will incorrectly identify itself as 3.0.0, potentially causing tools and IDEs to use an outdated schema.

A more robust approach would be to automate the version update in this URI as part of your release process. This ensures the schema's $id always accurately reflects its published version.

Comment thread GEMINI.md

- **Code Style:** The project uses Prettier for automatic code formatting and ESLint for enforcing code style and quality.
- **Testing:** Tests are written using the Jest framework and are located in the `test` directory.
- **Contributions:** Contributions are welcome. Please refer to the `CONTRIBUTING.md` file for guidelines.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The documentation refers to a CONTRIBUTING.md file for contribution guidelines. However, this file doesn't appear to be present in the repository, which could be confusing for potential contributors. Please consider adding the CONTRIBUTING.md file or updating this line to point to the correct contribution process.

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.

1 participant