> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/tools-terraform/.claude/skills/add-list-resource/references/verify-and-pr.md).

# Verification, PR and review

Only when the user asks for a commit, a PR or a review.

## §1 — CI gates compilation, not behaviour

CI's `go vet -tags=all ./...` compiles test files, but **no `pull_request` workflow runs `go test`**: rungs 2 and 2b (`scripts/review.sh test-unit <Resource>`) are yours. Lint (`--new-from-rev=origin/<base>`) sees only the diff; traps: `testifylint` (no float `assert.Equal`), `revive` import alias `^[a-z][a-z0-9]*$`, `goconst` (5 uses), `gocyclo` (25), `prealloc`, `tagalign`, `nolintlint` (no bare `//nolint`), `errorlint`, `nilerr`, `goimports` groups (`golangci-lint fmt ./ionoscloud/...`); `lll` and `dupl` are off.

## §2 — Commit and PR

Branch `feat/<resource>-list-resource-identity`; a one-line conventional subject, no body, the trailer `Co-Authored-By: Claude <Model> <noreply@anthropic.com>` naming **your actual model**. PR title `feat: add <ionoscloud_type> list resource and resource identity` (`scripts/review.sh pr-create`). `master`: 1 human approval, **every** thread resolved; a push dismisses approvals, so batch review fixes. Resolving threads is on request too. **No `/test` literal in any PR comment**, even mid-sentence (it starts a failing job): say "the test-trigger comment".

## §3 — Reading the review

`scripts/review.sh review <N>` (`gh pr view` omits inline comments); **read endpoint 2, the review bodies**: the bot's suppressed comments are only there. Bot login: `copilot-pull-request-reviewer[bot]` in `/reviews`, `Copilot` inline. Reply: a one-line verdict, evidence (`path:line`, or a named green check), the outcome (`Leaving as is.` or what changed), never a bare "won't fix". Copilot raises pagination: cite `ionoscloud/data_source_datacenter.go:147` (the same unpaginated call) and the one offset/limit loop, `services/dbaas/pgsqlv2/cluster.go`. Its false positives: Go-semantics claims wrong for this module's Go version, helpers that do not exist.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ionos.com/cloud/tools-terraform/.claude/skills/add-list-resource/references/verify-and-pr.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
