Run a phased scripts audit in scripts/*.py: validate Script overrides (init/title/show) first, then verify ui() output compatibility with run() or process() parameters.
59
68%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.github/skills/check-scripts/SKILL.mdAudit all Python scripts in scripts/*.py and validate that script class overrides and UI-to-execution parameter contracts are correct.
scripts/*.py.github/instructions/core.instructions.md for relevant core runtime guidance before proceeding.Primary audit scope:
scripts/*.pyContract references:
modules/scripts_manager.py (Script base class contracts for title, show, ui, run, process)modules/scripts_postprocessing.py (ScriptPostprocessing contracts for ui and process)__init__, title, showFor each class in scripts/*.py that subclasses scripts.Script or scripts_manager.Script:
title:show:show(is_img2img) or permissive *args/**kwargs)bool or scripts.AlwaysVisible / equivalent)__init__ (if overridden):ui()/run()/process() are calledNotes:
__init__ is optional; do not fail scripts that rely on inherited constructor.ui() Output vs run()/process() ParametersFor each script class:
run() if present for generation scriptsprocess() if present and run() is absent or script is postprocessing-orientedui() output shape to target method parameter expectations:ui() list/tuple output count should match target positional argument capacity after the first processing arg (p or pp), unless target uses *args*args/**kwargs), detect missing/extra UI values**kwargsConfirm script methods align with runner expectations in modules/scripts_manager.py:
ui() return type is compatible with runner collection (list/tuple or recognized mapping pattern where used)run()/process() receive args in expected form from runner slicesargs_from/args_to assumptions and script method arityFor postprocessing-style scripts in scripts/*.py:
modules/scripts_postprocessing.py conventions (ui() list/dict, process(pp, *args, **kwargs))scripts/*.py and classify by base class type.title, show, optional __init__, and ui -> run/process contracts.scripts/*.py, validate ui -> process mapping semantics.modules/scripts_manager.py and modules/scripts_postprocessing.py.Return findings by severity:
For each finding include:
init, title, show, ui->run, ui->process)Also include summary counts:
scripts/*.py files checkedrun contract checkedprocess contract checkedinit/title/show)A full pass requires all of the following across audited scripts/*.py classes:
title and show overrides are valid and runner-compatible for generation scripts__init__ methods are safely instantiableui() output contracts are compatible with run() or process() argsIf a class uses runtime-determined argument mapping or dynamic method dispatch that cannot be proven statically, mark as conditional pass with explicit runtime validation recommendation.
058a7f0
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.