/alexandru-skills:jspecify-nullnessfrom alexandru-skills
Guides adoption of JSpecify nullness annotations (@NullMarked, @Nullable) for Java APIs. Helps design null-safe signatures, fix generic bounds, and interpret Kotlin interop or tool-conformance behavior.
Ships in alexandru-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
org.jspecify:jspecify:1.0.0 as a visible API dependency for Java libraries.@NullMarked at package or class scope; add @Nullable only where null is allowed.@NullMarked as unspecified nullness, not non-null.<T extends @Nullable Object> accepts nullable type arguments; <T> does not in a null-marked scope.@Nullable/@NonNull in JSpecify-recognized type-use locations, especially for arrays, nested types, type arguments, and bounds.references/jspecify-nullness.md before substantial annotation, migration, or tooling advice.@NullMarked at class or package scope.@Nullable String[] means nullable elements; String @Nullable [] means the array reference is nullable.Map.@Nullable Entry, not the outer type.@NonNull T only to force a type-variable use non-null when the type argument may be nullable.@NullUnmarked only as an incremental escape hatch inside a null-marked scope.jbang scripts/verify-examples.java from the directory containing this SKILL.md.references/jspecify-nullness.md for source-backed guidance, examples, and representative prompts.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alexandru/skills --plugin alexandru-skills18 skills in this plugin
/akka-streamsScala reactive streaming with Akka Streams and Pekko Streams. Use for dataflow and reactive programming patterns, testing stream components, and understanding when NOT to use streams (prefer plain functions for transformations and I/O)./arrow-resourceKotlin + Arrow Resource lifecycle discipline with `Resource`, `ResourceScope`, `resourceScope`, and context parameters. Use for safe acquisition/release of files, streams, DB pools/connections, HTTP clients, background scopes, or multipart parts; preventing resource leaks and use-after-close bugs; designing companion `Resource` builders; using `arrow-autoclose` when only synchronous `AutoCloseable` cleanup is possible; composing resources with typed errors, cancellation, or parallel acquisition./arrow-typed-errorsModels Kotlin logical failures with Arrow's context-parameter Raise DSL and wrappers such as Either, nullable, Option, and Ior. Use when implementing or simplifying typed-error flows, translating error types, replacing verbose Either handling, validating input with accumulation, or selecting an error wrapper./cats-effect-ioHelps agents write and review Scala Cats Effect IO code. Use for suspending side effects and non-determinism in IO or F[_], choosing Sync/Async/Temporal/Concurrent/Clock/Random, handling blocking I/O, testing with TestControl, and composing resources, fibers, races, and structured concurrency safely./cats-effect-resourceHelps agents write and review Scala Cats Effect Resource code. Use for preventing resource leaks and use-after-release bugs, modeling disposable values with Resource, designing Resource-returning factories and constructor-injected services, wrapping Java AutoCloseable values, composing resources, and handling cancellation-safe release./cats-mtl-typed-errorsScala typed errors with Cats MTL Raise/Handle and allow/rescue. Use for designing custom domain error types without EitherT, while keeping Cats Effect and ecosystem composition. Covers Scala 2/3 syntax and IO-only or F[_] usage.Other plugins' skills for the same job