Skip to content

chore: add rules for basic development guidance - #13516

Merged
mutianf merged 3 commits into
googleapis:mainfrom
mutianf:agent
Jun 18, 2026
Merged

chore: add rules for basic development guidance#13516
mutianf merged 3 commits into
googleapis:mainfrom
mutianf:agent

Conversation

@mutianf

@mutianf mutianf commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@mutianf
mutianf requested review from a team as code owners June 18, 2026 15:18

@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 a new development guidelines document (SKILL.md) for the java-bigtable directory, covering source control, unit testing, import cleanup, and code formatting. The feedback suggests simplifying the formatting command to a more concise 'mvn fmt:format' and adding a section on building and installing snapshot artifacts with 'mvn install' to align with repository documentation guidelines.

Comment thread java-bigtable/AGENTS.md
- Automatically format the code using the `fmt-maven-plugin`.
- Before finalizing your changes, run the following command in the terminal from the `java-bigtable` directory or the relevant module directory:
```bash
mvn com.spotify.fmt:fmt-maven-plugin:format

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.

medium

Using the short-hand command mvn fmt:format is more concise and standard, as the plugin is already configured in the project's Maven configuration.

Suggested change
mvn com.spotify.fmt:fmt-maven-plugin:format
mvn fmt:format

Comment thread java-bigtable/AGENTS.md
```bash
mvn com.spotify.fmt:fmt-maven-plugin:format
```
- **Troubleshooting**: If the formatting command fails, it is usually because of an incompatible JDK version. Ensure you are running it in an environment with the correct JDK version for the project (typically 17+, depending on the project configuration).

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.

medium

To align with the repository's documentation guidelines, please add a section clarifying that mvn install is used for building snapshot artifacts to the local ~/.m2 repository.

Suggested change
- **Troubleshooting**: If the formatting command fails, it is usually because of an incompatible JDK version. Ensure you are running it in an environment with the correct JDK version for the project (typically 17+, depending on the project configuration).
- **Troubleshooting**: If the formatting command fails, it is usually because of an incompatible JDK version. Ensure you are running it in an environment with the correct JDK version for the project (typically 17+, depending on the project configuration).
## 5. Building and Installing
- Use mvn install to build snapshot artifacts to your local ~/.m2 repository.
References
  1. In documentation about the Java build process, clarify that mvn install is used for building snapshot artifacts to the local ~/.m2 repository.

@mutianf mutianf changed the title chore: add skill for basic development guidance chore: add rules for basic development guidance Jun 18, 2026
@mutianf
mutianf enabled auto-merge (squash) June 18, 2026 15:29
@mutianf
mutianf merged commit 69689c3 into googleapis:main Jun 18, 2026
185 of 188 checks passed
@mutianf
mutianf deleted the agent branch June 18, 2026 15:45
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