.claude/skills/go-expert/SKILL.md
Go programming expert including APIs, gRPC, concurrency, and best practices
npx skillsauth add oimiragieo/agent-studio go-expertInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
When reviewing or writing code, apply these guidelines:
panic for expected error conditions; panics crash the entire goroutine pool and are invisible to callers.context.Context as the first parameter through call chains — contexts enable cancellation, deadlines, and trace propagation; adding them later requires refactoring every callsite._ in production code — silently dropped errors hide failed writes, network timeouts, and authentication failures until they cause data corruption.defer to release resources (files, mutexes, connections) immediately after acquisition — resource leaks accumulate across goroutines and cause eventual exhaustion under load.| Anti-Pattern | Why It Fails | Correct Approach |
| -------------------------------------------------- | -------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| panic for expected errors | Crashes entire server process; callers cannot handle gracefully | Return error value; use panic only for programmer errors (impossible states) |
| Sharing maps/slices across goroutines without sync | Data race detected by -race; corrupts map internals | Use sync.Mutex, sync.Map, or channel-based access for concurrent state |
| Missing context.Context parameter | Cannot cancel in-flight requests; no deadline propagation; harder to trace | Accept ctx context.Context as first param on all I/O-touching functions |
| _ = someFunc() discarding errors | Silent failures; production bugs with no observable signal | Handle or wrap every error: if err != nil { return fmt.Errorf("...: %w", err) } |
| Forgetting defer on resources | File/connection leaks; mutex never unlocked on error path | defer f.Close() / defer mu.Unlock() immediately after acquire |
This expert skill consolidates 1 individual skills:
Before starting:
cat .claude/context/memory/learnings.md
After completing: Record any new patterns or exceptions discovered.
ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.
tools
Comprehensive biosignal processing toolkit for analyzing physiological data including ECG, EEG, EDA, RSP, PPG, EMG, and EOG signals. Use this skill when processing cardiovascular signals, brain activity, electrodermal responses, respiratory patterns, muscle activity, or eye movements. Applicable for heart rate variability analysis, event-related potentials, complexity measures, autonomic nervous system assessment, psychophysiology research, and multi-modal physiological signal integration.
tools
Comprehensive toolkit for creating, analyzing, and visualizing complex networks and graphs in Python. Use when working with network/graph data structures, analyzing relationships between entities, computing graph algorithms (shortest paths, centrality, clustering), detecting communities, generating synthetic networks, or visualizing network topologies. Applicable to social networks, biological networks, transportation systems, citation networks, and any domain involving pairwise relationships.
data-ai
Molecular featurization for ML (100+ featurizers). ECFP, MACCS, descriptors, pretrained models (ChemBERTa), convert SMILES to features, for QSAR and molecular ML.
development
Run Python code in the cloud with serverless containers, GPUs, and autoscaling. Use when deploying ML models, running batch processing jobs, scheduling compute-intensive tasks, or serving APIs that require GPU acceleration or dynamic scaling.