jspecify-skill

Adds jspecify dependency and configures NullAway Error Prone checks for Java nullness handling.

1|1|Updated Oct 17, 2025
One-click install
npx skills add https://github.com/rodolfodpk/spring-crablet --skill jspecify-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jspecify-skill
Source: https://github.com/rodolfodpk/spring-crablet/tree/main/.claude/skills/jspecify
Command: npx skills add https://github.com/rodolfodpk/spring-crablet --skill jspecify-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires org.jspecify:jspecify:1.0.0, com.google.errorprone:error_prone_core:2.42.0, com.uber.nullaway:nullaway:0.12.12, and includes scripts (resource) components.

What problem does it solve?

This Skill assists in adding jspecify support to Java projects, preventing NullPointerExceptions, and improving nullability handling.

Core Features & Use Cases

  • Add jspecify Support: Automatically add jspecify dependency and configure build tools.
  • Nullability Management: Use jspecify annotations to declare nullness expectations in Java code.
  • Use Case: For a Java project, use this Skill to add jspecify support and ensure nullability is handled correctly throughout the codebase.

Quick Start

Run the 'add-jspecify-support' script to integrate jspecify into your project.

Frequently Asked Questions about jspecify-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent NullPointerExceptions in my Java project?

To prevent NullPointerExceptions in Java, you can add jspecify support to declare explicit nullness expectations and enable automated checks using NullAway and Error Prone libraries.

What is the best way to manage nullability in Java codebases?

Managing nullability in Java is best handled by adding jspecify annotations to declare nullness expectations, combined with automated build tool checks to enforce nullability rules throughout the project.

How do I add jspecify support to an existing Java codebase?

You can add jspecify support to a Java codebase by running the 'add-jspecify-support' script, which automatically integrates the jspecify dependency and configures the required build tools.

Do I need NullAway and Error Prone to use jspecify for nullness checks?

Yes, enabling jspecify for nullness checks requires the NullAway and Error Prone libraries, as they provide the automated build-time analysis needed to validate nullability annotations.

Can I use jspecify to enforce explicit nullness declarations across a Java project?

Yes, you can use jspecify to enforce explicit nullness declarations across a Java project, applying annotations to codebases to ensure nullability is handled correctly and checked automatically.

What dependencies are required to configure jspecify for Java nullability management?

Configuring jspecify for Java nullability management requires the org.jspecify:jspecify dependency, along with com.uber.nullaway:nullaway and com.google.errorprone:error_prone_core for automated checks.