一键导入
pr-definition-of-done
Checklist for merge-ready PRs in coverport. Use when preparing a PR for review or verifying a PR meets all requirements before merging.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Checklist for merge-ready PRs in coverport. Use when preparing a PR for review or verifying a PR meets all requirements before merging.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Onboard repositories to Codecov for unit test coverage tracking. Use this skill when users want to add Codecov integration, configure coverage uploads with flags, or set up CI pipelines to report coverage. Works with GitHub Actions, OpenShift CI (Prow), and GitLab CI. Supports public Codecov (app.codecov.io) and self-hosted Codecov instances.
Use when bulk-onboarding multiple repos to Codecov from an audit CSV, or when user says "bulk codecov", "prepare codecov", "enable codecov", "codecov from audit", "onboard repos to codecov", "apply codecov changes", "open the MRs", "push those changes", "enable coverage for all repos", "prepare local for audit.csv". Not for single-repo interactive onboarding (codecov-onboarding) or E2E instrumentation (coverport-integration).
Audit a GitHub/GitLab organization's repositories for code coverage status. Generates CSV spreadsheet showing which repos have tests, Codecov integration, and what's missing. Use when user asks to audit an org, create a coverage spreadsheet, or assess coverage gaps across repositories. Also works with pre-existing repo lists (JSON, CSV, text files) spanning multiple orgs/groups.
Use when asked to add, create, or generate a .codecov.yml file for a repository and open a PR or MR. Supports GitHub and GitLab repositories. Triggers on requests like "add codecov config", "create codecov yml", "set up codecov for repo X", "add coverage config to repo".
Generate and create Jira tasks for code coverage onboarding from an audit CSV. Two-phase workflow — dry-run generates task files locally for review, then create-tasks pushes them to Jira under a target epic. Use when user wants to create Jira tasks from an audit spreadsheet, convert coverage audit results into actionable work items, or batch-create Jira issues for coverage gaps across an org. Also use when user mentions "jira tasks from audit", "coverage onboarding tasks", "create tasks for repos without coverage", or wants to track coverage work in Jira.
Integrate coverport into repositories to enable e2e test coverage collection and upload to Codecov. Supports Go, Python, and Node.js applications with Tekton/Konflux pipelines and GitHub Actions (using coverport CLI container via podman). Use this skill when users ask to integrate coverport, add e2e coverage tracking, or set up coverage instrumentation.
| name | pr-definition-of-done |
| description | Checklist for merge-ready PRs in coverport. Use when preparing a PR for review or verifying a PR meets all requirements before merging. |
pre-commit run --all-files (formatting, trailing whitespace, YAML validation)cd cli && make testgolangci-lint run ./... passes for modified Go modules (same linters as CI)cd cli && go build ./...cli/README.md command reference| Check | Trigger | Required |
|---|---|---|
| CLI Tests (Go 1.24) | All PRs | Yes |
| Instrumentation Tests (Go matrix) | All PRs | Yes |
| Lint (golangci-lint + go build) | All PRs | Yes |
| AGENTS.md line limit | All PRs | Yes |
| Konflux build (coverport-cli) | PRs touching cli/** | Yes |
| Codecov coverage | All PRs | Informational |
cli/ change (path filter in
.tekton/coverport-cli-pull-request.yaml). Changes outside cli/ won't get a container build.id-token: write permission must be present.golangci-lint-action@v9 with v2.12, using per-module .golangci.yml configs.on-pr-{revision} in RedHat user workloads.main