Accept Baseline
Testing & Qualityaccept-baselineAccept 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.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/Tencent/tgfx/blob/HEAD/.codebuddy/skills/accept-baseline/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/accept-baseline, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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
- Run
bash accept_baseline.shfrom the project root directory. - Commit
test/baseline/version.jsonfollowing the project's commit conventions.