` scaffold at EOF with one `parameter Real ;` per parameter, one `Real ;` per component, and a single equation section with a stub equation. Parse-valid even with empty parameters/components. Rejects an invalid name.
- **`gen-package`** (https://act101.ai/docs/languages/modelica#op-gen-package) — Append a `package ` scaffold at EOF with one stub class per entry (each stub is `model ` with an empty body). Parse-valid even with an empty classes list. Rejects an invalid name.
- **`gen-partial-base`** (https://act101.ai/docs/languages/modelica#op-gen-partial-base) — Append a `partial model ` inheritance-template base at EOF with one `parameter Real ;` per parameter. Parse-valid even with an empty parameters list. Rejects an invalid name.
- **`gen-record`** (https://act101.ai/docs/languages/modelica#op-gen-record) — Append a `record ` scaffold at EOF with `Real ;` per field. Parse-valid even with an empty fields list. Rejects an invalid name or field name.
- **`gen-test-model`** (https://act101.ai/docs/languages/modelica#op-gen-test-model) — Append a `model ` test harness that instantiates a unit-under-test (` u;`) and carries `annotation(experiment(StartTime=0, StopTime=))`. Defaults stop_time to 1.0. Rejects an invalid name.
- **`inline-function`** (https://act101.ai/docs/languages/modelica#op-inline-function) — Inline a simple single-input single-output single-statement Modelica function at its single call site, substituting the argument into the body, and delete the function definition.
- **`inline-model`** (https://act101.ai/docs/languages/modelica#op-inline-model) — Flatten a component's instantiated model into the enclosing class: move the sub-model's component declarations and equations into the parent (qualifying internal references by the instance name), remove the instantiation, and delete the sub-model. Rejects if the sub-model has parameters/inputs/outputs, nested classes, or references outside its own components.
- **`introduce-initial-equation`** (https://act101.ai/docs/languages/modelica#op-introduce-initial-equation) — Move one simple equation into an `initial equation` section. Creates `initial equation` before the regular equation section if none exists. Rejects if the equation is not simple or already lives in an initial section.
- **`make-partial`** (https://act101.ai/docs/languages/modelica#op-make-partial) — Insert the `partial` keyword into a named Modelica class's ClassPrefixes (before the class-kind keyword). Rejects if the class is missing or already partial.
- **`move-to-package`** (https://act101.ai/docs/languages/modelica#op-move-to-package) — Wrap a file's top-level classes in a new `package ... end ;`, re-indenting the wrapped lines by two spaces. Rejects if the file has no top-level classes or already contains a top-level package (refuses to double-wrap).
- **`organize-imports`** (https://act101.ai/docs/languages/modelica#op-organize-imports) — Sort, deduplicate, and reorder Modelica import clauses within a file's contiguous import region.
- **`promote-parameter`** (https://act101.ai/docs/languages/modelica#op-promote-parameter) — Lift a sub-component's parameter modification to the parent class: adds `parameter = ;` to the parent (type derived from the sub-type's parameter declaration) and removes the `=` from the sub-component's modification (removing the whole `(...)` when it was the only key). Rejects if the sub-component lacks the modification or the sub-type lacks the parameter.
- **`remove-connection`** (https://act101.ai/docs/languages/modelica#op-remove-connection) — Remove a `connect(a, b);` equation matching the given endpoints from a named Modelica class. Rejects if the class or the matching connect equation is missing.
- **`remove-extends`** (https://act101.ai/docs/languages/modelica#op-remove-extends) — Remove an `extends ;` clause from a Modelica class by base name, deleting the whole physical line. Rejects if the class or extends clause is missing.
- **`remove-parameter`** (https://act101.ai/docs/languages/modelica#op-remove-parameter) — Remove a parameter declaration by name from a Modelica class. Rejects if the parameter is still referenced.
- **`remove-unused-component`** (https://act101.ai/docs/languages/modelica#op-remove-unused-component) — Remove a component declaration that is never referenced in equations or connect() clauses within its Modelica class. Rejects if the component is referenced.
- **`rename-class`** (https://act101.ai/docs/languages/modelica#op-rename-class) — Rename a Modelica class and same-file references.
- **`rename-component`** (https://act101.ai/docs/languages/modelica#op-rename-component) — Rename a Modelica component instance and same-class modifications, equation, and connect() references.
- **`rename-connector`** (https://act101.ai/docs/languages/modelica#op-rename-connector) — Rename a Modelica connector class and file-wide component declarations and connect() references.
- **`rename-function`** (https://act101.ai/docs/languages/modelica#op-rename-function) — Rename a Modelica function class and file-wide call sites.
- **`rename-parameter`** (https://act101.ai/docs/languages/modelica#op-rename-parameter) — Rename a Modelica parameter declaration and same-class modifications and references.
- **`rename-variable`** (https://act101.ai/docs/languages/modelica#op-rename-variable) — Rename a Modelica variable in the correct class scope and update equation/algorithm references.
- **`set-modification`** (https://act101.ai/docs/languages/modelica#op-set-modification) — Set or replace a named modification value on a component declaration in a named class. Replaces the existing value when the key is present, appends `, key=value` when a modification list exists but lacks the key, or inserts `(key=value)` after the component name when no modification exists. Rejects if the class, component, key, or value is missing.
- **`vectorize-equation`** (https://act101.ai/docs/languages/modelica#op-vectorize-equation) — Collapse exactly two consecutive scalar array-indexed equations (e.g. `x[1] = a[1];` then `x[2] = a[2];`) into one `for i in 1:2 loop ... end for;`. Rejects if there are not exactly two consecutive equations, the indices are not consecutive integers starting at 1, or the equations differ in structure beyond the index.
### Move
Reference:
- **`add-abilities-to-struct`** (https://act101.ai/docs/languages/move#op-add-abilities-to-struct) — Add ability annotations to a struct (copy, drop, store, key)
- **`add-abort-guard`** (https://act101.ai/docs/languages/move#op-add-abort-guard) — Add an abort guard (assert!) before a function body
- **`add-assert-not-none`** (https://act101.ai/docs/languages/move#op-add-assert-not-none) — Add an option::is_some assert before an Option is used
- **`add-mutable-reference`** (https://act101.ai/docs/languages/move#op-add-mutable-reference) — Convert a value or immutable reference parameter to a mutable reference
- **`add-reference-parameter`** (https://act101.ai/docs/languages/move#op-add-reference-parameter) — Convert a value parameter to an immutable reference parameter
- **`add-type-annotation`** (https://act101.ai/docs/languages/move#op-add-type-annotation) — Add explicit type annotation to a function return type
- **`add-use-statement`** (https://act101.ai/docs/languages/move#op-add-use-statement) — Add a use import statement to the module
- **`change-function-signature`** (https://act101.ai/docs/languages/move#op-change-function-signature) — Replace the parameter list of a function
- **`change-function-visibility`** (https://act101.ai/docs/languages/move#op-change-function-visibility) — Change a function's visibility (public/private/entry)
- **`change-struct-visibility`** (https://act101.ai/docs/languages/move#op-change-struct-visibility) — Change a struct's visibility (public/private)
- **`consolidate-imports`** (https://act101.ai/docs/languages/move#op-consolidate-imports) — Merge duplicate use prefixes into grouped imports
- **`convert-if-to-match`** (https://act101.ai/docs/languages/move#op-convert-if-to-match) — Convert if-else chain to match expression
- **`convert-let-to-var`** (https://act101.ai/docs/languages/move#op-convert-let-to-var) — Convert a let binding to a mutable var binding
- **`convert-loop-to-while`** (https://act101.ai/docs/languages/move#op-convert-loop-to-while) — Convert loop with exit condition to while loop
- **`convert-numeric-literal-to-const`** (https://act101.ai/docs/languages/move#op-convert-numeric-literal-to-const) — Convert a numeric literal to a named constant and replace all uses
- **`convert-string-literal-to-const`** (https://act101.ai/docs/languages/move#op-convert-string-literal-to-const) — Convert a byte string literal to a named vector constant
- **`convert-var-to-let`** (https://act101.ai/docs/languages/move#op-convert-var-to-let) — Convert a mutable var binding to an immutable let binding
- **`convert-while-to-loop`** (https://act101.ai/docs/languages/move#op-convert-while-to-loop) — Convert while loop to loop with exit condition
- **`extract-constant`** (https://act101.ai/docs/languages/move#op-extract-constant) — Extract a literal value into a named constant
- **`extract-function`** (https://act101.ai/docs/languages/move#op-extract-function) — Extract lines into a new private function and replace with a call
- **`extract-module-constant`** (https://act101.ai/docs/languages/move#op-extract-module-constant) — Extract a magic literal from an expression into a module-level constant
- **`extract-repeated-pattern`** (https://act101.ai/docs/languages/move#op-extract-repeated-pattern) — Extract a repeated expression into a helper function
- **`extract-variable`** (https://act101.ai/docs/languages/move#op-extract-variable) — Extract an expression into a named local variable
- **`generate-access-control-function`** (https://act101.ai/docs/languages/move#op-generate-access-control-function) — Generate a function with a signer-based access control guard
- **`generate-capability-struct`** (https://act101.ai/docs/languages/move#op-generate-capability-struct) — Generate a capability pattern struct for access control
- **`generate-display-impl`** (https://act101.ai/docs/languages/move#op-generate-display-impl) — Generate a display/to_string implementation for a struct
- **`generate-entry-function`** (https://act101.ai/docs/languages/move#op-generate-entry-function) — Generate a public entry function for transaction entry points
- **`generate-equals-impl`** (https://act101.ai/docs/languages/move#op-generate-equals-impl) — Generate an equality comparison function for a struct
- **`generate-error-type`** (https://act101.ai/docs/languages/move#op-generate-error-type) — Generate error code constants for a Move module
- **`generate-event-emission`** (https://act101.ai/docs/languages/move#op-generate-event-emission) — Generate an event struct and emit function for a Move module
- **`generate-hot-potato-struct`** (https://act101.ai/docs/languages/move#op-generate-hot-potato-struct) — Generate a hot potato struct (no abilities) for forced-transaction flow
- **`generate-mock-struct`** (https://act101.ai/docs/languages/move#op-generate-mock-struct) — Generate a test mock struct for unit testing
- **`generate-struct-constructor`** (https://act101.ai/docs/languages/move#op-generate-struct-constructor) — Generate a constructor function that initialises all struct fields
- **`generate-struct-getters`** (https://act101.ai/docs/languages/move#op-generate-struct-getters) — Generate getter functions for struct fields
- **`generate-struct-new`** (https://act101.ai/docs/languages/move#op-generate-struct-new) — Generate a new() constructor function for a struct
- **`generate-struct-setters`** (https://act101.ai/docs/languages/move#op-generate-struct-setters) — Generate setter functions for struct fields
- **`generate-test-function`** (https://act101.ai/docs/languages/move#op-generate-test-function) — Generate a test function stub in the test module
- **`generate-test-module`** (https://act101.ai/docs/languages/move#op-generate-test-module) — Generate a #[test_only] test module scaffold
- **`generate-trait-impl`** (https://act101.ai/docs/languages/move#op-generate-trait-impl) — Generate a trait/interface implementation stub for a struct
- **`generate-validation-function`** (https://act101.ai/docs/languages/move#op-generate-validation-function) — Generate an input validation function with abort guards
- **`generate-view-function`** (https://act101.ai/docs/languages/move#op-generate-view-function) — Generate a #[view] annotated read-only function
- **`inline-function`** (https://act101.ai/docs/languages/move#op-inline-function) — Inline a function's body at the call site
- **`inline-variable`** (https://act101.ai/docs/languages/move#op-inline-variable) — Inline a variable's value at its use sites
- **`introduce-named-constant`** (https://act101.ai/docs/languages/move#op-introduce-named-constant) — Introduce a named constant for a literal value and replace all uses
- **`introduce-parameter`** (https://act101.ai/docs/languages/move#op-introduce-parameter) — Add a new parameter to a function signature
- **`introduce-type-alias`** (https://act101.ai/docs/languages/move#op-introduce-type-alias) — Introduce a named struct as a type alias for a Move type
- **`move-function-to-module`** (https://act101.ai/docs/languages/move#op-move-function-to-module) — Move a function to another module in the same file
- **`remove-unused-import`** (https://act101.ai/docs/languages/move#op-remove-unused-import) — Remove an unused use statement from the module
- **`rename-identifier`** (https://act101.ai/docs/languages/move#op-rename-identifier) — Rename any identifier across all references in the file
- **`simplify-conditional`** (https://act101.ai/docs/languages/move#op-simplify-conditional) — Simplify a boolean conditional expression
- **`sort-imports`** (https://act101.ai/docs/languages/move#op-sort-imports) — Sort use statements alphabetically
- **`swap-if-branches`** (https://act101.ai/docs/languages/move#op-swap-if-branches) — Swap if/else branches and negate the condition
- **`unwrap-option`** (https://act101.ai/docs/languages/move#op-unwrap-option) — Unwrap a function's Option return type to T
- **`wrap-in-option`** (https://act101.ai/docs/languages/move#op-wrap-in-option) — Wrap a function's return type in Option
### Nim
Reference:
- **`add-guard-clause-nim`** (https://act101.ai/docs/languages/nim#op-add-guard-clause-nim) — Add early-return guard clause to procedure
- **`add-missing-import-nim`** (https://act101.ai/docs/languages/nim#op-add-missing-import-nim) — Add missing import for referenced symbol
- **`add-pragma-nim`** (https://act101.ai/docs/languages/nim#op-add-pragma-nim) — Add compiler pragma to declaration
- **`add-type-annotation-nim`** (https://act101.ai/docs/languages/nim#op-add-type-annotation-nim) — Add explicit type annotation to variable or parameter
- **`add-visibility-modifier-nim`** (https://act101.ai/docs/languages/nim#op-add-visibility-modifier-nim) — Add export marker to declaration
- **`consolidate-import-statements-nim`** (https://act101.ai/docs/languages/nim#op-consolidate-import-statements-nim) — Merge multiple imports from same module
- **`convert-case-to-if-nim`** (https://act101.ai/docs/languages/nim#op-convert-case-to-if-nim) — Convert case statement to if/elif chain
- **`convert-exception-to-result-nim`** (https://act101.ai/docs/languages/nim#op-convert-exception-to-result-nim) — Convert exception-based error to Result type
- **`convert-if-to-case-nim`** (https://act101.ai/docs/languages/nim#op-convert-if-to-case-nim) — Convert if/elif chain to case statement
- **`convert-iterator-to-loop-nim`** (https://act101.ai/docs/languages/nim#op-convert-iterator-to-loop-nim) — Convert iterator to explicit loop
- **`convert-let-to-var-nim`** (https://act101.ai/docs/languages/nim#op-convert-let-to-var-nim) — Convert immutable variable to mutable
- **`convert-loop-to-iterator-nim`** (https://act101.ai/docs/languages/nim#op-convert-loop-to-iterator-nim) — Convert loop to iterator expression
- **`convert-proc-to-func`** (https://act101.ai/docs/languages/nim#op-convert-proc-to-func) — Convert proc to func (pure function)
- **`convert-to-defer-nim`** (https://act101.ai/docs/languages/nim#op-convert-to-defer-nim) — Convert finally block to defer statement
- **`convert-to-string-interpolation-nim`** (https://act101.ai/docs/languages/nim#op-convert-to-string-interpolation-nim) — Convert string concatenation to interpolation
- **`convert-var-to-let-nim`** (https://act101.ai/docs/languages/nim#op-convert-var-to-let-nim) — Convert mutable to immutable variable
- **`extract-procedure-nim`** (https://act101.ai/docs/languages/nim#op-extract-procedure-nim) — Extract code into new procedure
- **`extract-variable-nim`** (https://act101.ai/docs/languages/nim#op-extract-variable-nim) — Extract expression to variable
- **`generate-concept-definition-nim`** (https://act101.ai/docs/languages/nim#op-generate-concept-definition-nim) — Generate concept (type constraint) for generics
- **`generate-constructor-nim`** (https://act101.ai/docs/languages/nim#op-generate-constructor-nim) — Generate object constructor
- **`generate-enum-member-nim`** (https://act101.ai/docs/languages/nim#op-generate-enum-member-nim) — Generate enum value with auto-numbering
- **`generate-equality-operator-nim`** (https://act101.ai/docs/languages/nim#op-generate-equality-operator-nim) — Generate == operator for object comparison
- **`generate-field-accessor-nim`** (https://act101.ai/docs/languages/nim#op-generate-field-accessor-nim) — Generate getter/setter for field
- **`generate-module-implementation-nim`** (https://act101.ai/docs/languages/nim#op-generate-module-implementation-nim) — Generate implementation stubs from signature
- **`generate-null-check-nim`** (https://act101.ai/docs/languages/nim#op-generate-null-check-nim) — Generate nil-safety check for reference
- **`generate-range-check-nim`** (https://act101.ai/docs/languages/nim#op-generate-range-check-nim) — Generate bounds check for array/seq access
- **`generate-readonly-property-nim`** (https://act101.ai/docs/languages/nim#op-generate-readonly-property-nim) — Generate read-only getter for field
- **`generate-to-string-method-nim`** (https://act101.ai/docs/languages/nim#op-generate-to-string-method-nim) — Generate $ string representation method
- **`generate-unittest-scaffold-nim`** (https://act101.ai/docs/languages/nim#op-generate-unittest-scaffold-nim) — Generate unittest block template
- **`inline-function-nim`** (https://act101.ai/docs/languages/nim#op-inline-function-nim) — Replace function call with function body
- **`inline-variable-nim`** (https://act101.ai/docs/languages/nim#op-inline-variable-nim) — Replace variable with its value
- **`introduce-constant-nim`** (https://act101.ai/docs/languages/nim#op-introduce-constant-nim) — Extract constant value into module-level const
- **`introduce-parameter-nim`** (https://act101.ai/docs/languages/nim#op-introduce-parameter-nim) — Convert local variable to procedure parameter
- **`introduce-variable-nim`** (https://act101.ai/docs/languages/nim#op-introduce-variable-nim) — Extract expression to named variable
- **`invert-conditional-nim`** (https://act101.ai/docs/languages/nim#op-invert-conditional-nim) — Invert condition and swap if/else branches
- **`move-to-new-module-nim`** (https://act101.ai/docs/languages/nim#op-move-to-new-module-nim) — Extract procedure/type into new module
- **`organize-imports-nim`** (https://act101.ai/docs/languages/nim#op-organize-imports-nim) — Sort import statements alphabetically
- **`qualify-name-with-module-nim`** (https://act101.ai/docs/languages/nim#op-qualify-name-with-module-nim) — Add module prefix to symbol reference
- **`remove-unused-import-nim`** (https://act101.ai/docs/languages/nim#op-remove-unused-import-nim) — Remove import statement with no references
- **`remove-unused-variable-nim`** (https://act101.ai/docs/languages/nim#op-remove-unused-variable-nim) — Remove variable declaration with no references
- **`rename-identifier-nim`** (https://act101.ai/docs/languages/nim#op-rename-identifier-nim) — Rename symbol and all references
- **`simplify-boolean-expression-nim`** (https://act101.ai/docs/languages/nim#op-simplify-boolean-expression-nim) — Simplify redundant boolean logic
- **`simplify-string-concatenation-nim`** (https://act101.ai/docs/languages/nim#op-simplify-string-concatenation-nim) — Consolidate string concatenation
### Nix
Reference:
- **`add-inherit-statement`** (https://act101.ai/docs/languages/nix#op-add-inherit-statement) — Add an `inherit` statement to an attribute set for given variables
- **`convert-boolean-to-if`** (https://act101.ai/docs/languages/nix#op-convert-boolean-to-if) — Convert a boolean expression into an if-then-else expression
- **`convert-if-to-boolean-expression`** (https://act101.ai/docs/languages/nix#op-convert-if-to-boolean-expression) — Simplify `if x then true else false` to just `x`
- **`convert-import-to-let-binding`** (https://act101.ai/docs/languages/nix#op-convert-import-to-let-binding) — Convert an inline `import ./file.nix` into a let binding
- **`convert-lambda-to-function`** (https://act101.ai/docs/languages/nix#op-convert-lambda-to-function) — Wrap an anonymous lambda in a named let-bound function
- **`convert-null-coalesce`** (https://act101.ai/docs/languages/nix#op-convert-null-coalesce) — Convert `x // fallback` merge to an explicit conditional null check
- **`convert-rec-to-scope`** (https://act101.ai/docs/languages/nix#op-convert-rec-to-scope) — Convert `rec { ... }` to a `let...in` expression
- **`convert-string-concat-to-interpolation`** (https://act101.ai/docs/languages/nix#op-convert-string-concat-to-interpolation) — Transform string concatenation expressions to Nix string interpolation
- **`convert-to-attr-set-shorthand`** (https://act101.ai/docs/languages/nix#op-convert-to-attr-set-shorthand) — Convert attr = attr; bindings to inherit form
- **`convert-to-string-interpolation`** (https://act101.ai/docs/languages/nix#op-convert-to-string-interpolation) — Convert string concatenation (+ operator) to Nix string interpolation
- **`extract-builtin-call`** (https://act101.ai/docs/languages/nix#op-extract-builtin-call) — Extract a repeated builtins function call into a named let binding
- **`extract-function`** (https://act101.ai/docs/languages/nix#op-extract-function) — Extract an expression into a new named function binding
- **`extract-function-from-lambda`** (https://act101.ai/docs/languages/nix#op-extract-function-from-lambda) — Convert an anonymous lambda into a named function binding
- **`extract-let-binding`** (https://act101.ai/docs/languages/nix#op-extract-let-binding) — Extract an expression into a let-in binding
- **`generate-attribute-set`** (https://act101.ai/docs/languages/nix#op-generate-attribute-set) — Generate an empty or structured attribute set
- **`generate-filter-function`** (https://act101.ai/docs/languages/nix#op-generate-filter-function) — Generate a `filter` operation skeleton over a list
- **`generate-fold-operation`** (https://act101.ai/docs/languages/nix#op-generate-fold-operation) — Generate a `builtins.foldl'` operation skeleton
- **`generate-function`** (https://act101.ai/docs/languages/nix#op-generate-function) — Generate a new function binding skeleton in Nix
- **`generate-if-then-else`** (https://act101.ai/docs/languages/nix#op-generate-if-then-else) — Generate complete if-then-else structure
- **`generate-let-binding`** (https://act101.ai/docs/languages/nix#op-generate-let-binding) — Generate a let-in expression with variable and body
- **`generate-map-function`** (https://act101.ai/docs/languages/nix#op-generate-map-function) — Generate a `map` operation skeleton over a list
- **`generate-mkderivation`** (https://act101.ai/docs/languages/nix#op-generate-mkderivation) — Generate mkDerivation skeleton with common attributes
- **`generate-test-scaffold`** (https://act101.ai/docs/languages/nix#op-generate-test-scaffold) — Generate a test expression scaffold for Nix code
- **`inline-function`** (https://act101.ai/docs/languages/nix#op-inline-function) — Inline a function binding by replacing calls with the body
- **`inline-variable`** (https://act101.ai/docs/languages/nix#op-inline-variable) — Inline a let-bound variable by replacing uses with its definition
- **`organize-imports`** (https://act101.ai/docs/languages/nix#op-organize-imports) — Sort and organize import bindings at the top of a Nix file
- **`remove-unused-parameter`** (https://act101.ai/docs/languages/nix#op-remove-unused-parameter) — Remove a named parameter from a function's formal set
- **`remove-unused-variable`** (https://act101.ai/docs/languages/nix#op-remove-unused-variable) — Remove a let binding that is never used
- **`rename-identifier`** (https://act101.ai/docs/languages/nix#op-rename-identifier) — Rename a variable, function, or attribute across its scope
- **`reorder-function-arguments`** (https://act101.ai/docs/languages/nix#op-reorder-function-arguments) — Reorder formal parameters in a function definition
### Noir
Reference:
- **`add-contract-storage`** (https://act101.ai/docs/languages/noir#op-add-contract-storage) — Add a field to Noir contract storage
- **`add-field`** (https://act101.ai/docs/languages/noir#op-add-field) — Add a field to a Noir struct
- **`add-fold-attribute`** (https://act101.ai/docs/languages/noir#op-add-fold-attribute) — Add #[fold] to a Noir function
- **`add-parameter`** (https://act101.ai/docs/languages/noir#op-add-parameter) — Add a parameter to a Noir function
- **`change-parameter-type`** (https://act101.ai/docs/languages/noir#op-change-parameter-type) — Change a Noir function parameter type
- **`change-return-type`** (https://act101.ai/docs/languages/noir#op-change-return-type) — Change a Noir function return type
- **`convert-comptime-to-fn`** (https://act101.ai/docs/languages/noir#op-convert-comptime-to-fn) — Convert a Noir comptime function to runtime execution
- **`convert-private-to-public`** (https://act101.ai/docs/languages/noir#op-convert-private-to-public) — Convert a private Noir function to public
- **`convert-public-to-private`** (https://act101.ai/docs/languages/noir#op-convert-public-to-private) — Convert a public Noir function to private
- **`convert-to-comptime-fn`** (https://act101.ai/docs/languages/noir#op-convert-to-comptime-fn) — Convert a Noir function to comptime execution
- **`convert-to-constrained`** (https://act101.ai/docs/languages/noir#op-convert-to-constrained) — Convert a Noir function to constrained execution
- **`convert-to-global-constant`** (https://act101.ai/docs/languages/noir#op-convert-to-global-constant) — Extract a Noir value to a global constant
- **`convert-to-unconstrained`** (https://act101.ai/docs/languages/noir#op-convert-to-unconstrained) — Convert a Noir function to unconstrained execution
- **`extract-function`** (https://act101.ai/docs/languages/noir#op-extract-function) — Extract selected Noir code into a new function
- **`extract-module`** (https://act101.ai/docs/languages/noir#op-extract-module) — Extract top-level declarations into an inline Noir module
- **`extract-struct`** (https://act101.ai/docs/languages/noir#op-extract-struct) — Extract Noir struct fields into a new struct
- **`extract-to-module`** (https://act101.ai/docs/languages/noir#op-extract-to-module) — Extract Noir declarations to a module file
- **`fix-missing-import`** (https://act101.ai/docs/languages/noir#op-fix-missing-import) — Add a missing Noir use statement
- **`fix-type-mismatch`** (https://act101.ai/docs/languages/noir#op-fix-type-mismatch) — Fix a Noir local variable type mismatch
- **`fix-unconstrained-in-proof`** (https://act101.ai/docs/languages/noir#op-fix-unconstrained-in-proof) — Fix unconstrained Noir proof logic
- **`fix-unused-variable`** (https://act101.ai/docs/languages/noir#op-fix-unused-variable) — Fix an unused Noir local variable
- **`gen-contract-scaffold`** (https://act101.ai/docs/languages/noir#op-gen-contract-scaffold) — Generate a Noir contract-style module scaffold
- **`gen-hash-function`** (https://act101.ai/docs/languages/noir#op-gen-hash-function) — Generate a Noir hash function wrapper
- **`gen-integration-test`** (https://act101.ai/docs/languages/noir#op-gen-integration-test) — Generate a Noir integration-style test
- **`gen-membership-proof`** (https://act101.ai/docs/languages/noir#op-gen-membership-proof) — Generate a Noir membership proof helper
- **`gen-note-scaffold`** (https://act101.ai/docs/languages/noir#op-gen-note-scaffold) — Generate a Noir note scaffold
- **`gen-nullifier-check`** (https://act101.ai/docs/languages/noir#op-gen-nullifier-check) — Generate Noir nullifier check helpers
- **`gen-range-proof`** (https://act101.ai/docs/languages/noir#op-gen-range-proof) — Generate a Noir range proof helper
- **`gen-storage-layout`** (https://act101.ai/docs/languages/noir#op-gen-storage-layout) — Generate a Noir storage layout struct
- **`gen-test-function`** (https://act101.ai/docs/languages/noir#op-gen-test-function) — Generate a Noir unit test function
- **`gen-zk-circuit-scaffold`** (https://act101.ai/docs/languages/noir#op-gen-zk-circuit-scaffold) — Generate a Noir ZK circuit function scaffold
- **`inline-function`** (https://act101.ai/docs/languages/noir#op-inline-function) — Inline simple Noir function calls
- **`inline-global-constant`** (https://act101.ai/docs/languages/noir#op-inline-global-constant) — Inline a Noir global constant
- **`inline-module`** (https://act101.ai/docs/languages/noir#op-inline-module) — Inline a Noir module into its parent scope
- **`merge-modules`** (https://act101.ai/docs/languages/noir#op-merge-modules) — Merge two inline Noir modules
- **`remove-contract-storage`** (https://act101.ai/docs/languages/noir#op-remove-contract-storage) — Remove a field from Noir contract storage
- **`remove-field`** (https://act101.ai/docs/languages/noir#op-remove-field) — Remove a Noir struct field
- **`remove-fold-attribute`** (https://act101.ai/docs/languages/noir#op-remove-fold-attribute) — Remove #[fold] from a Noir function
- **`remove-parameter`** (https://act101.ai/docs/languages/noir#op-remove-parameter) — Remove an unused Noir function parameter
- **`rename-field`** (https://act101.ai/docs/languages/noir#op-rename-field) — Rename a Noir struct field and update field access syntax
- **`rename-function`** (https://act101.ai/docs/languages/noir#op-rename-function) — Rename a Noir function and update direct call targets
- **`rename-module`** (https://act101.ai/docs/languages/noir#op-rename-module) — Rename a Noir module and update module paths
- **`rename-struct`** (https://act101.ai/docs/languages/noir#op-rename-struct) — Rename a Noir struct and update type and constructor references
- **`rename-variable`** (https://act101.ai/docs/languages/noir#op-rename-variable) — Rename a Noir local variable inside a function
- **`reorder-fields`** (https://act101.ai/docs/languages/noir#op-reorder-fields) — Reorder fields in a Noir struct
- **`reorder-parameters`** (https://act101.ai/docs/languages/noir#op-reorder-parameters) — Reorder Noir function parameters
### Objective-C
Reference:
- **`add-braces`** (https://act101.ai/docs/languages/objective-c#op-add-braces) — Add braces to single-statement if/while/for blocks
- **`add-default-case`** (https://act101.ai/docs/languages/objective-c#op-add-default-case) — Add default case to switch statement
- **`add-method-documentation`** (https://act101.ai/docs/languages/objective-c#op-add-method-documentation) — Add documentation comment to method
- **`add-method-implementation`** (https://act101.ai/docs/languages/objective-c#op-add-method-implementation) — Add method body stub to @implementation
- **`add-nil-check`** (https://act101.ai/docs/languages/objective-c#op-add-nil-check) — Add nil check before property or pointer access
- **`add-nullability-annotation`** (https://act101.ai/docs/languages/objective-c#op-add-nullability-annotation) — Add @nullable/@nonnull annotation
- **`add-property-attribute`** (https://act101.ai/docs/languages/objective-c#op-add-property-attribute) — Add nonatomic/retain/weak attribute to property
- **`add-protocol-conformance`** (https://act101.ai/docs/languages/objective-c#op-add-protocol-conformance) — Add protocol conformance to class
- **`add-required-import`** (https://act101.ai/docs/languages/objective-c#op-add-required-import) — Add required import statement
- **`consolidate-imports`** (https://act101.ai/docs/languages/objective-c#op-consolidate-imports) — Consolidate multiple import statements
- **`convert-for-to-foreach`** (https://act101.ai/docs/languages/objective-c#op-convert-for-to-foreach) — Convert for loop to fast enumeration (for-in)
- **`convert-ivar-to-property`** (https://act101.ai/docs/languages/objective-c#op-convert-ivar-to-property) — Convert instance variable to @property
- **`convert-loop-style`** (https://act101.ai/docs/languages/objective-c#op-convert-loop-style) — Convert between loop styles
- **`convert-string-literal`** (https://act101.ai/docs/languages/objective-c#op-convert-string-literal) — Convert string literal format
- **`extract-enum-member`** (https://act101.ai/docs/languages/objective-c#op-extract-enum-member) — Extract enum member value into a named constant
- **`extract-variable`** (https://act101.ai/docs/languages/objective-c#op-extract-variable) — Extract a sub-expression into a new local variable
- **`flatten`** (https://act101.ai/docs/languages/objective-c#op-flatten) — Merge category @implementation into main @implementation
- **`generate-async-method`** (https://act101.ai/docs/languages/objective-c#op-generate-async-method) — Generate method with completion handler
- **`generate-class-stub`** (https://act101.ai/docs/languages/objective-c#op-generate-class-stub) — Generate class interface and implementation skeleton
- **`generate-convenience-init`** (https://act101.ai/docs/languages/objective-c#op-generate-convenience-init) — Generate convenience initializer
- **`generate-delegate-methods`** (https://act101.ai/docs/languages/objective-c#op-generate-delegate-methods) — Generate delegate method stubs
- **`generate-description`** (https://act101.ai/docs/languages/objective-c#op-generate-description) — Generate description method
- **`generate-equality-methods`** (https://act101.ai/docs/languages/objective-c#op-generate-equality-methods) — Generate isEqual:/hash methods
- **`generate-factory-method`** (https://act101.ai/docs/languages/objective-c#op-generate-factory-method) — Generate factory method
- **`generate-init-method`** (https://act101.ai/docs/languages/objective-c#op-generate-init-method) — Generate init method
- **`generate-mapped-type`** (https://act101.ai/docs/languages/objective-c#op-generate-mapped-type) — Generate typedef pointer alias for a class
- **`generate-property-getter`** (https://act101.ai/docs/languages/objective-c#op-generate-property-getter) — Generate @property getter
- **`generate-property-setter`** (https://act101.ai/docs/languages/objective-c#op-generate-property-setter) — Generate @property setter
- **`generate-protocol-stub`** (https://act101.ai/docs/languages/objective-c#op-generate-protocol-stub) — Generate protocol implementation stubs
- **`generate-stub-method`** (https://act101.ai/docs/languages/objective-c#op-generate-stub-method) — Generate empty method stub
- **`generate-test-class`** (https://act101.ai/docs/languages/objective-c#op-generate-test-class) — Generate test class
- **`generate-try-catch-block`** (https://act101.ai/docs/languages/objective-c#op-generate-try-catch-block) — Generate @try/@catch/@finally exception handling
- **`generate-type-guard`** (https://act101.ai/docs/languages/objective-c#op-generate-type-guard) — Generate isKindOfClass type guard function
- **`introduce-property`** (https://act101.ai/docs/languages/objective-c#op-introduce-property) — Convert ivar to @property with appropriate attributes
- **`move-method-to-category`** (https://act101.ai/docs/languages/objective-c#op-move-method-to-category) — Move method to category
- **`move-method-to-protocol`** (https://act101.ai/docs/languages/objective-c#op-move-method-to-protocol) — Move method to protocol
- **`remove-unused-import`** (https://act101.ai/docs/languages/objective-c#op-remove-unused-import) — Remove unused import statement
- **`wrap-at-try-catch`** (https://act101.ai/docs/languages/objective-c#op-wrap-at-try-catch) — Wrap code in @try/@catch block
- **`wrap-in-function`** (https://act101.ai/docs/languages/objective-c#op-wrap-in-function) — Wrap selected code in new method
### OCaml
Reference:
- **`add-deriving`** (https://act101.ai/docs/languages/ocaml#op-add-deriving) — Add deriving attribute to type definition
- **`add-open-statement`** (https://act101.ai/docs/languages/ocaml#op-add-open-statement) — Add open statement for module
- **`add-option-none-check`** (https://act101.ai/docs/languages/ocaml#op-add-option-none-check) — Add explicit Some/None match for Option value
- **`add-rec-keyword`** (https://act101.ai/docs/languages/ocaml#op-add-rec-keyword) — Add rec keyword to enable mutual recursion
- **`add-record-field`** (https://act101.ai/docs/languages/ocaml#op-add-record-field) — Add new field to record type and initialize in all bindings
- **`add-type-annotation`** (https://act101.ai/docs/languages/ocaml#op-add-type-annotation) — Add explicit type annotation to binding or parameter
- **`change-visibility`** (https://act101.ai/docs/languages/ocaml#op-change-visibility) — Change value visibility by adding/removing from .mli signature
- **`convert-for-loop-to-fold`** (https://act101.ai/docs/languages/ocaml#op-convert-for-loop-to-fold) — Convert for-loop to List.fold_left or Array.fold_left
- **`convert-for-loop-to-iter`** (https://act101.ai/docs/languages/ocaml#op-convert-for-loop-to-iter) — Convert for-loop to List.iter or Array.iter
- **`convert-for-loop-to-map`** (https://act101.ai/docs/languages/ocaml#op-convert-for-loop-to-map) — Convert for-loop with accumulator to List.map or Array.map
- **`convert-fun-to-function`** (https://act101.ai/docs/languages/ocaml#op-convert-fun-to-function) — Convert fun x → match x with to function keyword
- **`convert-function-to-fun`** (https://act101.ai/docs/languages/ocaml#op-convert-function-to-fun) — Convert function keyword to explicit fun x → match x with
- **`convert-if-to-pattern-match`** (https://act101.ai/docs/languages/ocaml#op-convert-if-to-pattern-match) — Convert if-then-else to pattern match for better idiom expression
- **`convert-immutable-to-mutable`** (https://act101.ai/docs/languages/ocaml#op-convert-immutable-to-mutable) — Convert immutable let-binding to mutable ref when mutation needed
- **`convert-mutable-to-immutable`** (https://act101.ai/docs/languages/ocaml#op-convert-mutable-to-immutable) — Replace mutable reference (ref) with immutable let-binding
- **`convert-pattern-match-to-if`** (https://act101.ai/docs/languages/ocaml#op-convert-pattern-match-to-if) — Convert simple pattern match to if-then-else expression
- **`convert-string-concatenation-to-format`** (https://act101.ai/docs/languages/ocaml#op-convert-string-concatenation-to-format) — Convert s1 ^ s2 to Format module formatting
- **`convert-string-concatenation-to-sprintf`** (https://act101.ai/docs/languages/ocaml#op-convert-string-concatenation-to-sprintf) — Convert s1 ^ s2 to Printf.sprintf format string
- **`convert-to-labeled-args`** (https://act101.ai/docs/languages/ocaml#op-convert-to-labeled-args) — Convert positional arguments to labeled parameters
- **`convert-to-option-bind`** (https://act101.ai/docs/languages/ocaml#op-convert-to-option-bind) — Wrap Option handling with Option.bind/map chain
- **`convert-while-to-recursion`** (https://act101.ai/docs/languages/ocaml#op-convert-while-to-recursion) — Convert while-loop to tail-recursive function
- **`extract-module-signature`** (https://act101.ai/docs/languages/ocaml#op-extract-module-signature) — Extract .mli signature from .ml implementation
- **`extract-module-type`** (https://act101.ai/docs/languages/ocaml#op-extract-module-type) — Extract module type (signature) from module implementation
- **`extract-type-alias`** (https://act101.ai/docs/languages/ocaml#op-extract-type-alias) — Create type alias for repeated complex type expression
- **`generate-function-from-usage`** (https://act101.ai/docs/languages/ocaml#op-generate-function-from-usage) — Generate function stub from call site with inferred signature
- **`generate-module-interface`** (https://act101.ai/docs/languages/ocaml#op-generate-module-interface) — Generate .mli file with type signatures for module
- **`generate-module-stub`** (https://act101.ai/docs/languages/ocaml#op-generate-module-stub) — Generate minimal .ml module implementation from .mli
- **`generate-module-type-impl-stubs`** (https://act101.ai/docs/languages/ocaml#op-generate-module-type-impl-stubs) — Generate implementation stubs for all values in a module type
- **`generate-option-handling`** (https://act101.ai/docs/languages/ocaml#op-generate-option-handling) — Generate Option.map/bind pattern for optional value handling
- **`generate-pattern-match-cases`** (https://act101.ai/docs/languages/ocaml#op-generate-pattern-match-cases) — Generate match cases for variant type covering all constructors
- **`generate-record-accessor`** (https://act101.ai/docs/languages/ocaml#op-generate-record-accessor) — Generate accessor function for record field
- **`generate-record-constructor`** (https://act101.ai/docs/languages/ocaml#op-generate-record-constructor) — Generate function to construct record with all fields
- **`generate-record-setter`** (https://act101.ai/docs/languages/ocaml#op-generate-record-setter) — Generate functional setter (returns new record with updated field)
- **`generate-record-type`** (https://act101.ai/docs/languages/ocaml#op-generate-record-type) — Generate record type definition from field list
- **`generate-result-handling`** (https://act101.ai/docs/languages/ocaml#op-generate-result-handling) — Generate Result.map/bind pattern for error handling
- **`generate-test-case`** (https://act101.ai/docs/languages/ocaml#op-generate-test-case) — Generate test function skeleton for Alcotest framework
- **`generate-variant-match-check`** (https://act101.ai/docs/languages/ocaml#op-generate-variant-match-check) — Generate pattern match with exhaustiveness verification
- **`generate-variant-type`** (https://act101.ai/docs/languages/ocaml#op-generate-variant-type) — Generate variant type definition from cases
- **`open-alias`** (https://act101.ai/docs/languages/ocaml#op-open-alias) — Create module alias (module M = Long.Module.Path) for brevity
- **`open-module-locally`** (https://act101.ai/docs/languages/ocaml#op-open-module-locally) — Wrap code block in local open statement
- **`organize-opens`** (https://act101.ai/docs/languages/ocaml#op-organize-opens) — Sort and group open statements
- **`remove-function-parameter`** (https://act101.ai/docs/languages/ocaml#op-remove-function-parameter) — Remove unused parameter and update call sites
- **`remove-open-statement`** (https://act101.ai/docs/languages/ocaml#op-remove-open-statement) — Remove unused open statement
- **`remove-record-field`** (https://act101.ai/docs/languages/ocaml#op-remove-record-field) — Remove field from record type and update all record literals
- **`rename-record-field`** (https://act101.ai/docs/languages/ocaml#op-rename-record-field) — Rename record field across type definition and all access sites
- **`wrap-result`** (https://act101.ai/docs/languages/ocaml#op-wrap-result) — Wrap exception handling with Result type
### Odin
Reference:
- **`add-function-parameter`** (https://act101.ai/docs/languages/odin#op-add-function-parameter) — Add a parameter to a function definition
- **`add-import`** (https://act101.ai/docs/languages/odin#op-add-import) — Add import statement for a package at top of file
- **`add-null-check`** (https://act101.ai/docs/languages/odin#op-add-null-check) — Wrap statement with null check guard
- **`add-package-qualifier`** (https://act101.ai/docs/languages/odin#op-add-package-qualifier) — Add package prefix to unqualified function calls
- **`add-struct-field`** (https://act101.ai/docs/languages/odin#op-add-struct-field) — Add a new field to a struct definition
- **`convert-for-to-while`** (https://act101.ai/docs/languages/odin#op-convert-for-to-while) — Convert for loop to while loop with index counter
- **`convert-if-to-switch`** (https://act101.ai/docs/languages/odin#op-convert-if-to-switch) — Convert chained if statements to switch statement
- **`convert-pointer-to-value`** (https://act101.ai/docs/languages/odin#op-convert-pointer-to-value) — Convert pointer type to value type
- **`convert-struct-to-named-type`** (https://act101.ai/docs/languages/odin#op-convert-struct-to-named-type) — Convert anonymous struct to named type definition
- **`convert-switch-to-if`** (https://act101.ai/docs/languages/odin#op-convert-switch-to-if) — Convert simple switch statement to if statement chain
- **`convert-value-to-pointer`** (https://act101.ai/docs/languages/odin#op-convert-value-to-pointer) — Convert value type to pointer type
- **`convert-while-to-for`** (https://act101.ai/docs/languages/odin#op-convert-while-to-for) — Convert while loop with index to for loop
- **`extract-function`** (https://act101.ai/docs/languages/odin#op-extract-function) — Extract code block into new named function
- **`extract-variable`** (https://act101.ai/docs/languages/odin#op-extract-variable) — Extract expression into named variable
- **`generate-equality-check`** (https://act101.ai/docs/languages/odin#op-generate-equality-check) — Generate equality check function for a struct
- **`generate-error-check`** (https://act101.ai/docs/languages/odin#op-generate-error-check) — Generate error checking procedure for a function
- **`generate-function-stub`** (https://act101.ai/docs/languages/odin#op-generate-function-stub) — Generate empty function with signature
- **`generate-string-builder-impl`** (https://act101.ai/docs/languages/odin#op-generate-string-builder-impl) — Generate string building utilities for a type
- **`generate-test-procedure`** (https://act101.ai/docs/languages/odin#op-generate-test-procedure) — Generate test procedure for a given function
- **`inline-function`** (https://act101.ai/docs/languages/odin#op-inline-function) — Replace function call with function body
- **`inline-variable`** (https://act101.ai/docs/languages/odin#op-inline-variable) — Replace variable reference with assigned value
- **`invert-if-expression`** (https://act101.ai/docs/languages/odin#op-invert-if-expression) — Swap condition and branches of an if statement
- **`merge-imports`** (https://act101.ai/docs/languages/odin#op-merge-imports) — Merge multiple import statements for the same package
- **`move-function-to-file`** (https://act101.ai/docs/languages/odin#op-move-function-to-file) — Move function definition from current file to target file
- **`remove-function-parameter`** (https://act101.ai/docs/languages/odin#op-remove-function-parameter) — Remove a parameter from a function definition
- **`remove-package-qualifier`** (https://act101.ai/docs/languages/odin#op-remove-package-qualifier) — Remove package prefix from qualified function calls
- **`remove-struct-field`** (https://act101.ai/docs/languages/odin#op-remove-struct-field) — Remove a field from a struct definition
- **`remove-unused-import`** (https://act101.ai/docs/languages/odin#op-remove-unused-import) — Remove import statement if package is not referenced
- **`rename-function`** (https://act101.ai/docs/languages/odin#op-rename-function) — Rename a function and update all call sites
- **`rename-struct`** (https://act101.ai/docs/languages/odin#op-rename-struct) — Rename a struct and update all usages
- **`rename-variable`** (https://act101.ai/docs/languages/odin#op-rename-variable) — Rename a variable across all references in the same scope
- **`simplify-if-expression`** (https://act101.ai/docs/languages/odin#op-simplify-if-expression) — Simplify if expression that returns boolean values
### P4
Reference:
- **`add-action`** (https://act101.ai/docs/languages/p4#op-add-action) — Add an action reference to a P4 table's action list
- **`add-counter`** (https://act101.ai/docs/languages/p4#op-add-counter) — Add a counter instantiation inside a control and attach it to a table via the counters property
- **`add-default-action`** (https://act101.ai/docs/languages/p4#op-add-default-action) — Add a default_action property to a P4 table
- **`add-extern-declaration`** (https://act101.ai/docs/languages/p4#op-add-extern-declaration) — Append a P4 extern_declaration with method_prototype(s)
- **`add-field`** (https://act101.ai/docs/languages/p4#op-add-field) — Add a field to a P4 header or struct declaration
- **`add-meter`** (https://act101.ai/docs/languages/p4#op-add-meter) — Add a meter instantiation inside a control and attach it to a table via the meters property
- **`add-register`** (https://act101.ai/docs/languages/p4#op-add-register) — Add a register array instantiation inside a control
- **`add-table-entry`** (https://act101.ai/docs/languages/p4#op-add-table-entry) — Insert a static entry into a P4 table's entries block
- **`add-table-key`** (https://act101.ai/docs/languages/p4#op-add-table-key) — Add a match key to a P4 table's key list
- **`change-default-action`** (https://act101.ai/docs/languages/p4#op-change-default-action) — Modify a P4 table's existing default_action property
- **`change-field-type`** (https://act101.ai/docs/languages/p4#op-change-field-type) — Change a P4 header/struct field's type or bit width
- **`convert-header-union-to-headers`** (https://act101.ai/docs/languages/p4#op-convert-header-union-to-headers) — Expand a P4 header_union back into separate header types
- **`convert-if-to-switch`** (https://act101.ai/docs/languages/p4#op-convert-if-to-switch) — Convert a P4 if/else chain over a table-apply equality test into a switch_statement
- **`convert-switch-to-if`** (https://act101.ai/docs/languages/p4#op-convert-switch-to-if) — Convert a P4 switch_statement on a table-apply expression back into an if/else chain
- **`convert-to-header-stack`** (https://act101.ai/docs/languages/p4#op-convert-to-header-stack) — Convert a header-typed P4 struct field into a header stack array
- **`convert-to-header-union`** (https://act101.ai/docs/languages/p4#op-convert-to-header-union) — Convert a set of mutually-exclusive P4 header types into a header_union
- **`convert-to-match-kind-enum`** (https://act101.ai/docs/languages/p4#op-convert-to-match-kind-enum) — Convert a set of match-kind constants into a match_kind_declaration
- **`extract-apply-block`** (https://act101.ai/docs/languages/p4#op-extract-apply-block) — Extract table-apply logic from a P4 control's apply block into a named sub-block
- **`extract-control-block`** (https://act101.ai/docs/languages/p4#op-extract-control-block) — Extract table-apply logic from a P4 control's apply block into a new control
- **`extract-header`** (https://act101.ai/docs/languages/p4#op-extract-header) — Extract a set of fields from a P4 header/struct into a new header type
- **`extract-parser-state`** (https://act101.ai/docs/languages/p4#op-extract-parser-state) — Extract parsing logic from a P4 parser state into a new parser state with a transition
- **`fix-action-parameter-count`** (https://act101.ai/docs/languages/p4#op-fix-action-parameter-count) — Correct an action's parameter count to match its invocation usages
- **`fix-missing-header-validity`** (https://act101.ai/docs/languages/p4#op-fix-missing-header-validity) — Wrap an unguarded header field access in an isValid() guard
- **`fix-missing-return`** (https://act101.ai/docs/languages/p4#op-fix-missing-return) — Insert an exit;/return; after a statement where a path needs a terminator
- **`fix-parser-transition`** (https://act101.ai/docs/languages/p4#op-fix-parser-transition) — Correct an invalid parser transition_statement target to a real state
- **`fix-table-key-type`** (https://act101.ai/docs/languages/p4#op-fix-table-key-type) — Correct a table key element's match kind to a standard P4 match kind
- **`fix-undefined-header`** (https://act101.ai/docs/languages/p4#op-fix-undefined-header) — Add a header instantiation to a metadata struct where the header is referenced but not declared
- **`gen-action-definition`** (https://act101.ai/docs/languages/p4#op-gen-action-definition) — Generate a P4 action with parameters and a body
- **`gen-checksum-verification`** (https://act101.ai/docs/languages/p4#op-gen-checksum-verification) — Generate a P4 checksum verify/update control scaffold
- **`gen-clone-entry`** (https://act101.ai/docs/languages/p4#op-gen-clone-entry) — Generate a P4 clone/mirror session scaffold (session-id constant + control invoking the generic clone intrinsic)
- **`gen-control-block`** (https://act101.ai/docs/languages/p4#op-gen-control-block) — Generate a P4 control with an apply block that applies a table
- **`gen-counter-declaration`** (https://act101.ai/docs/languages/p4#op-gen-counter-declaration) — Generate a P4 counter instantiation (direct or indirect)
- **`gen-deparser-scaffold`** (https://act101.ai/docs/languages/p4#op-gen-deparser-scaffold) — Generate a P4 deparser control with a pkt.emit chain over the named headers
- **`gen-header-definition`** (https://act101.ai/docs/languages/p4#op-gen-header-definition) — Generate a P4 header type with standard ethernet/IPv4/TCP-style fields
- **`gen-parser-state-machine`** (https://act101.ai/docs/languages/p4#op-gen-parser-state-machine) — Generate a P4 parser with a start state and a select_expression
- **`gen-struct-definition`** (https://act101.ai/docs/languages/p4#op-gen-struct-definition) — Generate a P4 metadata struct with typed fields
- **`gen-table-definition`** (https://act101.ai/docs/languages/p4#op-gen-table-definition) — Generate a P4 table with keys, actions, and size
- **`inline-header`** (https://act101.ai/docs/languages/p4#op-inline-header) — Inline a P4 header type into the single parent that references it
- **`merge-control-blocks`** (https://act101.ai/docs/languages/p4#op-merge-control-blocks) — Merge two P4 control blocks into one
- **`merge-parser-states`** (https://act101.ai/docs/languages/p4#op-merge-parser-states) — Merge two sequential P4 parser states into one
- **`remove-action`** (https://act101.ai/docs/languages/p4#op-remove-action) — Remove an action reference from a P4 table's action list
- **`remove-extern`** (https://act101.ai/docs/languages/p4#op-remove-extern) — Remove an unused P4 extern_declaration
- **`remove-field`** (https://act101.ai/docs/languages/p4#op-remove-field) — Remove an unused field from a P4 header or struct declaration
- **`remove-table-key`** (https://act101.ai/docs/languages/p4#op-remove-table-key) — Remove a match key from a P4 table's key list
- **`rename-action`** (https://act101.ai/docs/languages/p4#op-rename-action) — Rename a P4 action declaration and its table action-list references and invocations
- **`rename-field`** (https://act101.ai/docs/languages/p4#op-rename-field) — Rename a P4 header/struct field and all hdr.field access sites
- **`rename-header`** (https://act101.ai/docs/languages/p4#op-rename-header) — Rename a P4 header type and all type references / instantiations
- **`rename-parser-state`** (https://act101.ai/docs/languages/p4#op-rename-parser-state) — Rename a P4 parser state and all transition / select targets
- **`rename-table`** (https://act101.ai/docs/languages/p4#op-rename-table) — Rename a P4 table declaration and all tbl.apply() call sites
- **`reorder-fields`** (https://act101.ai/docs/languages/p4#op-reorder-fields) — Reorder the fields of a P4 header or struct declaration
- **`reorder-table-keys`** (https://act101.ai/docs/languages/p4#op-reorder-table-keys) — Reorder the match keys of a P4 table's key list
### Pascal
Reference:
- **`add-missing-begin-end`** (https://act101.ai/docs/languages/pascal#op-add-missing-begin-end) — Add begin/end where required by Pascal syntax
- **`add-parentheses`** (https://act101.ai/docs/languages/pascal#op-add-parentheses) — Add explicit parentheses around sub-expression in complex condition
- **`add-property-accessors`** (https://act101.ai/docs/languages/pascal#op-add-property-accessors) — Add getter/setter procedures for Object Pascal property
- **`add-unit-to-uses`** (https://act101.ai/docs/languages/pascal#op-add-unit-to-uses) — Add required unit to uses clause
- **`change-parameter-passing`** (https://act101.ai/docs/languages/pascal#op-change-parameter-passing) — Convert value parameter to var (by-reference) or const
- **`change-visibility`** (https://act101.ai/docs/languages/pascal#op-change-visibility) — Change visibility of procedure/function (Public/Private/Protected/Published)
- **`convert-case-to-if`** (https://act101.ai/docs/languages/pascal#op-convert-case-to-if) — Convert case statement to if/else-if chain
- **`convert-for-to-while`** (https://act101.ai/docs/languages/pascal#op-convert-for-to-while) — Convert for loop to while loop
- **`convert-function-to-procedure`** (https://act101.ai/docs/languages/pascal#op-convert-function-to-procedure) — Convert function to procedure with out parameter
- **`convert-if-to-case`** (https://act101.ai/docs/languages/pascal#op-convert-if-to-case) — Convert chain of if/else-if to case statement
- **`convert-procedure-to-function`** (https://act101.ai/docs/languages/pascal#op-convert-procedure-to-function) — Convert procedure to function with return value
- **`convert-repeat-until-to-while`** (https://act101.ai/docs/languages/pascal#op-convert-repeat-until-to-while) — Convert repeat-until loop to while loop
- **`convert-string-concatenation`** (https://act101.ai/docs/languages/pascal#op-convert-string-concatenation) — Convert multiple + operators to single concat or format call
- **`convert-to-begin-end-block`** (https://act101.ai/docs/languages/pascal#op-convert-to-begin-end-block) — Add begin/end block around statement
- **`convert-while-to-for`** (https://act101.ai/docs/languages/pascal#op-convert-while-to-for) — Convert while loop to for loop
- **`extract-constant`** (https://act101.ai/docs/languages/pascal#op-extract-constant) — Extract literal value into a named constant with type inference
- **`extract-function`** (https://act101.ai/docs/languages/pascal#op-extract-function) — Extract code block into a new named function with parameter inference
- **`extract-procedure`** (https://act101.ai/docs/languages/pascal#op-extract-procedure) — Extract code block into a new named procedure with parameter inference
- **`extract-variable`** (https://act101.ai/docs/languages/pascal#op-extract-variable) — Extract expression into a named variable with type inference
- **`generate-constructor`** (https://act101.ai/docs/languages/pascal#op-generate-constructor) — Generate constructor procedure (Create) for record or class
- **`generate-destructor`** (https://act101.ai/docs/languages/pascal#op-generate-destructor) — Generate destructor procedure for class
- **`generate-equality-comparison`** (https://act101.ai/docs/languages/pascal#op-generate-equality-comparison) — Generate function to compare two instances for equality
- **`generate-getter`** (https://act101.ai/docs/languages/pascal#op-generate-getter) — Generate getter procedure for field
- **`generate-implementation-stub`** (https://act101.ai/docs/languages/pascal#op-generate-implementation-stub) — Generate implementation procedure body stub
- **`generate-interface-type`** (https://act101.ai/docs/languages/pascal#op-generate-interface-type) — Generate interface type declaration for Object Pascal
- **`generate-setter`** (https://act101.ai/docs/languages/pascal#op-generate-setter) — Generate setter procedure for field
- **`generate-string-representation`** (https://act101.ai/docs/languages/pascal#op-generate-string-representation) — Generate ToString or AsString function for type
- **`generate-test-procedure`** (https://act101.ai/docs/languages/pascal#op-generate-test-procedure) — Generate test procedure template
- **`inline-constant`** (https://act101.ai/docs/languages/pascal#op-inline-constant) — Inline constant value at all use sites
- **`inline-function`** (https://act101.ai/docs/languages/pascal#op-inline-function) — Inline function call into body at all use sites
- **`inline-procedure`** (https://act101.ai/docs/languages/pascal#op-inline-procedure) — Inline procedure call into body at all use sites
- **`inline-variable`** (https://act101.ai/docs/languages/pascal#op-inline-variable) — Inline variable at all use sites, removing the declaration
- **`introduce-constant-for-magic`** (https://act101.ai/docs/languages/pascal#op-introduce-constant-for-magic) — Replace magic number/literal with a named constant declaration
- **`invert-conditional`** (https://act101.ai/docs/languages/pascal#op-invert-conditional) — Invert if condition and swap then/else blocks
- **`move-declaration`** (https://act101.ai/docs/languages/pascal#op-move-declaration) — Move variable/constant declaration to different scope
- **`organize-uses`** (https://act101.ai/docs/languages/pascal#op-organize-uses) — Sort units in uses clause alphabetically
- **`remove-begin-end-block`** (https://act101.ai/docs/languages/pascal#op-remove-begin-end-block) — Remove unnecessary begin/end block
- **`remove-unnecessary-assignment`** (https://act101.ai/docs/languages/pascal#op-remove-unnecessary-assignment) — Remove self-assignments (x := x)
- **`remove-unnecessary-parentheses`** (https://act101.ai/docs/languages/pascal#op-remove-unnecessary-parentheses) — Remove redundant parentheses from expression
- **`remove-unused-unit`** (https://act101.ai/docs/languages/pascal#op-remove-unused-unit) — Remove unused unit from uses clause
- **`rename-identifier`** (https://act101.ai/docs/languages/pascal#op-rename-identifier) — Rename variable, function, procedure, or type across all references
- **`simplify-boolean-expression`** (https://act101.ai/docs/languages/pascal#op-simplify-boolean-expression) — Remove redundant boolean comparisons (if x = true then -> if x then)
- **`simplify-null-check`** (https://act101.ai/docs/languages/pascal#op-simplify-null-check) — Remove unnecessary nil checks in comparisons
- **`sort-uses-clause`** (https://act101.ai/docs/languages/pascal#op-sort-uses-clause) — Alphabetically sort unit names in uses clause
- **`uses-alias`** (https://act101.ai/docs/languages/pascal#op-uses-alias) — Add or change unit alias in uses clause
- **`wrap-in-block`** (https://act101.ai/docs/languages/pascal#op-wrap-in-block) — Wrap statements in begin/end block
### Perl
Reference:
- **`add-chomp-after-readline`** (https://act101.ai/docs/languages/perl#op-add-chomp-after-readline) — Insert chomp after <> or readline
- **`add-filehandle-close`** (https://act101.ai/docs/languages/perl#op-add-filehandle-close) — Insert explicit close() after filehandle use
- **`add-my-declaration`** (https://act101.ai/docs/languages/perl#op-add-my-declaration) — Add `my` declaration to implicit variables in Perl
- **`add-or-die-handler`** (https://act101.ai/docs/languages/perl#op-add-or-die-handler) — Add // die to risky operations
- **`add-parens-for-precedence`** (https://act101.ai/docs/languages/perl#op-add-parens-for-precedence) — Add parentheses to clarify operator precedence
- **`add-return-statement`** (https://act101.ai/docs/languages/perl#op-add-return-statement) — Insert explicit return where sub returns nothing
- **`add-sort-context`** (https://act101.ai/docs/languages/perl#op-add-sort-context) — Wrap sort() in list context when in scalar context
- **`add-strict-warnings`** (https://act101.ai/docs/languages/perl#op-add-strict-warnings) — Add `use strict;` and `use warnings;` pragmas to a Perl file
- **`add-subroutine-signature`** (https://act101.ai/docs/languages/perl#op-add-subroutine-signature) — Convert prototype+@_ usage to modern sub signature
- **`add-use-feature`** (https://act101.ai/docs/languages/perl#op-add-use-feature) — Insert 'use feature qw(...)' for enabled features
- **`convert-concat-to-interpolation`** (https://act101.ai/docs/languages/perl#op-convert-concat-to-interpolation) — Convert Perl string concatenation to string interpolation
- **`convert-context-sensitive-to-explicit`** (https://act101.ai/docs/languages/perl#op-convert-context-sensitive-to-explicit) — Make explicit return values for scalar/list context
- **`convert-foreach-to-for`** (https://act101.ai/docs/languages/perl#op-convert-foreach-to-for) — Convert foreach to for for consistent style
- **`convert-grep-to-loop`** (https://act101.ai/docs/languages/perl#op-convert-grep-to-loop) — Convert grep {} to explicit foreach with if
- **`convert-hash-to-lexical`** (https://act101.ai/docs/languages/perl#op-convert-hash-to-lexical) — Convert package variables to lexical hash for encapsulation
- **`convert-if-to-ternary`** (https://act101.ai/docs/languages/perl#op-convert-if-to-ternary) — Convert simple if/else to ?:
- **`convert-if-to-unless`** (https://act101.ai/docs/languages/perl#op-convert-if-to-unless) — Convert if !() to unless for readability
- **`convert-map-to-loop`** (https://act101.ai/docs/languages/perl#op-convert-map-to-loop) — Convert map {} to explicit foreach loop where clarity improves
- **`convert-qw-to-list`** (https://act101.ai/docs/languages/perl#op-convert-qw-to-list) — Convert qw() to explicit list for better editor support
- **`convert-slurp-mode`** (https://act101.ai/docs/languages/perl#op-convert-slurp-mode) — Convert <> to explicit open/read/close with error handling
- **`convert-unless-to-if`** (https://act101.ai/docs/languages/perl#op-convert-unless-to-if) — Convert unless to if !() form for consistency
- **`expand-postfix-conditional`** (https://act101.ai/docs/languages/perl#op-expand-postfix-conditional) — Convert postfix conditional to block form
- **`expand-postfix-loop`** (https://act101.ai/docs/languages/perl#op-expand-postfix-loop) — Convert postfix loop to block form
- **`expand-reference-creation`** (https://act101.ai/docs/languages/perl#op-expand-reference-creation) — Convert implicit reference creation to explicit \$ref form
- **`expand-regex-qr`** (https://act101.ai/docs/languages/perl#op-expand-regex-qr) — Convert bare regex pattern to qr// form with modifiers explicit
- **`expand-ternary-to-if`** (https://act101.ai/docs/languages/perl#op-expand-ternary-to-if) — Convert ?: to if/else for multi-line expressions
- **`extract-subroutine`** (https://act101.ai/docs/languages/perl#op-extract-subroutine) — Extract code block into new subroutine with parameter inference
- **`extract-variable`** (https://act101.ai/docs/languages/perl#op-extract-variable) — Extract expression into named variable at appropriate scope
- **`generate-attribute-validation`** (https://act101.ai/docs/languages/perl#op-generate-attribute-validation) — Generate input validation for sub parameters
- **`generate-export-list-from-subs`** (https://act101.ai/docs/languages/perl#op-generate-export-list-from-subs) — Auto-generate @EXPORT based on non-private subs
- **`generate-getter-setter`** (https://act101.ai/docs/languages/perl#op-generate-getter-setter) — Generate accessor methods for hash-based objects
- **`generate-hash-from-arguments`** (https://act101.ai/docs/languages/perl#op-generate-hash-from-arguments) — Generate code to convert @_ to hash for named params
- **`generate-logging-statement`** (https://act101.ai/docs/languages/perl#op-generate-logging-statement) — Generate warn/die/carp logging around operations
- **`generate-method-forwarding`** (https://act101.ai/docs/languages/perl#op-generate-method-forwarding) — Generate delegation method in wrapper class
- **`generate-method-override`** (https://act101.ai/docs/languages/perl#op-generate-method-override) — Generate method override stub in subclass
- **`generate-module`** (https://act101.ai/docs/languages/perl#op-generate-module) — Generate Perl module scaffold
- **`generate-object-constructor`** (https://act101.ai/docs/languages/perl#op-generate-object-constructor) — Generate object constructor (new() method) in Perl
- **`generate-package-exports`** (https://act101.ai/docs/languages/perl#op-generate-package-exports) — Generate @EXPORT and @EXPORT_OK lists
- **`generate-pod-documentation`** (https://act101.ai/docs/languages/perl#op-generate-pod-documentation) — Generate POD doc skeleton from sub signature
- **`generate-subroutine`** (https://act101.ai/docs/languages/perl#op-generate-subroutine) — Generate subroutine stub with signature and return statement
- **`generate-test-case`** (https://act101.ai/docs/languages/perl#op-generate-test-case) — Generate individual test assertion from code
- **`generate-test-file`** (https://act101.ai/docs/languages/perl#op-generate-test-file) — Generate test file with Test::More scaffold
- **`generate-use-statements`** (https://act101.ai/docs/languages/perl#op-generate-use-statements) — Generate import statements based on called functions
- **`inline-subroutine`** (https://act101.ai/docs/languages/perl#op-inline-subroutine) — Replace all calls to simple sub with its body
- **`inline-variable`** (https://act101.ai/docs/languages/perl#op-inline-variable) — Replace variable with its single assigned value
- **`invert-conditional`** (https://act101.ai/docs/languages/perl#op-invert-conditional) — Invert boolean condition and swap branches
- **`localize-implicit-variable`** (https://act101.ai/docs/languages/perl#op-localize-implicit-variable) — Convert implicit $_ usage to explicit parameter
- **`merge-variable-declarations`** (https://act101.ai/docs/languages/perl#op-merge-variable-declarations) — Combine multiple lexical declarations of same scope
- **`move-sub-to-module`** (https://act101.ai/docs/languages/perl#op-move-sub-to-module) — Extract subroutine into new module file
- **`organize-use-statements`** (https://act101.ai/docs/languages/perl#op-organize-use-statements) — Sort `use` statements: pragmas first, then modules alphabetically
- **`remove-redundant-parens`** (https://act101.ai/docs/languages/perl#op-remove-redundant-parens) — Remove unnecessary parentheses in expressions
- **`rename-block-variable`** (https://act101.ai/docs/languages/perl#op-rename-block-variable) — Rename loop/map/grep block variable
- **`rename-identifier`** (https://act101.ai/docs/languages/perl#op-rename-identifier) — Rename a variable, subroutine, or package across all references
- **`rename-loop-variable`** (https://act101.ai/docs/languages/perl#op-rename-loop-variable) — Rename $_ usage to explicit variable in a block
- **`rename-package`** (https://act101.ai/docs/languages/perl#op-rename-package) — Rename package and update package-qualified calls
- **`simplify-boolean-expression`** (https://act101.ai/docs/languages/perl#op-simplify-boolean-expression) — Remove redundant boolean operators
- **`simplify-if-chain`** (https://act101.ai/docs/languages/perl#op-simplify-if-chain) — Merge consecutive if/elsif/else statements with same action
- **`split-variable-declaration`** (https://act101.ai/docs/languages/perl#op-split-variable-declaration) — Separate combined variable declarations for clarity
### PHP
Reference:
- **`add-braces-to-statement`** (https://act101.ai/docs/languages/php#op-add-braces-to-statement) — Add braces to single-line control structure body
- **`add-const-modifier`** (https://act101.ai/docs/languages/php#op-add-const-modifier) — Add const modifier to class property or variable
- **`add-field-initialization`** (https://act101.ai/docs/languages/php#op-add-field-initialization) — Add initialization for uninitialized class field in constructor
- **`add-null-check-guard`** (https://act101.ai/docs/languages/php#op-add-null-check-guard) — Wrap expression in null/isset check
- **`add-nullable-type`** (https://act101.ai/docs/languages/php#op-add-nullable-type) — Convert null checks to nullable type hint (?)
- **`add-type-declaration`** (https://act101.ai/docs/languages/php#op-add-type-declaration) — Add type hint to parameter or return type
- **`add-visibility-modifier`** (https://act101.ai/docs/languages/php#op-add-visibility-modifier) — Add public/protected/private to property/method
- **`change-visibility-modifier`** (https://act101.ai/docs/languages/php#op-change-visibility-modifier) — Change public to protected or vice versa
- **`convert-array-syntax-to-short`** (https://act101.ai/docs/languages/php#op-convert-array-syntax-to-short) — Convert array() syntax to short [] syntax
- **`convert-closure-to-arrow-function`** (https://act101.ai/docs/languages/php#op-convert-closure-to-arrow-function) — Convert closure to arrow function (fn() =>)
- **`convert-comment-to-docblock`** (https://act101.ai/docs/languages/php#op-convert-comment-to-docblock) — Convert inline comment to PHPDoc block
- **`convert-if-else-to-ternary`** (https://act101.ai/docs/languages/php#op-convert-if-else-to-ternary) — Convert if-else to ternary operator
- **`convert-property-to-getter`** (https://act101.ai/docs/languages/php#op-convert-property-to-getter) — Convert public property access to getter method
- **`convert-property-to-getter-setter`** (https://act101.ai/docs/languages/php#op-convert-property-to-getter-setter) — Convert public property to private with getter and setter methods
- **`convert-string-concatenation-to-interpolation`** (https://act101.ai/docs/languages/php#op-convert-string-concatenation-to-interpolation) — Convert string concatenation to variable interpolation
- **`convert-ternary-to-if-else`** (https://act101.ai/docs/languages/php#op-convert-ternary-to-if-else) — Convert ternary operator to if-else statement
- **`extract-constant`** (https://act101.ai/docs/languages/php#op-extract-constant) — Extract magic number/string into named constant
- **`extract-function`** (https://act101.ai/docs/languages/php#op-extract-function) — Extract code block into new function with parameter inference
- **`extract-method`** (https://act101.ai/docs/languages/php#op-extract-method) — Extract code block into new method with parameter inference
- **`extract-variable`** (https://act101.ai/docs/languages/php#op-extract-variable) — Extract expression into new variable with proper scope
- **`generate-constant`** (https://act101.ai/docs/languages/php#op-generate-constant) — Generate class constant from value
- **`generate-constructor`** (https://act101.ai/docs/languages/php#op-generate-constructor) — Generate __construct() method with property assignments
- **`generate-docblock-method`** (https://act101.ai/docs/languages/php#op-generate-docblock-method) — Generate @method annotation in class docblock
- **`generate-docblock-param`** (https://act101.ai/docs/languages/php#op-generate-docblock-param) — Generate @param documentation for parameter
- **`generate-docblock-property`** (https://act101.ai/docs/languages/php#op-generate-docblock-property) — Generate @property annotation in class docblock
- **`generate-docblock-return`** (https://act101.ai/docs/languages/php#op-generate-docblock-return) — Generate @return documentation
- **`generate-docblock-throws`** (https://act101.ai/docs/languages/php#op-generate-docblock-throws) — Generate @throws documentation
- **`generate-equals-method`** (https://act101.ai/docs/languages/php#op-generate-equals-method) — Generate comparison logic (== / ===/compare)
- **`generate-exception-class`** (https://act101.ai/docs/languages/php#op-generate-exception-class) — Generate custom exception class
- **`generate-getter-setter-pair`** (https://act101.ai/docs/languages/php#op-generate-getter-setter-pair) — Generate both getter and setter for property
- **`generate-interface`** (https://act101.ai/docs/languages/php#op-generate-interface) — Generate interface from class public methods
- **`generate-magic-call`** (https://act101.ai/docs/languages/php#op-generate-magic-call) — Generate __call magic method for class
- **`generate-magic-get`** (https://act101.ai/docs/languages/php#op-generate-magic-get) — Generate __get magic method for class
- **`generate-magic-isset`** (https://act101.ai/docs/languages/php#op-generate-magic-isset) — Generate __isset magic method for class
- **`generate-magic-set`** (https://act101.ai/docs/languages/php#op-generate-magic-set) — Generate __set magic method for class
- **`generate-magic-static-call`** (https://act101.ai/docs/languages/php#op-generate-magic-static-call) — Generate __callStatic magic method for class
- **`generate-magic-tostring`** (https://act101.ai/docs/languages/php#op-generate-magic-tostring) — Generate __toString magic method for class
- **`generate-magic-unset`** (https://act101.ai/docs/languages/php#op-generate-magic-unset) — Generate __unset magic method for class
- **`generate-method-stub`** (https://act101.ai/docs/languages/php#op-generate-method-stub) — Generate empty method with signature
- **`generate-property-getter`** (https://act101.ai/docs/languages/php#op-generate-property-getter) — Generate public getter method for property
- **`generate-property-setter`** (https://act101.ai/docs/languages/php#op-generate-property-setter) — Generate public setter method for property
- **`generate-test-class`** (https://act101.ai/docs/languages/php#op-generate-test-class) — Generate test class for class under test
- **`generate-test-method`** (https://act101.ai/docs/languages/php#op-generate-test-method) — Generate test method stub with assertions
- **`generate-trait`** (https://act101.ai/docs/languages/php#op-generate-trait) — Generate trait from class methods
- **`group-use-statements`** (https://act101.ai/docs/languages/php#op-group-use-statements) — Group related use statements by namespace
- **`inline-function`** (https://act101.ai/docs/languages/php#op-inline-function) — Inline function by replacing call with function body
- **`inline-variable`** (https://act101.ai/docs/languages/php#op-inline-variable) — Inline variable by replacing with its expression
- **`invert-boolean-expression`** (https://act101.ai/docs/languages/php#op-invert-boolean-expression) — Invert a boolean expression using De Morgan's laws
- **`invert-if-else`** (https://act101.ai/docs/languages/php#op-invert-if-else) — Swap if/else branches and invert condition
- **`merge-nested-if-statements`** (https://act101.ai/docs/languages/php#op-merge-nested-if-statements) — Merge nested if statements into single condition with &&
- **`remove-unnecessary-braces`** (https://act101.ai/docs/languages/php#op-remove-unnecessary-braces) — Remove unnecessary braces from single-statement control structure
- **`remove-unreachable-code`** (https://act101.ai/docs/languages/php#op-remove-unreachable-code) — Remove code after return/throw/exit
- **`remove-unused-use-statement`** (https://act101.ai/docs/languages/php#op-remove-unused-use-statement) — Remove unused import declarations
- **`rename-class`** (https://act101.ai/docs/languages/php#op-rename-class) — Rename a class and all instantiations/references
- **`rename-constant`** (https://act101.ai/docs/languages/php#op-rename-constant) — Rename a constant declaration and usages
- **`rename-function`** (https://act101.ai/docs/languages/php#op-rename-function) — Rename a function declaration and all call sites
- **`rename-method`** (https://act101.ai/docs/languages/php#op-rename-method) — Rename a method and all call references in class context
- **`rename-parameter`** (https://act101.ai/docs/languages/php#op-rename-parameter) — Rename function/method parameter across all usages
- **`rename-variable`** (https://act101.ai/docs/languages/php#op-rename-variable) — Rename a variable across all references in scope
- **`simplify-boolean-expression`** (https://act101.ai/docs/languages/php#op-simplify-boolean-expression) — Simplify redundant boolean expression
- **`simplify-if-statement`** (https://act101.ai/docs/languages/php#op-simplify-if-statement) — Simplify if statement that returns boolean
- **`sort-use-statements`** (https://act101.ai/docs/languages/php#op-sort-use-statements) — Alphabetically sort use declarations
- **`split-if-statement`** (https://act101.ai/docs/languages/php#op-split-if-statement) — Split compound if condition into nested if statements
- **`split-variable-declaration`** (https://act101.ai/docs/languages/php#op-split-variable-declaration) — Split variable declaration and assignment into separate statements
- **`use-constructor-promotion`** (https://act101.ai/docs/languages/php#op-use-constructor-promotion) — Convert constructor property assignment to PHP 8.0 constructor promotion
- **`use-match-expression`** (https://act101.ai/docs/languages/php#op-use-match-expression) — Convert switch statement to PHP 8.0 match expression
- **`use-named-arguments`** (https://act101.ai/docs/languages/php#op-use-named-arguments) — Convert positional arguments to PHP 8.0 named arguments
- **`use-null-coalescing-operator`** (https://act101.ai/docs/languages/php#op-use-null-coalescing-operator) — Convert isset/ternary to null coalescing operator (??)
- **`use-null-safe-operator`** (https://act101.ai/docs/languages/php#op-use-null-safe-operator) — Convert null check chain to null-safe operator (?->)
- **`wrap-in-try-catch`** (https://act101.ai/docs/languages/php#op-wrap-in-try-catch) — Wrap statement in try-catch block
### PowerShell
Reference:
- **`add-cmdlet-binding`** (https://act101.ai/docs/languages/powershell#op-add-cmdlet-binding) — Add [CmdletBinding()] attribute to a function
- **`add-module-import`** (https://act101.ai/docs/languages/powershell#op-add-module-import) — Add an Import-Module statement for a given module
- **`add-null-guard`** (https://act101.ai/docs/languages/powershell#op-add-null-guard) — Add a null check guard before a variable usage
- **`add-output-type`** (https://act101.ai/docs/languages/powershell#op-add-output-type) — Add [OutputType()] attribute to a function
- **`add-parameter-type-constraint`** (https://act101.ai/docs/languages/powershell#op-add-parameter-type-constraint) — Add a [TypeName] type constraint to a function parameter
- **`add-requires-statement`** (https://act101.ai/docs/languages/powershell#op-add-requires-statement) — Add a #Requires statement at the top of the script
- **`add-using-module`** (https://act101.ai/docs/languages/powershell#op-add-using-module) — Add a using module statement for a given module
- **`change-signature`** (https://act101.ai/docs/languages/powershell#op-change-signature) — Modify a function's parameter list and update all call sites
- **`change-visibility`** (https://act101.ai/docs/languages/powershell#op-change-visibility) — Change the scope modifier of a variable or function
- **`comment-out-statement`** (https://act101.ai/docs/languages/powershell#op-comment-out-statement) — Comment out one or more lines by prefixing each with #
- **`convert-alias-to-full-cmdlet`** (https://act101.ai/docs/languages/powershell#op-convert-alias-to-full-cmdlet) — Replace a cmdlet alias with its full cmdlet name
- **`convert-for-to-foreach`** (https://act101.ai/docs/languages/powershell#op-convert-for-to-foreach) — Convert an index-based for loop to a foreach loop
- **`convert-foreach-to-for`** (https://act101.ai/docs/languages/powershell#op-convert-foreach-to-for) — Convert a foreach loop to an index-based for loop
- **`convert-function-form`** (https://act101.ai/docs/languages/powershell#op-convert-function-form) — Convert between function, filter, and workflow keyword forms
- **`convert-here-string-to-string-interpolation`** (https://act101.ai/docs/languages/powershell#op-convert-here-string-to-string-interpolation) — Convert a here-string to an inline string interpolation
- **`convert-if-to-switch`** (https://act101.ai/docs/languages/powershell#op-convert-if-to-switch) — Convert an if/elseif/else chain to a switch statement
- **`convert-member-access-to-property`** (https://act101.ai/docs/languages/powershell#op-convert-member-access-to-property) — Convert a .get_Name() getter call to direct .Name property access
- **`convert-string-format`** (https://act101.ai/docs/languages/powershell#op-convert-string-format) — Convert string formatting to PowerShell string interpolation
- **`convert-string-literal-to-here-string`** (https://act101.ai/docs/languages/powershell#op-convert-string-literal-to-here-string) — Convert a regular string literal to a PowerShell here-string
- **`convert-switch-to-if`** (https://act101.ai/docs/languages/powershell#op-convert-switch-to-if) — Convert a switch statement to an if/elseif/else chain
- **`convert-variable-mutability`** (https://act101.ai/docs/languages/powershell#op-convert-variable-mutability) — Convert a variable between mutable and read-only using Set-Variable
- **`convert-write-host-to-write-output`** (https://act101.ai/docs/languages/powershell#op-convert-write-host-to-write-output) — Replace Write-Host calls with Write-Output for pipeline compatibility
- **`expand-string-interpolation`** (https://act101.ai/docs/languages/powershell#op-expand-string-interpolation) — Expand a string interpolation expression into explicit concatenation
- **`extract-function`** (https://act101.ai/docs/languages/powershell#op-extract-function) — Extract a block of code into a new function
- **`extract-interface`** (https://act101.ai/docs/languages/powershell#op-extract-interface) — Extract a PowerShell class interface definition
- **`extract-variable`** (https://act101.ai/docs/languages/powershell#op-extract-variable) — Extract an expression into a named variable
- **`generate-constructor`** (https://act101.ai/docs/languages/powershell#op-generate-constructor) — Generate a constructor method for a PowerShell class
- **`generate-equality`** (https://act101.ai/docs/languages/powershell#op-generate-equality) — Generate Equals() and GetHashCode() for a PowerShell class
- **`generate-function`** (https://act101.ai/docs/languages/powershell#op-generate-function) — Generate a function stub at the cursor position
- **`generate-help-comment`** (https://act101.ai/docs/languages/powershell#op-generate-help-comment) — Generate a PowerShell comment-based help block before a function
- **`generate-impl-stubs`** (https://act101.ai/docs/languages/powershell#op-generate-impl-stubs) — Generate stub implementations for interface methods in a class
- **`generate-pester-test`** (https://act101.ai/docs/languages/powershell#op-generate-pester-test) — Generate a Pester test scaffold for a function
- **`generate-property-getter-setter`** (https://act101.ai/docs/languages/powershell#op-generate-property-getter-setter) — Generate getter and setter methods for a class property
- **`generate-tostring`** (https://act101.ai/docs/languages/powershell#op-generate-tostring) — Generate a ToString() override for a PowerShell class
- **`import-alias`** (https://act101.ai/docs/languages/powershell#op-import-alias) — Add or update a New-Alias or Set-Alias for a module import
- **`inline-function`** (https://act101.ai/docs/languages/powershell#op-inline-function) — Inline a function call by replacing it with the function body
- **`inline-variable`** (https://act101.ai/docs/languages/powershell#op-inline-variable) — Inline a variable by replacing it with its value at all usages
- **`invert-boolean-condition`** (https://act101.ai/docs/languages/powershell#op-invert-boolean-condition) — Invert a boolean condition in a conditional expression
- **`move-symbol`** (https://act101.ai/docs/languages/powershell#op-move-symbol) — Move a function or variable definition to another file
- **`organize-imports`** (https://act101.ai/docs/languages/powershell#op-organize-imports) — Sort and deduplicate Import-Module and using statements
- **`promote-variable-to-parameter`** (https://act101.ai/docs/languages/powershell#op-promote-variable-to-parameter) — Promote a local variable to a function parameter
- **`remove-unused-import`** (https://act101.ai/docs/languages/powershell#op-remove-unused-import) — Remove an unused Import-Module statement
- **`rename-identifier`** (https://act101.ai/docs/languages/powershell#op-rename-identifier) — Rename a variable, function, or cmdlet alias across all references
- **`set-strict-mode`** (https://act101.ai/docs/languages/powershell#op-set-strict-mode) — Add Set-StrictMode -Version Latest to enforce strict variable usage
- **`simplify-conditional`** (https://act101.ai/docs/languages/powershell#op-simplify-conditional) — Simplify a redundant or over-complex conditional expression
- **`uncomment-statement`** (https://act101.ai/docs/languages/powershell#op-uncomment-statement) — Remove the leading # comment marker from one or more lines
- **`wrap-try-catch`** (https://act101.ai/docs/languages/powershell#op-wrap-try-catch) — Wrap a block of code in a try/catch error handling block
### ProtoBuf
Reference:
- **`add-enum-value`** (https://act101.ai/docs/languages/protobuf#op-add-enum-value) — Add a new constant to an enum
- **`add-field`** (https://act101.ai/docs/languages/protobuf#op-add-field) — Add a new field to a message
- **`add-import`** (https://act101.ai/docs/languages/protobuf#op-add-import) — Add an import statement to a .proto file
- **`add-rpc-method`** (https://act101.ai/docs/languages/protobuf#op-add-rpc-method) — Add an RPC method to a service
- **`convert-oneof-to-fields`** (https://act101.ai/docs/languages/protobuf#op-convert-oneof-to-fields) — Flatten a oneof group into separate fields
- **`convert-to-oneof`** (https://act101.ai/docs/languages/protobuf#op-convert-to-oneof) — Convert selected fields into a oneof group
- **`extract-message`** (https://act101.ai/docs/languages/protobuf#op-extract-message) — Extract selected fields into a new message type
- **`inline-message`** (https://act101.ai/docs/languages/protobuf#op-inline-message) — Inline a message type into its single usage site
- **`organize-imports`** (https://act101.ai/docs/languages/protobuf#op-organize-imports) — Sort and deduplicate import statements
- **`remove-enum-value`** (https://act101.ai/docs/languages/protobuf#op-remove-enum-value) — Remove a constant from an enum
- **`remove-field`** (https://act101.ai/docs/languages/protobuf#op-remove-field) — Remove a field from a message
- **`remove-import`** (https://act101.ai/docs/languages/protobuf#op-remove-import) — Remove an import statement from a .proto file
- **`remove-rpc-method`** (https://act101.ai/docs/languages/protobuf#op-remove-rpc-method) — Remove an RPC method from a service
- **`rename-enum`** (https://act101.ai/docs/languages/protobuf#op-rename-enum) — Rename an enum type and update references
- **`rename-enum-value`** (https://act101.ai/docs/languages/protobuf#op-rename-enum-value) — Rename an enum constant
- **`rename-field`** (https://act101.ai/docs/languages/protobuf#op-rename-field) — Rename a message field
- **`rename-message`** (https://act101.ai/docs/languages/protobuf#op-rename-message) — Rename a message type and update all references
- **`rename-rpc-method`** (https://act101.ai/docs/languages/protobuf#op-rename-rpc-method) — Rename an RPC method within a service
- **`rename-service`** (https://act101.ai/docs/languages/protobuf#op-rename-service) — Rename a service definition
- **`reorder-fields`** (https://act101.ai/docs/languages/protobuf#op-reorder-fields) — Reorder message fields
### Python
Reference:
- **`add-decorator`** (https://act101.ai/docs/languages/python#op-add-decorator) — Add decorator to function/class
- **`add-type-annotation`** (https://act101.ai/docs/languages/python#op-add-type-annotation) — Add type annotation to parameter or return type
- **`add-type-hints`** (https://act101.ai/docs/languages/python#op-add-type-hints) — Add type hints to function parameters
- **`change-signature`** (https://act101.ai/docs/languages/python#op-change-signature) — Change function signature: parameters and return type
- **`change-visibility`** (https://act101.ai/docs/languages/python#op-change-visibility) — Change visibility/access modifier
- **`combine`** (https://act101.ai/docs/languages/python#op-combine) — Combine statements
- **`convert-comprehension`** (https://act101.ai/docs/languages/python#op-convert-comprehension) — Convert between loop and comprehension
- **`convert-for`** (https://act101.ai/docs/languages/python#op-convert-for) — Convert for loop patterns
- **`convert-fstring`** (https://act101.ai/docs/languages/python#op-convert-fstring) — Convert to f-string formatting
- **`convert-if-else`** (https://act101.ai/docs/languages/python#op-convert-if-else) — Convert between if-else patterns
- **`convert-if-to-ternary`** (https://act101.ai/docs/languages/python#op-convert-if-to-ternary) — Convert if-else statement to ternary expression
- **`convert-sync`** (https://act101.ai/docs/languages/python#op-convert-sync) — Convert async function to synchronous
- **`convert-ternary`** (https://act101.ai/docs/languages/python#op-convert-ternary) — Convert ternary expressions and conditionals
- **`convert-ternary-to-if-else`** (https://act101.ai/docs/languages/python#op-convert-ternary-to-if-else) — Convert ternary expression to if-else statement
- **`convert-to-async`** (https://act101.ai/docs/languages/python#op-convert-to-async) — Convert synchronous code to async
- **`convert-to-dataclass`** (https://act101.ai/docs/languages/python#op-convert-to-dataclass) — Convert class to dataclass
- **`convert-var-to-const`** (https://act101.ai/docs/languages/python#op-convert-var-to-const) — Convert variable to constant
- **`delete`** (https://act101.ai/docs/languages/python#op-delete) — Delete unused symbol
- **`encapsulate`** (https://act101.ai/docs/languages/python#op-encapsulate) — Encapsulate field with getter/setter
- **`extract-class`** (https://act101.ai/docs/languages/python#op-extract-class) — Extract methods/fields to new class
- **`extract-constant`** (https://act101.ai/docs/languages/python#op-extract-constant) — Extract value to named constant
- **`extract-function`** (https://act101.ai/docs/languages/python#op-extract-function) — Extract code into a new function
- **`extract-variable`** (https://act101.ai/docs/languages/python#op-extract-variable) — Extract expression to variable
- **`generate-accessors`** (https://act101.ai/docs/languages/python#op-generate-accessors) — Generate getters/setters for fields
- **`generate-builder`** (https://act101.ai/docs/languages/python#op-generate-builder) — Generate builder class for target class
- **`generate-constructor`** (https://act101.ai/docs/languages/python#op-generate-constructor) — Generate constructor from fields
- **`generate-docstring`** (https://act101.ai/docs/languages/python#op-generate-docstring) — Generate docstring for function/class
- **`generate-equals`** (https://act101.ai/docs/languages/python#op-generate-equals) — Generate __eq__ method
- **`generate-hash`** (https://act101.ai/docs/languages/python#op-generate-hash) — Generate __hash__ method
- **`generate-init`** (https://act101.ai/docs/languages/python#op-generate-init) — Generate __init__ method
- **`generate-repr`** (https://act101.ai/docs/languages/python#op-generate-repr) — Generate __repr__ method
- **`generate-tests`** (https://act101.ai/docs/languages/python#op-generate-tests) — Generate test function stubs
- **`generate-to-string`** (https://act101.ai/docs/languages/python#op-generate-to-string) — Generate __str__ method
- **`import-add`** (https://act101.ai/docs/languages/python#op-import-add) — Add import statement
- **`import-alias`** (https://act101.ai/docs/languages/python#op-import-alias) — Add or change import alias
- **`import-organize`** (https://act101.ai/docs/languages/python#op-import-organize) — Organize imports in PEP 8 style
- **`import-remove`** (https://act101.ai/docs/languages/python#op-import-remove) — Remove unused import statement
- **`inline`** (https://act101.ai/docs/languages/python#op-inline) — Inline variable or constant
- **`inline-function`** (https://act101.ai/docs/languages/python#op-inline-function) — Inline function call at call site
- **`introduce-field`** (https://act101.ai/docs/languages/python#op-introduce-field) — Extract value to class field
- **`introduce-parameter`** (https://act101.ai/docs/languages/python#op-introduce-parameter) — Convert local variable to parameter
- **`introduce-variable`** (https://act101.ai/docs/languages/python#op-introduce-variable) — Extract expression to local variable
- **`merge-if-statements`** (https://act101.ai/docs/languages/python#op-merge-if-statements) — Merge nested if statements into one
- **`move`** (https://act101.ai/docs/languages/python#op-move) — Move symbol to different location
- **`move-else-to-elif`** (https://act101.ai/docs/languages/python#op-move-else-to-elif) — Convert else-if nesting to elif
- **`organize-imports`** (https://act101.ai/docs/languages/python#op-organize-imports) — Organize and sort imports
- **`pull-up`** (https://act101.ai/docs/languages/python#op-pull-up) — Pull up member to parent class
- **`push-down`** (https://act101.ai/docs/languages/python#op-push-down) — Push down member to subclass
- **`remove-type-annotation`** (https://act101.ai/docs/languages/python#op-remove-type-annotation) — Remove type annotation from variable declaration
- **`remove-unnecessary-else`** (https://act101.ai/docs/languages/python#op-remove-unnecessary-else) — Remove unnecessary else after return/raise
- **`rename`** (https://act101.ai/docs/languages/python#op-rename) — Rename symbol and all references
- **`simplify-boolean-expression`** (https://act101.ai/docs/languages/python#op-simplify-boolean-expression) — Simplify boolean expression
- **`split`** (https://act101.ai/docs/languages/python#op-split) — Split statement or declaration
- **`wrap-if`** (https://act101.ai/docs/languages/python#op-wrap-if) — Wrap code in if statement
- **`wrap-null-check`** (https://act101.ai/docs/languages/python#op-wrap-null-check) — Wrap code in null/None check guard
- **`wrap-try-catch`** (https://act101.ai/docs/languages/python#op-wrap-try-catch) — Wrap code in try-except block
### QML
Reference:
- **`add-explicit-type-to-property`** (https://act101.ai/docs/languages/qml#op-add-explicit-type-to-property) — Add type annotation to property
- **`add-import-statement`** (https://act101.ai/docs/languages/qml#op-add-import-statement) — Add missing import statement
- **`add-null-check`** (https://act101.ai/docs/languages/qml#op-add-null-check) — Wrap property access in conditional guard against undefined
- **`add-parentheses-to-complex-expression`** (https://act101.ai/docs/languages/qml#op-add-parentheses-to-complex-expression) — Add parentheses to complex expression for clarity
- **`convert-arrow-to-block-body`** (https://act101.ai/docs/languages/qml#op-convert-arrow-to-block-body) — Convert arrow function to block body
- **`convert-binding-loop-breaker`** (https://act101.ai/docs/languages/qml#op-convert-binding-loop-breaker) — Add explicit state variable to break property binding loops
- **`convert-block-to-arrow-body`** (https://act101.ai/docs/languages/qml#op-convert-block-to-arrow-body) — Convert block function body to arrow expression
- **`convert-repeated-to-repeater`** (https://act101.ai/docs/languages/qml#op-convert-repeated-to-repeater) — Extract list binding into Repeater component
- **`convert-signal-parameters-to-object`** (https://act101.ai/docs/languages/qml#op-convert-signal-parameters-to-object) — Convert multiple signal parameters to single object parameter
- **`convert-string-concatenation-to-template`** (https://act101.ai/docs/languages/qml#op-convert-string-concatenation-to-template) — Convert string concatenation to template literal
- **`convert-var-to-property`** (https://act101.ai/docs/languages/qml#op-convert-var-to-property) — Convert var variable to typed property
- **`extract-component`** (https://act101.ai/docs/languages/qml#op-extract-component) — Move inline component to separate .qml file
- **`extract-lambda-to-named-function`** (https://act101.ai/docs/languages/qml#op-extract-lambda-to-named-function) — Extract lambda to named method
- **`extract-method`** (https://act101.ai/docs/languages/qml#op-extract-method) — Extract code block into new method within component
- **`extract-property`** (https://act101.ai/docs/languages/qml#op-extract-property) — Extract computed expression into new property with binding
- **`generate-compare-method`** (https://act101.ai/docs/languages/qml#op-generate-compare-method) — Generate comparison method
- **`generate-component-structure`** (https://act101.ai/docs/languages/qml#op-generate-component-structure) — Generate basic component skeleton
- **`generate-getter-setter-pair`** (https://act101.ai/docs/languages/qml#op-generate-getter-setter-pair) — Generate get/set functions for property
- **`generate-import-statement`** (https://act101.ai/docs/languages/qml#op-generate-import-statement) — Generate and add required import statement
- **`generate-method-signature`** (https://act101.ai/docs/languages/qml#op-generate-method-signature) — Generate method declaration
- **`generate-property`** (https://act101.ai/docs/languages/qml#op-generate-property) — Generate property declaration
- **`generate-signal`** (https://act101.ai/docs/languages/qml#op-generate-signal) — Generate signal with parameters
- **`generate-signal-handler`** (https://act101.ai/docs/languages/qml#op-generate-signal-handler) — Generate signal handler method
- **`generate-tostring-method`** (https://act101.ai/docs/languages/qml#op-generate-tostring-method) — Generate string representation method
- **`inline-component`** (https://act101.ai/docs/languages/qml#op-inline-component) — Inline component from separate file
- **`inline-lambda-expression`** (https://act101.ai/docs/languages/qml#op-inline-lambda-expression) — Replace named function reference with inline lambda
- **`inline-trivial-component`** (https://act101.ai/docs/languages/qml#op-inline-trivial-component) — Inline simple 1-2 property component
- **`invert-conditional`** (https://act101.ai/docs/languages/qml#op-invert-conditional) — Invert if-else blocks
- **`move-property-to-parent`** (https://act101.ai/docs/languages/qml#op-move-property-to-parent) — Move property from child to parent component
- **`remove-unnecessary-parentheses`** (https://act101.ai/docs/languages/qml#op-remove-unnecessary-parentheses) — Remove redundant parentheses from expressions
- **`remove-unused-import`** (https://act101.ai/docs/languages/qml#op-remove-unused-import) — Remove unused import statement
- **`remove-unused-property`** (https://act101.ai/docs/languages/qml#op-remove-unused-property) — Remove unused property declaration
- **`remove-unused-signal`** (https://act101.ai/docs/languages/qml#op-remove-unused-signal) — Remove unused signal declaration
- **`rename-identifier`** (https://act101.ai/docs/languages/qml#op-rename-identifier) — Rename a property, signal, method, or component across all references
- **`simplify-conditional-expression`** (https://act101.ai/docs/languages/qml#op-simplify-conditional-expression) — Simplify if-else to ternary expression
### R
Reference:
- **`add-ellipsis-parameter`** (https://act101.ai/docs/languages/r#op-add-ellipsis-parameter) — Add ellipsis (...) parameter to a function for variable arguments
- **`add-function-documentation`** (https://act101.ai/docs/languages/r#op-add-function-documentation) — Add roxygen2 documentation block above a function
- **`add-namespace-prefix`** (https://act101.ai/docs/languages/r#op-add-namespace-prefix) — Add namespace prefix (pkg::) to a function call
- **`convert-aggregate-to-dplyr-group-by`** (https://act101.ai/docs/languages/r#op-convert-aggregate-to-dplyr-group-by) — Convert aggregate() to group_by() %>% summarize()
- **`convert-baser-select-to-dplyr-select`** (https://act101.ai/docs/languages/r#op-convert-baser-select-to-dplyr-select) — Convert df[, c('a', 'b')] to df %>% select(a, b)
- **`convert-baser-subset-to-dplyr-filter`** (https://act101.ai/docs/languages/r#op-convert-baser-subset-to-dplyr-filter) — Convert df[df$col == x, ] to df %>% filter(col == x)
- **`convert-baser-transform-to-dplyr-mutate`** (https://act101.ai/docs/languages/r#op-convert-baser-transform-to-dplyr-mutate) — Convert df$new <- expr to df %>% mutate(new = expr)
- **`convert-double-negation`** (https://act101.ai/docs/languages/r#op-convert-double-negation) — Simplify !!x to x
- **`convert-for-to-vectorized`** (https://act101.ai/docs/languages/r#op-convert-for-to-vectorized) — Convert for loops to vectorized operations (sapply/lapply/Map)
- **`convert-function-to-pipe`** (https://act101.ai/docs/languages/r#op-convert-function-to-pipe) — Convert sequential function calls to pipe chain
- **`convert-glue-to-sprintf`** (https://act101.ai/docs/languages/r#op-convert-glue-to-sprintf) — Convert glue::glue() to sprintf() format strings
- **`convert-if-to-ifelse`** (https://act101.ai/docs/languages/r#op-convert-if-to-ifelse) — Convert scalar if-else to vectorized ifelse()
- **`convert-ifelse-chain-to-switch`** (https://act101.ai/docs/languages/r#op-convert-ifelse-chain-to-switch) — Convert if-else chains to switch() statements
- **`convert-ifelse-to-if`** (https://act101.ai/docs/languages/r#op-convert-ifelse-to-if) — Convert vectorized ifelse() to explicit if-else block
- **`convert-logical-operators`** (https://act101.ai/docs/languages/r#op-convert-logical-operators) — Flatten &/| chains, apply De Morgan's laws
- **`convert-loop-to-apply`** (https://act101.ai/docs/languages/r#op-convert-loop-to-apply) — Convert for loop to lapply/sapply pattern
- **`convert-loop-to-purrr`** (https://act101.ai/docs/languages/r#op-convert-loop-to-purrr) — Convert for loop to purrr::map_*() functional style
- **`convert-merge-to-dplyr-join`** (https://act101.ai/docs/languages/r#op-convert-merge-to-dplyr-join) — Convert merge() to dplyr join functions
- **`convert-nested-to-pipe`** (https://act101.ai/docs/languages/r#op-convert-nested-to-pipe) — Convert nested function calls to magrittr pipe chains (%>%)
- **`convert-paste-to-glue`** (https://act101.ai/docs/languages/r#op-convert-paste-to-glue) — Convert paste()/paste0() calls to glue::glue() string interpolation
- **`convert-pipe-to-nested`** (https://act101.ai/docs/languages/r#op-convert-pipe-to-nested) — Convert magrittr pipe chains (%>%) to nested function calls
- **`convert-reshape-to-pivot`** (https://act101.ai/docs/languages/r#op-convert-reshape-to-pivot) — Convert reshape()/melt()/dcast() to tidyr pivot functions
- **`convert-sprintf-to-paste`** (https://act101.ai/docs/languages/r#op-convert-sprintf-to-paste) — Convert sprintf() to paste() concatenation
- **`convert-switch-to-ifelse`** (https://act101.ai/docs/languages/r#op-convert-switch-to-ifelse) — Convert switch() statement to if-else chain
- **`delete-function`** (https://act101.ai/docs/languages/r#op-delete-function) — Delete a function definition
- **`delete-variable`** (https://act101.ai/docs/languages/r#op-delete-variable) — Delete a variable assignment
- **`extract-condition`** (https://act101.ai/docs/languages/r#op-extract-condition) — Extract complex condition to a named variable
- **`generate-accessor-methods`** (https://act101.ai/docs/languages/r#op-generate-accessor-methods) — Generate get_/set_ accessor methods for R6 class fields
- **`generate-dataframe-constructor`** (https://act101.ai/docs/languages/r#op-generate-dataframe-constructor) — Generate data.frame() or tibble::tibble() constructor
- **`generate-function-skeleton`** (https://act101.ai/docs/languages/r#op-generate-function-skeleton) — Generate function skeleton with roxygen2 documentation
- **`generate-print-method`** (https://act101.ai/docs/languages/r#op-generate-print-method) — Generate print.classname() method for S3 class
- **`generate-r-to-string-method`** (https://act101.ai/docs/languages/r#op-generate-r-to-string-method) — Generate toString/as.character method for custom S3 class
- **`generate-roxygen-block`** (https://act101.ai/docs/languages/r#op-generate-roxygen-block) — Generate roxygen2 documentation block from function signature
- **`generate-test-function`** (https://act101.ai/docs/languages/r#op-generate-test-function) — Generate testthat::test_that() skeleton
- **`inline-variable`** (https://act101.ai/docs/languages/r#op-inline-variable) — Inline a variable by replacing references with its value
- **`introduce-local-variable`** (https://act101.ai/docs/languages/r#op-introduce-local-variable) — Create local variable for repeated sub-expression
- **`invert-if-condition`** (https://act101.ai/docs/languages/r#op-invert-if-condition) — Invert if condition and swap branches
- **`organize-library-calls`** (https://act101.ai/docs/languages/r#op-organize-library-calls) — Sort and deduplicate library() calls at the top of an R file
- **`remove-namespace-prefix`** (https://act101.ai/docs/languages/r#op-remove-namespace-prefix) — Remove redundant namespace prefix from function calls
- **`rename-dataframe-columns`** (https://act101.ai/docs/languages/r#op-rename-dataframe-columns) — Rename data frame columns across all references
- **`rename-parameter`** (https://act101.ai/docs/languages/r#op-rename-parameter) — Rename a function parameter and update all references
- **`replace-global-assignment`** (https://act101.ai/docs/languages/r#op-replace-global-assignment) — Replace global assignment operator <<- with local <-
- **`simplify-function-signature`** (https://act101.ai/docs/languages/r#op-simplify-function-signature) — Remove unused parameters from function signature
- **`wrap-in-trycatch`** (https://act101.ai/docs/languages/r#op-wrap-in-trycatch) — Wrap code in tryCatch() with error handler
### Racket
Reference:
- **`add-require`** (https://act101.ai/docs/languages/racket#op-add-require) — Add missing module import
- **`consolidate-requires`** (https://act101.ai/docs/languages/racket#op-consolidate-requires) — Merge compatible requires
- **`convert-cond-to-if`** (https://act101.ai/docs/languages/racket#op-convert-cond-to-if) — Convert simple cond to if
- **`convert-cond-to-match`** (https://act101.ai/docs/languages/racket#op-convert-cond-to-match) — Convert cond to match pattern
- **`convert-cons-to-list-syntax`** (https://act101.ai/docs/languages/racket#op-convert-cons-to-list-syntax) — Convert nested cons chain to (list ...) syntax
- **`convert-do-to-for`** (https://act101.ai/docs/languages/racket#op-convert-do-to-for) — Convert do loop to for iteration
- **`convert-do-to-map`** (https://act101.ai/docs/languages/racket#op-convert-do-to-map) — Convert do loop to map/filter/reduce
- **`convert-if-to-cond`** (https://act101.ai/docs/languages/racket#op-convert-if-to-cond) — Convert nested if to cond expression
- **`convert-if-to-match`** (https://act101.ai/docs/languages/racket#op-convert-if-to-match) — Convert if to match with pattern
- **`convert-lambda-to-named-function`** (https://act101.ai/docs/languages/racket#op-convert-lambda-to-named-function) — Convert lambda to define with same behavior
- **`convert-let-star-to-let`** (https://act101.ai/docs/languages/racket#op-convert-let-star-to-let) — Convert let* to let where independent
- **`convert-let-to-let-star`** (https://act101.ai/docs/languages/racket#op-convert-let-to-let-star) — Convert let to let* for sequential bindings
- **`convert-let-to-letrec`** (https://act101.ai/docs/languages/racket#op-convert-let-to-letrec) — Convert let to letrec for mutual recursion
- **`convert-letrec-to-let`** (https://act101.ai/docs/languages/racket#op-convert-letrec-to-let) — Simplify letrec to let where not recursive
- **`convert-named-function-to-lambda`** (https://act101.ai/docs/languages/racket#op-convert-named-function-to-lambda) — Convert simple function to lambda
- **`convert-string-concatenation`** (https://act101.ai/docs/languages/racket#op-convert-string-concatenation) — Convert string-append to string interpolation
- **`expose-public-api`** (https://act101.ai/docs/languages/racket#op-expose-public-api) — Add binding to provide
- **`extract-function`** (https://act101.ai/docs/languages/racket#op-extract-function) — Extract code into named function with parameter inference
- **`extract-local-binding`** (https://act101.ai/docs/languages/racket#op-extract-local-binding) — Extract subexpression into a let binding
- **`extract-variable`** (https://act101.ai/docs/languages/racket#op-extract-variable) — Extract expression into named local binding
- **`generate-default-implementation`** (https://act101.ai/docs/languages/racket#op-generate-default-implementation) — Generate default function implementation
- **`generate-equality-predicate`** (https://act101.ai/docs/languages/racket#op-generate-equality-predicate) — Generate equality predicate for struct
- **`generate-function-stub`** (https://act101.ai/docs/languages/racket#op-generate-function-stub) — Generate function definition with parameters and placeholder
- **`generate-interface-stub`** (https://act101.ai/docs/languages/racket#op-generate-interface-stub) — Generate protocol/interface definition
- **`generate-match-expression`** (https://act101.ai/docs/languages/racket#op-generate-match-expression) — Generate a match expression skeleton
- **`generate-module-header`** (https://act101.ai/docs/languages/racket#op-generate-module-header) — Generate #lang racket and module wrapper
- **`generate-require-statement`** (https://act101.ai/docs/languages/racket#op-generate-require-statement) — Generate a require statement
- **`generate-string-representation`** (https://act101.ai/docs/languages/racket#op-generate-string-representation) — Generate string representation function for struct
- **`generate-struct-accessors`** (https://act101.ai/docs/languages/racket#op-generate-struct-accessors) — Generate getter functions for struct fields
- **`generate-struct-definition`** (https://act101.ai/docs/languages/racket#op-generate-struct-definition) — Generate a struct definition
- **`generate-stub-with-types`** (https://act101.ai/docs/languages/racket#op-generate-stub-with-types) — Generate function with Typed Racket type annotations
- **`generate-test-scaffold`** (https://act101.ai/docs/languages/racket#op-generate-test-scaffold) — Generate test scaffold with rackunit
- **`hide-implementation-detail`** (https://act101.ai/docs/languages/racket#op-hide-implementation-detail) — Move binding from provide
- **`inline-function`** (https://act101.ai/docs/languages/racket#op-inline-function) — Replace function call with inlined body
- **`inline-variable`** (https://act101.ai/docs/languages/racket#op-inline-variable) — Replace variable with its value at all use sites
- **`introduce-contract`** (https://act101.ai/docs/languages/racket#op-introduce-contract) — Add contract annotation to function
- **`introduce-parameter`** (https://act101.ai/docs/languages/racket#op-introduce-parameter) — Add new parameter to function with default handling
- **`invert-if`** (https://act101.ai/docs/languages/racket#op-invert-if) — Swap if/else branches and negate condition
- **`move-definition`** (https://act101.ai/docs/languages/racket#op-move-definition) — Move function/variable definition to another module
- **`organize-requires`** (https://act101.ai/docs/languages/racket#op-organize-requires) — Sort and group require directives
- **`remove-parameter`** (https://act101.ai/docs/languages/racket#op-remove-parameter) — Remove unused parameter from function definition
- **`remove-unused-require`** (https://act101.ai/docs/languages/racket#op-remove-unused-require) — Remove unused module import
- **`rename-identifier`** (https://act101.ai/docs/languages/racket#op-rename-identifier) — Rename variable, function, or parameter across all references
- **`rename-module-binding`** (https://act101.ai/docs/languages/racket#op-rename-module-binding) — Rename binding in module and update imports
- **`rename-parameter`** (https://act101.ai/docs/languages/racket#op-rename-parameter) — Rename function parameter and update references
- **`reorder-parameters`** (https://act101.ai/docs/languages/racket#op-reorder-parameters) — Reorder function parameters
- **`simplify-if`** (https://act101.ai/docs/languages/racket#op-simplify-if) — Simplify redundant if expression
- **`simplify-lambda`** (https://act101.ai/docs/languages/racket#op-simplify-lambda) — Simplify lambda via eta reduction
### ReScript
Reference:
- **`add-error-handling-to-promise`** (https://act101.ai/docs/languages/rescript#op-add-error-handling-to-promise) — Add .catch() to a promise chain
- **`add-export-declaration`** (https://act101.ai/docs/languages/rescript#op-add-export-declaration) — Mark a symbol as exported (adds interface annotation comment)
- **`add-import`** (https://act101.ai/docs/languages/rescript#op-add-import) — Add an open statement for a module
- **`add-import-alias`** (https://act101.ai/docs/languages/rescript#op-add-import-alias) — Add a module alias declaration: module Alias = ModulePath
- **`add-missing-cases`** (https://act101.ai/docs/languages/rescript#op-add-missing-cases) — Add missing switch cases
- **`add-missing-record-fields`** (https://act101.ai/docs/languages/rescript#op-add-missing-record-fields) — Add missing required fields to a record literal
- **`add-module-open`** (https://act101.ai/docs/languages/rescript#op-add-module-open) — Prepend an open statement at the top of the file
- **`add-option-annotation`** (https://act101.ai/docs/languages/rescript#op-add-option-annotation) — Add option annotation to a binding
- **`add-result-annotation`** (https://act101.ai/docs/languages/rescript#op-add-result-annotation) — Add result annotation
- **`add-return-type-annotation`** (https://act101.ai/docs/languages/rescript#op-add-return-type-annotation) — Add return type annotation to a function
- **`add-try-catch-around-await`** (https://act101.ai/docs/languages/rescript#op-add-try-catch-around-await) — Wrap async operation in try-catch
- **`add-type-annotation`** (https://act101.ai/docs/languages/rescript#op-add-type-annotation) — Add a type annotation to a let binding
- **`add-type-annotation-to-param`** (https://act101.ai/docs/languages/rescript#op-add-type-annotation-to-param) — Add type annotation to a function parameter
- **`convert-callback-to-promise`** (https://act101.ai/docs/languages/rescript#op-convert-callback-to-promise) — Wrap callback-based function in a Promise
- **`convert-concat-to-template-literal`** (https://act101.ai/docs/languages/rescript#op-convert-concat-to-template-literal) — Convert ++ string concatenation to a template literal
- **`convert-curried-to-uncurried`** (https://act101.ai/docs/languages/rescript#op-convert-curried-to-uncurried) — Convert a curried function (a => b => body) to uncurried form (. a, b) => body
- **`convert-exception-to-result`** (https://act101.ai/docs/languages/rescript#op-convert-exception-to-result) — Wrap an exception-raising expression in a result type
- **`convert-for-loop-to-array-filter`** (https://act101.ai/docs/languages/rescript#op-convert-for-loop-to-array-filter) — Convert a for-in loop to an Array.filter call
- **`convert-for-loop-to-array-map`** (https://act101.ai/docs/languages/rescript#op-convert-for-loop-to-array-map) — Convert a for-in loop to an Array.map call
- **`convert-for-loop-to-array-reduce`** (https://act101.ai/docs/languages/rescript#op-convert-for-loop-to-array-reduce) — Convert a for-in loop to an Array.reduce call
- **`convert-for-loop-to-list-map`** (https://act101.ai/docs/languages/rescript#op-convert-for-loop-to-list-map) — Convert for loop to List.map
- **`convert-if-else-to-switch`** (https://act101.ai/docs/languages/rescript#op-convert-if-else-to-switch) — Convert an if-else chain to a switch expression
- **`convert-if-to-ternary`** (https://act101.ai/docs/languages/rescript#op-convert-if-to-ternary) — Convert an if-else expression to a ternary (cond ? a : b)
- **`convert-imperative-to-functional`** (https://act101.ai/docs/languages/rescript#op-convert-imperative-to-functional) — Convert imperative mutation to functional pipeline
- **`convert-let-to-ref`** (https://act101.ai/docs/languages/rescript#op-convert-let-to-ref) — Convert a let binding to a mutable ref cell
- **`convert-null-to-none`** (https://act101.ai/docs/languages/rescript#op-convert-null-to-none) — Replace Js.null / null with None
- **`convert-nullable-to-option`** (https://act101.ai/docs/languages/rescript#op-convert-nullable-to-option) — Wrap a nullable JS value in option
- **`convert-positional-to-labeled-args`** (https://act101.ai/docs/languages/rescript#op-convert-positional-to-labeled-args) — Convert positional function parameters to labeled (~param) form
- **`convert-promise-chain-to-async`** (https://act101.ai/docs/languages/rescript#op-convert-promise-chain-to-async) — Convert .then() chain to async/await
- **`convert-record-to-variant`** (https://act101.ai/docs/languages/rescript#op-convert-record-to-variant) — Convert a record type definition to a variant
- **`convert-ref-to-let`** (https://act101.ai/docs/languages/rescript#op-convert-ref-to-let) — Convert a ref cell back to an immutable let binding
- **`convert-switch-to-if-else`** (https://act101.ai/docs/languages/rescript#op-convert-switch-to-if-else) — Convert a switch expression to an if-else chain
- **`convert-ternary-to-if`** (https://act101.ai/docs/languages/rescript#op-convert-ternary-to-if) — Convert a ternary expression to an if-else block
- **`convert-to-option-pattern-match`** (https://act101.ai/docs/languages/rescript#op-convert-to-option-pattern-match) — Generate a switch pattern match for an Option variable
- **`convert-to-result-for-safety`** (https://act101.ai/docs/languages/rescript#op-convert-to-result-for-safety) — Wrap a fallible expression in a result type
- **`convert-to-result-pattern-match`** (https://act101.ai/docs/languages/rescript#op-convert-to-result-pattern-match) — Convert try-catch to pattern match on result
- **`convert-uncurried-to-curried`** (https://act101.ai/docs/languages/rescript#op-convert-uncurried-to-curried) — Convert an uncurried function (. a, b) => body to curried form a => b => body
- **`convert-while-to-recursion`** (https://act101.ai/docs/languages/rescript#op-convert-while-to-recursion) — Convert while loop to tail-recursive function
- **`extract-condition-to-variable`** (https://act101.ai/docs/languages/rescript#op-extract-condition-to-variable) — Extract complex condition to named binding
- **`extract-constant`** (https://act101.ai/docs/languages/rescript#op-extract-constant) — Extract a literal or expression into a top-level constant binding
- **`extract-function`** (https://act101.ai/docs/languages/rescript#op-extract-function) — Extract selected lines into a new named function
- **`extract-record-type`** (https://act101.ai/docs/languages/rescript#op-extract-record-type) — Extract an inline record literal to a named type
- **`extract-variable`** (https://act101.ai/docs/languages/rescript#op-extract-variable) — Extract an expression into a new local let binding
- **`extract-variant-type`** (https://act101.ai/docs/languages/rescript#op-extract-variant-type) — Extract an inline variant to a named type
- **`generate-accessor-functions`** (https://act101.ai/docs/languages/rescript#op-generate-accessor-functions) — Generate getter accessor functions for each record field
- **`generate-documentation-comment`** (https://act101.ai/docs/languages/rescript#op-generate-documentation-comment) — Generate a doc comment block above a binding
- **`generate-equality-function`** (https://act101.ai/docs/languages/rescript#op-generate-equality-function) — Generate a structural equality function for a type
- **`generate-external-binding`** (https://act101.ai/docs/languages/rescript#op-generate-external-binding) — Generate a @external binding
- **`generate-function-stub`** (https://act101.ai/docs/languages/rescript#op-generate-function-stub) — Generate a function stub with Js.log("TODO") body
- **`generate-impl-stubs`** (https://act101.ai/docs/languages/rescript#op-generate-impl-stubs) — Generate implementation stubs inside a module block
- **`generate-module-type`** (https://act101.ai/docs/languages/rescript#op-generate-module-type) — Generate a module type signature block
- **`generate-option-wrapper`** (https://act101.ai/docs/languages/rescript#op-generate-option-wrapper) — Generate an option<'a> wrapper
- **`generate-record-constructor`** (https://act101.ai/docs/languages/rescript#op-generate-record-constructor) — Generate a type declaration for a record type
- **`generate-record-creator`** (https://act101.ai/docs/languages/rescript#op-generate-record-creator) — Generate a maker function (makeRecord) for a record type
- **`generate-record-type`** (https://act101.ai/docs/languages/rescript#op-generate-record-type) — Generate a record type definition from field descriptions
- **`generate-record-updater`** (https://act101.ai/docs/languages/rescript#op-generate-record-updater) — Generate an updater function for a record
- **`generate-result-wrapper`** (https://act101.ai/docs/languages/rescript#op-generate-result-wrapper) — Generate a result<'a, string> error wrapper function
- **`generate-send-binding`** (https://act101.ai/docs/languages/rescript#op-generate-send-binding) — Generate a @send method binding
- **`generate-string-representation`** (https://act101.ai/docs/languages/rescript#op-generate-string-representation) — Generate a typeToString conversion function
- **`generate-test-case`** (https://act101.ai/docs/languages/rescript#op-generate-test-case) — Generate a single test(...) case with Arrange/Act/Assert comments
- **`generate-type-definition-docs`** (https://act101.ai/docs/languages/rescript#op-generate-type-definition-docs) — Generate a doc comment for a type
- **`generate-unit-test-scaffold`** (https://act101.ai/docs/languages/rescript#op-generate-unit-test-scaffold) — Generate a describe/test scaffold for a module
- **`generate-variant-matcher`** (https://act101.ai/docs/languages/rescript#op-generate-variant-matcher) — Generate a pattern match function for a variant
- **`generate-variant-type`** (https://act101.ai/docs/languages/rescript#op-generate-variant-type) — Generate a variant type definition
- **`inline-constant`** (https://act101.ai/docs/languages/rescript#op-inline-constant) — Inline a named constant by replacing all references with its value
- **`inline-variable`** (https://act101.ai/docs/languages/rescript#op-inline-variable) — Inline a let-bound variable by replacing uses with its value
- **`introduce-local-binding`** (https://act101.ai/docs/languages/rescript#op-introduce-local-binding) — Insert a new let binding at the specified line
- **`introduce-named-constant`** (https://act101.ai/docs/languages/rescript#op-introduce-named-constant) — Extract a literal expression into a named top-level constant
- **`introduce-parameter-from-local`** (https://act101.ai/docs/languages/rescript#op-introduce-parameter-from-local) — Promote a local binding to a function parameter
- **`invert-if-condition`** (https://act101.ai/docs/languages/rescript#op-invert-if-condition) — Invert the condition of an if-else
- **`join-adjacent-strings`** (https://act101.ai/docs/languages/rescript#op-join-adjacent-strings) — Merge adjacent string literals joined with ++
- **`make-field-optional`** (https://act101.ai/docs/languages/rescript#op-make-field-optional) — Make a record field optional (option<'a>)
- **`move-to-module`** (https://act101.ai/docs/languages/rescript#op-move-to-module) — Move a symbol into a qualified module path
- **`organize-imports`** (https://act101.ai/docs/languages/rescript#op-organize-imports) — Sort and deduplicate open statements alphabetically
- **`remove-dead-code`** (https://act101.ai/docs/languages/rescript#op-remove-dead-code) — Remove unused declarations
- **`remove-import`** (https://act101.ai/docs/languages/rescript#op-remove-import) — Remove an open statement for a module
- **`remove-module-open`** (https://act101.ai/docs/languages/rescript#op-remove-module-open) — Remove a specific open statement from the file
- **`remove-unnecessary-else`** (https://act101.ai/docs/languages/rescript#op-remove-unnecessary-else) — Remove else branch after early return
- **`remove-unused-parameter`** (https://act101.ai/docs/languages/rescript#op-remove-unused-parameter) — Remove a parameter that is never used in the function body
- **`rename-identifier`** (https://act101.ai/docs/languages/rescript#op-rename-identifier) — Rename a variable, function, or binding across its scope
- **`rename-record-field`** (https://act101.ai/docs/languages/rescript#op-rename-record-field) — Rename a field in a record type definition
- **`reorder-parameters`** (https://act101.ai/docs/languages/rescript#op-reorder-parameters) — Reorder the parameters of a function definition
- **`use-option-flat-map`** (https://act101.ai/docs/languages/rescript#op-use-option-flat-map) — Convert nested option map to flatMap
- **`use-option-get-or`** (https://act101.ai/docs/languages/rescript#op-use-option-get-or) — Convert switch on option to Option.getOr
- **`use-option-instead-of-if`** (https://act101.ai/docs/languages/rescript#op-use-option-instead-of-if) — Replace an Option null-check if-statement with Option.isSome / Option.isNone
- **`use-option-map`** (https://act101.ai/docs/languages/rescript#op-use-option-map) — Convert switch on option to Option.map
- **`use-record-shorthand`** (https://act101.ai/docs/languages/rescript#op-use-record-shorthand) — Convert {x: x} to {x} shorthand
- **`use-result-flat-map`** (https://act101.ai/docs/languages/rescript#op-use-result-flat-map) — Convert nested result map to flatMap
- **`use-result-map`** (https://act101.ai/docs/languages/rescript#op-use-result-map) — Convert switch on result to Result.map
- **`use-spread-operator`** (https://act101.ai/docs/languages/rescript#op-use-spread-operator) — Convert manual field copies to record spread
- **`wrap-in-option-for-safety`** (https://act101.ai/docs/languages/rescript#op-wrap-in-option-for-safety) — Wrap a potentially-missing value binding in Option
- **`wrap-value-in-option`** (https://act101.ai/docs/languages/rescript#op-wrap-value-in-option) — Wrap an expression in Some(...)
### Ruby
Reference:
- **`add-attr-accessor`** (https://act101.ai/docs/languages/ruby#op-add-attr-accessor) — Create explicit attr_accessor from getter+setter
- **`add-attr-class-variable`** (https://act101.ai/docs/languages/ruby#op-add-attr-class-variable) — Add @@var class variable
- **`add-attr-reader`** (https://act101.ai/docs/languages/ruby#op-add-attr-reader) — Create explicit attr_reader from getter method
- **`add-attr-writer`** (https://act101.ai/docs/languages/ruby#op-add-attr-writer) — Create explicit attr_writer from setter method
- **`add-ensure-clause`** (https://act101.ai/docs/languages/ruby#op-add-ensure-clause) — Add ensure block for cleanup
- **`add-namespace`** (https://act101.ai/docs/languages/ruby#op-add-namespace) — Wrap code in module Namespace; end
- **`add-raise-statement`** (https://act101.ai/docs/languages/ruby#op-add-raise-statement) — Add explicit raise for error condition
- **`add-self-parameter`** (https://act101.ai/docs/languages/ruby#op-add-self-parameter) — Explicit self in class method definition
- **`add-type-comment`** (https://act101.ai/docs/languages/ruby#op-add-type-comment) — Add @type [Type] comment for static analysis
- **`change-visibility`** (https://act101.ai/docs/languages/ruby#op-change-visibility) — Change method access level (private/protected/public)
- **`convert-block-to-lambda`** (https://act101.ai/docs/languages/ruby#op-convert-block-to-lambda) — Convert block to lambda declaration
- **`convert-block-to-proc`** (https://act101.ai/docs/languages/ruby#op-convert-block-to-proc) — Convert block to &:method_name syntax
- **`convert-braces-to-do-end`** (https://act101.ai/docs/languages/ruby#op-convert-braces-to-do-end) — Convert { } block to do...end
- **`convert-case-to-if`** (https://act101.ai/docs/languages/ruby#op-convert-case-to-if) — Convert case statement to if/elsif
- **`convert-class-to-module`** (https://act101.ai/docs/languages/ruby#op-convert-class-to-module) — Convert class to module (if no constructor)
- **`convert-do-end-to-braces`** (https://act101.ai/docs/languages/ruby#op-convert-do-end-to-braces) — Convert do...end block to { }
- **`convert-double-to-single-quotes`** (https://act101.ai/docs/languages/ruby#op-convert-double-to-single-quotes) — Double quote to single quote literals
- **`convert-each-to-for`** (https://act101.ai/docs/languages/ruby#op-convert-each-to-for) — Convert .each to for loop
- **`convert-exception-to-specific-type`** (https://act101.ai/docs/languages/ruby#op-convert-exception-to-specific-type) — Make rescue catch specific exception type
- **`convert-for-to-each`** (https://act101.ai/docs/languages/ruby#op-convert-for-to-each) — Convert for loop to .each iteration
- **`convert-for-to-while`** (https://act101.ai/docs/languages/ruby#op-convert-for-to-while) — Convert for loop to while
- **`convert-heredoc-to-string`** (https://act101.ai/docs/languages/ruby#op-convert-heredoc-to-string) — Convert heredoc back to string literal
- **`convert-if-else`** (https://act101.ai/docs/languages/ruby#op-convert-if-else) — Convert between if-else patterns
- **`convert-if-to-case`** (https://act101.ai/docs/languages/ruby#op-convert-if-to-case) — Convert multiple elsif to case
- **`convert-if-to-unless`** (https://act101.ai/docs/languages/ruby#op-convert-if-to-unless) — Convert if !x to unless x
- **`convert-lambda-to-block`** (https://act101.ai/docs/languages/ruby#op-convert-lambda-to-block) — Convert lambda to block when passed to method
- **`convert-loop-to-break`** (https://act101.ai/docs/languages/ruby#op-convert-loop-to-break) — Convert loop to conditional iteration
- **`convert-method-body-to-one-liner`** (https://act101.ai/docs/languages/ruby#op-convert-method-body-to-one-liner) — Collapse multi-line method to single line
- **`convert-method-to-property`** (https://act101.ai/docs/languages/ruby#op-convert-method-to-property) — Convert accessor method to attr_accessor
- **`convert-modifier-if`** (https://act101.ai/docs/languages/ruby#op-convert-modifier-if) — Convert if modifier to block form
- **`convert-module-to-class`** (https://act101.ai/docs/languages/ruby#op-convert-module-to-class) — Convert module to class
- **`convert-one-liner-to-method-body`** (https://act101.ai/docs/languages/ruby#op-convert-one-liner-to-method-body) — Expand one-liner to multi-line
- **`convert-percent-literal-to-string`** (https://act101.ai/docs/languages/ruby#op-convert-percent-literal-to-string) — Convert %w() word array to string literal
- **`convert-proc-to-block`** (https://act101.ai/docs/languages/ruby#op-convert-proc-to-block) — Convert proc parameter to explicit block
- **`convert-property-to-method`** (https://act101.ai/docs/languages/ruby#op-convert-property-to-method) — Convert attr_accessor to explicit getter/setter
- **`convert-require-relative-to-require`** (https://act101.ai/docs/languages/ruby#op-convert-require-relative-to-require) — Convert require_relative to require
- **`convert-require-to-require-relative`** (https://act101.ai/docs/languages/ruby#op-convert-require-to-require-relative) — Convert require to require_relative
- **`convert-rescue-to-rescue-in-method`** (https://act101.ai/docs/languages/ruby#op-convert-rescue-to-rescue-in-method) — Extract rescue to method-level
- **`convert-single-to-double-quotes`** (https://act101.ai/docs/languages/ruby#op-convert-single-to-double-quotes) — Single quote to double quote literals
- **`convert-singleton-to-class-method`** (https://act101.ai/docs/languages/ruby#op-convert-singleton-to-class-method) — Convert singleton method to class method definition
- **`convert-string-to-symbol`** (https://act101.ai/docs/languages/ruby#op-convert-string-to-symbol) — Convert string to symbol for hash keys
- **`convert-symbol-to-string`** (https://act101.ai/docs/languages/ruby#op-convert-symbol-to-string) — Convert symbol to string literal
- **`convert-ternary`** (https://act101.ai/docs/languages/ruby#op-convert-ternary) — Convert ternary expressions and conditionals
- **`convert-to-guard-clause`** (https://act101.ai/docs/languages/ruby#op-convert-to-guard-clause) — Extract common condition to guard at method start
- **`convert-to-heredoc`** (https://act101.ai/docs/languages/ruby#op-convert-to-heredoc) — Convert string to heredoc for multiline
- **`convert-to-rbs-signature`** (https://act101.ai/docs/languages/ruby#op-convert-to-rbs-signature) — Convert method to RBS type signature format
- **`convert-to-safe-navigation`** (https://act101.ai/docs/languages/ruby#op-convert-to-safe-navigation) — Convert if check to safe navigation operator (&.)
- **`convert-to-string-interpolation`** (https://act101.ai/docs/languages/ruby#op-convert-to-string-interpolation) — Convert string concatenation to interpolation
- **`convert-unless-to-if`** (https://act101.ai/docs/languages/ruby#op-convert-unless-to-if) — Convert unless x to if !x
- **`convert-while-to-for`** (https://act101.ai/docs/languages/ruby#op-convert-while-to-for) — Convert while loop to for
- **`copy-method`** (https://act101.ai/docs/languages/ruby#op-copy-method) — Duplicate method declaration
- **`delete`** (https://act101.ai/docs/languages/ruby#op-delete) — Delete unused symbol
- **`extract-block-parameter`** (https://act101.ai/docs/languages/ruby#op-extract-block-parameter) — Name unnamed block parameters
- **`extract-constant`** (https://act101.ai/docs/languages/ruby#op-extract-constant) — Extract value to named constant
- **`extract-method`** (https://act101.ai/docs/languages/ruby#op-extract-method) — Extract code into a new method
- **`extract-variable`** (https://act101.ai/docs/languages/ruby#op-extract-variable) — Extract expression to variable
- **`generate-accessors`** (https://act101.ai/docs/languages/ruby#op-generate-accessors) — Generate attr_reader, attr_writer, attr_accessor
- **`generate-class`** (https://act101.ai/docs/languages/ruby#op-generate-class) — Generate new class skeleton
- **`generate-class-methods-block`** (https://act101.ai/docs/languages/ruby#op-generate-class-methods-block) — Generate class << self section
- **`generate-clone`** (https://act101.ai/docs/languages/ruby#op-generate-clone) — Generate clone (deep copy)
- **`generate-comparable-implementation`** (https://act101.ai/docs/languages/ruby#op-generate-comparable-implementation) — Generate <=> for sorting
- **`generate-constructor`** (https://act101.ai/docs/languages/ruby#op-generate-constructor) — Generate initialize method from class variables
- **`generate-custom-exception`** (https://act101.ai/docs/languages/ruby#op-generate-custom-exception) — Generate custom exception class
- **`generate-debug-print`** (https://act101.ai/docs/languages/ruby#op-generate-debug-print) — Add debug output statement
- **`generate-define-method`** (https://act101.ai/docs/languages/ruby#op-generate-define-method) — Generate define_method for dynamic methods
- **`generate-dup`** (https://act101.ai/docs/languages/ruby#op-generate-dup) — Generate dup (shallow copy)
- **`generate-enum-like-class`** (https://act101.ai/docs/languages/ruby#op-generate-enum-like-class) — Generate class with enum-like constants
- **`generate-enumerable-delegation`** (https://act101.ai/docs/languages/ruby#op-generate-enumerable-delegation) — Generate include Enumerable with iteration
- **`generate-equals`** (https://act101.ai/docs/languages/ruby#op-generate-equals) — Generate ==, !=, eql? implementations
- **`generate-example-usage`** (https://act101.ai/docs/languages/ruby#op-generate-example-usage) — Generate usage examples in comments
- **`generate-fixture-method`** (https://act101.ai/docs/languages/ruby#op-generate-fixture-method) — Generate test fixture setup
- **`generate-getter-method`** (https://act101.ai/docs/languages/ruby#op-generate-getter-method) — Generate a getter method for an instance variable
- **`generate-guard-statements`** (https://act101.ai/docs/languages/ruby#op-generate-guard-statements) — Generate nil/type guards at method start
- **`generate-hash`** (https://act101.ai/docs/languages/ruby#op-generate-hash) — Generate hash for use in collections
- **`generate-initialize-from-attributes`** (https://act101.ai/docs/languages/ruby#op-generate-initialize-from-attributes) — Generate initialize accepting attribute hashes
- **`generate-inspect`** (https://act101.ai/docs/languages/ruby#op-generate-inspect) — Generate inspect method
- **`generate-keyword-initialize`** (https://act101.ai/docs/languages/ruby#op-generate-keyword-initialize) — Generate keyword argument initialize(**kwargs)
- **`generate-method-missing`** (https://act101.ai/docs/languages/ruby#op-generate-method-missing) — Generate method_missing handler
- **`generate-method-signature-doc`** (https://act101.ai/docs/languages/ruby#op-generate-method-signature-doc) — Generate method signature documentation
- **`generate-mixin`** (https://act101.ai/docs/languages/ruby#op-generate-mixin) — Generate module for inclusion as mixin
- **`generate-mock-object`** (https://act101.ai/docs/languages/ruby#op-generate-mock-object) — Generate mock/stub object for testing
- **`generate-module`** (https://act101.ai/docs/languages/ruby#op-generate-module) — Generate module with namespace
- **`generate-precondition-checks`** (https://act101.ai/docs/languages/ruby#op-generate-precondition-checks) — Generate argument validation
- **`generate-rdoc-comment`** (https://act101.ai/docs/languages/ruby#op-generate-rdoc-comment) — Generate RDoc documentation skeleton
- **`generate-respond-to-missing`** (https://act101.ai/docs/languages/ruby#op-generate-respond-to-missing) — Generate respond_to_missing?
- **`generate-setter-method`** (https://act101.ai/docs/languages/ruby#op-generate-setter-method) — Generate a setter method for an instance variable
- **`generate-singleton-class`** (https://act101.ai/docs/languages/ruby#op-generate-singleton-class) — Generate singleton methods for object
- **`generate-subclass`** (https://act101.ai/docs/languages/ruby#op-generate-subclass) — Generate subclass extending parent
- **`generate-tests`** (https://act101.ai/docs/languages/ruby#op-generate-tests) — Generate test method skeleton
- **`generate-to-h`** (https://act101.ai/docs/languages/ruby#op-generate-to-h) — Generate to_h for hash conversion
- **`generate-to-string`** (https://act101.ai/docs/languages/ruby#op-generate-to-string) — Generate to_s string representation
- **`generate-todo-comment`** (https://act101.ai/docs/languages/ruby#op-generate-todo-comment) — Generate TODO/FIXME placeholder
- **`generate-validation-method`** (https://act101.ai/docs/languages/ruby#op-generate-validation-method) — Generate method for parameter validation
- **`generate-with-index-iteration`** (https://act101.ai/docs/languages/ruby#op-generate-with-index-iteration) — Generate each_with_index method
- **`import-add`** (https://act101.ai/docs/languages/ruby#op-import-add) — Add require statement
- **`import-organize`** (https://act101.ai/docs/languages/ruby#op-import-organize) — Organize and sort requires
- **`import-remove`** (https://act101.ai/docs/languages/ruby#op-import-remove) — Remove unused require statement
- **`inline-method`** (https://act101.ai/docs/languages/ruby#op-inline-method) — Inline method body at call sites
- **`inline-variable`** (https://act101.ai/docs/languages/ruby#op-inline-variable) — Inline variable at all references
- **`introduce-variable`** (https://act101.ai/docs/languages/ruby#op-introduce-variable) — Extract expression to local variable
- **`invert-if-else`** (https://act101.ai/docs/languages/ruby#op-invert-if-else) — Swap if and else branches, negate condition
- **`join-string-literals`** (https://act101.ai/docs/languages/ruby#op-join-string-literals) — Concatenate adjacent string literals
- **`make-method-instance`** (https://act101.ai/docs/languages/ruby#op-make-method-instance) — Convert class method to instance method
- **`make-method-static`** (https://act101.ai/docs/languages/ruby#op-make-method-static) — Convert instance method to class method
- **`merge-nested-if`** (https://act101.ai/docs/languages/ruby#op-merge-nested-if) — Merge nested if conditions into compound condition
- **`merge-rescue-clauses`** (https://act101.ai/docs/languages/ruby#op-merge-rescue-clauses) — Combine multiple rescue handlers
- **`move`** (https://act101.ai/docs/languages/ruby#op-move) — Move method to another class/module
- **`remove-attr-class-variable`** (https://act101.ai/docs/languages/ruby#op-remove-attr-class-variable) — Convert class variable to instance variable
- **`remove-empty-else`** (https://act101.ai/docs/languages/ruby#op-remove-empty-else) — Remove empty else clause
- **`remove-empty-rescue`** (https://act101.ai/docs/languages/ruby#op-remove-empty-rescue) — Remove rescue clause that does nothing
- **`remove-redundant-require`** (https://act101.ai/docs/languages/ruby#op-remove-redundant-require) — Remove duplicate or unnecessary require
- **`remove-safe-navigation`** (https://act101.ai/docs/languages/ruby#op-remove-safe-navigation) — Convert &.method to .method when safe
- **`remove-self-parameter`** (https://act101.ai/docs/languages/ruby#op-remove-self-parameter) — Remove explicit self when not needed
- **`remove-type-comment`** (https://act101.ai/docs/languages/ruby#op-remove-type-comment) — Remove type comment annotation
- **`remove-unnecessary-block`** (https://act101.ai/docs/languages/ruby#op-remove-unnecessary-block) — Remove block when method doesn't use it
- **`rename`** (https://act101.ai/docs/languages/ruby#op-rename) — Rename symbol and all references
- **`simplify-boolean-assignment`** (https://act101.ai/docs/languages/ruby#op-simplify-boolean-assignment) — Simplify x = x || y to x ||= y
- **`sort-method-declarations`** (https://act101.ai/docs/languages/ruby#op-sort-method-declarations) — Sort methods by visibility (private/public)
- **`split-if-condition`** (https://act101.ai/docs/languages/ruby#op-split-if-condition) — Split compound if into nested if
- **`split-string-literal`** (https://act101.ai/docs/languages/ruby#op-split-string-literal) — Split long string into multiple parts
- **`swap-statements`** (https://act101.ai/docs/languages/ruby#op-swap-statements) — Reorder two adjacent statements
- **`wrap-in-begin-rescue`** (https://act101.ai/docs/languages/ruby#op-wrap-in-begin-rescue) — Wrap statement in exception handler
- **`wrap-null-check`** (https://act101.ai/docs/languages/ruby#op-wrap-null-check) — Wrap expression in nil check guard
- **`wrap-try-catch`** (https://act101.ai/docs/languages/ruby#op-wrap-try-catch) — Wrap code in begin...rescue...end block
### Rust
Reference:
- **`add-borrow`** (https://act101.ai/docs/languages/rust#op-add-borrow) — Add & to convert owned value to reference
- **`add-clone`** (https://act101.ai/docs/languages/rust#op-add-clone) — Insert .clone() call to fix move conflicts
- **`add-dereference`** (https://act101.ai/docs/languages/rust#op-add-dereference) — Add * to dereference pointer/reference
- **`add-explicit-type`** (https://act101.ai/docs/languages/rust#op-add-explicit-type) — Add an explicit type annotation to a `let` binding
- **`add-mutable-borrow`** (https://act101.ai/docs/languages/rust#op-add-mutable-borrow) — Change &T to &mut T
- **`add-numeric-separators`** (https://act101.ai/docs/languages/rust#op-add-numeric-separators) — Insert `_` digit-group separators into a numeric literal
- **`add-parameter`** (https://act101.ai/docs/languages/rust#op-add-parameter) — Add parameter to function signature
- **`add-pub-to-module`** (https://act101.ai/docs/languages/rust#op-add-pub-to-module) — Add pub keyword to a module declaration
- **`change-parameter-type`** (https://act101.ai/docs/languages/rust#op-change-parameter-type) — Change parameter type annotation
- **`change-signature`** (https://act101.ai/docs/languages/rust#op-change-signature) — Change function/method signature
- **`change-type`** (https://act101.ai/docs/languages/rust#op-change-type) — Change symbol type annotation
- **`change-visibility`** (https://act101.ai/docs/languages/rust#op-change-visibility) — Change symbol visibility
- **`combine`** (https://act101.ai/docs/languages/rust#op-combine) — Combine related declarations
- **`convert-if-let-to-match`** (https://act101.ai/docs/languages/rust#op-convert-if-let-to-match) — Convert if-let expression to match
- **`convert-match-to-if-let`** (https://act101.ai/docs/languages/rust#op-convert-match-to-if-let) — Convert match expression to if-let pattern
- **`convert-to-match-expr`** (https://act101.ai/docs/languages/rust#op-convert-to-match-expr) — Convert if-else equality chain to match expression
- **`convert-to-match-expression`** (https://act101.ai/docs/languages/rust#op-convert-to-match-expression) — Convert if-else chain to match expression
- **`delete`** (https://act101.ai/docs/languages/rust#op-delete) — Delete symbol and update references
- **`encapsulate`** (https://act101.ai/docs/languages/rust#op-encapsulate) — Encapsulate field with accessors
- **`extract-class`** (https://act101.ai/docs/languages/rust#op-extract-class) — Extract methods/fields to new type
- **`extract-constant`** (https://act101.ai/docs/languages/rust#op-extract-constant) — Extract value to named constant
- **`extract-enum-member`** (https://act101.ai/docs/languages/rust#op-extract-enum-member) — Extract enum variant payload/value
- **`extract-function`** (https://act101.ai/docs/languages/rust#op-extract-function) — Extract code into a new function
- **`extract-interface`** (https://act101.ai/docs/languages/rust#op-extract-interface) — Extract trait from implementation
- **`extract-module`** (https://act101.ai/docs/languages/rust#op-extract-module) — Extract declarations into a new module
- **`extract-type`** (https://act101.ai/docs/languages/rust#op-extract-type) — Extract inline type into named type
- **`extract-variable`** (https://act101.ai/docs/languages/rust#op-extract-variable) — Extract expression to variable
- **`flatten`** (https://act101.ai/docs/languages/rust#op-flatten) — Flatten nested structure
- **`gen-default-constructor`** (https://act101.ai/docs/languages/rust#op-gen-default-constructor) — Generate impl Default using Default::default() for all fields
- **`gen-default-impl`** (https://act101.ai/docs/languages/rust#op-gen-default-impl) — Generate impl Default with type-aware field defaults
- **`gen-doc-comment-fn`** (https://act101.ai/docs/languages/rust#op-gen-doc-comment-fn) — Generate /// doc comment above a function
- **`gen-doc-comment-struct`** (https://act101.ai/docs/languages/rust#op-gen-doc-comment-struct) — Generate /// doc comment above a struct
- **`gen-exhaustive-match`** (https://act101.ai/docs/languages/rust#op-gen-exhaustive-match) — Ensure match is exhaustive by adding wildcard arm
- **`gen-getter-one`** (https://act101.ai/docs/languages/rust#op-gen-getter-one) — Generate getter for a single struct field
- **`gen-getters-all`** (https://act101.ai/docs/languages/rust#op-gen-getters-all) — Generate getters for all struct fields
- **`gen-getters-setters`** (https://act101.ai/docs/languages/rust#op-gen-getters-setters) — Generate getters and setters for all struct fields
- **`gen-match-arms`** (https://act101.ai/docs/languages/rust#op-gen-match-arms) — Generate match expression for all enum variants
- **`gen-module-doc`** (https://act101.ai/docs/languages/rust#op-gen-module-doc) — Generate module-level //! doc comment
- **`gen-new-fn`** (https://act101.ai/docs/languages/rust#op-gen-new-fn) — Generate pub fn new() constructor for struct
- **`gen-setter-one`** (https://act101.ai/docs/languages/rust#op-gen-setter-one) — Generate setter for a single struct field
- **`gen-test-fn`** (https://act101.ai/docs/languages/rust#op-gen-test-fn) — Generate #[test] fn test_() stub
- **`gen-test-module`** (https://act101.ai/docs/languages/rust#op-gen-test-module) — Generate #[cfg(test)] mod tests block
- **`generate-accessors`** (https://act101.ai/docs/languages/rust#op-generate-accessors) — Generate getters/setters for fields
- **`generate-builder`** (https://act101.ai/docs/languages/rust#op-generate-builder) — Generate builder pattern implementation
- **`generate-constructor`** (https://act101.ai/docs/languages/rust#op-generate-constructor) — Generate constructor from fields
- **`generate-equals`** (https://act101.ai/docs/languages/rust#op-generate-equals) — Generate equality implementation
- **`generate-from-json`** (https://act101.ai/docs/languages/rust#op-generate-from-json) — Generate JSON deserialization code
- **`generate-hash`** (https://act101.ai/docs/languages/rust#op-generate-hash) — Generate hash implementation
- **`generate-impl`** (https://act101.ai/docs/languages/rust#op-generate-impl) — Generate implementation from interface/trait
- **`generate-mapped-type`** (https://act101.ai/docs/languages/rust#op-generate-mapped-type) — Generate mapped/projection type
- **`generate-tests`** (https://act101.ai/docs/languages/rust#op-generate-tests) — Generate unit test skeletons
- **`generate-to-json`** (https://act101.ai/docs/languages/rust#op-generate-to-json) — Generate JSON serialization code
- **`generate-to-string`** (https://act101.ai/docs/languages/rust#op-generate-to-string) — Generate string conversion implementation
- **`generate-type-guard`** (https://act101.ai/docs/languages/rust#op-generate-type-guard) — Generate type-check helper
- **`import-add`** (https://act101.ai/docs/languages/rust#op-import-add) — Add missing import/use declaration
- **`import-alias`** (https://act101.ai/docs/languages/rust#op-import-alias) — Add alias to import/use declaration
- **`import-organize`** (https://act101.ai/docs/languages/rust#op-import-organize) — Organize/sort imports
- **`import-remove`** (https://act101.ai/docs/languages/rust#op-import-remove) — Remove unused import/use declaration
- **`inline`** (https://act101.ai/docs/languages/rust#op-inline) — Inline symbol at all usage sites
- **`inline-module`** (https://act101.ai/docs/languages/rust#op-inline-module) — Inline module contents into parent scope
- **`introduce-field`** (https://act101.ai/docs/languages/rust#op-introduce-field) — Introduce new field in type
- **`introduce-parameter`** (https://act101.ai/docs/languages/rust#op-introduce-parameter) — Introduce parameter in signature
- **`introduce-variable`** (https://act101.ai/docs/languages/rust#op-introduce-variable) — Introduce variable for expression
- **`move`** (https://act101.ai/docs/languages/rust#op-move) — Move symbol to another file/module
- **`move-definition`** (https://act101.ai/docs/languages/rust#op-move-definition) — Move a definition to a target file
- **`promote-local-to-parameter`** (https://act101.ai/docs/languages/rust#op-promote-local-to-parameter) — Promote local variable to function parameter
- **`pull-up`** (https://act101.ai/docs/languages/rust#op-pull-up) — Pull member up hierarchy
- **`push-down`** (https://act101.ai/docs/languages/rust#op-push-down) — Push member down hierarchy
- **`remove-borrow`** (https://act101.ai/docs/languages/rust#op-remove-borrow) — Remove unnecessary & when value can be moved
- **`remove-parameter`** (https://act101.ai/docs/languages/rust#op-remove-parameter) — Remove parameter from function signature
- **`rename`** (https://act101.ai/docs/languages/rust#op-rename) — Rename symbol and all references
- **`rename-use-import`** (https://act101.ai/docs/languages/rust#op-rename-use-import) — Add as alias to a use import
- **`reorder-parameters`** (https://act101.ai/docs/languages/rust#op-reorder-parameters) — Reorder function parameters in specified order
- **`split`** (https://act101.ai/docs/languages/rust#op-split) — Split large declaration into smaller parts
- **`wrap-if`** (https://act101.ai/docs/languages/rust#op-wrap-if) — Wrap code in conditional
- **`wrap-lock`** (https://act101.ai/docs/languages/rust#op-wrap-lock) — Wrap critical section with lock
- **`wrap-null-check`** (https://act101.ai/docs/languages/rust#op-wrap-null-check) — Wrap code with null/None guard
- **`wrap-optional`** (https://act101.ai/docs/languages/rust#op-wrap-optional) — Wrap value in Optional/Option
- **`wrap-try-catch`** (https://act101.ai/docs/languages/rust#op-wrap-try-catch) — Wrap code in try/catch equivalent
- **`wrap-using`** (https://act101.ai/docs/languages/rust#op-wrap-using) — Wrap resource usage in scope guard
### Scala
Reference:
- **`add-access-modifier`** (https://act101.ai/docs/languages/scala#op-add-access-modifier) — Add access modifier (private/protected/public)
- **`add-default-parameter`** (https://act101.ai/docs/languages/scala#op-add-default-parameter) — Add default value to parameter
- **`add-import`** (https://act101.ai/docs/languages/scala#op-add-import) — Add missing import statement
- **`add-missing-match-case`** (https://act101.ai/docs/languages/scala#op-add-missing-match-case) — Add missing case to pattern match
- **`add-result-type-annotation`** (https://act101.ai/docs/languages/scala#op-add-result-type-annotation) — Add explicit return type to function
- **`change-visibility`** (https://act101.ai/docs/languages/scala#op-change-visibility) — Change access modifier
- **`convert-class-to-case-class`** (https://act101.ai/docs/languages/scala#op-convert-class-to-case-class) — Convert class to case class
- **`convert-concat-to-interpolation`** (https://act101.ai/docs/languages/scala#op-convert-concat-to-interpolation) — Convert string concatenation to s-string interpolation
- **`convert-for-to-foreach`** (https://act101.ai/docs/languages/scala#op-convert-for-to-foreach) — Convert for comprehension to foreach call
- **`convert-foreach-to-for`** (https://act101.ai/docs/languages/scala#op-convert-foreach-to-for) — Convert foreach call to for comprehension
- **`convert-function-to-method`** (https://act101.ai/docs/languages/scala#op-convert-function-to-method) — Convert function to class method
- **`convert-ifelse-to-match`** (https://act101.ai/docs/languages/scala#op-convert-ifelse-to-match) — Convert if-else chain to pattern match
- **`convert-loop-to-comprehension`** (https://act101.ai/docs/languages/scala#op-convert-loop-to-comprehension) — Convert for loop to for-comprehension with yield
- **`convert-map-filter-to-comprehension`** (https://act101.ai/docs/languages/scala#op-convert-map-filter-to-comprehension) — Convert map/filter chain to for-comprehension
- **`convert-method-to-function`** (https://act101.ai/docs/languages/scala#op-convert-method-to-function) — Convert method to standalone function
- **`convert-var-to-val`** (https://act101.ai/docs/languages/scala#op-convert-var-to-val) — Convert mutable var to immutable val
- **`explicit-type-annotation`** (https://act101.ai/docs/languages/scala#op-explicit-type-annotation) — Add explicit type annotation
- **`extract-constant`** (https://act101.ai/docs/languages/scala#op-extract-constant) — Extract value to named constant
- **`extract-function`** (https://act101.ai/docs/languages/scala#op-extract-function) — Extract code block into new function
- **`extract-interface`** (https://act101.ai/docs/languages/scala#op-extract-interface) — Extract interface from class methods
- **`extract-method`** (https://act101.ai/docs/languages/scala#op-extract-method) — Extract code into a new method
- **`extract-variable`** (https://act101.ai/docs/languages/scala#op-extract-variable) — Extract expression to variable
- **`generate-accessors`** (https://act101.ai/docs/languages/scala#op-generate-accessors) — Generate getter for field
- **`generate-case-class-boilerplate`** (https://act101.ai/docs/languages/scala#op-generate-case-class-boilerplate) — Generate case class from existing class
- **`generate-constructor`** (https://act101.ai/docs/languages/scala#op-generate-constructor) — Generate constructor
- **`generate-copy-method`** (https://act101.ai/docs/languages/scala#op-generate-copy-method) — Generate copy method for a class
- **`generate-equals`** (https://act101.ai/docs/languages/scala#op-generate-equals) — Generate equals and hashCode methods
- **`generate-match-cases`** (https://act101.ai/docs/languages/scala#op-generate-match-cases) — Generate pattern match cases
- **`generate-sealed-subclasses`** (https://act101.ai/docs/languages/scala#op-generate-sealed-subclasses) — Generate subclasses for sealed trait/class
- **`generate-setter`** (https://act101.ai/docs/languages/scala#op-generate-setter) — Generate setter for field
- **`generate-tests`** (https://act101.ai/docs/languages/scala#op-generate-tests) — Generate unit test scaffold
- **`generate-to-string`** (https://act101.ai/docs/languages/scala#op-generate-to-string) — Generate toString method
- **`generate-trait-implementation`** (https://act101.ai/docs/languages/scala#op-generate-trait-implementation) — Generate trait implementation with method stubs
- **`implement-sealed-subclass`** (https://act101.ai/docs/languages/scala#op-implement-sealed-subclass) — Generate case class subclass for sealed trait/class
- **`import-alias`** (https://act101.ai/docs/languages/scala#op-import-alias) — Add alias to import
- **`import-organize`** (https://act101.ai/docs/languages/scala#op-import-organize) — Sort and deduplicate imports
- **`import-remove`** (https://act101.ai/docs/languages/scala#op-import-remove) — Remove unused import
- **`initialize-field`** (https://act101.ai/docs/languages/scala#op-initialize-field) — Add initialization to an uninitialized field
- **`inline-function`** (https://act101.ai/docs/languages/scala#op-inline-function) — Inline function call into call site
- **`inline-variable`** (https://act101.ai/docs/languages/scala#op-inline-variable) — Inline variable at all references
- **`introduce-field`** (https://act101.ai/docs/languages/scala#op-introduce-field) — Promote variable to class field
- **`move`** (https://act101.ai/docs/languages/scala#op-move) — Move class or method to another file
- **`remove-result-type-annotation`** (https://act101.ai/docs/languages/scala#op-remove-result-type-annotation) — Remove redundant return type
- **`remove-type-annotation`** (https://act101.ai/docs/languages/scala#op-remove-type-annotation) — Remove redundant type annotation
- **`rename`** (https://act101.ai/docs/languages/scala#op-rename) — Rename symbol and all references
- **`split-declaration-and-assignment`** (https://act101.ai/docs/languages/scala#op-split-declaration-and-assignment) — Split declaration and assignment
- **`wrap-null-check`** (https://act101.ai/docs/languages/scala#op-wrap-null-check) — Wrap expression in null-safe check
### SCSS/Sass
Reference:
- **`add-extend-directive-scss`** (https://act101.ai/docs/languages/scss#op-add-extend-directive-scss) — Add @extend for selector inheritance
- **`add-forward-statement-scss`** (https://act101.ai/docs/languages/scss#op-add-forward-statement-scss) — Add @forward for re-exporting modules
- **`add-global-variable-scss`** (https://act101.ai/docs/languages/scss#op-add-global-variable-scss) — Add !global flag to variable
- **`add-interpolation-scss`** (https://act101.ai/docs/languages/scss#op-add-interpolation-scss) — Add #{} interpolation
- **`add-list-variable-scss`** (https://act101.ai/docs/languages/scss#op-add-list-variable-scss) — Add list variable ($list: val1, val2)
- **`add-map-variable-scss`** (https://act101.ai/docs/languages/scss#op-add-map-variable-scss) — Add map ($map: (key: val))
- **`add-mixin-default-param-scss`** (https://act101.ai/docs/languages/scss#op-add-mixin-default-param-scss) — Add default value to mixin parameter
- **`add-mixin-parameter-scss`** (https://act101.ai/docs/languages/scss#op-add-mixin-parameter-scss) — Add parameter to existing @mixin
- **`add-module-config-scss`** (https://act101.ai/docs/languages/scss#op-add-module-config-scss) — Add module configuration with @use
- **`add-use-statement-scss`** (https://act101.ai/docs/languages/scss#op-add-use-statement-scss) — Add @use import for modules
- **`consolidate-mixins-scss`** (https://act101.ai/docs/languages/scss#op-consolidate-mixins-scss) — Merge similar mixins
- **`convert-at-import-to-at-use-scss`** (https://act101.ai/docs/languages/scss#op-convert-at-import-to-at-use-scss) — Migrate @import to @use
- **`convert-each-to-loop-scss`** (https://act101.ai/docs/languages/scss#op-convert-each-to-loop-scss) — Convert @each to explicit loop
- **`convert-if-to-ternary-scss`** (https://act101.ai/docs/languages/scss#op-convert-if-to-ternary-scss) — Convert @if to ternary when possible
- **`convert-list-to-map-scss`** (https://act101.ai/docs/languages/scss#op-convert-list-to-map-scss) — Convert list to map structure
- **`convert-nested-to-flat-scss`** (https://act101.ai/docs/languages/scss#op-convert-nested-to-flat-scss) — Convert nested selectors to flat CSS
- **`extract-function-scss`** (https://act101.ai/docs/languages/scss#op-extract-function-scss) — Extract expression to @function
- **`extract-mixin-scss`** (https://act101.ai/docs/languages/scss#op-extract-mixin-scss) — Extract repeated code to a @mixin
- **`extract-to-nested-selector-scss`** (https://act101.ai/docs/languages/scss#op-extract-to-nested-selector-scss) — Extract to nested selector pattern
- **`generate-animation-mixin-scss`** (https://act101.ai/docs/languages/scss#op-generate-animation-mixin-scss) — Generate animation @keyframes mixin
- **`generate-breakpoint-mixin-scss`** (https://act101.ai/docs/languages/scss#op-generate-breakpoint-mixin-scss) — Generate responsive breakpoint mixin
- **`generate-button-mixin-scss`** (https://act101.ai/docs/languages/scss#op-generate-button-mixin-scss) — Generate button component mixin
- **`generate-card-mixin-scss`** (https://act101.ai/docs/languages/scss#op-generate-card-mixin-scss) — Generate card component mixin
- **`generate-color-map-scss`** (https://act101.ai/docs/languages/scss#op-generate-color-map-scss) — Generate color palette map
- **`generate-flex-mixin-scss`** (https://act101.ai/docs/languages/scss#op-generate-flex-mixin-scss) — Generate flexbox mixin
- **`generate-form-mixin-scss`** (https://act101.ai/docs/languages/scss#op-generate-form-mixin-scss) — Generate form element mixin
- **`generate-function-scss`** (https://act101.ai/docs/languages/scss#op-generate-function-scss) — Generate @function skeleton with @return
- **`generate-grid-mixin-scss`** (https://act101.ai/docs/languages/scss#op-generate-grid-mixin-scss) — Generate CSS grid mixin
- **`generate-media-query-scss`** (https://act101.ai/docs/languages/scss#op-generate-media-query-scss) — Generate @media query mixin
- **`generate-mixin-scss`** (https://act101.ai/docs/languages/scss#op-generate-mixin-scss) — Generate @mixin skeleton with parameters
- **`generate-spacing-map-scss`** (https://act101.ai/docs/languages/scss#op-generate-spacing-map-scss) — Generate spacing scale map
- **`generate-variable-declaration-scss`** (https://act101.ai/docs/languages/scss#op-generate-variable-declaration-scss) — Generate SCSS variable ($name: value;)
- **`inline-function-scss`** (https://act101.ai/docs/languages/scss#op-inline-function-scss) — Inline function call back to expression
- **`inline-mixin-scss`** (https://act101.ai/docs/languages/scss#op-inline-mixin-scss) — Inline a @include back to the original code
- **`inline-variable-scss`** (https://act101.ai/docs/languages/scss#op-inline-variable-scss) — Replace variable usage with its value
- **`nest-rule-scss`** (https://act101.ai/docs/languages/scss#op-nest-rule-scss) — Nest rule inside parent selector
- **`organize-mixins-by-category-scss`** (https://act101.ai/docs/languages/scss#op-organize-mixins-by-category-scss) — Organize mixins by category
- **`organize-mixins-scss`** (https://act101.ai/docs/languages/scss#op-organize-mixins-scss) — Group mixins by functionality
- **`organize-variables-scss`** (https://act101.ai/docs/languages/scss#op-organize-variables-scss) — Group related variables together
- **`remove-duplicate-mixin-scss`** (https://act101.ai/docs/languages/scss#op-remove-duplicate-mixin-scss) — Remove duplicate mixin definitions
- **`remove-unused-variable-scss`** (https://act101.ai/docs/languages/scss#op-remove-unused-variable-scss) — Remove variables that aren't used
- **`rename-mixin-scss`** (https://act101.ai/docs/languages/scss#op-rename-mixin-scss) — Rename @mixin and update @include calls
- **`rename-scss-variable`** (https://act101.ai/docs/languages/scss#op-rename-scss-variable) — Rename SCSS variable ($var) across all references
- **`simplify-mixin-logic-scss`** (https://act101.ai/docs/languages/scss#op-simplify-mixin-logic-scss) — Simplify conditional logic in mixins
- **`simplify-nested-rules-scss`** (https://act101.ai/docs/languages/scss#op-simplify-nested-rules-scss) — Flatten unnecessary nesting
- **`unnest-rule-scss`** (https://act101.ai/docs/languages/scss#op-unnest-rule-scss) — Unnest rule to flat selector
### Solidity
Reference:
- **`add-bounds-check`** (https://act101.ai/docs/languages/solidity#op-add-bounds-check) — Insert require(index < array.length) bounds check at function start
- **`add-constant-modifier`** (https://act101.ai/docs/languages/solidity#op-add-constant-modifier) — Add constant attribute to storage variables
- **`add-custom-error`** (https://act101.ai/docs/languages/solidity#op-add-custom-error) — Insert a custom error declaration at the contract level
- **`add-event-emission`** (https://act101.ai/docs/languages/solidity#op-add-event-emission) — Add an emit statement to a function
- **`add-immutable-modifier`** (https://act101.ai/docs/languages/solidity#op-add-immutable-modifier) — Mark single-assignment state variables as immutable
- **`add-null-address-check`** (https://act101.ai/docs/languages/solidity#op-add-null-address-check) — Insert require(addr != address(0)) for address parameters
- **`add-payable-modifier`** (https://act101.ai/docs/languages/solidity#op-add-payable-modifier) — Add payable state mutability modifier to a function
- **`add-pure-modifier`** (https://act101.ai/docs/languages/solidity#op-add-pure-modifier) — Add pure state mutability modifier to a function
- **`add-reentrancy-guard`** (https://act101.ai/docs/languages/solidity#op-add-reentrancy-guard) — Add nonReentrant modifier and guard pattern to protect against reentrancy
- **`add-require-check`** (https://act101.ai/docs/languages/solidity#op-add-require-check) — Insert require(condition, message) as first statement in a function
- **`add-require-length-check`** (https://act101.ai/docs/languages/solidity#op-add-require-length-check) — Insert require(array.length > 0) empty-array guard at function start
- **`add-security-comment`** (https://act101.ai/docs/languages/solidity#op-add-security-comment) — Insert a NatSpec /// @dev Security: comment above a function
- **`add-view-modifier`** (https://act101.ai/docs/languages/solidity#op-add-view-modifier) — Add view state mutability modifier to a function
- **`add-visibility-modifier`** (https://act101.ai/docs/languages/solidity#op-add-visibility-modifier) — Add explicit visibility modifier (public/private/internal/external)
- **`convert-external-to-public`** (https://act101.ai/docs/languages/solidity#op-convert-external-to-public) — Convert external function to public
- **`convert-if-to-ternary`** (https://act101.ai/docs/languages/solidity#op-convert-if-to-ternary) — Convert simple if/else assignment to ternary operator
- **`convert-loop-to-mapping-iteration`** (https://act101.ai/docs/languages/solidity#op-convert-loop-to-mapping-iteration) — Convert for-loop array iteration to mapping when applicable
- **`convert-memory-to-calldata`** (https://act101.ai/docs/languages/solidity#op-convert-memory-to-calldata) — Convert a parameter data location from memory to calldata (external functions only)
- **`convert-public-to-external`** (https://act101.ai/docs/languages/solidity#op-convert-public-to-external) — Convert public function to external when never called internally
- **`convert-require-to-revert`** (https://act101.ai/docs/languages/solidity#op-convert-require-to-revert) — Convert require(cond, msg) to if (!cond) revert() pattern
- **`convert-state-var-to-constant`** (https://act101.ai/docs/languages/solidity#op-convert-state-var-to-constant) — Mark immutable state variable as constant if possible
- **`convert-state-var-to-immutable`** (https://act101.ai/docs/languages/solidity#op-convert-state-var-to-immutable) — Mark state variable initialized once in constructor as immutable
- **`convert-ternary-to-if`** (https://act101.ai/docs/languages/solidity#op-convert-ternary-to-if) — Convert ternary operator to if/else statement
- **`convert-to-checks-effects-interactions`** (https://act101.ai/docs/languages/solidity#op-convert-to-checks-effects-interactions) — Reorganize function body into checks-effects-interactions pattern
- **`extract-constructor-logic`** (https://act101.ai/docs/languages/solidity#op-extract-constructor-logic) — Extract complex constructor logic to internal function
- **`extract-function`** (https://act101.ai/docs/languages/solidity#op-extract-function) — Extract code block into a new internal/private function
- **`extract-interface`** (https://act101.ai/docs/languages/solidity#op-extract-interface) — Extract contract interface into separate interface declaration
- **`extract-library`** (https://act101.ai/docs/languages/solidity#op-extract-library) — Extract utility functions into a library contract
- **`extract-variable`** (https://act101.ai/docs/languages/solidity#op-extract-variable) — Extract expression into a named local variable with inferred type
- **`generate-amount-validation`** (https://act101.ai/docs/languages/solidity#op-generate-amount-validation) — Generate require(param > 0, "Invalid amount") check at the top of a function body
- **`generate-authorization-check`** (https://act101.ai/docs/languages/solidity#op-generate-authorization-check) — Insert onlyOwner require check and generate owner state variable + modifier if missing
- **`generate-balance-check`** (https://act101.ai/docs/languages/solidity#op-generate-balance-check) — Insert require(address(this).balance >= amountParam) at the start of a function
- **`generate-constructor`** (https://act101.ai/docs/languages/solidity#op-generate-constructor) — Generate constructor with parameter initialization
- **`generate-custom-error`** (https://act101.ai/docs/languages/solidity#op-generate-custom-error) — Generate a custom error type from function parameters and replace the first require with revert
- **`generate-event`** (https://act101.ai/docs/languages/solidity#op-generate-event) — Generate an event declaration from a function's parameters
- **`generate-event-emitter`** (https://act101.ai/docs/languages/solidity#op-generate-event-emitter) — Generate both an event declaration and emit statement for a function
- **`generate-getter-function`** (https://act101.ai/docs/languages/solidity#op-generate-getter-function) — Generate public getter for private state variable
- **`generate-interface-from-contract`** (https://act101.ai/docs/languages/solidity#op-generate-interface-from-contract) — Generate interface from contract public/external functions
- **`generate-mock-implementation`** (https://act101.ai/docs/languages/solidity#op-generate-mock-implementation) — Generate stub implementation for interface
- **`generate-ownership-transfer`** (https://act101.ai/docs/languages/solidity#op-generate-ownership-transfer) — Generate transferOwnership function with owner guard in a contract
- **`generate-reentrancy-guard`** (https://act101.ai/docs/languages/solidity#op-generate-reentrancy-guard) — Generate full ReentrancyGuard pattern (_locked var + nonReentrant modifier) in a contract
- **`generate-setter-function`** (https://act101.ai/docs/languages/solidity#op-generate-setter-function) — Generate a public setter function for a named state variable
- **`generate-test-helper`** (https://act101.ai/docs/languages/solidity#op-generate-test-helper) — Generate internal function supporting test patterns
- **`generate-zero-address-check`** (https://act101.ai/docs/languages/solidity#op-generate-zero-address-check) — Generate require(param != address(0)) check at the top of a function body
- **`inline-function-call`** (https://act101.ai/docs/languages/solidity#op-inline-function-call) — Replace function call with function body at call site
- **`inline-variable`** (https://act101.ai/docs/languages/solidity#op-inline-variable) — Inline variable reference at all use sites; eliminate declaration
- **`introduce-variable`** (https://act101.ai/docs/languages/solidity#op-introduce-variable) — Introduce a local const for a selected expression
- **`move-function-to-library`** (https://act101.ai/docs/languages/solidity#op-move-function-to-library) — Extract function to library contract for reuse
- **`remove-unchecked-block`** (https://act101.ai/docs/languages/solidity#op-remove-unchecked-block) — Remove unchecked { } wrapper from a function, keeping inner statements
- **`remove-visibility-modifier`** (https://act101.ai/docs/languages/solidity#op-remove-visibility-modifier) — Remove redundant visibility modifiers where defaults apply
- **`rename-contract`** (https://act101.ai/docs/languages/solidity#op-rename-contract) — Rename contract declaration and update references
- **`rename-enum`** (https://act101.ai/docs/languages/solidity#op-rename-enum) — Rename enum declaration and update references
- **`rename-function`** (https://act101.ai/docs/languages/solidity#op-rename-function) — Rename function and update all call sites
- **`rename-identifier`** (https://act101.ai/docs/languages/solidity#op-rename-identifier) — Rename a variable, function, or contract across all references
- **`rename-state-variable`** (https://act101.ai/docs/languages/solidity#op-rename-state-variable) — Rename state variable and update all references
- **`rename-struct`** (https://act101.ai/docs/languages/solidity#op-rename-struct) — Rename struct declaration and update instantiations
- **`split-variable-declaration`** (https://act101.ai/docs/languages/solidity#op-split-variable-declaration) — Split variable declarations into separate statements
### SQL
Reference:
- **`add-column-alias`** (https://act101.ai/docs/languages/sql#op-add-column-alias) — Add an AS alias to a column in the SELECT list
- **`add-distinct-when-needed`** (https://act101.ai/docs/languages/sql#op-add-distinct-when-needed) — Add DISTINCT when duplicates indicate error
- **`add-group-by-clause`** (https://act101.ai/docs/languages/sql#op-add-group-by-clause) — Add GROUP BY clause
- **`add-table-alias`** (https://act101.ai/docs/languages/sql#op-add-table-alias) — Add explicit table aliases to tables in FROM clause
- **`consolidate-case-expression`** (https://act101.ai/docs/languages/sql#op-consolidate-case-expression) — Consolidate redundant CASE expressions
- **`consolidate-redundant-joins`** (https://act101.ai/docs/languages/sql#op-consolidate-redundant-joins) — Consolidate redundant JOIN operations
- **`convert-having-to-where`** (https://act101.ai/docs/languages/sql#op-convert-having-to-where) — Move HAVING conditions to WHERE when they filter ungrouped data
- **`convert-inner-join-to-left`** (https://act101.ai/docs/languages/sql#op-convert-inner-join-to-left) — Convert INNER JOIN to LEFT JOIN
- **`convert-union-all-to-union`** (https://act101.ai/docs/languages/sql#op-convert-union-all-to-union) — Convert UNION ALL to UNION by removing duplicates
- **`convert-union-to-union-all`** (https://act101.ai/docs/languages/sql#op-convert-union-to-union-all) — Convert UNION to UNION ALL
- **`expand-select-star`** (https://act101.ai/docs/languages/sql#op-expand-select-star) — Expand SELECT * to explicit columns
- **`extract-column-expression`** (https://act101.ai/docs/languages/sql#op-extract-column-expression) — Extract computed column expression
- **`extract-common-table-expression`** (https://act101.ai/docs/languages/sql#op-extract-common-table-expression) — Extract a repeated subquery to a Common Table Expression
- **`extract-scalar-subquery`** (https://act101.ai/docs/languages/sql#op-extract-scalar-subquery) — Extract scalar subquery to CTE
- **`extract-subquery-to-cte`** (https://act101.ai/docs/languages/sql#op-extract-subquery-to-cte) — Extract a subquery to a Common Table Expression
- **`extract-where-condition`** (https://act101.ai/docs/languages/sql#op-extract-where-condition) — Extract WHERE condition to CTE
- **`flatten-nested-subqueries`** (https://act101.ai/docs/languages/sql#op-flatten-nested-subqueries) — Flatten nested subqueries into JOINs
- **`generate-column-list`** (https://act101.ai/docs/languages/sql#op-generate-column-list) — Generate column list
- **`generate-comparison-predicate`** (https://act101.ai/docs/languages/sql#op-generate-comparison-predicate) — Generate comparison predicate
- **`generate-create-index`** (https://act101.ai/docs/languages/sql#op-generate-create-index) — Generate CREATE INDEX statement for table columns
- **`generate-create-table`** (https://act101.ai/docs/languages/sql#op-generate-create-table) — Generate CREATE TABLE statement from column definitions
- **`generate-cte-template`** (https://act101.ai/docs/languages/sql#op-generate-cte-template) — Generate CTE template
- **`generate-delete-statement`** (https://act101.ai/docs/languages/sql#op-generate-delete-statement) — Generate DELETE statement
- **`generate-insert-statement`** (https://act101.ai/docs/languages/sql#op-generate-insert-statement) — Generate INSERT statement
- **`generate-select-all`** (https://act101.ai/docs/languages/sql#op-generate-select-all) — Generate SELECT * statement
- **`generate-union-query`** (https://act101.ai/docs/languages/sql#op-generate-union-query) — Generate UNION query template
- **`generate-update-statement`** (https://act101.ai/docs/languages/sql#op-generate-update-statement) — Generate UPDATE statement
- **`inline-cte`** (https://act101.ai/docs/languages/sql#op-inline-cte) — Inline a Common Table Expression back into the query
- **`inline-simple-expression`** (https://act101.ai/docs/languages/sql#op-inline-simple-expression) — Inline simple expressions
- **`lowercase-keywords`** (https://act101.ai/docs/languages/sql#op-lowercase-keywords) — Lowercase all SQL keywords
- **`normalize-join-syntax`** (https://act101.ai/docs/languages/sql#op-normalize-join-syntax) — Convert implicit JOIN (comma-separated tables) to explicit JOIN syntax
- **`normalize-null-handling`** (https://act101.ai/docs/languages/sql#op-normalize-null-handling) — Normalize IS NULL / IS NOT NULL
- **`remove-duplicate-columns`** (https://act101.ai/docs/languages/sql#op-remove-duplicate-columns) — Remove duplicate columns from SELECT
- **`remove-redundant-where-conditions`** (https://act101.ai/docs/languages/sql#op-remove-redundant-where-conditions) — Remove redundant WHERE conditions
- **`remove-unnecessary-alias`** (https://act101.ai/docs/languages/sql#op-remove-unnecessary-alias) — Remove unnecessary table aliases
- **`remove-unnecessary-distinct`** (https://act101.ai/docs/languages/sql#op-remove-unnecessary-distinct) — Remove unnecessary DISTINCT keyword
- **`remove-unnecessary-group-by`** (https://act101.ai/docs/languages/sql#op-remove-unnecessary-group-by) — Remove unnecessary GROUP BY clause
- **`rename-alias`** (https://act101.ai/docs/languages/sql#op-rename-alias) — Rename a table/subquery alias and update references
- **`rename-column`** (https://act101.ai/docs/languages/sql#op-rename-column) — Rename a column and update references
- **`rename-table`** (https://act101.ai/docs/languages/sql#op-rename-table) — Rename a table and update all references
- **`simplify-boolean-expression`** (https://act101.ai/docs/languages/sql#op-simplify-boolean-expression) — Simplify boolean expressions
- **`uppercase-keywords`** (https://act101.ai/docs/languages/sql#op-uppercase-keywords) — Uppercase all SQL keywords
### Svelte
Reference:
- **`add-bind-directive-svelte`** (https://act101.ai/docs/languages/svelte#op-add-bind-directive-svelte) — Add bind: directive to element for two-way binding
- **`add-class-directive-svelte`** (https://act101.ai/docs/languages/svelte#op-add-class-directive-svelte) — Add class: directive for conditional CSS classes
- **`add-error-handling-svelte`** (https://act101.ai/docs/languages/svelte#op-add-error-handling-svelte) — Add error handling to async function
- **`add-export-svelte`** (https://act101.ai/docs/languages/svelte#op-add-export-svelte) — Add export keyword to make prop visible to parent
- **`add-import-svelte`** (https://act101.ai/docs/languages/svelte#op-add-import-svelte) — Add import statement for referenced symbol
- **`add-missing-async-await-svelte`** (https://act101.ai/docs/languages/svelte#op-add-missing-async-await-svelte) — Add async/await where promise handling is missing
- **`add-null-guard-svelte`** (https://act101.ai/docs/languages/svelte#op-add-null-guard-svelte) — Wrap expression in null-check or optional chaining
- **`add-type-annotation-svelte`** (https://act101.ai/docs/languages/svelte#op-add-type-annotation-svelte) — Add explicit type annotation to variable or parameter
- **`convert-arrow-to-block-svelte`** (https://act101.ai/docs/languages/svelte#op-convert-arrow-to-block-svelte) — Convert arrow function body to block with explicit return
- **`convert-block-to-arrow-svelte`** (https://act101.ai/docs/languages/svelte#op-convert-block-to-arrow-svelte) — Convert function block to arrow expression
- **`convert-from-template-literal-svelte`** (https://act101.ai/docs/languages/svelte#op-convert-from-template-literal-svelte) — Convert template literal to string concatenation
- **`convert-promise-chain-to-async-await-svelte`** (https://act101.ai/docs/languages/svelte#op-convert-promise-chain-to-async-await-svelte) — Convert .then() chain to async/await
- **`convert-to-const-svelte`** (https://act101.ai/docs/languages/svelte#op-convert-to-const-svelte) — Convert let to const when not reassigned
- **`convert-to-nullish-coalescing-svelte`** (https://act101.ai/docs/languages/svelte#op-convert-to-nullish-coalescing-svelte) — Convert || to nullish coalescing (??) where appropriate
- **`convert-to-optional-chaining-svelte`** (https://act101.ai/docs/languages/svelte#op-convert-to-optional-chaining-svelte) — Convert null-check chain to optional chaining (?.)
- **`convert-to-template-literal-svelte`** (https://act101.ai/docs/languages/svelte#op-convert-to-template-literal-svelte) — Convert string concatenation to template literal
- **`convert-var-to-let-svelte`** (https://act101.ai/docs/languages/svelte#op-convert-var-to-let-svelte) — Convert var to let or const for block scoping
- **`extract-component-svelte`** (https://act101.ai/docs/languages/svelte#op-extract-component-svelte) — Extract markup section into a new .svelte component file
- **`extract-event-handler-svelte`** (https://act101.ai/docs/languages/svelte#op-extract-event-handler-svelte) — Extract inline event handler to named function in script
- **`extract-function-svelte`** (https://act101.ai/docs/languages/svelte#op-extract-function-svelte) — Extract code block into a named function within script
- **`extract-variable-svelte`** (https://act101.ai/docs/languages/svelte#op-extract-variable-svelte) — Extract expression into a named variable in script
- **`generate-await-block-svelte`** (https://act101.ai/docs/languages/svelte#op-generate-await-block-svelte) — Generate {#await} block for promise handling
- **`generate-component-scaffold-svelte`** (https://act101.ai/docs/languages/svelte#op-generate-component-scaffold-svelte) — Generate skeleton .svelte component with script, markup, and style sections
- **`generate-each-block-svelte`** (https://act101.ai/docs/languages/svelte#op-generate-each-block-svelte) — Generate {#each} loop with key expression
- **`generate-event-svelte`** (https://act101.ai/docs/languages/svelte#op-generate-event-svelte) — Generate createEventDispatcher and dispatch call
- **`generate-if-block-svelte`** (https://act101.ai/docs/languages/svelte#op-generate-if-block-svelte) — Generate {#if} conditional block
- **`generate-import-statement-svelte`** (https://act101.ai/docs/languages/svelte#op-generate-import-statement-svelte) — Generate import statement for referenced module
- **`generate-interface-svelte`** (https://act101.ai/docs/languages/svelte#op-generate-interface-svelte) — Generate TypeScript interface for component props or data
- **`generate-lifecycle-hook-svelte`** (https://act101.ai/docs/languages/svelte#op-generate-lifecycle-hook-svelte) — Generate lifecycle hook (onMount, onDestroy, etc.)
- **`generate-prop-svelte`** (https://act101.ai/docs/languages/svelte#op-generate-prop-svelte) — Generate export prop declaration with type annotation
- **`generate-props-from-interface-svelte`** (https://act101.ai/docs/languages/svelte#op-generate-props-from-interface-svelte) — Generate export props from TypeScript interface
- **`generate-reactive-statement-svelte`** (https://act101.ai/docs/languages/svelte#op-generate-reactive-statement-svelte) — Generate $: reactive statement with dependency inference
- **`generate-route-handler-svelte`** (https://act101.ai/docs/languages/svelte#op-generate-route-handler-svelte) — Generate route handler for SvelteKit
- **`generate-store-svelte`** (https://act101.ai/docs/languages/svelte#op-generate-store-svelte) — Generate a Svelte store (writable, readable, derived)
- **`inline-variable-svelte`** (https://act101.ai/docs/languages/svelte#op-inline-variable-svelte) — Inline a variable into its usages, removing the declaration
- **`invert-conditional-svelte`** (https://act101.ai/docs/languages/svelte#op-invert-conditional-svelte) — Invert if condition and swap branches
- **`organize-imports-svelte`** (https://act101.ai/docs/languages/svelte#op-organize-imports-svelte) — Sort and deduplicate imports in script block
- **`remove-export-svelte`** (https://act101.ai/docs/languages/svelte#op-remove-export-svelte) — Remove export keyword to privatize a prop
- **`remove-unused-imports-svelte`** (https://act101.ai/docs/languages/svelte#op-remove-unused-imports-svelte) — Remove unused import statements
- **`rename-event-svelte`** (https://act101.ai/docs/languages/svelte#op-rename-event-svelte) — Rename a dispatched event and update all listeners
- **`rename-identifier-svelte`** (https://act101.ai/docs/languages/svelte#op-rename-identifier-svelte) — Rename a variable, function, or component class across all references
- **`rename-prop-svelte`** (https://act101.ai/docs/languages/svelte#op-rename-prop-svelte) — Rename a component prop and update all usages
- **`rename-store-svelte`** (https://act101.ai/docs/languages/svelte#op-rename-store-svelte) — Rename a store variable and update all subscriptions
- **`simplify-conditional-svelte`** (https://act101.ai/docs/languages/svelte#op-simplify-conditional-svelte) — Simplify if-else to ternary or && operator
- **`toggle-export-svelte`** (https://act101.ai/docs/languages/svelte#op-toggle-export-svelte) — Add/remove export keyword from component prop
### Sway
Reference:
- **`add-abi-method`** (https://act101.ai/docs/languages/sway#op-add-abi-method) — Add a method signature to a Sway ABI block.
- **`add-abi-supertrait`** (https://act101.ai/docs/languages/sway#op-add-abi-supertrait) — Add a supertrait requirement to a Sway ABI declaration.
- **`add-access-control`** (https://act101.ai/docs/languages/sway#op-add-access-control) — Insert a simple access-control assertion into a Sway function.
- **`add-configurable`** (https://act101.ai/docs/languages/sway#op-add-configurable) — Add a configurable constant field to a Sway file.
- **`add-log-statement`** (https://act101.ai/docs/languages/sway#op-add-log-statement) — Insert a log statement into a Sway function.
- **`add-parameter`** (https://act101.ai/docs/languages/sway#op-add-parameter) — Add a Sway function parameter and update same-file direct call sites.
- **`add-storage-field`** (https://act101.ai/docs/languages/sway#op-add-storage-field) — Add a field to a Sway storage block.
- **`change-configurable`** (https://act101.ai/docs/languages/sway#op-change-configurable) — Change a Sway configurable constant type and default value.
- **`convert-to-contract`** (https://act101.ai/docs/languages/sway#op-convert-to-contract) — Convert a Sway program shell to contract form.
- **`convert-to-option`** (https://act101.ai/docs/languages/sway#op-convert-to-option) — Wrap a Sway function return type and expression in Option/Some.
- **`convert-to-predicate`** (https://act101.ai/docs/languages/sway#op-convert-to-predicate) — Convert a Sway program shell to predicate form.
- **`convert-to-result`** (https://act101.ai/docs/languages/sway#op-convert-to-result) — Wrap a Sway function return type and expression in Result/Ok.
- **`convert-to-script`** (https://act101.ai/docs/languages/sway#op-convert-to-script) — Convert a Sway program shell to script form.
- **`convert-to-storage-map`** (https://act101.ai/docs/languages/sway#op-convert-to-storage-map) — Convert repeated Sway storage fields into a StorageMap field.
- **`extract-abi`** (https://act101.ai/docs/languages/sway#op-extract-abi) — Generate a Sway ABI block from selected public function signatures.
- **`extract-function`** (https://act101.ai/docs/languages/sway#op-extract-function) — Extract selected Sway lines into a new function and replace them with a call.
- **`extract-struct`** (https://act101.ai/docs/languages/sway#op-extract-struct) — Extract selected Sway struct fields into a new nested struct field.
- **`extract-to-module`** (https://act101.ai/docs/languages/sway#op-extract-to-module) — Extract selected Sway declarations into a named module.
- **`fix-abi-implementation-mismatch`** (https://act101.ai/docs/languages/sway#op-fix-abi-implementation-mismatch) — Synchronize a Sway ABI impl method signature with its ABI declaration.
- **`fix-missing-storage-initialization`** (https://act101.ai/docs/languages/sway#op-fix-missing-storage-initialization) — Add a missing initializer to a Sway storage field.
- **`fix-storage-read-write-error`** (https://act101.ai/docs/languages/sway#op-fix-storage-read-write-error) — Rewrite a simple Sway storage access to read or write form.
- **`fix-type-mismatch`** (https://act101.ai/docs/languages/sway#op-fix-type-mismatch) — Add a Sway type annotation to a selected binding.
- **`fix-unused-variable`** (https://act101.ai/docs/languages/sway#op-fix-unused-variable) — Prefix an unused Sway let binding with an underscore.
- **`gen-abi-definition`** (https://act101.ai/docs/languages/sway#op-gen-abi-definition) — Generate a parse-valid Sway ABI definition.
- **`gen-access-control-impl`** (https://act101.ai/docs/languages/sway#op-gen-access-control-impl) — Generate parse-valid Sway access-control helpers.
- **`gen-contract-scaffold`** (https://act101.ai/docs/languages/sway#op-gen-contract-scaffold) — Generate a parse-valid Sway contract scaffold.
- **`gen-erc20-contract`** (https://act101.ai/docs/languages/sway#op-gen-erc20-contract) — Generate a minimal parse-valid SRC20-style Sway contract scaffold.
- **`gen-event-logging`** (https://act101.ai/docs/languages/sway#op-gen-event-logging) — Generate parse-valid Sway event logging helpers.
- **`gen-nft-contract`** (https://act101.ai/docs/languages/sway#op-gen-nft-contract) — Generate a minimal parse-valid SRC721-style Sway contract scaffold.
- **`gen-predicate-scaffold`** (https://act101.ai/docs/languages/sway#op-gen-predicate-scaffold) — Generate a parse-valid Sway predicate scaffold.
- **`gen-script-scaffold`** (https://act101.ai/docs/languages/sway#op-gen-script-scaffold) — Generate a parse-valid Sway script scaffold.
- **`gen-storage-definition`** (https://act101.ai/docs/languages/sway#op-gen-storage-definition) — Generate a parse-valid Sway storage definition.
- **`gen-test-scaffold`** (https://act101.ai/docs/languages/sway#op-gen-test-scaffold) — Generate a parse-valid Sway test scaffold.
- **`implement-abi`** (https://act101.ai/docs/languages/sway#op-implement-abi) — Generate a Sway impl block for an ABI with method stubs.
- **`inline-function`** (https://act101.ai/docs/languages/sway#op-inline-function) — Inline a simple Sway function body at same-file call sites and remove the declaration.
- **`inline-struct`** (https://act101.ai/docs/languages/sway#op-inline-struct) — Inline a simple nested Sway struct into a parent struct field.
- **`merge-modules`** (https://act101.ai/docs/languages/sway#op-merge-modules) — Merge a Sway module into its parent scope.
- **`remove-abi-method`** (https://act101.ai/docs/languages/sway#op-remove-abi-method) — Remove a Sway ABI method signature when no impl method remains.
- **`remove-abi-supertrait`** (https://act101.ai/docs/languages/sway#op-remove-abi-supertrait) — Remove a supertrait requirement from a Sway ABI declaration.
- **`remove-access-control`** (https://act101.ai/docs/languages/sway#op-remove-access-control) — Remove a simple access-control assertion from a Sway function.
- **`remove-configurable`** (https://act101.ai/docs/languages/sway#op-remove-configurable) — Remove an unused configurable constant from a Sway file.
- **`remove-log-statement`** (https://act101.ai/docs/languages/sway#op-remove-log-statement) — Remove a simple log statement from a Sway function.
- **`remove-parameter`** (https://act101.ai/docs/languages/sway#op-remove-parameter) — Remove a Sway function parameter and matching same-file direct call arguments.
- **`remove-storage-field`** (https://act101.ai/docs/languages/sway#op-remove-storage-field) — Remove an unused field from a Sway storage block.
- **`rename-abi-method`** (https://act101.ai/docs/languages/sway#op-rename-abi-method) — Rename a Sway ABI method, matching impl method, and direct call sites.
- **`rename-enum-variant`** (https://act101.ai/docs/languages/sway#op-rename-enum-variant) — Rename a Sway enum variant and same-file qualified references.
- **`rename-field`** (https://act101.ai/docs/languages/sway#op-rename-field) — Rename a Sway struct field and same-file field access/literal sites.
- **`rename-function`** (https://act101.ai/docs/languages/sway#op-rename-function) — Rename a Sway function and same-file direct call sites.
- **`rename-struct`** (https://act101.ai/docs/languages/sway#op-rename-struct) — Rename a Sway struct and same-file type/constructor references.
### Swift
Reference:
- **`add-explicit-type`** (https://act101.ai/docs/languages/swift#op-add-explicit-type) — Add explicit type annotation to variable declarations
- **`add-main-actor`** (https://act101.ai/docs/languages/swift#op-add-main-actor) — Add @MainActor annotation to type or method for main thread safety
- **`add-missing-switch-cases`** (https://act101.ai/docs/languages/swift#op-add-missing-switch-cases) — Add exhaustive pattern matching for enum in switch statement
- **`add-nonisolated`** (https://act101.ai/docs/languages/swift#op-add-nonisolated) — Add nonisolated annotation to actor members not using actor state
- **`add-protocol-sendable`** (https://act101.ai/docs/languages/swift#op-add-protocol-sendable) — Add Sendable protocol conformance to thread-safe types
- **`add-try-question-mark`** (https://act101.ai/docs/languages/swift#op-add-try-question-mark) — Convert force try (try!) to optional try (try?)
- **`convert-class-to-actor`** (https://act101.ai/docs/languages/swift#op-convert-class-to-actor) — Convert class to actor for concurrency safety
- **`convert-for-in-to-for-each`** (https://act101.ai/docs/languages/swift#op-convert-for-in-to-for-each) — Convert for-in loop to .forEach closure
- **`convert-let-to-var`** (https://act101.ai/docs/languages/swift#op-convert-let-to-var) — Convert let binding to var for mutable declarations
- **`convert-to-sendable`** (https://act101.ai/docs/languages/swift#op-convert-to-sendable) — Add Sendable conformance to thread-safe types
- **`extract-computed-property`** (https://act101.ai/docs/languages/swift#op-extract-computed-property) — Extract getter logic into a computed property
- **`generate-codable-implementation`** (https://act101.ai/docs/languages/swift#op-generate-codable-implementation) — Generate Codable conformance with encode/decode
- **`generate-documentation-comment`** (https://act101.ai/docs/languages/swift#op-generate-documentation-comment) — Generate documentation comment stub for public API
- **`generate-hashable-implementation`** (https://act101.ai/docs/languages/swift#op-generate-hashable-implementation) — Generate Hashable implementation with hash(into:) and Equatable
- **`generate-memberwise-init`** (https://act101.ai/docs/languages/swift#op-generate-memberwise-init) — Generate memberwise initializer with all properties
- **`remove-force-unwrap`** (https://act101.ai/docs/languages/swift#op-remove-force-unwrap) — Replace force-unwrap with safe unwrapping pattern
- **`simplify-boolean-literal`** (https://act101.ai/docs/languages/swift#op-simplify-boolean-literal) — Remove unnecessary == true / == false comparisons
- **`wrap-if`** (https://act101.ai/docs/languages/swift#op-wrap-if) — Wrap statement in if condition
- **`wrap-optional`** (https://act101.ai/docs/languages/swift#op-wrap-optional) — Wrap expression with optional chaining or optional binding
- **`wrap-try-catch`** (https://act101.ai/docs/languages/swift#op-wrap-try-catch) — Wrap statement in try-catch block
### SystemVerilog
Reference:
- **`add-access-modifier`** (https://act101.ai/docs/languages/systemverilog#op-add-access-modifier) — Add public/protected/local access modifier to class member
- **`add-braces`** (https://act101.ai/docs/languages/systemverilog#op-add-braces) — Add begin/end braces to single-statement control-flow body
- **`add-parameter-default`** (https://act101.ai/docs/languages/systemverilog#op-add-parameter-default) — Add default value to module parameter
- **`add-sensitivity-list`** (https://act101.ai/docs/languages/systemverilog#op-add-sensitivity-list) — Add missing signals to always block sensitivity list
- **`change-access-modifier`** (https://act101.ai/docs/languages/systemverilog#op-change-access-modifier) — Change member access level (public to protected, etc.)
- **`change-parameter-direction`** (https://act101.ai/docs/languages/systemverilog#op-change-parameter-direction) — Change port direction (input to output, etc.)
- **`convert-always-to-always-comb`** (https://act101.ai/docs/languages/systemverilog#op-convert-always-to-always-comb) — Convert always @(*) to always_comb for combinational logic
- **`convert-always-to-always-ff`** (https://act101.ai/docs/languages/systemverilog#op-convert-always-to-always-ff) — Convert always @(posedge) to always_ff for sequential logic
- **`convert-bit-to-logic`** (https://act101.ai/docs/languages/systemverilog#op-convert-bit-to-logic) — Convert bit to logic for safety (preserve x/z values)
- **`convert-blocking-to-nonblocking`** (https://act101.ai/docs/languages/systemverilog#op-convert-blocking-to-nonblocking) — Convert blocking (=) to nonblocking (<=) in sequential blocks
- **`convert-case-to-if-else`** (https://act101.ai/docs/languages/systemverilog#op-convert-case-to-if-else) — Convert case statement to if-else chain
- **`convert-comparison-operators`** (https://act101.ai/docs/languages/systemverilog#op-convert-comparison-operators) — Convert == / != to === / !== (4-valued logic) or vice versa
- **`convert-enum-value-list`** (https://act101.ai/docs/languages/systemverilog#op-convert-enum-value-list) — Convert between scoped and unscoped enum member usage
- **`convert-for-to-generate`** (https://act101.ai/docs/languages/systemverilog#op-convert-for-to-generate) — Convert procedural for loop to generate block
- **`convert-generate-to-for`** (https://act101.ai/docs/languages/systemverilog#op-convert-generate-to-for) — Convert generate block back to procedural for loop
- **`convert-if-else-to-case`** (https://act101.ai/docs/languages/systemverilog#op-convert-if-else-to-case) — Convert if-else chain to case statement
- **`convert-logic-to-bit`** (https://act101.ai/docs/languages/systemverilog#op-convert-logic-to-bit) — Convert logic type to bit when x/z values are not needed
- **`convert-nonblocking-to-blocking`** (https://act101.ai/docs/languages/systemverilog#op-convert-nonblocking-to-blocking) — Convert nonblocking (<=) to blocking (=) in combinational blocks
- **`convert-parameter-to-localparam`** (https://act101.ai/docs/languages/systemverilog#op-convert-parameter-to-localparam) — Convert parameter to localparam if unused externally
- **`convert-port-to-interface`** (https://act101.ai/docs/languages/systemverilog#op-convert-port-to-interface) — Convert prefixed ports into a single interface port
- **`convert-ternary-to-if-else`** (https://act101.ai/docs/languages/systemverilog#op-convert-ternary-to-if-else) — Convert ternary conditional to if-else for clarity
- **`convert-to-ternary`** (https://act101.ai/docs/languages/systemverilog#op-convert-to-ternary) — Convert if-else expression to ternary conditional (?:)
- **`extract-function`** (https://act101.ai/docs/languages/systemverilog#op-extract-function) — Extract expression into new function with return type inference
- **`extract-interface`** (https://act101.ai/docs/languages/systemverilog#op-extract-interface) — Extract selected ports into a new interface definition
- **`extract-local-variable`** (https://act101.ai/docs/languages/systemverilog#op-extract-local-variable) — Extract an expression into a local variable declaration
- **`extract-modport`** (https://act101.ai/docs/languages/systemverilog#op-extract-modport) — Group signals from an interface into a new modport definition
- **`extract-module`** (https://act101.ai/docs/languages/systemverilog#op-extract-module) — Extract module hierarchy into separate file
- **`extract-parameter`** (https://act101.ai/docs/languages/systemverilog#op-extract-parameter) — Extract magic values into module/class parameters
- **`extract-task`** (https://act101.ai/docs/languages/systemverilog#op-extract-task) — Extract code block into new task with parameter inference
- **`fix-sensitivity-list`** (https://act101.ai/docs/languages/systemverilog#op-fix-sensitivity-list) — Rewrite sensitivity list to synthesizable always_comb/always_ff form
- **`generate-always-comb`** (https://act101.ai/docs/languages/systemverilog#op-generate-always-comb) — Generate an always_comb block skeleton for combinational logic
- **`generate-always-ff`** (https://act101.ai/docs/languages/systemverilog#op-generate-always-ff) — Generate an always_ff block skeleton with reset for sequential logic
- **`generate-array-declaration`** (https://act101.ai/docs/languages/systemverilog#op-generate-array-declaration) — Generate an array declaration (fixed, dynamic, or associative)
- **`generate-assertion`** (https://act101.ai/docs/languages/systemverilog#op-generate-assertion) — Generate a simple immediate assertion template
- **`generate-bit-vector`** (https://act101.ai/docs/languages/systemverilog#op-generate-bit-vector) — Generate a logic or bit vector declaration with explicit width
- **`generate-class`** (https://act101.ai/docs/languages/systemverilog#op-generate-class) — Generate class template with constructor
- **`generate-clocking-block`** (https://act101.ai/docs/languages/systemverilog#op-generate-clocking-block) — Generate a clocking block for testbench synchronization
- **`generate-comparison-operator`** (https://act101.ai/docs/languages/systemverilog#op-generate-comparison-operator) — Generate comparison methods (== and !=) for class
- **`generate-concurrent-assertion`** (https://act101.ai/docs/languages/systemverilog#op-generate-concurrent-assertion) — Generate a concurrent assertion (assert property) template
- **`generate-constraint`** (https://act101.ai/docs/languages/systemverilog#op-generate-constraint) — Generate a constraint block inside a class
- **`generate-constructor`** (https://act101.ai/docs/languages/systemverilog#op-generate-constructor) — Generate a class constructor from member variables
- **`generate-cover-point`** (https://act101.ai/docs/languages/systemverilog#op-generate-cover-point) — Generate a coverpoint inside an existing covergroup
- **`generate-covergroup`** (https://act101.ai/docs/languages/systemverilog#op-generate-covergroup) — Generate a covergroup template with a clock
- **`generate-function`** (https://act101.ai/docs/languages/systemverilog#op-generate-function) — Generate a function template with return type and parameters
- **`generate-generate-block`** (https://act101.ai/docs/languages/systemverilog#op-generate-generate-block) — Generate a parameterized generate block (if/case/for)
- **`generate-interface`** (https://act101.ai/docs/languages/systemverilog#op-generate-interface) — Generate an interface template with optional modports
- **`generate-methods`** (https://act101.ai/docs/languages/systemverilog#op-generate-methods) — Generate stub methods from a list of method signatures
- **`generate-modport`** (https://act101.ai/docs/languages/systemverilog#op-generate-modport) — Generate a modport definition inside an interface
- **`generate-module`** (https://act101.ai/docs/languages/systemverilog#op-generate-module) — Generate new module template with ports
- **`generate-port-connection`** (https://act101.ai/docs/languages/systemverilog#op-generate-port-connection) — Generate a complete port connection list for module instantiation
- **`generate-randomization-methods`** (https://act101.ai/docs/languages/systemverilog#op-generate-randomization-methods) — Generate pre_randomize and post_randomize method stubs for a class
- **`generate-reset-logic`** (https://act101.ai/docs/languages/systemverilog#op-generate-reset-logic) — Generate a reset sequence block for testbench or RTL
- **`generate-task`** (https://act101.ai/docs/languages/systemverilog#op-generate-task) — Generate a task template with input/output parameters
- **`generate-test-bench`** (https://act101.ai/docs/languages/systemverilog#op-generate-test-bench) — Generate testbench skeleton with clocking blocks
- **`generate-test-module`** (https://act101.ai/docs/languages/systemverilog#op-generate-test-module) — Generate test module (UVM/custom) template
- **`inline-variable`** (https://act101.ai/docs/languages/systemverilog#op-inline-variable) — Inline variable where used once
- **`invert-conditional`** (https://act101.ai/docs/languages/systemverilog#op-invert-conditional) — Swap then/else branches of an if-else and negate the condition
- **`invert-port-direction`** (https://act101.ai/docs/languages/systemverilog#op-invert-port-direction) — Swap input/output direction on a module port
- **`remove-braces`** (https://act101.ai/docs/languages/systemverilog#op-remove-braces) — Remove begin/end braces from single-statement control-flow body
- **`rename-class`** (https://act101.ai/docs/languages/systemverilog#op-rename-class) — Rename class declaration and all instantiations
- **`rename-function`** (https://act101.ai/docs/languages/systemverilog#op-rename-function) — Rename function definition and all calls
- **`rename-identifier`** (https://act101.ai/docs/languages/systemverilog#op-rename-identifier) — Rename variable, port, parameter, or signal across all references
- **`rename-module`** (https://act101.ai/docs/languages/systemverilog#op-rename-module) — Rename module declaration and all instantiations
- **`rename-port`** (https://act101.ai/docs/languages/systemverilog#op-rename-port) — Rename port and all internal/external references
- **`rename-task`** (https://act101.ai/docs/languages/systemverilog#op-rename-task) — Rename task definition and all calls
- **`simplify-boolean-expression`** (https://act101.ai/docs/languages/systemverilog#op-simplify-boolean-expression) — Remove trivially redundant boolean subexpressions
### Tact
Reference:
- **`add-bounced-handler`** (https://act101.ai/docs/languages/tact#op-add-bounced-handler) — Insert a bounced handler for a message into a Tact contract body.
- **`add-constant`** (https://act101.ai/docs/languages/tact#op-add-constant) — Add a top-level Tact constant declaration.
- **`add-field`** (https://act101.ai/docs/languages/tact#op-add-field) — Add a field to a Tact struct/contract/message body.
- **`add-gas-check`** (https://act101.ai/docs/languages/tact#op-add-gas-check) — Insert an acceptMessage() gas-acceptance call at the start of a Tact function body.
- **`add-init-parameter`** (https://act101.ai/docs/languages/tact#op-add-init-parameter) — Add a parameter to a Tact contract's init signature and a matching self-assignment, creating init if absent.
- **`add-opcode-annotation`** (https://act101.ai/docs/languages/tact#op-add-opcode-annotation) — Add or update the message(opcode) annotation on a Tact message type.
- **`add-receiver`** (https://act101.ai/docs/languages/tact#op-add-receiver) — Insert a receive handler for a message into a Tact contract body.
- **`change-opcode`** (https://act101.ai/docs/languages/tact#op-change-opcode) — Change an existing message opcode value on a Tact message type.
- **`convert-getter-to-internal`** (https://act101.ai/docs/languages/tact#op-convert-getter-to-internal) — Convert a Tact getter function back to internal by removing the get modifier.
- **`convert-map-to-structs`** (https://act101.ai/docs/languages/tact#op-convert-map-to-structs) — Replace a Tact map field with a struct-typed field.
- **`convert-message-to-struct`** (https://act101.ai/docs/languages/tact#op-convert-message-to-struct) — Convert a Tact message into a struct by dropping the opcode and changing the keyword.
- **`convert-send-parameters-to-builder`** (https://act101.ai/docs/languages/tact#op-convert-send-parameters-to-builder) — Introduce a beginCell()-constructed body field into a Tact SendParameters instance inside a send() call.
- **`convert-struct-to-message`** (https://act101.ai/docs/languages/tact#op-convert-struct-to-message) — Convert a Tact struct into a message by inserting an opcode and changing the keyword.
- **`convert-to-getter`** (https://act101.ai/docs/languages/tact#op-convert-to-getter) — Convert a Tact function into an externally-readable getter by adding the get modifier.
- **`convert-to-map`** (https://act101.ai/docs/languages/tact#op-convert-to-map) — Convert named Tact struct fields into a single map field.
- **`convert-to-mixin`** (https://act101.ai/docs/languages/tact#op-convert-to-mixin) — Compose a named Tact trait into the first contract via the with clause.
- **`extract-function`** (https://act101.ai/docs/languages/tact#op-extract-function) — Extract selected Tact lines into a new function and replace them with a call.
- **`extract-mixin`** (https://act101.ai/docs/languages/tact#op-extract-mixin) — Move named Tact top-level functions into a newly-created trait.
- **`extract-struct`** (https://act101.ai/docs/languages/tact#op-extract-struct) — Extract selected fields from a Tact struct into a new nested struct.
- **`extract-to-contract`** (https://act101.ai/docs/languages/tact#op-extract-to-contract) — Move named top-level Tact declarations (struct/message/const/function) into a new contract body.
- **`extract-to-trait`** (https://act101.ai/docs/languages/tact#op-extract-to-trait) — Extract selected Tact functions' declarations into a new top-level trait.
- **`fix-bounced-handler-signature`** (https://act101.ai/docs/languages/tact#op-fix-bounced-handler-signature) — Correct a Tact contract's bounced() parameter type to a given message type.
- **`fix-gas-limit-exceeded`** (https://act101.ai/docs/languages/tact#op-fix-gas-limit-exceeded) — Insert an acceptMessage() gas-acceptance call at the start of a Tact function body.
- **`fix-invalid-message-opcode`** (https://act101.ai/docs/languages/tact#op-fix-invalid-message-opcode) — Set a valid opcode on a Tact message type (add or replace message_value).
- **`fix-missing-init`** (https://act101.ai/docs/languages/tact#op-fix-missing-init) — Add an init() to a Tact contract initializing its uninitialized storage fields.
- **`fix-uninitialized-field`** (https://act101.ai/docs/languages/tact#op-fix-uninitialized-field) — Initialize a Tact contract's uninitialized storage field in init().
- **`gen-contract-scaffold`** (https://act101.ai/docs/languages/tact#op-gen-contract-scaffold) — Generate a minimal Tact contract scaffold (init/receive/getter stubs).
- **`gen-deployment-script`** (https://act101.ai/docs/languages/tact#op-gen-deployment-script) — Generate a minimal Tact deployment scaffold contract (Tact has no native deploy syntax).
- **`gen-dex-pool-contract`** (https://act101.ai/docs/languages/tact#op-gen-dex-pool-contract) — Generate a minimal Tact DEX pool contract scaffold.
- **`gen-getter-function`** (https://act101.ai/docs/languages/tact#op-gen-getter-function) — Generate a Tact get-function stub wrapped in a contract.
- **`gen-jetton-contract`** (https://act101.ai/docs/languages/tact#op-gen-jetton-contract) — Generate a minimal Tact Jetton minter scaffold (not TEP-74 complete).
- **`gen-message-definition`** (https://act101.ai/docs/languages/tact#op-gen-message-definition) — Generate a Tact message(opcode) type definition scaffold.
- **`gen-multisig-contract`** (https://act101.ai/docs/languages/tact#op-gen-multisig-contract) — Generate a minimal Tact multisig wallet scaffold.
- **`gen-nft-contract`** (https://act101.ai/docs/languages/tact#op-gen-nft-contract) — Generate a minimal Tact NFT collection scaffold (not TEP-62 complete).
- **`gen-receiver-function`** (https://act101.ai/docs/languages/tact#op-gen-receiver-function) — Generate a Tact receive() handler stub for a message, wrapped in a contract.
- **`gen-test-scaffold`** (https://act101.ai/docs/languages/tact#op-gen-test-scaffold) — Generate a minimal Tact test scaffold contract (Tact has no native test syntax).
- **`inline-function`** (https://act101.ai/docs/languages/tact#op-inline-function) — Inline a simple single-expression Tact function at its same-file call sites.
- **`inline-struct`** (https://act101.ai/docs/languages/tact#op-inline-struct) — Inline a single-use Tact struct's fields into its parent struct.
- **`inline-trait`** (https://act101.ai/docs/languages/tact#op-inline-trait) — Inline a Tact trait's member functions to top level and remove the trait declaration.
- **`remove-bounced-handler`** (https://act101.ai/docs/languages/tact#op-remove-bounced-handler) — Remove the bounced handler for a message from a Tact contract.
- **`remove-constant`** (https://act101.ai/docs/languages/tact#op-remove-constant) — Remove a top-level Tact constant and substitute same-file references with its value.
- **`remove-field`** (https://act101.ai/docs/languages/tact#op-remove-field) — Remove an unused field from a Tact struct/contract/message body.
- **`remove-gas-check`** (https://act101.ai/docs/languages/tact#op-remove-gas-check) — Remove an acceptMessage() gas-acceptance call from a Tact function body.
- **`remove-init-parameter`** (https://act101.ai/docs/languages/tact#op-remove-init-parameter) — Remove a parameter from a Tact contract's init signature and its matching self-assignment.
- **`remove-receiver`** (https://act101.ai/docs/languages/tact#op-remove-receiver) — Remove the receive handler for a message from a Tact contract.
- **`rename-contract`** (https://act101.ai/docs/languages/tact#op-rename-contract) — Rename a Tact contract and same-file references.
- **`rename-field`** (https://act101.ai/docs/languages/tact#op-rename-field) — Rename a Tact struct/contract/message field and same-file access/instance sites.
- **`rename-function`** (https://act101.ai/docs/languages/tact#op-rename-function) — Rename a Tact function and same-file direct call sites.
- **`rename-message`** (https://act101.ai/docs/languages/tact#op-rename-message) — Rename a Tact message and same-file type/constructor references.
- **`rename-struct`** (https://act101.ai/docs/languages/tact#op-rename-struct) — Rename a Tact struct and same-file type/constructor references.
- **`reorder-fields`** (https://act101.ai/docs/languages/tact#op-reorder-fields) — Reorder the fields of a Tact struct/contract/message into a new order.
### Tcl
Reference:
- **`add-comment`** (https://act101.ai/docs/languages/tcl#op-add-comment) — Add a Tcl comment before a proc
- **`add-default-parameter`** (https://act101.ai/docs/languages/tcl#op-add-default-parameter) — Add a default value to a Tcl proc parameter
- **`add-error-handling`** (https://act101.ai/docs/languages/tcl#op-add-error-handling) — Wrap a Tcl command in a catch error guard
- **`add-namespace-export`** (https://act101.ai/docs/languages/tcl#op-add-namespace-export) — Add a Tcl proc to a namespace export command
- **`add-package-provide`** (https://act101.ai/docs/languages/tcl#op-add-package-provide) — Add a Tcl package provide declaration
- **`add-parameter`** (https://act101.ai/docs/languages/tcl#op-add-parameter) — Add a Tcl proc parameter and update direct call sites
- **`convert-class-to-procs`** (https://act101.ai/docs/languages/tcl#op-convert-class-to-procs) — Convert TclOO methods into standalone Tcl procs
- **`convert-dict-to-switch`** (https://act101.ai/docs/languages/tcl#op-convert-dict-to-switch) — Convert a simple Tcl dict get return to a switch mapping
- **`convert-global-to-namespace`** (https://act101.ai/docs/languages/tcl#op-convert-global-to-namespace) — Convert a Tcl global declaration to a namespace variable declaration
- **`convert-namespace-to-global`** (https://act101.ai/docs/languages/tcl#op-convert-namespace-to-global) — Convert a Tcl namespace variable declaration to a global declaration
- **`convert-regexp-to-string-match`** (https://act101.ai/docs/languages/tcl#op-convert-regexp-to-string-match) — Convert a simple Tcl regexp command to string match
- **`convert-return-to-upvar`** (https://act101.ai/docs/languages/tcl#op-convert-return-to-upvar) — Convert a simple Tcl return value to an upvar output assignment
- **`convert-string-match-to-regexp`** (https://act101.ai/docs/languages/tcl#op-convert-string-match-to-regexp) — Convert a simple Tcl string match glob to regexp
- **`convert-switch-to-dict`** (https://act101.ai/docs/languages/tcl#op-convert-switch-to-dict) — Convert a simple Tcl switch return mapping to dict get
- **`convert-to-tcloo-class`** (https://act101.ai/docs/languages/tcl#op-convert-to-tcloo-class) — Convert namespace-style Tcl procs into a TclOO class
- **`convert-upvar-to-return`** (https://act101.ai/docs/languages/tcl#op-convert-upvar-to-return) — Convert a simple Tcl upvar output variable to a returned value
- **`extract-namespace`** (https://act101.ai/docs/languages/tcl#op-extract-namespace) — Extract selected Tcl procs into a new namespace
- **`extract-proc`** (https://act101.ai/docs/languages/tcl#op-extract-proc) — Extract selected Tcl command lines into a new proc
- **`extract-to-package`** (https://act101.ai/docs/languages/tcl#op-extract-to-package) — Extract selected Tcl procs into a package namespace
- **`extract-variable`** (https://act101.ai/docs/languages/tcl#op-extract-variable) — Extract a selected Tcl word or expression into a variable
- **`fix-eval-to-expansion`** (https://act101.ai/docs/languages/tcl#op-fix-eval-to-expansion) — Replace a simple Tcl eval command with {*} expansion
- **`fix-incorrect-quoting`** (https://act101.ai/docs/languages/tcl#op-fix-incorrect-quoting) — Replace incorrect Tcl expression quotes with braces
- **`fix-missing-braces`** (https://act101.ai/docs/languages/tcl#op-fix-missing-braces) — Add missing braces to a Tcl expression or condition
- **`fix-missing-namespace`** (https://act101.ai/docs/languages/tcl#op-fix-missing-namespace) — Qualify a bare Tcl command with a namespace path
- **`fix-undefined-variable`** (https://act101.ai/docs/languages/tcl#op-fix-undefined-variable) — Add a Tcl global or namespace variable declaration
- **`gen-arg-parser`** (https://act101.ai/docs/languages/tcl#op-gen-arg-parser) — Generate Tcl command-line arg parser
- **`gen-cgi-handler`** (https://act101.ai/docs/languages/tcl#op-gen-cgi-handler) — Generate Tcl CGI handler scaffold
- **`gen-config-reader`** (https://act101.ai/docs/languages/tcl#op-gen-config-reader) — Generate Tcl config reader
- **`gen-logging-procedure`** (https://act101.ai/docs/languages/tcl#op-gen-logging-procedure) — Generate Tcl logging procedure
- **`gen-namespace-scaffold`** (https://act101.ai/docs/languages/tcl#op-gen-namespace-scaffold) — Generate a Tcl namespace scaffold
- **`gen-proc-scaffold`** (https://act101.ai/docs/languages/tcl#op-gen-proc-scaffold) — Generate a Tcl proc scaffold
- **`gen-tcloo-class`** (https://act101.ai/docs/languages/tcl#op-gen-tcloo-class) — Generate a TclOO class scaffold
- **`gen-test-procedure`** (https://act101.ai/docs/languages/tcl#op-gen-test-procedure) — Generate a Tcl tcltest test scaffold
- **`inline-namespace`** (https://act101.ai/docs/languages/tcl#op-inline-namespace) — Inline a Tcl namespace into the top-level scope
- **`inline-proc`** (https://act101.ai/docs/languages/tcl#op-inline-proc) — Inline a single-use no-argument Tcl proc at its direct call site
- **`inline-variable`** (https://act101.ai/docs/languages/tcl#op-inline-variable) — Inline a single-use Tcl variable assignment
- **`modernize-syntax`** (https://act101.ai/docs/languages/tcl#op-modernize-syntax) — Modernize selected Tcl syntax
- **`organize-imports`** (https://act101.ai/docs/languages/tcl#op-organize-imports) — Sort and deduplicate top-level Tcl package requirements
- **`remove-default-parameter`** (https://act101.ai/docs/languages/tcl#op-remove-default-parameter) — Remove a default value from a Tcl proc parameter
- **`remove-error-handling`** (https://act101.ai/docs/languages/tcl#op-remove-error-handling) — Remove a simple Tcl catch error guard
- **`remove-namespace-export`** (https://act101.ai/docs/languages/tcl#op-remove-namespace-export) — Remove a Tcl proc from a namespace export command
- **`remove-parameter`** (https://act101.ai/docs/languages/tcl#op-remove-parameter) — Remove an unused Tcl proc parameter and matching direct call arguments
- **`rename-namespace`** (https://act101.ai/docs/languages/tcl#op-rename-namespace) — Rename a Tcl namespace declaration and qualified same-file references
- **`rename-proc`** (https://act101.ai/docs/languages/tcl#op-rename-proc) — Rename a Tcl proc declaration and direct command call sites
- **`rename-variable`** (https://act101.ai/docs/languages/tcl#op-rename-variable) — Rename a Tcl variable in the selected proc or namespace scope
- **`reorder-parameters`** (https://act101.ai/docs/languages/tcl#op-reorder-parameters) — Reorder Tcl proc parameters and matching direct call arguments
- **`wrap-if`** (https://act101.ai/docs/languages/tcl#op-wrap-if) — Wrap selected Tcl command lines in an if block
### TSX
Reference:
- **`add-barrel-export`** (https://act101.ai/docs/languages/tsx#op-add-barrel-export) — Add barrel export for module
- **`add-discriminant`** (https://act101.ai/docs/languages/tsx#op-add-discriminant) — Add discriminant field to union members
- **`add-nullish-coalescing`** (https://act101.ai/docs/languages/tsx#op-add-nullish-coalescing) — Add nullish coalescing operator
- **`add-numeric-separators`** (https://act101.ai/docs/languages/tsx#op-add-numeric-separators) — Add numeric separators to large numbers
- **`add-optional-chaining`** (https://act101.ai/docs/languages/tsx#op-add-optional-chaining) — Add optional chaining operator
- **`add-readonly`** (https://act101.ai/docs/languages/tsx#op-add-readonly) — Add readonly modifier to property or parameter
- **`add-satisfies`** (https://act101.ai/docs/languages/tsx#op-add-satisfies) — Add satisfies operator for type validation without widening
- **`add-type-annotation`** (https://act101.ai/docs/languages/tsx#op-add-type-annotation) — Add type annotation to variable or parameter
- **`add-type-import`** (https://act101.ai/docs/languages/tsx#op-add-type-import) — Convert import to type-only import
- **`change-signature`** (https://act101.ai/docs/languages/tsx#op-change-signature) — Change function signature
- **`change-visibility`** (https://act101.ai/docs/languages/tsx#op-change-visibility) — Change member visibility
- **`convert-async`** (https://act101.ai/docs/languages/tsx#op-convert-async) — Convert between async/sync function
- **`convert-callback-to-promise`** (https://act101.ai/docs/languages/tsx#op-convert-callback-to-promise) — Convert callback pattern to Promise
- **`convert-class-to-function`** (https://act101.ai/docs/languages/tsx#op-convert-class-to-function) — Convert class to function
- **`convert-commonjs-to-esm`** (https://act101.ai/docs/languages/tsx#op-convert-commonjs-to-esm) — Convert CommonJS to ES modules
- **`convert-concat`** (https://act101.ai/docs/languages/tsx#op-convert-concat) — Convert array concatenation methods
- **`convert-const-to-let`** (https://act101.ai/docs/languages/tsx#op-convert-const-to-let) — Convert const declaration to let
- **`convert-const-to-var`** (https://act101.ai/docs/languages/tsx#op-convert-const-to-var) — Convert const declaration to var
- **`convert-enum-to-union`** (https://act101.ai/docs/languages/tsx#op-convert-enum-to-union) — Convert enum to string/number union type
- **`convert-esm-to-commonjs`** (https://act101.ai/docs/languages/tsx#op-convert-esm-to-commonjs) — Convert ES modules to CommonJS
- **`convert-interface-to-type`** (https://act101.ai/docs/languages/tsx#op-convert-interface-to-type) — Convert interface to type alias
- **`convert-namespace-to-module`** (https://act101.ai/docs/languages/tsx#op-convert-namespace-to-module) — Convert namespace to module
- **`convert-promise-chain-to-async`** (https://act101.ai/docs/languages/tsx#op-convert-promise-chain-to-async) — Convert Promise chain to async/await
- **`convert-prototype-to-class`** (https://act101.ai/docs/languages/tsx#op-convert-prototype-to-class) — Convert prototype-based pattern to ES6 class
- **`convert-require-to-import`** (https://act101.ai/docs/languages/tsx#op-convert-require-to-import) — Convert require() to import statement
- **`convert-template`** (https://act101.ai/docs/languages/tsx#op-convert-template) — Convert string concatenation to template literals
- **`convert-type-to-interface`** (https://act101.ai/docs/languages/tsx#op-convert-type-to-interface) — Convert type alias to interface
- **`convert-union-to-enum`** (https://act101.ai/docs/languages/tsx#op-convert-union-to-enum) — Convert string/number union to enum
- **`convert-var-to-block-scope`** (https://act101.ai/docs/languages/tsx#op-convert-var-to-block-scope) — Convert var declarations to const/let based on mutation
- **`convert-var-to-const`** (https://act101.ai/docs/languages/tsx#op-convert-var-to-const) — Convert var declaration to const
- **`convert-var-to-let`** (https://act101.ai/docs/languages/tsx#op-convert-var-to-let) — Convert var declaration to let
- **`extract-constant`** (https://act101.ai/docs/languages/tsx#op-extract-constant) — Extract value to named constant
- **`extract-enum-member`** (https://act101.ai/docs/languages/tsx#op-extract-enum-member) — Extract enum member
- **`extract-function`** (https://act101.ai/docs/languages/tsx#op-extract-function) — Extract code into a new function
- **`extract-interface`** (https://act101.ai/docs/languages/tsx#op-extract-interface) — Create interface from class
- **`extract-method`** (https://act101.ai/docs/languages/tsx#op-extract-method) — Extract code into a new method
- **`extract-type`** (https://act101.ai/docs/languages/tsx#op-extract-type) — Extract inline type to type alias
- **`extract-variable`** (https://act101.ai/docs/languages/tsx#op-extract-variable) — Extract expression to variable
- **`flatten`** (https://act101.ai/docs/languages/tsx#op-flatten) — Flatten nested structure
- **`generate-accessors`** (https://act101.ai/docs/languages/tsx#op-generate-accessors) — Generate getters/setters for fields
- **`generate-constructor`** (https://act101.ai/docs/languages/tsx#op-generate-constructor) — Generate constructor from fields
- **`generate-equals`** (https://act101.ai/docs/languages/tsx#op-generate-equals) — Generate equals method
- **`generate-impl`** (https://act101.ai/docs/languages/tsx#op-generate-impl) — Generate interface implementation stubs
- **`generate-mapped-type`** (https://act101.ai/docs/languages/tsx#op-generate-mapped-type) — Generate mapped type transformation
- **`generate-tests`** (https://act101.ai/docs/languages/tsx#op-generate-tests) — Generate unit tests
- **`generate-to-string`** (https://act101.ai/docs/languages/tsx#op-generate-to-string) — Generate toString method
- **`generate-type-guard`** (https://act101.ai/docs/languages/tsx#op-generate-type-guard) — Generate type guard function
- **`inline`** (https://act101.ai/docs/languages/tsx#op-inline) — Inline variable or function
- **`introduce-field`** (https://act101.ai/docs/languages/tsx#op-introduce-field) — Introduce new field
- **`introduce-parameter`** (https://act101.ai/docs/languages/tsx#op-introduce-parameter) — Introduce new parameter
- **`move`** (https://act101.ai/docs/languages/tsx#op-move) — Move symbol to another file
- **`remove-type-annotation`** (https://act101.ai/docs/languages/tsx#op-remove-type-annotation) — Remove type annotation from a declaration
- **`remove-type-assertion`** (https://act101.ai/docs/languages/tsx#op-remove-type-assertion) — Remove unnecessary type assertion
- **`rename`** (https://act101.ai/docs/languages/tsx#op-rename) — Rename symbol and all references
- **`use-destructuring`** (https://act101.ai/docs/languages/tsx#op-use-destructuring) — Use destructuring for assignments
- **`use-logical-assignment`** (https://act101.ai/docs/languages/tsx#op-use-logical-assignment) — Use logical assignment operators
- **`use-object-shorthand`** (https://act101.ai/docs/languages/tsx#op-use-object-shorthand) — Use object property shorthand
- **`use-private-fields`** (https://act101.ai/docs/languages/tsx#op-use-private-fields) — Use private class fields
- **`use-rest-parameters`** (https://act101.ai/docs/languages/tsx#op-use-rest-parameters) — Use rest parameters instead of arguments
- **`use-spread-operator`** (https://act101.ai/docs/languages/tsx#op-use-spread-operator) — Use spread operator for arrays/objects
- **`use-template-literals`** (https://act101.ai/docs/languages/tsx#op-use-template-literals) — Use template literals for string interpolation
- **`wrap-if`** (https://act101.ai/docs/languages/tsx#op-wrap-if) — Wrap in if statement
- **`wrap-null-check`** (https://act101.ai/docs/languages/tsx#op-wrap-null-check) — Wrap in null check guard
- **`wrap-try-catch`** (https://act101.ai/docs/languages/tsx#op-wrap-try-catch) — Wrap in try-catch block
### TypeScript
Reference:
- **`add-barrel-export`** (https://act101.ai/docs/languages/typescript#op-add-barrel-export) — Add barrel export for module
- **`add-discriminant`** (https://act101.ai/docs/languages/typescript#op-add-discriminant) — Add discriminant property to union type
- **`add-nullish-coalescing`** (https://act101.ai/docs/languages/typescript#op-add-nullish-coalescing) — Add nullish coalescing operator
- **`add-numeric-separators`** (https://act101.ai/docs/languages/typescript#op-add-numeric-separators) — Add numeric separators to large numbers
- **`add-optional-chaining`** (https://act101.ai/docs/languages/typescript#op-add-optional-chaining) — Add optional chaining operator
- **`add-readonly`** (https://act101.ai/docs/languages/typescript#op-add-readonly) — Add readonly modifier to property
- **`add-satisfies`** (https://act101.ai/docs/languages/typescript#op-add-satisfies) — Add satisfies type constraint
- **`add-type-annotation`** (https://act101.ai/docs/languages/typescript#op-add-type-annotation) — Add type annotation to variable or parameter
- **`add-type-import`** (https://act101.ai/docs/languages/typescript#op-add-type-import) — Convert import to type-only import
- **`change-signature`** (https://act101.ai/docs/languages/typescript#op-change-signature) — Change function signature
- **`change-visibility`** (https://act101.ai/docs/languages/typescript#op-change-visibility) — Change member visibility
- **`convert-arrow`** (https://act101.ai/docs/languages/typescript#op-convert-arrow) — Convert function to arrow function
- **`convert-async`** (https://act101.ai/docs/languages/typescript#op-convert-async) — Convert between async/sync
- **`convert-callback-to-promise`** (https://act101.ai/docs/languages/typescript#op-convert-callback-to-promise) — Convert callback pattern to Promise
- **`convert-class-to-function`** (https://act101.ai/docs/languages/typescript#op-convert-class-to-function) — Convert class to function
- **`convert-commonjs-to-esm`** (https://act101.ai/docs/languages/typescript#op-convert-commonjs-to-esm) — Convert CommonJS to ES modules
- **`convert-concat`** (https://act101.ai/docs/languages/typescript#op-convert-concat) — Convert array concatenation methods
- **`convert-const-to-let`** (https://act101.ai/docs/languages/typescript#op-convert-const-to-let) — Convert const to let
- **`convert-const-to-var`** (https://act101.ai/docs/languages/typescript#op-convert-const-to-var) — Convert const to var
- **`convert-enum-to-union`** (https://act101.ai/docs/languages/typescript#op-convert-enum-to-union) — Convert enum to union type
- **`convert-esm-to-commonjs`** (https://act101.ai/docs/languages/typescript#op-convert-esm-to-commonjs) — Convert ES modules to CommonJS
- **`convert-for`** (https://act101.ai/docs/languages/typescript#op-convert-for) — Convert between for loop variants
- **`convert-foreach`** (https://act101.ai/docs/languages/typescript#op-convert-foreach) — Convert for loop to forEach
- **`convert-if-else`** (https://act101.ai/docs/languages/typescript#op-convert-if-else) — Convert between if-else and ternary
- **`convert-interface-to-type`** (https://act101.ai/docs/languages/typescript#op-convert-interface-to-type) — Convert interface to type alias
- **`convert-namespace-to-module`** (https://act101.ai/docs/languages/typescript#op-convert-namespace-to-module) — Convert namespace to module
- **`convert-promise-chain-to-async`** (https://act101.ai/docs/languages/typescript#op-convert-promise-chain-to-async) — Convert promise chain to async/await
- **`convert-prototype-to-class`** (https://act101.ai/docs/languages/typescript#op-convert-prototype-to-class) — Convert prototype pattern to ES6 class
- **`convert-require-to-import`** (https://act101.ai/docs/languages/typescript#op-convert-require-to-import) — Convert require() to import
- **`convert-template`** (https://act101.ai/docs/languages/typescript#op-convert-template) — Convert string concatenation to template literals
- **`convert-ternary`** (https://act101.ai/docs/languages/typescript#op-convert-ternary) — Convert ternary to if-else
- **`convert-type-to-interface`** (https://act101.ai/docs/languages/typescript#op-convert-type-to-interface) — Convert type alias to interface
- **`convert-union-to-enum`** (https://act101.ai/docs/languages/typescript#op-convert-union-to-enum) — Convert union type to enum
- **`convert-var-to-block-scope`** (https://act101.ai/docs/languages/typescript#op-convert-var-to-block-scope) — Convert var to block-scoped declaration
- **`convert-var-to-const`** (https://act101.ai/docs/languages/typescript#op-convert-var-to-const) — Convert var to const
- **`convert-var-to-let`** (https://act101.ai/docs/languages/typescript#op-convert-var-to-let) — Convert var to let
- **`encapsulate`** (https://act101.ai/docs/languages/typescript#op-encapsulate) — Encapsulate field with accessors
- **`extract-constant`** (https://act101.ai/docs/languages/typescript#op-extract-constant) — Extract value to named constant
- **`extract-enum-member`** (https://act101.ai/docs/languages/typescript#op-extract-enum-member) — Extract enum member to separate enum
- **`extract-function`** (https://act101.ai/docs/languages/typescript#op-extract-function) — Extract code into a new function
- **`extract-interface`** (https://act101.ai/docs/languages/typescript#op-extract-interface) — Create interface from class
- **`extract-method`** (https://act101.ai/docs/languages/typescript#op-extract-method) — Extract code into a new class method
- **`extract-type`** (https://act101.ai/docs/languages/typescript#op-extract-type) — Extract inline type to type alias
- **`extract-variable`** (https://act101.ai/docs/languages/typescript#op-extract-variable) — Extract expression to variable
- **`flatten`** (https://act101.ai/docs/languages/typescript#op-flatten) — Flatten nested structure
- **`generate-accessors`** (https://act101.ai/docs/languages/typescript#op-generate-accessors) — Generate getters/setters for fields
- **`generate-builder`** (https://act101.ai/docs/languages/typescript#op-generate-builder) — Generate builder pattern
- **`generate-constructor`** (https://act101.ai/docs/languages/typescript#op-generate-constructor) — Generate constructor from fields
- **`generate-equals`** (https://act101.ai/docs/languages/typescript#op-generate-equals) — Generate equals method
- **`generate-from-json`** (https://act101.ai/docs/languages/typescript#op-generate-from-json) — Generate fromJSON static method
- **`generate-hash`** (https://act101.ai/docs/languages/typescript#op-generate-hash) — Generate hashCode method
- **`generate-impl`** (https://act101.ai/docs/languages/typescript#op-generate-impl) — Generate interface implementation stubs
- **`generate-mapped-type`** (https://act101.ai/docs/languages/typescript#op-generate-mapped-type) — Generate mapped type from interface
- **`generate-tests`** (https://act101.ai/docs/languages/typescript#op-generate-tests) — Generate unit tests
- **`generate-to-json`** (https://act101.ai/docs/languages/typescript#op-generate-to-json) — Generate toJSON method
- **`generate-to-string`** (https://act101.ai/docs/languages/typescript#op-generate-to-string) — Generate toString method
- **`generate-type-guard`** (https://act101.ai/docs/languages/typescript#op-generate-type-guard) — Generate type guard function
- **`import-add`** (https://act101.ai/docs/languages/typescript#op-import-add) — Add import statement
- **`import-alias`** (https://act101.ai/docs/languages/typescript#op-import-alias) — Add or change import alias
- **`import-organize`** (https://act101.ai/docs/languages/typescript#op-import-organize) — Organize import statements
- **`import-remove`** (https://act101.ai/docs/languages/typescript#op-import-remove) — Remove import statement
- **`inline`** (https://act101.ai/docs/languages/typescript#op-inline) — Inline variable or function
- **`introduce-field`** (https://act101.ai/docs/languages/typescript#op-introduce-field) — Introduce new field
- **`introduce-parameter`** (https://act101.ai/docs/languages/typescript#op-introduce-parameter) — Introduce new parameter
- **`introduce-variable`** (https://act101.ai/docs/languages/typescript#op-introduce-variable) — Introduce new variable
- **`move`** (https://act101.ai/docs/languages/typescript#op-move) — Move symbol to another file
- **`remove-type-annotation`** (https://act101.ai/docs/languages/typescript#op-remove-type-annotation) — Remove inferred type annotation
- **`remove-type-assertion`** (https://act101.ai/docs/languages/typescript#op-remove-type-assertion) — Remove unnecessary type assertion
- **`rename`** (https://act101.ai/docs/languages/typescript#op-rename) — Rename symbol and all references
- **`use-destructuring`** (https://act101.ai/docs/languages/typescript#op-use-destructuring) — Use destructuring for assignments
- **`use-logical-assignment`** (https://act101.ai/docs/languages/typescript#op-use-logical-assignment) — Use logical assignment operators
- **`use-object-shorthand`** (https://act101.ai/docs/languages/typescript#op-use-object-shorthand) — Use object property shorthand
- **`use-private-fields`** (https://act101.ai/docs/languages/typescript#op-use-private-fields) — Use private class fields
- **`use-rest-parameters`** (https://act101.ai/docs/languages/typescript#op-use-rest-parameters) — Use rest parameters instead of arguments
- **`use-spread-operator`** (https://act101.ai/docs/languages/typescript#op-use-spread-operator) — Use spread operator for arrays/objects
- **`use-template-literals`** (https://act101.ai/docs/languages/typescript#op-use-template-literals) — Use template literals for string interpolation
- **`wrap-if`** (https://act101.ai/docs/languages/typescript#op-wrap-if) — Wrap in if statement
- **`wrap-null-check`** (https://act101.ai/docs/languages/typescript#op-wrap-null-check) — Wrap in null check guard
- **`wrap-try-catch`** (https://act101.ai/docs/languages/typescript#op-wrap-try-catch) — Wrap in try-catch block
### V
Reference:
- **`add-mutable-v`** (https://act101.ai/docs/languages/v#op-add-mutable-v) — Add mut modifier to V short variable declaration
- **`add-result-propagation-v`** (https://act101.ai/docs/languages/v#op-add-result-propagation-v) — Convert explicit error check to ? operator
- **`convert-match-to-if-else-v`** (https://act101.ai/docs/languages/v#op-convert-match-to-if-else-v) — Convert match expression to if-else chain
- **`convert-string-concatenation-to-interpolation-v`** (https://act101.ai/docs/languages/v#op-convert-string-concatenation-to-interpolation-v) — Convert string concatenation to interpolation
- **`convert-to-match-expression-v`** (https://act101.ai/docs/languages/v#op-convert-to-match-expression-v) — Convert if-else chain to match expression
- **`convert-to-option-v`** (https://act101.ai/docs/languages/v#op-convert-to-option-v) — Wrap function return type in ? for optional
- **`extract-constant-v`** (https://act101.ai/docs/languages/v#op-extract-constant-v) — Extract an integer literal to a named constant in V
- **`generate-documentation-comment-v`** (https://act101.ai/docs/languages/v#op-generate-documentation-comment-v) — Generate a documentation comment for a V function or struct
- **`generate-enum-from-variants-v`** (https://act101.ai/docs/languages/v#op-generate-enum-from-variants-v) — Generate a V enum definition from a list of variants
- **`generate-enum-match-arms-v`** (https://act101.ai/docs/languages/v#op-generate-enum-match-arms-v) — Fill in match arms for a V enum match expression
- **`generate-match-expression-v`** (https://act101.ai/docs/languages/v#op-generate-match-expression-v) — Insert a match expression template after the target line
- **`generate-struct-defaults-v`** (https://act101.ai/docs/languages/v#op-generate-struct-defaults-v) — Generate a new() constructor for a V struct
- **`organize-imports-v`** (https://act101.ai/docs/languages/v#op-organize-imports-v) — Sort V import statements alphabetically and remove duplicates
- **`remove-unused-parameter-v`** (https://act101.ai/docs/languages/v#op-remove-unused-parameter-v) — Remove an unused parameter from a V function signature
- **`remove-unused-variable-v`** (https://act101.ai/docs/languages/v#op-remove-unused-variable-v) — Remove an unused variable declaration in V
- **`simplify-boolean-comparison-v`** (https://act101.ai/docs/languages/v#op-simplify-boolean-comparison-v) — Simplify boolean comparisons in V (x == true → x)
### VB.NET
Reference:
- **`add-option-strict`** (https://act101.ai/docs/languages/vbnet#op-add-option-strict) — Add Option Strict declaration to file
- **`convert-sub-to-function`** (https://act101.ai/docs/languages/vbnet#op-convert-sub-to-function) — Convert Sub to Function with return type
- **`convert-vbnet-string-interpolation`** (https://act101.ai/docs/languages/vbnet#op-convert-vbnet-string-interpolation) — Convert string concatenation to interpolation
- **`vbnet-add-braces`** (https://act101.ai/docs/languages/vbnet#op-vbnet-add-braces) — Add End blocks to implicit single-line VB.NET blocks
- **`vbnet-add-null-check-guard`** (https://act101.ai/docs/languages/vbnet#op-vbnet-add-null-check-guard) — Add null check guard for variable
- **`vbnet-add-type-annotation`** (https://act101.ai/docs/languages/vbnet#op-vbnet-add-type-annotation) — Add explicit type annotation to Dim statement
- **`vbnet-add-using-import`** (https://act101.ai/docs/languages/vbnet#op-vbnet-add-using-import) — Add Imports statement for namespace
- **`vbnet-change-accessibility`** (https://act101.ai/docs/languages/vbnet#op-vbnet-change-accessibility) — Change accessibility modifier (Public/Private/Protected)
- **`vbnet-convert-conditional-to-if`** (https://act101.ai/docs/languages/vbnet#op-vbnet-convert-conditional-to-if) — Convert If operator to If...Then...Else
- **`vbnet-convert-do-while-to-while`** (https://act101.ai/docs/languages/vbnet#op-vbnet-convert-do-while-to-while) — Convert Do...Loop to While equivalent
- **`vbnet-convert-for-to-while`** (https://act101.ai/docs/languages/vbnet#op-vbnet-convert-for-to-while) — Convert For loop to While
- **`vbnet-convert-foreach-to-loop`** (https://act101.ai/docs/languages/vbnet#op-vbnet-convert-foreach-to-loop) — Convert For Each to For i loop
- **`vbnet-convert-if-to-conditional`** (https://act101.ai/docs/languages/vbnet#op-vbnet-convert-if-to-conditional) — Convert If...Then...Else to If operator
- **`vbnet-convert-if-to-select-case`** (https://act101.ai/docs/languages/vbnet#op-vbnet-convert-if-to-select-case) — Convert If...ElseIf to Select Case
- **`vbnet-convert-loop-to-foreach`** (https://act101.ai/docs/languages/vbnet#op-vbnet-convert-loop-to-foreach) — Convert For loop to For Each
- **`vbnet-convert-readonly-to-constant`** (https://act101.ai/docs/languages/vbnet#op-vbnet-convert-readonly-to-constant) — Convert ReadOnly field to Const
- **`vbnet-convert-select-case-to-if`** (https://act101.ai/docs/languages/vbnet#op-vbnet-convert-select-case-to-if) — Convert Select Case to If...ElseIf
- **`vbnet-convert-string-concatenation-to-interpolation`** (https://act101.ai/docs/languages/vbnet#op-vbnet-convert-string-concatenation-to-interpolation) — Convert & concatenation to string interpolation
- **`vbnet-convert-string-format-to-interpolation`** (https://act101.ai/docs/languages/vbnet#op-vbnet-convert-string-format-to-interpolation) — Convert String.Format to interpolation
- **`vbnet-convert-to-coalesce-operator`** (https://act101.ai/docs/languages/vbnet#op-vbnet-convert-to-coalesce-operator) — Convert Nothing check to coalesce operator
- **`vbnet-convert-while-to-for`** (https://act101.ai/docs/languages/vbnet#op-vbnet-convert-while-to-for) — Convert While loop to For
- **`vbnet-extract-constant`** (https://act101.ai/docs/languages/vbnet#op-vbnet-extract-constant) — Extract expression to named constant
- **`vbnet-extract-interface`** (https://act101.ai/docs/languages/vbnet#op-vbnet-extract-interface) — Extract interface from class
- **`vbnet-extract-method`** (https://act101.ai/docs/languages/vbnet#op-vbnet-extract-method) — Extract code block into new method
- **`vbnet-extract-variable`** (https://act101.ai/docs/languages/vbnet#op-vbnet-extract-variable) — Extract expression into local variable
- **`vbnet-generate-abstract-member`** (https://act101.ai/docs/languages/vbnet#op-vbnet-generate-abstract-member) — Generate abstract member (MustOverride)
- **`vbnet-generate-auto-property`** (https://act101.ai/docs/languages/vbnet#op-vbnet-generate-auto-property) — Create auto-property
- **`vbnet-generate-class-from-interface`** (https://act101.ai/docs/languages/vbnet#op-vbnet-generate-class-from-interface) — Generate class implementing interface
- **`vbnet-generate-constructor`** (https://act101.ai/docs/languages/vbnet#op-vbnet-generate-constructor) — Generate constructor (Sub New)
- **`vbnet-generate-documentation-comment`** (https://act101.ai/docs/languages/vbnet#op-vbnet-generate-documentation-comment) — Generate XML documentation comment stub for declaration
- **`vbnet-generate-equals-method`** (https://act101.ai/docs/languages/vbnet#op-vbnet-generate-equals-method) — Generate Equals method
- **`vbnet-generate-gethashcode-method`** (https://act101.ai/docs/languages/vbnet#op-vbnet-generate-gethashcode-method) — Generate GetHashCode method
- **`vbnet-generate-iequatable-implementation`** (https://act101.ai/docs/languages/vbnet#op-vbnet-generate-iequatable-implementation) — Implement IEquatable(Of T)
- **`vbnet-generate-import-statement`** (https://act101.ai/docs/languages/vbnet#op-vbnet-generate-import-statement) — Generate Imports statement for a namespace
- **`vbnet-generate-interface-member-implementation`** (https://act101.ai/docs/languages/vbnet#op-vbnet-generate-interface-member-implementation) — Generate interface member implementation
- **`vbnet-generate-null-propagation`** (https://act101.ai/docs/languages/vbnet#op-vbnet-generate-null-propagation) — Generate null-conditional operator expression
- **`vbnet-generate-override-member`** (https://act101.ai/docs/languages/vbnet#op-vbnet-generate-override-member) — Generate override of base member
- **`vbnet-generate-parameterless-constructor`** (https://act101.ai/docs/languages/vbnet#op-vbnet-generate-parameterless-constructor) — Generate parameterless constructor
- **`vbnet-generate-private-field-from-parameter`** (https://act101.ai/docs/languages/vbnet#op-vbnet-generate-private-field-from-parameter) — Create private field from parameter
- **`vbnet-generate-property-from-field`** (https://act101.ai/docs/languages/vbnet#op-vbnet-generate-property-from-field) — Generate property from field
- **`vbnet-generate-property-with-backing-field`** (https://act101.ai/docs/languages/vbnet#op-vbnet-generate-property-with-backing-field) — Generate property with backing field
- **`vbnet-generate-test-class`** (https://act101.ai/docs/languages/vbnet#op-vbnet-generate-test-class) — Generate test class
- **`vbnet-generate-test-method`** (https://act101.ai/docs/languages/vbnet#op-vbnet-generate-test-method) — Generate test method
- **`vbnet-generate-tostring-method`** (https://act101.ai/docs/languages/vbnet#op-vbnet-generate-tostring-method) — Generate ToString method
- **`vbnet-invert-if`** (https://act101.ai/docs/languages/vbnet#op-vbnet-invert-if) — Invert If condition and swap branches
- **`vbnet-make-field-readonly`** (https://act101.ai/docs/languages/vbnet#op-vbnet-make-field-readonly) — Add ReadOnly modifier to field
- **`vbnet-merge-nested-if`** (https://act101.ai/docs/languages/vbnet#op-vbnet-merge-nested-if) — Merge nested If statements
- **`vbnet-promote-local-to-parameter`** (https://act101.ai/docs/languages/vbnet#op-vbnet-promote-local-to-parameter) — Move local variable to parameter
- **`vbnet-remove-unnecessary-assignment`** (https://act101.ai/docs/languages/vbnet#op-vbnet-remove-unnecessary-assignment) — Remove unnecessary initial assignment from Dim statement
- **`vbnet-remove-unnecessary-null-check`** (https://act101.ai/docs/languages/vbnet#op-vbnet-remove-unnecessary-null-check) — Remove redundant null check guard block
- **`vbnet-remove-unused-import`** (https://act101.ai/docs/languages/vbnet#op-vbnet-remove-unused-import) — Remove unused Imports statement
- **`vbnet-remove-unused-parameter`** (https://act101.ai/docs/languages/vbnet#op-vbnet-remove-unused-parameter) — Remove unused method parameter from signature
- **`vbnet-remove-unused-variable`** (https://act101.ai/docs/languages/vbnet#op-vbnet-remove-unused-variable) — Remove unused local variable declaration
- **`vbnet-rename-type-parameter`** (https://act101.ai/docs/languages/vbnet#op-vbnet-rename-type-parameter) — Rename generic type parameter throughout file
- **`vbnet-sort-imports`** (https://act101.ai/docs/languages/vbnet#op-vbnet-sort-imports) — Sort Imports statements alphabetically
- **`vbnet-split-if`** (https://act101.ai/docs/languages/vbnet#op-vbnet-split-if) — Split compound If condition
### Verilog
Reference:
- **`add-bit-width-fix`** (https://act101.ai/docs/languages/verilog#op-add-bit-width-fix) — Add explicit bit width [N-1:0] to a wire/reg declaration
- **`add-clock-domain`** (https://act101.ai/docs/languages/verilog#op-add-clock-domain) — Add clock signal to always block (convert to always @(posedge clk))
- **`add-default-case`** (https://act101.ai/docs/languages/verilog#op-add-default-case) — Add a default case to an incomplete case statement
- **`add-function-declaration`** (https://act101.ai/docs/languages/verilog#op-add-function-declaration) — Declare a function skeleton inside a module
- **`add-intermediate-signal`** (https://act101.ai/docs/languages/verilog#op-add-intermediate-signal) — Introduce a named intermediate signal for a complex expression
- **`add-module-instantiation`** (https://act101.ai/docs/languages/verilog#op-add-module-instantiation) — Create an instance of a module with port connections
- **`add-parameter`** (https://act101.ai/docs/languages/verilog#op-add-parameter) — Add a parameter to a module
- **`add-pipeline-register`** (https://act101.ai/docs/languages/verilog#op-add-pipeline-register) — Insert a pipeline register between two logic stages
- **`add-port-connection`** (https://act101.ai/docs/languages/verilog#op-add-port-connection) — Add a missing port connection to a module instantiation
- **`add-reg-declaration`** (https://act101.ai/docs/languages/verilog#op-add-reg-declaration) — Add a reg declaration for an assignment target
- **`add-reset-logic`** (https://act101.ai/docs/languages/verilog#op-add-reset-logic) — Add reset signal handling to a sequential always block
- **`add-sensitivity-list`** (https://act101.ai/docs/languages/verilog#op-add-sensitivity-list) — Add missing signals to always block sensitivity list
- **`add-task-declaration`** (https://act101.ai/docs/languages/verilog#op-add-task-declaration) — Declare a task skeleton inside a module
- **`add-wire-declaration`** (https://act101.ai/docs/languages/verilog#op-add-wire-declaration) — Add a wire declaration for an undefined signal
- **`convert-always-to-continuous`** (https://act101.ai/docs/languages/verilog#op-convert-always-to-continuous) — Convert a simple combinational always block to a continuous assign statement
- **`convert-continuous-to-always`** (https://act101.ai/docs/languages/verilog#op-convert-continuous-to-always) — Convert a continuous assign statement to an always @(*) block
- **`convert-for-loop-to-generate`** (https://act101.ai/docs/languages/verilog#op-convert-for-loop-to-generate) — Convert a for loop to a generate block
- **`convert-generate-to-loop`** (https://act101.ai/docs/languages/verilog#op-convert-generate-to-loop) — Convert a generate block to a for loop
- **`convert-mux-to-case`** (https://act101.ai/docs/languages/verilog#op-convert-mux-to-case) — Convert a ternary mux expression to a case statement
- **`convert-reg-to-wire`** (https://act101.ai/docs/languages/verilog#op-convert-reg-to-wire) — Change a reg declaration to wire
- **`convert-to-blocking`** (https://act101.ai/docs/languages/verilog#op-convert-to-blocking) — Convert non-blocking <= assignments to blocking = in a combinational always block
- **`convert-to-nonblocking`** (https://act101.ai/docs/languages/verilog#op-convert-to-nonblocking) — Convert blocking = assignments to non-blocking <= in a sequential always block
- **`convert-wire-to-reg`** (https://act101.ai/docs/languages/verilog#op-convert-wire-to-reg) — Change a wire declaration to reg
- **`extract-always-block`** (https://act101.ai/docs/languages/verilog#op-extract-always-block) — Extract procedural logic from an always block into a new always block
- **`extract-function`** (https://act101.ai/docs/languages/verilog#op-extract-function) — Extract repeated logic into a Verilog function
- **`extract-module`** (https://act101.ai/docs/languages/verilog#op-extract-module) — Extract a range of lines into a new module
- **`extract-task-from-always`** (https://act101.ai/docs/languages/verilog#op-extract-task-from-always) — Extract procedural logic from an always block into a task
- **`generate-module-stub`** (https://act101.ai/docs/languages/verilog#op-generate-module-stub) — Generate a module skeleton with header and endmodule
- **`generate-testbench`** (https://act101.ai/docs/languages/verilog#op-generate-testbench) — Generate a testbench skeleton for a module
- **`inline-parameter`** (https://act101.ai/docs/languages/verilog#op-inline-parameter) — Inline a parameter value, replacing all references with its value
- **`remove-unused-function`** (https://act101.ai/docs/languages/verilog#op-remove-unused-function) — Remove an unused function declaration
- **`remove-unused-parameter`** (https://act101.ai/docs/languages/verilog#op-remove-unused-parameter) — Remove an unused parameter declaration
- **`remove-unused-port`** (https://act101.ai/docs/languages/verilog#op-remove-unused-port) — Remove an unused port from the module declaration
- **`remove-unused-signal`** (https://act101.ai/docs/languages/verilog#op-remove-unused-signal) — Remove an unused wire, reg, or variable declaration
- **`remove-unused-task`** (https://act101.ai/docs/languages/verilog#op-remove-unused-task) — Remove an unused task declaration
- **`rename-identifier`** (https://act101.ai/docs/languages/verilog#op-rename-identifier) — Rename a signal, port, or identifier across all references
- **`rename-module`** (https://act101.ai/docs/languages/verilog#op-rename-module) — Rename a module and all its instantiation references
- **`rename-parameter`** (https://act101.ai/docs/languages/verilog#op-rename-parameter) — Rename a parameter across all references
### VHDL
Reference:
- **`add-generic-to-entity`** (https://act101.ai/docs/languages/vhdl#op-add-generic-to-entity) — Add a new generic parameter to an entity
- **`add-port-to-entity`** (https://act101.ai/docs/languages/vhdl#op-add-port-to-entity) — Add a new port declaration to an entity and wire it through architecture
- **`add-sensitivity-list`** (https://act101.ai/docs/languages/vhdl#op-add-sensitivity-list) — Add missing sensitivity list signals to a process (detect all RHS signal reads)
- **`convert-case-to-if`** (https://act101.ai/docs/languages/vhdl#op-convert-case-to-if) — Convert case statement to if-elsif chain
- **`convert-constant-to-variable`** (https://act101.ai/docs/languages/vhdl#op-convert-constant-to-variable) — Convert constant to variable if reassignment is needed
- **`convert-for-to-while`** (https://act101.ai/docs/languages/vhdl#op-convert-for-to-while) — Convert for loop to equivalent while loop
- **`convert-if-to-case`** (https://act101.ai/docs/languages/vhdl#op-convert-if-to-case) — Convert if-elsif chain to case statement
- **`convert-variable-to-constant`** (https://act101.ai/docs/languages/vhdl#op-convert-variable-to-constant) — Change a variable to constant if never reassigned after initialization
- **`convert-while-to-for`** (https://act101.ai/docs/languages/vhdl#op-convert-while-to-for) — Convert while loop with counter to for loop
- **`expand-port-mapping`** (https://act101.ai/docs/languages/vhdl#op-expand-port-mapping) — Convert positional port map to named port map for clarity
- **`extract-constant-from-literal`** (https://act101.ai/docs/languages/vhdl#op-extract-constant-from-literal) — Replace magic numbers/strings with named constants
- **`extract-function`** (https://act101.ai/docs/languages/vhdl#op-extract-function) — Extract expressions into a new function (pure or impure based on side effects)
- **`extract-procedure`** (https://act101.ai/docs/languages/vhdl#op-extract-procedure) — Extract a sequence of statements into a new procedure with inferred parameters
- **`extract-signal`** (https://act101.ai/docs/languages/vhdl#op-extract-signal) — Extract a computed expression into a signal (for concurrent assignments)
- **`extract-variable`** (https://act101.ai/docs/languages/vhdl#op-extract-variable) — Extract a computed expression into a local variable with type inference
- **`generate-architecture-skeleton`** (https://act101.ai/docs/languages/vhdl#op-generate-architecture-skeleton) — Create architecture body with placeholder for entity
- **`generate-comparison-functions`** (https://act101.ai/docs/languages/vhdl#op-generate-comparison-functions) — Create comparison operators (=, <, >, <=, >=) for custom types
- **`generate-entity-from-architecture`** (https://act101.ai/docs/languages/vhdl#op-generate-entity-from-architecture) — Create entity declaration from architecture ports and generics
- **`generate-library-clause`** (https://act101.ai/docs/languages/vhdl#op-generate-library-clause) — Add library and use declarations for standard libraries
- **`generate-process-template`** (https://act101.ai/docs/languages/vhdl#op-generate-process-template) — Create a new process with sensitivity list template
- **`generate-test-bench`** (https://act101.ai/docs/languages/vhdl#op-generate-test-bench) — Create test bench entity and architecture for simulation
- **`inline-constant`** (https://act101.ai/docs/languages/vhdl#op-inline-constant) — Replace constant reference with its literal value
- **`move-declaration-closer`** (https://act101.ai/docs/languages/vhdl#op-move-declaration-closer) — Move variable/signal declaration closer to first usage
- **`remove-unused-port`** (https://act101.ai/docs/languages/vhdl#op-remove-unused-port) — Remove an unused port from entity and all instantiations
- **`rename-architecture`** (https://act101.ai/docs/languages/vhdl#op-rename-architecture) — Rename an architecture body and update instantiations
- **`rename-generic`** (https://act101.ai/docs/languages/vhdl#op-rename-generic) — Rename a generic parameter and update instantiations
- **`rename-identifier`** (https://act101.ai/docs/languages/vhdl#op-rename-identifier) — Rename signal, variable, entity, port, generic, procedure, or function across all references
- **`rename-package`** (https://act101.ai/docs/languages/vhdl#op-rename-package) — Rename a package and update all use clauses
- **`rename-port`** (https://act101.ai/docs/languages/vhdl#op-rename-port) — Rename an entity port and update all instantiations
- **`rename-signal`** (https://act101.ai/docs/languages/vhdl#op-rename-signal) — Rename a signal and update all assignments and references
### Vue
Reference:
- **`add-key-to-v-for`** (https://act101.ai/docs/languages/vue#op-add-key-to-v-for) — Add :key binding to v-for loops for stability
- **`add-type-annotation-to-prop`** (https://act101.ai/docs/languages/vue#op-add-type-annotation-to-prop) — Add a TypeScript type annotation to an untyped prop
- **`add-v-model-binding`** (https://act101.ai/docs/languages/vue#op-add-v-model-binding) — Convert :prop/@update:prop pattern to v-model binding
- **`convert-arrow-to-method`** (https://act101.ai/docs/languages/vue#op-convert-arrow-to-method) — Convert an arrow function data property to a proper method
- **`convert-method-to-arrow`** (https://act101.ai/docs/languages/vue#op-convert-method-to-arrow) — Convert a method to an arrow function
- **`convert-prop-validator-to-type`** (https://act101.ai/docs/languages/vue#op-convert-prop-validator-to-type) — Convert a runtime prop validator to a TypeScript PropType annotation
- **`convert-string-interpolation`** (https://act101.ai/docs/languages/vue#op-convert-string-interpolation) — Convert template string interpolation to expression binding
- **`convert-string-to-dynamic-binding`** (https://act101.ai/docs/languages/vue#op-convert-string-to-dynamic-binding) — Convert a hardcoded string to a dynamic :bind expression
- **`convert-to-composition-api`** (https://act101.ai/docs/languages/vue#op-convert-to-composition-api) — Convert an Options API component to Composition API
- **`convert-two-way-binding-to-v-model`** (https://act101.ai/docs/languages/vue#op-convert-two-way-binding-to-v-model) — Consolidate :prop and @update:prop bindings into v-model
- **`extract-component`** (https://act101.ai/docs/languages/vue#op-extract-component) — Extract selected template markup into a new component
- **`extract-computed-property`** (https://act101.ai/docs/languages/vue#op-extract-computed-property) — Extract an expression from template into a computed property
- **`extract-event-handler`** (https://act101.ai/docs/languages/vue#op-extract-event-handler) — Extract an inline event handler from template into a method
- **`extract-template-helper`** (https://act101.ai/docs/languages/vue#op-extract-template-helper) — Extract a complex expression into a template helper function
- **`generate-component-scaffold`** (https://act101.ai/docs/languages/vue#op-generate-component-scaffold) — Generate a new Vue component with Options API structure
- **`generate-composition-api-component`** (https://act101.ai/docs/languages/vue#op-generate-composition-api-component) — Generate a new Vue component with Composition API script setup
- **`generate-computed-property`** (https://act101.ai/docs/languages/vue#op-generate-computed-property) — Generate a computed property with getter expression
- **`generate-emits-definition`** (https://act101.ai/docs/languages/vue#op-generate-emits-definition) — Generate or extend the emits declaration with event names
- **`generate-lifecycle-hook`** (https://act101.ai/docs/languages/vue#op-generate-lifecycle-hook) — Generate a lifecycle hook in a Vue component
- **`generate-list-binding`** (https://act101.ai/docs/languages/vue#op-generate-list-binding) — Generate a v-for loop with key and data structure
- **`generate-prop-definition`** (https://act101.ai/docs/languages/vue#op-generate-prop-definition) — Generate a prop definition with type annotation and default value
- **`generate-v-model-prop`** (https://act101.ai/docs/languages/vue#op-generate-v-model-prop) — Generate a prop and emit for v-model two-way binding
- **`inline-computed`** (https://act101.ai/docs/languages/vue#op-inline-computed) — Inline a computed property into template
- **`remove-unused-method`** (https://act101.ai/docs/languages/vue#op-remove-unused-method) — Remove an unused method from the component
- **`remove-unused-prop`** (https://act101.ai/docs/languages/vue#op-remove-unused-prop) — Remove an unused prop definition
- **`rename-computed-property`** (https://act101.ai/docs/languages/vue#op-rename-computed-property) — Rename a computed property across definition and template references
- **`rename-data-property`** (https://act101.ai/docs/languages/vue#op-rename-data-property) — Rename a data property across definition, template, and methods
- **`rename-emitted-event`** (https://act101.ai/docs/languages/vue#op-rename-emitted-event) — Rename an emitted event across emit calls and parent listeners
- **`rename-method`** (https://act101.ai/docs/languages/vue#op-rename-method) — Rename a component method across definition and call sites
- **`rename-prop`** (https://act101.ai/docs/languages/vue#op-rename-prop) — Rename a Vue component prop across definition and all usages
### Vyper
Reference:
- **`add-address-check`** (https://act101.ai/docs/languages/vyper#op-add-address-check) — Insert an assert checking address != empty(address) at the start of a function
- **`add-array-bounds-check`** (https://act101.ai/docs/languages/vyper#op-add-array-bounds-check) — Insert assert index < length before array access in a function
- **`add-assert-guard`** (https://act101.ai/docs/languages/vyper#op-add-assert-guard) — Insert an assert condition at the start of a function
- **`add-check-effects-interactions`** (https://act101.ai/docs/languages/vyper#op-add-check-effects-interactions) — Insert CEI pattern comment markers at the start of a function body
- **`add-decorator`** (https://act101.ai/docs/languages/vyper#op-add-decorator) — Add a decorator to a function
- **`add-event-emission`** (https://act101.ai/docs/languages/vyper#op-add-event-emission) — Append a log EventName(...) statement to a function body
- **`add-immutable-keyword`** (https://act101.ai/docs/languages/vyper#op-add-immutable-keyword) — Convert a state variable to immutable(T) syntax
- **`add-import`** (https://act101.ai/docs/languages/vyper#op-add-import) — Add an import statement to the file
- **`add-interface-stub`** (https://act101.ai/docs/languages/vyper#op-add-interface-stub) — Generate an interface definition from a function's public signature
- **`add-msg-sender-check`** (https://act101.ai/docs/languages/vyper#op-add-msg-sender-check) — Insert assert msg.sender == self.owner at the start of a function
- **`add-nonreentrant-guard`** (https://act101.ai/docs/languages/vyper#op-add-nonreentrant-guard) — Add @nonreentrant decorator to a function for reentrancy protection
- **`add-require-guard`** (https://act101.ai/docs/languages/vyper#op-add-require-guard) — Insert a require-style assert with a user-facing message at the start of a function
- **`add-return-type`** (https://act101.ai/docs/languages/vyper#op-add-return-type) — Add or update the return type annotation on a function
- **`add-try-except`** (https://act101.ai/docs/languages/vyper#op-add-try-except) — Wrap an external call with raw_call and revert_on_failure=False safety pattern
- **`add-type-annotation`** (https://act101.ai/docs/languages/vyper#op-add-type-annotation) — Add an explicit type annotation to a local variable assignment
- **`add-zero-check`** (https://act101.ai/docs/languages/vyper#op-add-zero-check) — Insert assert divisor != 0 before a division/modulo expression
- **`convert-if-to-ternary`** (https://act101.ai/docs/languages/vyper#op-convert-if-to-ternary) — Convert a simple if/else assignment into a ternary expression
- **`convert-string-type`** (https://act101.ai/docs/languages/vyper#op-convert-string-type) — Convert a type annotation between String[N], Bytes[N], and bytes32
- **`convert-ternary-to-if`** (https://act101.ai/docs/languages/vyper#op-convert-ternary-to-if) — Convert a ternary expression into a full if/else block
- **`convert-to-interface`** (https://act101.ai/docs/languages/vyper#op-convert-to-interface) — Extract all external/view function signatures into an interface block
- **`extract-constant`** (https://act101.ai/docs/languages/vyper#op-extract-constant) — Extract a literal value into a named constant(T) at contract scope
- **`extract-function`** (https://act101.ai/docs/languages/vyper#op-extract-function) — Extract a block of code into a new @internal def function
- **`generate-assertion-message`** (https://act101.ai/docs/languages/vyper#op-generate-assertion-message) — Generate an assertion with human-readable message for a condition
- **`generate-constructor`** (https://act101.ai/docs/languages/vyper#op-generate-constructor) — Generate an @deploy def __init__(): function with initialization of state variables
- **`generate-event-definition`** (https://act101.ai/docs/languages/vyper#op-generate-event-definition) — Generate an event definition with typed parameters
- **`generate-getter`** (https://act101.ai/docs/languages/vyper#op-generate-getter) — Generate a @view @external def get_{name}() -> T: function for a state variable
- **`generate-interface`** (https://act101.ai/docs/languages/vyper#op-generate-interface) — Generate an interface block from all external functions
- **`generate-owner-pattern`** (https://act101.ai/docs/languages/vyper#op-generate-owner-pattern) — Generate owner state variable and _check_owner() internal function
- **`generate-setter`** (https://act101.ai/docs/languages/vyper#op-generate-setter) — Generate an @external def set_{name}(value: T): function with ownership check
- **`generate-test-harness`** (https://act101.ai/docs/languages/vyper#op-generate-test-harness) — Generate a test contract stub that wraps and calls functions from the contract
- **`inline-constant`** (https://act101.ai/docs/languages/vyper#op-inline-constant) — Replace all references to a named constant with its literal value
- **`inline-function`** (https://act101.ai/docs/languages/vyper#op-inline-function) — Replace a call to a simple internal function with the function's body inline
- **`inline-import`** (https://act101.ai/docs/languages/vyper#op-inline-import) — Remove an import alias and replace all uses with the direct module path
- **`invert-conditional`** (https://act101.ai/docs/languages/vyper#op-invert-conditional) — Invert an if/else block (swap branches and negate condition)
- **`optimize-storage-layout`** (https://act101.ai/docs/languages/vyper#op-optimize-storage-layout) — Reorder state variable declarations to minimize storage slots
- **`remove-unused-import`** (https://act101.ai/docs/languages/vyper#op-remove-unused-import) — Remove an import statement that is never referenced in the file
- **`remove-unused-variable`** (https://act101.ai/docs/languages/vyper#op-remove-unused-variable) — Remove a local variable declaration that is never read after assignment
- **`rename-identifier`** (https://act101.ai/docs/languages/vyper#op-rename-identifier) — Rename a state variable, function, constant, or event across all references
- **`rename-magic-number`** (https://act101.ai/docs/languages/vyper#op-rename-magic-number) — Extract a numeric literal into a named constant and replace all occurrences
- **`replace-loop-with-builtin`** (https://act101.ai/docs/languages/vyper#op-replace-loop-with-builtin) — Replace a for loop with a simpler range() pattern or annotate it
- **`split-function`** (https://act101.ai/docs/languages/vyper#op-split-function) — Extract a contiguous block of lines from a function into a new @internal helper
### WGSL
Reference:
- **`add-explicit-type-annotation`** (https://act101.ai/docs/languages/wgsl#op-add-explicit-type-annotation) — Add an explicit type annotation to a declaration
- **`add-function-attribute`** (https://act101.ai/docs/languages/wgsl#op-add-function-attribute) — Add a @vertex/@fragment/@compute attribute to a function
- **`add-function-parameter`** (https://act101.ai/docs/languages/wgsl#op-add-function-parameter) — Add a new typed parameter to a function signature
- **`add-location-attribute`** (https://act101.ai/docs/languages/wgsl#op-add-location-attribute) — Add @location(N) attribute to a struct member
- **`add-missing-break-statement`** (https://act101.ai/docs/languages/wgsl#op-add-missing-break-statement) — Add a missing break statement to a switch case
- **`add-return-type-annotation`** (https://act101.ai/docs/languages/wgsl#op-add-return-type-annotation) — Add an explicit return type annotation to a function
- **`add-workgroup-size-attribute`** (https://act101.ai/docs/languages/wgsl#op-add-workgroup-size-attribute) — Add @workgroup_size attribute to a compute function
- **`change-storage-qualifier`** (https://act101.ai/docs/languages/wgsl#op-change-storage-qualifier) — Change the storage qualifier of a var declaration
- **`convert-const-to-var`** (https://act101.ai/docs/languages/wgsl#op-convert-const-to-var) — Convert a const declaration to var
- **`convert-for-loop-to-loop`** (https://act101.ai/docs/languages/wgsl#op-convert-for-loop-to-loop) — Convert a for loop to an infinite loop with break
- **`convert-if-to-switch`** (https://act101.ai/docs/languages/wgsl#op-convert-if-to-switch) — Convert an if-else chain to a switch statement
- **`convert-loop-for-to-while`** (https://act101.ai/docs/languages/wgsl#op-convert-loop-for-to-while) — Convert a for loop to a while loop
- **`convert-loop-while-to-for`** (https://act101.ai/docs/languages/wgsl#op-convert-loop-while-to-for) — Convert a while loop to a for loop
- **`convert-var-to-const`** (https://act101.ai/docs/languages/wgsl#op-convert-var-to-const) — Convert a var declaration to const
- **`convert-var-to-let`** (https://act101.ai/docs/languages/wgsl#op-convert-var-to-let) — Convert a local var declaration to let
- **`extract-constant`** (https://act101.ai/docs/languages/wgsl#op-extract-constant) — Extract an expression into a named constant
- **`extract-function`** (https://act101.ai/docs/languages/wgsl#op-extract-function) — Extract lines into a new WGSL function
- **`extract-magic-number-to-const`** (https://act101.ai/docs/languages/wgsl#op-extract-magic-number-to-const) — Extract a magic number literal into a named constant
- **`extract-variable`** (https://act101.ai/docs/languages/wgsl#op-extract-variable) — Extract an expression into a named local variable
- **`generate-compute-shader-skeleton`** (https://act101.ai/docs/languages/wgsl#op-generate-compute-shader-skeleton) — Generate a complete @compute shader function skeleton
- **`generate-conditional-template`** (https://act101.ai/docs/languages/wgsl#op-generate-conditional-template) — Generate an if/if-else conditional template
- **`generate-fragment-shader-skeleton`** (https://act101.ai/docs/languages/wgsl#op-generate-fragment-shader-skeleton) — Generate a complete @fragment shader function skeleton
- **`generate-function-body`** (https://act101.ai/docs/languages/wgsl#op-generate-function-body) — Generate a function stub with return type placeholder
- **`generate-function-call-template`** (https://act101.ai/docs/languages/wgsl#op-generate-function-call-template) — Generate a call expression template for a function
- **`generate-loop-structure`** (https://act101.ai/docs/languages/wgsl#op-generate-loop-structure) — Generate a for, while, or loop structure template
- **`generate-storage-binding`** (https://act101.ai/docs/languages/wgsl#op-generate-storage-binding) — Generate a @group/@binding var declaration
- **`generate-storage-buffer-struct`** (https://act101.ai/docs/languages/wgsl#op-generate-storage-buffer-struct) — Generate a storage buffer struct with @group/@binding declaration
- **`generate-struct-initializer`** (https://act101.ai/docs/languages/wgsl#op-generate-struct-initializer) — Generate a constructor helper function for a struct
- **`generate-struct-member-getter`** (https://act101.ai/docs/languages/wgsl#op-generate-struct-member-getter) — Generate a getter function for a struct member
- **`generate-struct-member-setter`** (https://act101.ai/docs/languages/wgsl#op-generate-struct-member-setter) — Generate a setter function for a struct member via pointer
- **`generate-switch-statement`** (https://act101.ai/docs/languages/wgsl#op-generate-switch-statement) — Generate a switch statement template with cases
- **`generate-uniform-binding`** (https://act101.ai/docs/languages/wgsl#op-generate-uniform-binding) — Generate a @group/@binding var declaration
- **`generate-uniform-buffer-struct`** (https://act101.ai/docs/languages/wgsl#op-generate-uniform-buffer-struct) — Generate a uniform buffer struct with @group/@binding declaration
- **`generate-vertex-shader-skeleton`** (https://act101.ai/docs/languages/wgsl#op-generate-vertex-shader-skeleton) — Generate a complete @vertex shader function skeleton
- **`inline-function`** (https://act101.ai/docs/languages/wgsl#op-inline-function) — Inline a function body at the call site
- **`inline-variable`** (https://act101.ai/docs/languages/wgsl#op-inline-variable) — Inline a variable's value at its use sites
- **`invert-if-condition`** (https://act101.ai/docs/languages/wgsl#op-invert-if-condition) — Invert the condition of an if statement
- **`move-variable-declaration`** (https://act101.ai/docs/languages/wgsl#op-move-variable-declaration) — Move a variable declaration closer to its first use
- **`remove-explicit-type-annotation`** (https://act101.ai/docs/languages/wgsl#op-remove-explicit-type-annotation) — Remove an explicit type annotation from a declaration
- **`remove-unreachable-code`** (https://act101.ai/docs/languages/wgsl#op-remove-unreachable-code) — Remove code that is unreachable after a return statement
- **`remove-unused-function-parameter`** (https://act101.ai/docs/languages/wgsl#op-remove-unused-function-parameter) — Remove an unused parameter from a function signature
- **`rename-function`** (https://act101.ai/docs/languages/wgsl#op-rename-function) — Rename a function and all its call sites
- **`rename-struct`** (https://act101.ai/docs/languages/wgsl#op-rename-struct) — Rename a struct type across the file
- **`rename-struct-member`** (https://act101.ai/docs/languages/wgsl#op-rename-struct-member) — Rename a struct member field
- **`rename-variable`** (https://act101.ai/docs/languages/wgsl#op-rename-variable) — Rename a variable across the file
- **`reorder-function-parameters`** (https://act101.ai/docs/languages/wgsl#op-reorder-function-parameters) — Reorder parameters in a function signature
- **`simplify-boolean-expression`** (https://act101.ai/docs/languages/wgsl#op-simplify-boolean-expression) — Simplify redundant boolean comparisons
- **`simplify-if-statement`** (https://act101.ai/docs/languages/wgsl#op-simplify-if-statement) — Simplify redundant patterns in an if statement condition
### Zig
Reference:
- **`add-allocator-parameter`** (https://act101.ai/docs/languages/zig#op-add-allocator-parameter) — Add allocator: std.mem.Allocator parameter to function
- **`add-catch-handler`** (https://act101.ai/docs/languages/zig#op-add-catch-handler) — Add catch error handler
- **`add-const-qualifier`** (https://act101.ai/docs/languages/zig#op-add-const-qualifier) — Mark variable or parameter as const
- **`add-defer`** (https://act101.ai/docs/languages/zig#op-add-defer) — Add defer statement
- **`add-doc-comment`** (https://act101.ai/docs/languages/zig#op-add-doc-comment) — Add doc comment to declaration
- **`add-errdefer`** (https://act101.ai/docs/languages/zig#op-add-errdefer) — Add errdefer statement
- **`add-error-return`** (https://act101.ai/docs/languages/zig#op-add-error-return) — Add error return type
- **`add-error-union`** (https://act101.ai/docs/languages/zig#op-add-error-union) — Wrap return type with error union
- **`add-explicit-type`** (https://act101.ai/docs/languages/zig#op-add-explicit-type) — Add explicit type annotation to variable
- **`add-function-parameter`** (https://act101.ai/docs/languages/zig#op-add-function-parameter) — Insert new parameter to function
- **`add-import`** (https://act101.ai/docs/languages/zig#op-add-import) — Insert module import at file top
- **`add-module-comment`** (https://act101.ai/docs/languages/zig#op-add-module-comment) — Add module-level doc comment
- **`add-null-guard`** (https://act101.ai/docs/languages/zig#op-add-null-guard) — Wrap expression in null check or optional chaining
- **`add-parameter-docs`** (https://act101.ai/docs/languages/zig#op-add-parameter-docs) — Add documentation for function parameters
- **`add-todo-comment`** (https://act101.ai/docs/languages/zig#op-add-todo-comment) — Add TODO comment
- **`change-function-return-type`** (https://act101.ai/docs/languages/zig#op-change-function-return-type) — Modify function return type annotation
- **`change-parameter-type`** (https://act101.ai/docs/languages/zig#op-change-parameter-type) — Modify parameter type annotation
- **`change-visibility`** (https://act101.ai/docs/languages/zig#op-change-visibility) — Modify function/struct visibility
- **`consolidate-imports`** (https://act101.ai/docs/languages/zig#op-consolidate-imports) — Merge duplicate module imports
- **`convert-catch-to-try`** (https://act101.ai/docs/languages/zig#op-convert-catch-to-try) — Convert catch to try expression
- **`convert-defer-to-errdefer`** (https://act101.ai/docs/languages/zig#op-convert-defer-to-errdefer) — Convert defer to errdefer
- **`convert-loop-to-inline`** (https://act101.ai/docs/languages/zig#op-convert-loop-to-inline) — Convert loop to inline loop
- **`convert-loop-to-while`** (https://act101.ai/docs/languages/zig#op-convert-loop-to-while) — Convert for loop to while loop
- **`convert-optional-unwrap`** (https://act101.ai/docs/languages/zig#op-convert-optional-unwrap) — Convert optional access to unwrap with .?
- **`convert-string-literal`** (https://act101.ai/docs/languages/zig#op-convert-string-literal) — Convert between string literal types
- **`convert-to-comptime`** (https://act101.ai/docs/languages/zig#op-convert-to-comptime) — Convert to comptime expression
- **`convert-to-doc-comment`** (https://act101.ai/docs/languages/zig#op-convert-to-doc-comment) — Convert regular comment to doc comment
- **`convert-to-packed`** (https://act101.ai/docs/languages/zig#op-convert-to-packed) — Convert struct to packed struct
- **`convert-while-to-for`** (https://act101.ai/docs/languages/zig#op-convert-while-to-for) — Convert while loop to for loop
- **`extract-function`** (https://act101.ai/docs/languages/zig#op-extract-function) — Extract code into a new function
- **`extract-variable`** (https://act101.ai/docs/languages/zig#op-extract-variable) — Extract expression to variable
- **`generate-enum`** (https://act101.ai/docs/languages/zig#op-generate-enum) — Generate tagged union enum
- **`generate-equality-operator`** (https://act101.ai/docs/languages/zig#op-generate-equality-operator) — Generate equality comparison function for struct
- **`generate-field-accessor`** (https://act101.ai/docs/languages/zig#op-generate-field-accessor) — Create getter function for struct field
- **`generate-field-setter`** (https://act101.ai/docs/languages/zig#op-generate-field-setter) — Create setter function for struct field
- **`generate-function`** (https://act101.ai/docs/languages/zig#op-generate-function) — Generate stub function
- **`generate-init-function`** (https://act101.ai/docs/languages/zig#op-generate-init-function) — Create constructor-like initialization function
- **`generate-main`** (https://act101.ai/docs/languages/zig#op-generate-main) — Scaffold main function entry point
- **`generate-string-representation`** (https://act101.ai/docs/languages/zig#op-generate-string-representation) — Create string conversion function
- **`generate-struct`** (https://act101.ai/docs/languages/zig#op-generate-struct) — Generate struct definition
- **`generate-switch-cases`** (https://act101.ai/docs/languages/zig#op-generate-switch-cases) — Generate exhaustive switch cases for union
- **`generate-test-function`** (https://act101.ai/docs/languages/zig#op-generate-test-function) — Create unit test stub
- **`generate-union-variant`** (https://act101.ai/docs/languages/zig#op-generate-union-variant) — Add variant to tagged union
- **`inline-function`** (https://act101.ai/docs/languages/zig#op-inline-function) — Inline a function call, replacing with function body
- **`inline-variable`** (https://act101.ai/docs/languages/zig#op-inline-variable) — Inline a local variable by replacing with its value
- **`invert-conditional-expression`** (https://act101.ai/docs/languages/zig#op-invert-conditional-expression) — Swap ternary branches and negate condition
- **`invert-if`** (https://act101.ai/docs/languages/zig#op-invert-if) — Swap if/else branches and negate condition
- **`make-parameter-comptime`** (https://act101.ai/docs/languages/zig#op-make-parameter-comptime) — Make function parameter comptime
- **`move-function-definition`** (https://act101.ai/docs/languages/zig#op-move-function-definition) — Relocate function to different position
- **`organize-imports`** (https://act101.ai/docs/languages/zig#op-organize-imports) — Sort and group imports
- **`remove-comment`** (https://act101.ai/docs/languages/zig#op-remove-comment) — Remove comment
- **`remove-const-qualifier`** (https://act101.ai/docs/languages/zig#op-remove-const-qualifier) — Remove const from variable
- **`remove-function-parameter`** (https://act101.ai/docs/languages/zig#op-remove-function-parameter) — Delete parameter from function
- **`remove-import`** (https://act101.ai/docs/languages/zig#op-remove-import) — Delete unused module import
- **`remove-unused-parameter`** (https://act101.ai/docs/languages/zig#op-remove-unused-parameter) — Remove unused function parameter
- **`remove-unused-variable`** (https://act101.ai/docs/languages/zig#op-remove-unused-variable) — Remove unused local variable declaration
- **`rename`** (https://act101.ai/docs/languages/zig#op-rename) — Rename symbol and all references
- **`rename-struct-field`** (https://act101.ai/docs/languages/zig#op-rename-struct-field) — Rename struct member and update references
- **`swap-function-parameters`** (https://act101.ai/docs/languages/zig#op-swap-function-parameters) — Reorder function parameters
- **`unwrap-with-default`** (https://act101.ai/docs/languages/zig#op-unwrap-with-default) — Unwrap optional with default value