CasLubbers

30 mods across 1 repository, 1 stars between them.

design-patterns

03

CasLubbers/code-design-skills

Skill Claude CodeCodex

Selects, applies, and pushes back on the 23 Gang of Four design patterns. Covers intent, fit, trade-offs, and the cheaper alternative that usually wins. Use when choosing between patterns, naming an existing structure, or refactoring toward one — and when the user says "which pattern", "what pattern should I use"…

1 6d ago A 0 tokens

go-api-design

04

CasLubbers/code-design-skills

Skill Claude CodeCodex

Enforces Go package and API design — small exported surfaces, packages named for what they provide, functional options instead of growing constructors, context first, no init side effects, and changes that stay backward compatible. Use when creating or restructuring Go packages, designing an exported API or library…

1 6d ago A 104 tokens

go-concurrency

05

CasLubbers/code-design-skills

Skill Claude CodeCodex

Enforces safe Go concurrency — every goroutine has a known stop condition, context propagates cancellation, channel ownership and direction are explicit, and shared state is protected or not shared. Use when writing or reviewing Go that starts goroutines, uses channels, sync primitives, or context, and when the user…

1 6d ago A 106 tokens

go-errors

06

CasLubbers/code-design-skills

Skill Claude CodeCodex

Enforces Go error handling — errors as values, wrapping with %w, errors.Is and errors.As over type assertions, sentinel and custom error types, and when panic is acceptable. Use when writing, reviewing, or debugging Go error paths, and when the user mentions err != nil, error wrapping, errors.Is, errors.As, sentinel…

1 6d ago A 101 tokens

go-idiom

07

CasLubbers/code-design-skills

Skill Claude CodeCodex

Enforces idiomatic Go style — name length scaled to scope, no stutter, useful zero values, guard clauses, correct defer placement, composition over inheritance, and doc comments in the required form. Use when writing, reviewing, or refactoring any Go code, and when the user asks whether something is idiomatic…

1 6d ago A 112 tokens

go-interfaces

08

CasLubbers/code-design-skills

Skill Claude CodeCodex

Enforces Go interface design — interfaces defined by the consumer, kept to one or two methods, accepted as parameters while structs are returned, and never created before a second implementation exists. Use when writing or reviewing Go abstractions, mocks, or package boundaries, and when the user mentions interface…

1 6d ago A 102 tokens

go-tests

09

CasLubbers/code-design-skills

Skill Claude CodeCodex

Enforces idiomatic Go testing — table-driven cases with subtests, the standard library over assertion frameworks, t.Cleanup for teardown, httptest for HTTP, golden files, fuzzing, and benchmarks that measure. Use when writing or reviewing Go tests, and when the user mentions table tests, t.Run, t.Parallel, testify…

1 6d ago A 102 tokens

java-boy-scout

10

CasLubbers/code-design-skills

Skill Claude CodeCodex

Applies the Boy Scout Rule to Java — leave every file a little cleaner than you found it, with small safe improvements made alongside the change you were asked for. Use when fixing, editing, debugging, or extending existing Java code, and when the user says "while you're at it", "any quick wins", "tidy this up"…

1 6d ago A 95 tokens

java-clean-code

11

CasLubbers/code-design-skills

Skill Claude CodeCodex

Complete Clean Code reference for Java 21+ in one skill — naming, methods, comments, general quality, and tests, with modern idioms (records, sealed types, pattern matching, Optional, streams). Use when writing, reviewing, or refactoring any Java code and you want the whole catalog at once rather than one focused area.

1 6d ago A 72 tokens

java-clean-comments

12

CasLubbers/code-design-skills

Skill Claude CodeCodex

Enforces comment and Javadoc hygiene in Java — no commented-out code, no author or ticket metadata, no comments restating the code, and Javadoc that documents contracts rather than repeating signatures. Use when writing or reviewing Java comments and Javadoc, and when the code shows commented-out blocks, TODO or FIXME…

1 6d ago A 88 tokens

CasLubbers/code-design-skills

Skill Claude CodeCodex

Enforces method design in Java 21+ — small methods that do one thing, at most three parameters, no boolean flag arguments, no null returns or arguments, and command-query separation. Use when writing or refactoring Java methods and constructors, and when the code shows long methods, parameter lists of four or more…

1 6d ago A 0 tokens

java-clean-general

14

CasLubbers/code-design-skills

Skill Claude CodeCodex

Enforces general code quality in Java 21+ — DRY, no magic numbers, immutability by default, sealed hierarchies and pattern matching over instanceof chains, encapsulation over getters and setters, and streams used where they clarify. Use when reviewing or refactoring Java for quality, and when the code shows…

1 6d ago A 0 tokens

java-clean-names

15

CasLubbers/code-design-skills

Skill Claude CodeCodex

Enforces naming in Java 21+ — descriptive names, names matched to scope, no Hungarian notation or I-prefixed interfaces, no meaningless suffixes like Manager or Helper, and names that reveal side effects. Use when naming or renaming variables, fields, methods, classes, records, interfaces, or packages in Java, and…

1 6d ago A 109 tokens

java-clean-tests

16

CasLubbers/code-design-skills

Skill Claude CodeCodex

Enforces test quality in Java with JUnit 5 and AssertJ — one concept per test, boundary coverage, fast isolated tests, parameterised cases, and no disabled tests without a reason. Use when writing or reviewing Java tests, and when the user mentions JUnit, AssertJ, Mockito, Testcontainers, @ParameterizedTest…

1 6d ago A 89 tokens

py-boy-scout

17

CasLubbers/code-design-skills

Skill Claude CodeCodex

Use when fixing, editing, changing, debugging, or working with any Python code. Applies the Boy Scout Rule—always leave code cleaner than you found it. Orchestrates other clean code skills as needed. Also trigger on: "while you're at it", "any quick wins", "improve this a bit", "anything else obviously wrong", or when…

1 6d ago A 0 tokens

py-clean-comments

18

CasLubbers/code-design-skills

Skill Claude CodeCodex

Use when writing, fixing, editing, or reviewing Python comments and docstrings. Enforces Clean Code principles—no metadata, no redundancy, no commented-out code. Also trigger on: commented-out code blocks, TODO/FIXME banners, author/ticket/date metadata in comments, docstrings that no longer match the code, redundant…

1 6d ago A 0 tokens

py-clean-functions

19

CasLubbers/code-design-skills

Skill Claude CodeCodex

Use when writing, fixing, editing, or refactoring Python functions. Enforces Clean Code principles—maximum 3 arguments, single responsibility, no flag parameters. Also trigger on: functions with 4+ parameters, boolean flag parameters like enabled=True, functions that mutate their arguments in place, one-off…

1 6d ago A 0 tokens

py-clean-general

20

CasLubbers/code-design-skills

Skill Claude CodeCodex

Use when writing, fixing, editing, or reviewing Python code quality. Enforces Clean Code's core principles—DRY, single responsibility, clear intent, no magic numbers, proper abstractions. Also trigger on: duplicated logic across files or branches (G5), magic numbers or hardcoded values (G25), long if/elif chains that…

1 6d ago A 0 tokens

py-clean-names

21

CasLubbers/code-design-skills

Skill Claude CodeCodex

Use when naming, renaming, or fixing names of variables, functions, classes, or modules in Python. Enforces Clean Code principles—descriptive names, appropriate length, no encodings. Also trigger on: single-letter or cryptic identifiers (d, x, proc), Hungarian notation (strname, lstusers, icount), I-prefixed classes…

1 6d ago A 0 tokens

py-clean-tests

22

CasLubbers/code-design-skills

Skill Claude CodeCodex

Use when writing, fixing, editing, or refactoring Python tests. Enforces Clean Code principles—fast tests, boundary coverage, one assert per test. Also trigger on: slow or flaky tests, @pytest.mark.skip without a clear reason, tests that only cover the happy path, tests with multiple assertions about different…

1 6d ago A 0 tokens

python-clean-code

23

CasLubbers/code-design-skills

Skill Claude CodeCodex

Use when writing, fixing, editing, reviewing, or refactoring any Python code. Enforces Robert Martin's complete Clean Code catalog—naming, functions, comments, DRY, and boundary conditions.

1 6d ago A 45 tokens

ts-boy-scout

24

CasLubbers/code-design-skills

Skill Claude CodeCodex

Use when fixing, editing, changing, debugging, or working with any TypeScript code. Applies the Boy Scout Rule—always leave code cleaner than you found it. Orchestrates other clean code skills as needed. Also trigger on: "while you're at it", "any quick wins", "improve this a bit", "anything else obviously wrong", or…

1 6d ago A 0 tokens