Agent skill

Regression Test

by open-guji in open-guji/luatex-cn

运行视觉回归测试验证代码更改是否正确,支持 basic/pastissue/complete 套件及基线更新. An agent skill from open-guji/luatex-cn.

Apache-2.0Auto-check passedTesting & QA

Install Regression Test

skills CLI
$ npx skills add open-guji/luatex-cn --skill regression-test -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install open-guji/luatex-cn regression-test --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/open-guji/luatex-cn.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/regression-test .claude/skills/regression-test && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
regression-test
GitHub stars
119
Token cost
~350 tokens
SKILL.md length
42 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
Apache-2.0

At a glance

运行视觉回归测试验证代码更改是否正确,支持 basic/pastissue/complete 套件及基线更新. An agent skill from open-guji/luatex-cn.

  • Works in 4 steps: 修改代码后,先检查相关文件 → 提交前,运行 basic 全部测试 → 发版前,运行所有套件 → …
  • Testing & QA work in your project
  • SKILL.md covers 测试套件, 命令, 使用流程 and 目录结构, plus 1 more section
  • Calls python3

What it does

Regression Test is an agent skill from open-guji/luatex-cn. 运行视觉回归测试验证代码更改是否正确,支持 basic/pastissue/complete 套件及基线更新

Its SKILL.md is about 350 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA. The repository describes itself as: 基于LuaTeX的中文排版宏包,支持古籍版式精确复刻,以及符合W3C《中文排版需求》的现代中文排版. The licence is Apache-2.0.

When your agent uses it

  • Testing & QA work in your project

Example prompts

  • “/regression-test”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. 修改代码后,先检查相关文件
  2. 提交前,运行 basic 全部测试
  3. 发版前,运行所有套件
  4. 仅当预期更改时,保存新基准

What it can do on your machine

Read from SKILL.md and the folder at commit 8c48bdc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Regression Test loads about 350 tokens when it runs. Until then it costs about 18 tokens; SKILL.md has 42 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~18
When it runs · the whole SKILL.md, loaded when a task matches
~350

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from open-guji/luatex-cn at commit 8c48bdc, republished under its Apache-2.0 licence (© open-guji). 42 words, ~350 tokens.

Download SKILL.mdSave it as .claude/skills/regression-test/SKILL.md (or your agent's skills folder).
name
regression-test
description
运行视觉回归测试验证代码更改是否正确,支持 basic/past_issue/complete 套件及基线更新

回归测试技能

运行回归测试来验证代码更改是否正确。

测试套件

套件说明何时运行
basic (默认)核心功能测试每次修改后
past_issue历史 issue 回归测试偶尔验证
complete完整书籍测试发版前

命令

bash
# 默认:只运行 basic 套件
python3 test/regression_test.py check

# 运行 past_issue 套件
python3 test/regression_test.py check --past-issues

# 运行 complete 套件
python3 test/regression_test.py check --complete

# 运行所有套件
python3 test/regression_test.py check --all

# 检查特定文件(在当前套件中搜索)
python3 test/regression_test.py check banxin

# 保存新基准(仅当预期更改时使用)
python3 test/regression_test.py save banxin

使用流程

1. 修改代码后,先检查相关文件
bash
python3 test/regression_test.py check banxin
2. 提交前,运行 basic 全部测试
bash
python3 test/regression_test.py check
3. 发版前,运行所有套件
bash
python3 test/regression_test.py check --all
4. 仅当预期更改时,保存新基准
bash
python3 test/regression_test.py save banxin

目录结构

test/regression_test/
├── basic/          # 核心功能(开发时频繁运行)
│   ├── tex/        # 测试 TeX 源文件
│   └── baseline/   # 基准 PNG 图像
├── past_issue/     # 历史 issue 回归(偶尔运行)
│   ├── tex/
│   └── baseline/
└── complete/       # 完整书籍(发版前运行)
    ├── tex/
    └── baseline/

注意事项

  • check 用于验证,不会修改基准文件
  • save 会覆盖基准文件,仅在确认更改正确时使用
  • 省略文件名则测试当前套件中所有文件
  • 提交代码前务必运行 check 确保 basic 测试通过

© open-guji, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/regression-test of open-guji/luatex-cn.

Open the folder on GitHubat commit 8c48bdc

Compare with similar skills

Regression Test next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Regression Test compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Regression Test this skillopen-guji/luatex-cn119—~350Automated safety check: PassApache-2.0
Web Application Testinganthropics/skills180k51 repos~966Automated safety check: PassApache-2.0
Diagnosing Bugsfossasia/eventyay-interpretation1.6k32 repos~2.1kAutomated safety check: PassApache-2.0
TDDpietheinstrengholt/rssmonster56430 repos~906Automated safety check: PassMIT
TDD WorkflowhellangleZ/burn-in-cceverywhere-ralph11211 repos~2.4kAutomated safety check: PassNone
TDDsanity-io/sanity6.4k20 repos~1kAutomated safety check: PassMIT

Similar skills

  • Web Application Testing

    anthropics/skills

    Official

    Tests local web applications with Python Playwright scripts, checking frontend behavior, capturing screenshots and reading browser console logs.

    180k GitHub starsUsed in 51 repos~966 tokens
    Testing & QAAuto-check passed
  • Diagnosing Bugs

    fossasia/eventyay-interpretation

    Diagnosis loop for hard bugs and performance regressions. An agent skill from fossasia/eventyay-interpretation.

    1.6k GitHub starsUsed in 32 repos~2.1k tokens
    Testing & QAAuto-check passed
  • TDD

    pietheinstrengholt/rssmonster

    Test-driven development. An agent skill from pietheinstrengholt/rssmonster.

    564 GitHub starsUsed in 30 repos~906 tokens
    Testing & QAAuto-check passed
  • TDD Workflow

    hellangleZ/burn-in-cceverywhere-ralph

    A skill your agent uses when writing new features, fixing bugs, or refactoring code.

    112 GitHub starsUsed in 11 repos~2.4k tokens
    Testing & QAAuto-check passed
  • TDD

    sanity-io/sanity

    Official

    Test-driven development with red-green-refactor loop. An agent skill from sanity-io/sanity.

    6.4k GitHub starsUsed in 20 repos~1k tokens
    Testing & QAAuto-check passed
  • Context Driven Development

    Ibrahim-3d/orchestrator-supaconductor

    A skill your agent uses when working with Conductor's context-driven development methodology, managing project context artifacts, or understanding the relationship between product.md, tech-stack.md…

    381 GitHub starsUsed in 9 repos~2.9k tokens
    Testing & QAAuto-check passed

More from open-guji/luatex-cn

All 8 skills in this repo
  • Compare Layouts

    open-guji/luatex-cn

    比较 Original (ltc-guji.cls) 和 Digital (ltc-guji-digital.cls) TeX 文件的 layout 输出

    119 GitHub stars~550 tokensUpdated 7 days ago
    Auto-check passed
  • Convert To Digital

    open-guji/luatex-cn

    将 ltc-guji.cls 文件转换为 ltc-guji-digital 格式. An agent skill from open-guji/luatex-cn.

    119 GitHub stars~747 tokensUpdated 7 days ago
    Auto-check passed
  • Prepare Next Version

    open-guji/luatex-cn

    准备下一个补丁版本 (Prepare next patch version release). An agent skill from open-guji/luatex-cn.

    119 GitHub stars~412 tokensUpdated 7 days ago
    Auto-check passed
  • Test Tex

    open-guji/luatex-cn

    通过回归测试框架编译并查看 TeX 文件的渲染效果,避免在工作目录生成多余 PDF. An agent skill from open-guji/luatex-cn.

    119 GitHub stars~278 tokensUpdated 7 days ago
    Auto-check passed
  • Fix GitHub Issue

    open-guji/luatex-cn

    修复 GitHub Issue 的完整工作流

    119 GitHub stars~2k tokensUpdated 7 days ago
    Auto-check passed
  • Refactor

    open-guji/luatex-cn

    清理重构代码 (Code cleanup and refactoring)

    119 GitHub stars~532 tokensUpdated 7 days ago
    Auto-check passed

Categories

Questions about Regression Test

What does Regression Test do?

运行视觉回归测试验证代码更改是否正确,支持 basic/pastissue/complete 套件及基线更新. An agent skill from open-guji/luatex-cn. Regression Test is an agent skill from open-guji/luatex-cn.

When should I use Regression Test?

Regression Test fits situations like: testing & QA work in your project.

How do I install Regression Test in Claude Code?

Run `npx skills add open-guji/luatex-cn --skill regression-test -a claude-code`. Or copy the skill folder (.claude/skills/regression-test in open-guji/luatex-cn) into .claude/skills/regression-test in your project. Claude Code loads it when a task matches its description.

How do I install Regression Test in Codex?

Run `npx skills add open-guji/luatex-cn --skill regression-test -a codex`. Or copy the skill folder (.claude/skills/regression-test in open-guji/luatex-cn) into .agents/skills/regression-test in your project. Codex loads it when a task matches its description.

Can I use Regression Test in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add open-guji/luatex-cn --skill regression-test -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/regression-test, .gemini/skills/regression-test, .github/skills/regression-test and .opencode/skills/regression-test in your project.

What does Regression Test need to run?

Going by SKILL.md and its folder, Regression Test needs the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Regression Test access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Regression Test safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Regression Test use?

Regression Test is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Regression Test use?

About 350 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Regression Test?

Skills that share tags, products or a category with Regression Test: Web Application Testing (anthropics/skills, 180k stars), Diagnosing Bugs (fossasia/eventyay-interpretation, 1.6k stars), TDD (pietheinstrengholt/rssmonster, 564 stars) and TDD Workflow (hellangleZ/burn-in-cceverywhere-ralph, 112 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Regression Test?

open-guji (a GitHub organization) maintains it in open-guji/luatex-cn, which has 119 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 2, 2026.

Source: open-guji/luatex-cn on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.