# Accept Baseline

> Accept Baseline is an Agent Skill for testing & quality published in the Tencent/tgfx repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Accept screenshot baseline changes and commit the updated version.json.

- Skill name: `accept-baseline`
- Category: [Testing & Quality](https://www.openparable.com/skill/testing-quality/1)
- Source: https://github.com/Tencent/tgfx/blob/HEAD/.codebuddy/skills/accept-baseline/SKILL.md
- Repository: Tencent/tgfx (1,565 GitHub stars when collected)

## SKILL.md

# 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.

---

Source: https://www.openparable.com/skill/testing-quality/accept-baseline (OpenParable). Cite the canonical URL above.
