Lightlines
By cxuu

go-control-flow

cxuu1.2k installs

Clearer Go code, from conditionals to loops.

What it does

Guides the agent to write Go conditionals, loops, and switches with clear control flow and deliberate variable scoping.

When to use it

Use when writing Go conditionals, loops, switches, or blank identifier patterns, including simple if/else statements and for loops.

How to use it

It changes how the agent writes Go control flow in the project, keeping the success path unindented and removing unnecessary else branches.

What you provide

  • An existing project

Latest review

What you need · 1

Routes type switches and compile-time interface assertions to go-interfaces; whether it must be installed to complete the workflow is unstated.


Access · 0

No additional actions listed.