Python Regression Test Generator
ArabelaTso/Skills-4-SE
Automatically generates regression tests for Python codebases by analyzing changes between old and new code versions and their existing tests.
面向 SurveyController 仓库的目录结构重构与模块拆分技能。用于整理 software/、wjx/、tencent/、credamo/、CI/unittests/ 等真实目录,处理文件移动、命名调整、导入修复、测试路径更新、资源路径修复、CI 检查联动。适合在需要小步重构、保持行为不变、清理屎山边界时使用,不适合纯样式改名或无关大洗牌。
$ npx skills add SurveyController/SurveyController --skill structure-refactor -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install SurveyController/SurveyController structure-refactor --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/SurveyController/SurveyController.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/structure-refactor .claude/skills/structure-refactor && rm -rf skills-srcUse ~/.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/
Install the "structure-refactor" agent skill from https://github.com/SurveyController/SurveyController/tree/main/.codex/skills/structure-refactor into .claude/skills/structure-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "structure-refactor", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/SurveyController/SurveyController/tree/main/.codex/skills/structure-refactorType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add SurveyController/SurveyController --skill structure-refactor -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install SurveyController/SurveyController structure-refactor --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SurveyController/SurveyController.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.codex/skills/structure-refactor .agents/skills/structure-refactor && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "structure-refactor" agent skill from https://github.com/SurveyController/SurveyController/tree/main/.codex/skills/structure-refactor into .agents/skills/structure-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "structure-refactor", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add SurveyController/SurveyController --skill structure-refactor -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install SurveyController/SurveyController structure-refactor --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SurveyController/SurveyController.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.codex/skills/structure-refactor .cursor/skills/structure-refactor && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "structure-refactor" agent skill from https://github.com/SurveyController/SurveyController/tree/main/.codex/skills/structure-refactor into .cursor/skills/structure-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "structure-refactor", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/SurveyController/SurveyController.git --path .codex/skills/structure-refactor--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add SurveyController/SurveyController --skill structure-refactor -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install SurveyController/SurveyController structure-refactor --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SurveyController/SurveyController.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.codex/skills/structure-refactor .gemini/skills/structure-refactor && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "structure-refactor" agent skill from https://github.com/SurveyController/SurveyController/tree/main/.codex/skills/structure-refactor into .gemini/skills/structure-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "structure-refactor", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install SurveyController/SurveyController structure-refactorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add SurveyController/SurveyController --skill structure-refactor -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/SurveyController/SurveyController.git skills-src && mkdir -p .github/skills && cp -r skills-src/.codex/skills/structure-refactor .github/skills/structure-refactor && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "structure-refactor" agent skill from https://github.com/SurveyController/SurveyController/tree/main/.codex/skills/structure-refactor into .github/skills/structure-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "structure-refactor", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add SurveyController/SurveyController --skill structure-refactor -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install SurveyController/SurveyController structure-refactor --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SurveyController/SurveyController.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.codex/skills/structure-refactor .opencode/skills/structure-refactor && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "structure-refactor" agent skill from https://github.com/SurveyController/SurveyController/tree/main/.codex/skills/structure-refactor into .opencode/skills/structure-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "structure-refactor", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
structure-refactor面向 SurveyController 仓库的目录结构重构与模块拆分技能。用于整理 software/、wjx/、tencent/、credamo/、CI/unittests/ 等真实目录,处理文件移动、命名调整、导入修复、测试路径更新、资源路径修复、CI 检查联动。适合在需要小步重构、保持行为不变、清理屎山边界时使用,不适合纯样式改名或无关大洗牌。
Structure Refactor is an agent skill from SurveyController/SurveyController. 面向 SurveyController 仓库的目录结构重构与模块拆分技能。用于整理 software/、wjx/、tencent/、credamo/、CI/unittests/ 等真实目录,处理文件移动、命名调整、导入修复、测试路径更新、资源路径修复、CI 检查联动。适合在需要小步重构、保持行为不变、清理屎山边界时使用,不适合纯样式改名或无关大洗牌。
Its SKILL.md is about 650 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, covering Refactoring and Unit testing. It works with Python. The repository describes itself as: 适用于问卷星、腾讯问卷、Credamo见数平台的纯HTTP高并发提交程序. The licence is GPL-3.0.
8 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 1a22ba3. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
uvrgFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Structure Refactor loads about 645 tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 121 words of instructions outside code blocks.
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.
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.
The full file from SurveyController/SurveyController at commit 1a22ba3, republished under its GPL-3.0 licence (© SurveyController). 121 words, ~645 tokens.
.claude/skills/structure-refactor/SKILL.md (or your agent's skills folder).structure-refactor
这个 skill 处理项目级结构重构。
重点是模块拆分、文件移动、命名整理、导入修复、测试同步。
目标是让 software/、平台适配目录、测试目录和资源目录的职责更清楚。
出现这些情况时用:
software/ui/、software/core/、software/network/、software/providers/、wjx/provider/ 之类目录重新归位。AGENTS.md 和 CONTRIBUTING.md。这些情况别乱用:
SurveyController.py、software/app/main.py、software/providers/registry.py、相关模块和对应测试。software/ui/ 放界面和控制器。software/core/ 放执行引擎、任务、题目模型。software/network/ 放 HTTP、代理、会话。software/providers/ 放平台公共层和适配注册。wjx/provider/、tencent/provider/、credamo/provider/ 放平台专属解析和提交链路。CI/unit_tests/、CI/live_tests/ 放测试。__init__.py 暴露CI/python_ci.py、CI/python_checks/、测试文件中的路径引用wjx/、tencent/、credamo/ 的逻辑必须继续隔离。software/app/runtime_paths.py 和 software/app/user_paths.py。src/,主体代码在 software/、wjx/、tencent/、credamo/。tests/,测试在 CI/unit_tests/ 和 CI/live_tests/。requirements.txt 当前不存在,依赖以 pyproject.toml 和 uv.lock 为准。software/ui/,不要把业务实现塞进页面文件。*/provider/。software/providers/registry.py 明确禁用浏览器填答兜底。别把这坨屎又搬回来。AGENTS.md 和 CONTRIBUTING.md。uv run python CI/python_ci.py
uv run pytest CI/unit_tests
uv run pytest CI/unit_tests/engine
uv run pytest CI/unit_tests/app
uv run pytest CI/unit_tests/questions
uv run python CI/python_ci.py --full
rg "from software|import software|from wjx|from tencent|from credamo"
rg --files software CI wjx tencent credamosoftware/、平台目录、测试目录的职责边界是否更清楚。AGENTS.md 和 CONTRIBUTING.md 是否同步更新。© SurveyController, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .codex/skills/structure-refactor of SurveyController/SurveyController.
Open the folder on GitHubat commit 1a22ba3
Structure Refactor 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Structure Refactor this skillSurveyController/SurveyController | 142 | — | ~645 | Automated safety check: Pass | GPL-3.0 | |
| Python Regression Test GeneratorArabelaTso/Skills-4-SE | 253 | — | ~4.1k | Automated safety check: Pass | Apache-2.0 | |
| Adk Verify Snippetsgoogle/adk-python | 22k | — | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| TDD WorkflowhellangleZ/burn-in-cceverywhere-ralph | 112 | 11 repos | ~2.4k | Automated safety check: Pass | None | |
| Hermetic Python Unit TestsdimensionalOS/dimos | 4.6k | — | ~1.4k | Automated safety check: Pass | Custom licence | |
| Rocketmq Rust Issue Generatormxsm/rocketmq-rust | 1.5k | — | ~1.6k | Automated safety check: Pass | Apache-2.0 |
ArabelaTso/Skills-4-SE
Automatically generates regression tests for Python codebases by analyzing changes between old and new code versions and their existing tests.
google/adk-python
Checks that every Python code block in a Markdown file actually compiles and runs, by extracting each block to a temporary file, executing it in an isolated subprocess, and writing a pass/fail…
hellangleZ/burn-in-cceverywhere-ralph
A skill your agent uses when writing new features, fixing bugs, or refactoring code.
dimensionalOS/dimos
Rules for writing, fixing and reviewing pytest unit tests that are hermetic: behavior-focused, deterministic, isolated and cheap to run.
mxsm/rocketmq-rust
A skill your agent uses when the user asks to create, draft, prepare, or publish a GitHub issue for the rocketmq-rust project — bugs, features, enhancements, refactors, docs, unit tests, CI…
getsentry/sentry-react-native
Enforce Sentry React Native SDK test conventions for naming, structure, mocking, and fixtures with Jest.
SurveyController/SurveyController
面向 SurveyController 仓库的设置、路径与配置迁移技能。用于修改 software/app/、software/io/config/、software/core/config/ 里的 QSettings 键、用户目录、配置文件路径、schema 版本、序列化字段、默认值和兼容策略,避免升级后读错配置、写错目录或把旧配置直接干爆。适合做预防性演进,不适合只修表面报错。
SurveyController/SurveyController
面向 SurveyController 仓库的全异步 HTTP 解析与执行链路技能。用于修改或排查 software/network/http/、software/core/engine/、software/providers/、software/network/proxy/ 以及各平台 provider 的异步请求、响应解析、任务调度、并发控制、超时、重试、取消和资源释放问题。适合处理纯…
SurveyController/SurveyController
面向 SurveyController 桌面端的 GUI 开发与界面修复技能。用于修改 software/ui/ 下的 PySide6 + QFluentWidgets 页面、弹窗、导航、配置编辑、运行状态展示和日志界面,处理信号槽、线程协作、对象生命周期、布局、主题和窗口缩放问题。适合做桌面界面开发、交互修复和配置同步,不适合把耗时逻辑直接塞进主线程。
SurveyController/SurveyController
面向 SurveyController 的日志、配置与报错排查技能。用于根据用户提供的日志、截图、配置文件、调用栈、运行环境和最近改动定位根因,修复 software/app/、software/io/、software/logging/、software/network/、software/ui/…
SurveyController/SurveyController
面向 SurveyController 仓库 v3 分支的 Playwright 作答执行层技能。仅在修改或排查 Playwright 作答链路、异步浏览器 owner/context 池、BrowserDriver 封装、页面加载、运行时答题、翻页、提交、取消、超时、资源释放和并发调度时使用。只能用于 v3 分支;只允许系统自带 Microsoft Edge,不允许安装或引入…
SurveyController/SurveyController
面向 SurveyController 仓库的题型解析、字段映射与 parser 规则技能。用于修改 wjx/provider/、tencent/provider/、credamo/provider/、software/core/questions/、software/providers/ 中的题目结构解析、元数据字段、题型识别、逻辑规则标记、答案模型映射和最小兼容适配。适合处理 parser…
Works with
Categories
面向 SurveyController 仓库的目录结构重构与模块拆分技能。用于整理 software/、wjx/、tencent/、credamo/、CI/unittests/ 等真实目录,处理文件移动、命名调整、导入修复、测试路径更新、资源路径修复、CI 检查联动。适合在需要小步重构、保持行为不变、清理屎山边界时使用,不适合纯样式改名或无关大洗牌。. Structure Refactor is an agent skill from SurveyController/SurveyController.
Structure Refactor fits situations like: tasks that involve Refactoring; tasks that involve Unit testing.
Run `npx skills add SurveyController/SurveyController --skill structure-refactor -a claude-code`. Or copy the skill folder (.codex/skills/structure-refactor in SurveyController/SurveyController) into .claude/skills/structure-refactor in your project. Claude Code loads it when a task matches its description.
Run `npx skills add SurveyController/SurveyController --skill structure-refactor -a codex`. Or copy the skill folder (.codex/skills/structure-refactor in SurveyController/SurveyController) into .agents/skills/structure-refactor in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add SurveyController/SurveyController --skill structure-refactor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/structure-refactor, .gemini/skills/structure-refactor, .github/skills/structure-refactor and .opencode/skills/structure-refactor in your project.
Going by SKILL.md and its folder, Structure Refactor needs the command-line tools its instructions call (uv and rg). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
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.
Structure Refactor is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 645 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Structure Refactor: Python Regression Test Generator (ArabelaTso/Skills-4-SE, 253 stars), Adk Verify Snippets (google/adk-python, 22k stars), TDD Workflow (hellangleZ/burn-in-cceverywhere-ralph, 112 stars) and Hermetic Python Unit Tests (dimensionalOS/dimos, 4.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
SurveyController (a GitHub organization) maintains it in SurveyController/SurveyController, which has 142 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on September 18, 2026.
Source: SurveyController/SurveyController on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.