go-nil-pointer
CommunityPointer receiver nil safety for methods.
AuthorJamesPrial
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Methods with pointer receivers can be called on nil; define sensible nil-safe behavior.
Core Features & Use Cases
- Nil Receiver Handling: Return sane defaults when receiver is nil.
- Usage Guidance: Document when nil-safety is expected vs. when to panic.
Quick Start
Add a nil-check at method start and implement zero-value behavior for nil receivers.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: go-nil-pointer Download link: https://github.com/JamesPrial/claudefiles/archive/main.zip#go-nil-pointer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.