find-null-pointer-issues
Installation
SKILL.md
Null Pointer Detection
Analyze PHP code for null pointer dereference issues.
Detection Patterns
1. Nullable Return Without Check
// BUG: No null check after find
$user = $repository->find($id);
$user->getName(); // May be null
// BUG: Chained calls on nullable
$order = $this->orderRepository->findByUser($userId);
$order->getItems()->first()->getProduct(); // Multiple null risks