E2E Test Thinker
UniClipboard/UniClipboard
Analyze the current branch's diff against main and determine which changes are testable via CLI-based end-to-end tests.
Removes unnecessary code from a repository while preserving exactly the behavior exercised by a given test suite.
$ npx skills add ArabelaTso/Skills-4-SE --skill test-guided-debloating -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ArabelaTso/Skills-4-SE test-guided-debloating --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/ArabelaTso/Skills-4-SE.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/test-guided-debloating .claude/skills/test-guided-debloating && 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 "test-guided-debloating" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/test-guided-debloating into .claude/skills/test-guided-debloating/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-guided-debloating", 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/ArabelaTso/Skills-4-SE/tree/main/skills/test-guided-debloatingType 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 ArabelaTso/Skills-4-SE --skill test-guided-debloating -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ArabelaTso/Skills-4-SE test-guided-debloating --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/test-guided-debloating .agents/skills/test-guided-debloating && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "test-guided-debloating" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/test-guided-debloating into .agents/skills/test-guided-debloating/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-guided-debloating", 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 ArabelaTso/Skills-4-SE --skill test-guided-debloating -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ArabelaTso/Skills-4-SE test-guided-debloating --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/test-guided-debloating .cursor/skills/test-guided-debloating && 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 "test-guided-debloating" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/test-guided-debloating into .cursor/skills/test-guided-debloating/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-guided-debloating", 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/ArabelaTso/Skills-4-SE.git --path skills/test-guided-debloating--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 ArabelaTso/Skills-4-SE --skill test-guided-debloating -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ArabelaTso/Skills-4-SE test-guided-debloating --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/test-guided-debloating .gemini/skills/test-guided-debloating && 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 "test-guided-debloating" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/test-guided-debloating into .gemini/skills/test-guided-debloating/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-guided-debloating", 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 ArabelaTso/Skills-4-SE test-guided-debloatingInstalls 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 ArabelaTso/Skills-4-SE --skill test-guided-debloating -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/test-guided-debloating .github/skills/test-guided-debloating && 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 "test-guided-debloating" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/test-guided-debloating into .github/skills/test-guided-debloating/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-guided-debloating", 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 ArabelaTso/Skills-4-SE --skill test-guided-debloating -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ArabelaTso/Skills-4-SE test-guided-debloating --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/test-guided-debloating .opencode/skills/test-guided-debloating && 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 "test-guided-debloating" agent skill from https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/test-guided-debloating into .opencode/skills/test-guided-debloating/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-guided-debloating", 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.
test-guided-debloatingRemoves unnecessary code from a repository while preserving exactly the behavior exercised by a given test suite.
Test Guided Debloating is an agent skill from ArabelaTso/Skills-4-SE. Removes unnecessary code from a repository while preserving exactly the behavior exercised by a given test suite. Use this skill when you need to debloat, slim down, or remove unused code from a codebase based on test coverage. The skill analyzes which code elements (files, classes, functions, methods, branches, imports) are exercised by tests, identifies unreachable or unused code, and safely removes it while ensuring all tests continue to pass. Triggers when users ask to remove unused code, debloat based on…
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts and reference files (for example `references/coverage_tools.md`, `references/debloating_strategy.md` and `scripts/analyze_coverage.py`).
It sits in Testing & QA, covering Test coverage and Test generation. The repository describes itself as: A curated list of 180+ useful Claude Skills for Software Engineering and resources for customizing AI for SE workflows. The licence is Apache-2.0.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 4f38503. 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.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pythonpytestnpmmvnFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm, 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.
Test Guided Debloating loads about 1.5k tokens when it runs, and up to ~4.7k if it reads all its reference files. Until then it costs about 163 tokens; SKILL.md has 429 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); the scripts in this folder are not scanned.
The full file from ArabelaTso/Skills-4-SE at commit 4f38503, republished under its Apache-2.0 licence (© ArabelaTso). 429 words, ~1,473 tokens.
.claude/skills/test-guided-debloating/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Remove unnecessary code from a repository while preserving exactly the behavior exercised by a given test suite.
Inputs needed:
Clarify scope:
Generate test coverage data to identify exercised code. See coverage_tools.md for language-specific commands.
Python example:
pytest --cov=. --cov-report=json --cov-report=htmlJavaScript example:
npm test -- --coverage --coverageReporters=json --coverageReporters=htmlJava example:
mvn clean test jacoco:reportVerify:
Use scripts/analyze_coverage.py to identify removal candidates:
python scripts/analyze_coverage.py coverage.json --output analysis.jsonThe script identifies:
Manual review checklist:
Remove code incrementally, validating after each step. See debloating_strategy.md for detailed strategy.
Removal order (safest to riskiest):
Unused imports
# Remove unused import statements
# Run tests after removalUncovered files (0% coverage, not imported)
# Remove file
rm path/to/unused_file.py
# Run tests
pytestUncovered functions/methods
# Remove function definition
# Run testsDead branches
# Before: if condition that's always true
if always_true_condition:
do_something()
else:
never_executed() # Remove this branch
# After:
do_something()Unused classes
# Remove class definition if never instantiated
# Run testsAfter each removal:
# Run full test suite
<test_command>
# Verify all tests pass
# Check for import errors
# Verify build succeedsFinal validation:
Run tests multiple times to catch flaky tests or timing issues.
Generate removal report:
DEBLOATING SUMMARY
==================
Removed Elements:
- 15 unused files
- 42 unused functions
- 8 unused classes
- 156 unused imports
- 23 dead branches
Total lines removed: 3,847
Tests passing: 156/156
Preservation Justification:
All test-defined behavior is preserved because:
1. All test-covered code remains intact
2. All transitive dependencies of test-covered code remain
3. No side effects required by tests were removed
4. Build succeeds and all 156 tests passTest-Defined Behavior: The test suite is the single source of truth for required functionality.
Conservative Removal: When in doubt, keep the code. Only remove code you're confident is unused.
Incremental Validation: Remove code in small batches and run tests after each change.
Never Modify Tests: Test files define the required behavior and must not be changed.
Preserve Side Effects: Be cautious with code that has side effects (logging, initialization, registration).
Avoid removing:
Watch for:
The analyze_coverage.py script automates coverage analysis:
# Analyze Python coverage
python scripts/analyze_coverage.py coverage.json
# Analyze JavaScript coverage
python scripts/analyze_coverage.py coverage-final.json --format javascript
# Save detailed analysis
python scripts/analyze_coverage.py coverage.json --output analysis.jsonOutput includes:
© ArabelaTso, 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
SKILL.md and 3 other files (scripts, references) in skills/test-guided-debloating of ArabelaTso/Skills-4-SE.
Open the folder on GitHubat commit 4f38503
Test Guided Debloating 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 |
|---|---|---|---|---|---|---|
| Test Guided Debloating this skillArabelaTso/Skills-4-SE | 253 | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| E2E Test ThinkerUniClipboard/UniClipboard | 1.9k | — | ~1.7k | Automated safety check: Pass | AGPL-3.0 | |
| Ralph Coveragejvm-skills/jvm-skills | 140 | — | ~683 | Automated safety check: Pass | Apache-2.0 | |
| Designing TestsCloudAI-X/opencode-workflow | 275 | — | ~2.9k | Automated safety check: Pass | MIT | |
| Mutation Testingproffesor-for-testing/agentic-qe | 495 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Write Testsgnomeria/usbtree | 691 | — | ~622 | Automated safety check: Pass | MIT |
UniClipboard/UniClipboard
Analyze the current branch's diff against main and determine which changes are testable via CLI-based end-to-end tests.
jvm-skills/jvm-skills
Run Ralph in coverage mode — iteratively write tests for untested classes until coverage targets are met.
CloudAI-X/opencode-workflow
Guides test strategy, TDD/BDD approaches, test coverage planning, and testing best practices.
proffesor-for-testing/agentic-qe
Test quality validation through mutation testing, assessing test suite effectiveness by introducing code mutations and measuring kill rate.
gnomeria/usbtree
Author tests that match the repo's stack and existing test style, at the cheapest level that catches the regression.
jmagly/aiwg
Run mutation testing to validate test quality beyond code coverage.
ArabelaTso/Skills-4-SE
Generate prioritized CVE watchlists and actionable security recommendations for repositories.
ArabelaTso/Skills-4-SE
Automatically migrate Python web applications between frameworks (Flask → FastAPI, Django → FastAPI).
ArabelaTso/Skills-4-SE
Generate test cases using metamorphic testing by applying transformations based on metamorphic properties.
ArabelaTso/Skills-4-SE
Instruments programs to capture execution traces specifically for reproducing reported bugs, enabling consistent replay and diagnosis of failures.
ArabelaTso/Skills-4-SE
Automatically migrate Spring MVC applications to Spring Boot.
ArabelaTso/Skills-4-SE
Instrument programs (Python, C/C++, Java) to capture snapshots of key program states at runtime, including variables, memory, and call stacks.
Categories
Removes unnecessary code from a repository while preserving exactly the behavior exercised by a given test suite. Test Guided Debloating is an agent skill from ArabelaTso/Skills-4-SE. Removes unnecessary code from a repository while preserving exactly the behavior exercised by a given test suite.
Test Guided Debloating fits situations like: you need to debloat; remove unused code from a codebase based on test coverage; users ask to remove unused code; debloat based on tests.
Run `npx skills add ArabelaTso/Skills-4-SE --skill test-guided-debloating -a claude-code`. Or copy the skill folder (skills/test-guided-debloating in ArabelaTso/Skills-4-SE) into .claude/skills/test-guided-debloating in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ArabelaTso/Skills-4-SE --skill test-guided-debloating -a codex`. Or copy the skill folder (skills/test-guided-debloating in ArabelaTso/Skills-4-SE) into .agents/skills/test-guided-debloating 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 ArabelaTso/Skills-4-SE --skill test-guided-debloating -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/test-guided-debloating, .gemini/skills/test-guided-debloating, .github/skills/test-guided-debloating and .opencode/skills/test-guided-debloating in your project.
Going by SKILL.md and its folder, Test Guided Debloating needs Python for the scripts in its folder and the command-line tools its instructions call (python, pytest, npm and mvn). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use npm, 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Test Guided Debloating 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.
About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Test Guided Debloating: E2E Test Thinker (UniClipboard/UniClipboard, 1.9k stars), Ralph Coverage (jvm-skills/jvm-skills, 140 stars), Designing Tests (CloudAI-X/opencode-workflow, 275 stars) and Mutation Testing (proffesor-for-testing/agentic-qe, 495 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ArabelaTso (a GitHub user) maintains it in ArabelaTso/Skills-4-SE, which has 253 GitHub stars. The repository holds 170 skills in this directory. The repository was last updated on August 21, 2026.
Source: ArabelaTso/Skills-4-SE on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.