wk-workstyle-structure

Installation
SKILL.md

Workstyle — Layout & Structure

Enforces code layout and structural quality for every function body, branch, and file the agent writes. Part of the wk-workstyle family. Project settings are authoritative — this skill fills gaps only, never overrides. When a linter/formatter config governs a rule below, that config wins; see wk-workstyle Step 0 for the project-style-authority probe.

When to Use

Auto-invoked whenever the agent writes or edits a function body, branching logic, or file layout. Trigger contexts:

  • Writes or edits a function body, branching logic, control flow, import block, or overall file layout.
  • Adds or restructures conditionals, loops, or guard clauses in any language.
  • Pastes or rewrites a block that resembles existing code (duplication probe).
  • Introduces literals, flags, or boolean parameters into a function signature or body.

Manual: /wk-workstyle-structure scan (full working tree) · /wk-workstyle-structure check <path> (one file).

Rules

Layout

Installs
4
First Seen
Aug 19, 2026
wk-workstyle-structure — whizzzkid/skills