Skip to content

docs(main): add AGENTS.md guidelines#738

Open
strantalis wants to merge 1 commit intoopentdf:mainfrom
strantalis:strantalis/create-pr
Open

docs(main): add AGENTS.md guidelines#738
strantalis wants to merge 1 commit intoopentdf:mainfrom
strantalis:strantalis/create-pr

Conversation

@strantalis
Copy link
Member

Adds AGENTS.md with repository guidelines for coding agents.

No functional changes.

Signed-off-by: strantalis <strantalis@virtru.com>
@strantalis strantalis requested a review from a team as a code owner January 13, 2026 16:25
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @strantalis, 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 AGENTS.md, a new documentation file designed to provide clear and comprehensive repository guidelines for developers working on coding agents. The aim is to standardize development practices, ensuring consistency in project structure, build processes, coding style, testing, and contribution workflows, without introducing any functional changes to the codebase.

Highlights

  • New Documentation File: A new file named AGENTS.md has been added to the repository.
  • Repository Guidelines: This new file establishes comprehensive guidelines for coding agents, covering various development aspects.
  • Content Scope: The guidelines detail project structure, build/test commands, coding style, testing practices, and commit/pull request conventions.

🧠 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.

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

This pull request introduces AGENTS.md, a new documentation file containing repository guidelines for contributors, particularly aimed at coding agents. The guidelines are comprehensive, covering project structure, build commands, coding style, testing, and commit conventions. My review focuses on improving the clarity and maintainability of this new documentation. I've suggested removing a hardcoded Go version to prevent the document from becoming stale and proposed a clarification to the commit message guidelines to avoid potential confusion for contributors. Overall, this is a valuable addition to the project's documentation.


## Build, Test, and Development Commands

This repo is Go-first (module: `github.com/opentdf/otdfctl`) and pins a toolchain in `go.mod` (`go1.24.11`).
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

Hardcoding the Go toolchain version here makes the documentation brittle, as it can become outdated when go.mod is updated. To improve maintainability, I recommend removing the specific version and instead directing the reader to the go.mod file. I've also added backticks for consistency with the rest of the document.

Suggested change
This repo is Go-first (module: `github.com/opentdf/otdfctl`) and pins a toolchain in `go.mod` (`go1.24.11`).
This repo is Go-first (module: `github.com/opentdf/otdfctl`) and pins a toolchain in `go.mod`.


- Follow Conventional Commits as seen in history (e.g., `feat(core): …`, `fix(ci): …`, `chore(dependabot): …`; use `!` for breaking changes).
- DCO sign-off is required: `git commit -s -m "feat(core): …"`.
- PR titles are linted for semantic format: types `fix|feat|chore|docs` and scopes `main|core|tui|demo|ci|dependabot`.
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The guidance on commit messages could be slightly confusing. Line 38 refers to 'Conventional Commits', which has a broad set of standard types, but this line restricts them to a smaller list for PR titles. To avoid ambiguity, I suggest clarifying that PR titles are linted against a specific subset of Conventional Commit types.

Suggested change
- PR titles are linted for semantic format: types `fix|feat|chore|docs` and scopes `main|core|tui|demo|ci|dependabot`.
- PR titles are linted for a specific semantic format, using a subset of Conventional Commit types: `fix|feat|chore|docs` and scopes `main|core|tui|demo|ci|dependabot`.

Copy link
Contributor

@jakedoublev jakedoublev left a comment

Choose a reason for hiding this comment

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

Suggestions should be reviewed, but otherwise LGTM

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