/lint — License header check (the only enforced static check)

SkillProductivity

Verify and auto-fix the BSD-3-Clause license headers that the build enforces. CarbonJ has no checkstyle/spotless — license headers are the only enforced static check.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the /lint — License header check (the only enforced static check) skill

What this skill tells your AI

The instructions your AI receives, as published by salesforce/carbonj in .claude/skills/lint/SKILL.md and read by ahel’s review.

Verify

./gradlew licenseMain

Runs as part of ./gradlew build. Fails if any Java file or src/main/docker/files/* is missing the BSD-3-Clause header from LICENSE-HEADER-JAVA.

Auto-fix

./gradlew licenseFormat

Inserts/repairs headers in place. Re-run ./gradlew licenseMain to confirm.

Success

  • licenseMain exits 0 with no Missing header lines.

On failure

  • The error lists the offending files. Run ./gradlew licenseFormat, then git diff to verify the change is just header insertion before committing.

Note

There is no project-wide checkstyle, spotless, or formatter task. Java compilation itself surfaces the only other "static" feedback.

Signals

GitHub stars
28
Forks
17
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
lint-salesforce
Source
github.com/salesforce/carbonj