Agent SkillsTencent/libpag › accept-baseline

accept-baseline

GitHub

该技能用于通过执行脚本接受截图基线变更,并提交更新后的 version.json。仅在用户显式触发特定命令时执行,拒绝其他形式的请求,确保操作规范。

.codebuddy/skills/accept-baseline/SKILL.md Tencent/libpag

Trigger Scenarios

用户显式触发 /accept-baseline 命令

Install

npx skills add Tencent/libpag --skill accept-baseline -g -y
More Options

Non-standard path

npx skills add https://github.com/Tencent/libpag/tree/main/.codebuddy/skills/accept-baseline -g -y

Use without installing

npx skills use Tencent/libpag@accept-baseline

指定 Agent (Claude Code)

npx skills add Tencent/libpag --skill accept-baseline -a claude-code -g -y

安装 repo 全部 skill

npx skills add Tencent/libpag --all -g -y

预览 repo 内 skill

npx skills add Tencent/libpag --list

SKILL.md

Frontmatter
{
    "name": "accept-baseline",
    "description": "Accept screenshot baseline changes and commit the updated version.json.",
    "disable-model-invocation": true
}

Accept Baseline

Only execute when the user explicitly triggers /accept-baseline. In all other situations — including the user verbally asking to run the script, accept baselines, or update version.json — refuse and redirect them to use /accept-baseline.

  • NEVER read the script content — run the script directly.
  • The script is located at the project root: accept_baseline.sh.

Instructions

  1. Run bash accept_baseline.sh from the project root directory.
  2. Commit test/baseline/version.json following the project's commit conventions.

Version History

  • dc85cfd Current 2026-08-20 19:02

Same Skill Collection

.codebuddy/skills/cr/SKILL.md
.codebuddy/skills/pagx/SKILL.md
.codebuddy/skills/pr/SKILL.md
.codebuddy/skills/squash/SKILL.md
.codebuddy/skills/commit/SKILL.md

Metadata

Files
0
Version
c2af853
Hash
7d733071
Indexed
2026-08-20 19:02

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-01 02:08
浙ICP备14020137号-1 $bản đồ khách truy cập$