docs: add lazy-clean to plugins - #813
Open
JustasMonkev wants to merge 1 commit into
Open
JustasMonkev wants to merge 1 commit into
JustasMonkev wants to merge 1 commit into
Conversation
JustasMonkev
marked this pull request as ready for review
October 5, 2026 15:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
data/plugins/ +└── lazy-clean.yamlAdds lazy-clean: configurable minimal-code guidance, review commands, and a dependency-free TS/JS heuristic checker.
The OpenCode plugin injects guidance each turn and registers slash commands. The checker runs manually in OpenCode. Installation needs the full checkout, including the shared
hooks/andskills/directories.Public repository, maintained October 3, 2026; no duplicate listing or PR found. Only the plugin YAML is added. The generated README and upstream source remain unchanged.
Evidence
Before: No
data/plugins/lazy-clean.yamlentry in upstreambcc5c03cec19789b45ef9af4a969e3fe3fd7431b.After: The new entry passes the upstream validator, using dependencies from its lockfile:
Independent Draft 7 schema/URI checks also pass. Tagline: 80/120 characters.
Before: A constructed strict-boolean demo produces three checker findings: redundant ternary, useless rethrow, and a heuristic boolean-comparison warning.
After: Removing the ternary and rethrow leaves one deliberately retained heuristic finding:
export function isEnabled(value) { - try { - return value === true ? true : false; - } catch (error) { - throw error; - } + return value === true; }Tested with the checker at lazy-clean
3dd964454b0f4eb8f2c7964810bc955299b1f083on Node 24.19.0. Before/after agree fortrue,false,undefined,null,0,1,'','true',[],{}, andnew Boolean(true). Changing the comparison toBoolean(value)makes the assertion test fail; restoring it passes. Both scans exit 1 because the strict comparison is intentionally retained to reject truthy non-booleans. This is a checker demonstration, not a model benchmark. Demo files are not part of this directory change.Merge Danger
Door: two-way
Remove the YAML entry to roll back the listing.
Blast Radius: directory
Adds a community plugin entry to generated listings. No runtime code, dependencies, or installation behavior changes.