codecov-coverage SKILL.md skillA
codecov-coverage from jimyag/dotfiles is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add jimyag/dotfiles/codecov-coverage@git:20260905.751659ePins git:20260905.751659e in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- jimyag/dotfiles
- Path
skills/codecov-coverage/SKILL.md- Versions recorded
- 3
- Latest version
- git:20260905.751659e, committed Sep 5, 2026
- First version recorded
- Aug 10, 2026
- Size
- 6,275 bytes
- Repository stars
- 11
- License
- MIT
在需要查询 Codecov 仓库、PR、提交、patch 或文件覆盖率,比较覆盖率变化,或诊断 codecov/project、codecov/patch 等覆盖率检查失败时使用。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Codecov 覆盖率 通过 `npx -y mcporter` 调用 `@egulatee/mcp-codecov`,查询 Codecov 覆盖率数据。默认只读,不修改 Codecov 或仓库数据。 ## 何时使用 - 查看仓库整体覆盖率 - 分析 PR 的 base/head/patch 覆盖率影响 - 查看某个提交的覆盖率详情 - 查看某个文件的逐行覆盖率 - 比较两个分支、标签或提交之间的覆盖率变化 - 诊断 `codecov/project`、`codecov/patch`、flag 或 component 覆盖率检查失败 ## 前置条件 - Node.js >= 18 - `mcporter` 可用;若用户说 `mcpporter`,按 `mcporter` 处理,因为 npm 包与可执行名都是 `mcporter` - `jq` 可用;封装脚本依赖 `jq` 解析和格式化 JSON - `CODECOV_TOKEN` 已设置,且必须是 Codecov API 访问令牌,不是上传令牌 获取令牌:<https://app.codecov.io/account> -> API 访问令牌。 若本机缺少 `mcporter`,先安装: ```bash npm install -g mcporter ``` 如果缺少 `jq`,提示用户安装 `jq` 后再继续。普通覆盖率查询缺少令牌时立即停止并提示用户配置,不要猜测或降级到网页抓取。诊断 GitHub 上的 Codecov 检查时,可以先读取连接器已提供的检查摘要;只有摘要足以支持结论时才能继续,否则仍需 Codecov API 访问令牌。 ## 安全边界 - 永远不要输出 `CODECOV_TOKEN` 的值 - 不硬编码 owner/repo;封装脚本仅支持从 GitHub 远端自动检测,无法检测时让用户指定 - 只执行查询类操作,不修改 Codecov 上的任何数据 - 不把覆盖率下降直接定性为阻塞,除非用户或项目规则明确要求 ## 推荐调用方式 优先使用 `scripts/` 下的封装脚本;脚本会处理令牌检查、owner/repo 检测和输出格式化。 ```bash # 仓库覆盖率 bash scripts/codecov-repo.sh [--owner OWNER] [--repo REPO] [--branch BRANCH] [--json] # PR 覆盖率影响 bash scripts/codecov-pr.sh <PR_NUMBER> [--owner OWNER] [--repo REPO] [--json] # commit 覆盖率 …
Read the whole file at its exact version.
How to install
mdr add jimyag/dotfiles/codecov-coverage@sha256:10bb6d9498fc043aThe line at the top of this page pins the label git:20260905.751659e, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_h34alojszvr3cfrd)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Aug 10, 2026 and Sep 5, 2026, about one every 13 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260905.751659e latest | 2026-09-05 | 751659e | 6,275 B | A | view · diff |
| git:20260812.33ed917 | 2026-08-12 | 33ed917 | 6,259 B | A | view · diff |
| git:20260810.2f916d1 | 2026-08-10 | 2f916d1 | 4,594 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6275 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
jimyag/dotfiles · 11 stars · license MIT · pushed 2026-10-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_h34alojszvr3cfrd GET https://markdownregistry.com/api/v1/resolve?ref=jimyag/dotfiles/codecov-coverage GET https://markdownregistry.com/api/v1/blob/10bb6d9498fc043a4777d5343da2d7ad695e64ca0e7eebcb31df244f3fd66b17
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.