konflux-ci/integration-service/pr-definition-of-done
Claude Code and agent skill by konflux-ci/integration-service
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when preparing a pull request for review, before pushing, or when reviewing someone else's PR. Checklist of CI checks, commit conventions, code generation, testing, and documentation requirements.
Install
npx vskill@latest install konflux-ci/integration-service/pr-definition-of-doneSKILL.md
PR Definition of Done
Overview
Every PR must pass CI checks, follow commit conventions, include tests, and keep generated code in sync. This checklist covers what CI enforces and what reviewers expect.
When to Use
- Before pushing a PR for review
- When CI checks fail and you need to understand why
- When reviewing someone else's PR
Pre-Push Checklist
Commits
- [ ] Conventional format:
type(JIRA-ID): description(e.g.,feat(STONEINTG-1519): create PR group snapshots) - [ ] Types:
feat,fix,chore,refactor,test,docs - [ ] Signed off (DCO):
git commit -s - [ ] Title < 72 chars, description lines < 72 chars
- [ ] AI-assisted work: add
Assisted-by: <tool-name>trailer
Code Generation (CI will fail if stale — see ci-cd-quirks for details)
- [ ] After API type changes in
api/v1beta2/:make generate manifests - [ ] After dependency changes:
go mod tidy && go mod vendor - [ ] Run
make fmt— CI fails on uncommitted formatting changes - [ ] Run
make vet— catches common Go mistakes
Testing
- [ ] Unit tests alongside code changes (Ginkgo + envtest)
- [ ] Cover: happy path, error conditions, edge cases, idempotency
- [ ]
make testpasses locally - [ ] Changed coverable lines meet the 85% patch-coverage target (run estimating-codecov-patch-coverage)
Security & RBAC
- [ ] No secrets, keys, or credentials committed
- [ ] No RBAC wildcards in
config/(CI checks this) - [ ] New resource types: add
+kubebuilder:rbacmarkers - [ ] All cached resources accessed via
client.Get()orclient.List()havelistandwatchverbs in RBAC markers — excludesDisableForresources (see ci-cd-quirks)
Documentation
- [ ] PR description explains the "why", not just the "what"
- [ ] PR title < 72 chars
- [ ] Controller diagram in
docs/updated if controller logic changed
What CI Checks
| Check | Workflow | What fails it | |
|---|---|---|---|
| Go tests | pr.yaml | make test failures | |
| Formatting | pr.yaml | Uncommitted make fmt changes | |
| Code generation | pr.yaml | Uncommitted make generate manifests output | |
go mod tidy | pr.yaml | Uncommitted tidy changes | |
| RBAC wildcards | pr.yaml | Wildcard * in config RBAC files | |
| Dockerfile lint | pr.yaml | hadolint violations | |
| Go linters | pr.yaml | gosec, golangci-lint, staticcheck failures | |
| CodeQL | codeql.yml | Security vulnerabilities | |
| PR size | size.yaml | Oversized PRs (informational) | |
| Coverage | codecov.yml | Patch coverage below 85% | |
| Tekton build | .tekton/ | Image build failure, security scans |
Common Mistakes
| Mistake | Fix | |
|---|---|---|
Forgot go mod vendor | Run go mod tidy && go mod vendor after any dep change | |
| Stale deepcopy | Run make generate after editing types in api/v1beta2/ | |
| Stale RBAC/CRD manifests | Run make manifests after changing +kubebuilder markers | |
| Unsigned commit | Use git commit -s or amend with git commit --amend -s | |
| Coverage dropped | Add tests for new code paths — check cover.out for uncovered lines | |
Missing list/watch verbs on cached-client RBAC marker | Add list and watch to the RBAC marker and run make manifests |
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/pr-definition-of-done/SKILL.md
Popularity
- Repository stars
- 16
- Repository forks
- 67
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/konflux-ci/integration-service/pr-definition-of-done)