groq-hello-world
Create a minimal working Groq example. Use when starting a new Groq integration, testing your setup, or learning basic Groq API patterns. Trigger with phrases like "groq hello world", "groq example", "groq quick start", "simple groq code".
npx skills add majiayu000/claude-skill-registry --skill groq-hello-world-helixdevelopment-helixagent-2 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Groq Hello World ## Overview Minimal working example demonstrating core Groq functionality. ## Prerequisites - Completed `groq-install-auth` setup - Valid API credentials configured - Development environment ready ## Instructions ### Step 1: Create Entry File Create a new file for your hello world example. ### Step 2: Import and Initialize Client ```typescript import { GroqClient } from '@groq/sdk'; const client = new GroqClient({ apiKey: process.env.GROQ_API_KEY, }); ``` ### Step 3: Make Your First API Call ```typescript async function main() { // Your first API call here } main().catch(console.error); ``` ## Output - Working code file with Groq client initialization - Successful API response confirming connection - Console output showing: ``` Success! Your Groq connection is working. ``` ## Error Handling | Error | Cause | Solution | |-------|-------|----------| | Import Error | SDK not installed | Verify with `npm list` or `pip show` | | Auth Error | Invalid credentials | Check environment variable is set | | Timeout | Network issues | Increase timeout or check connectivity | | Rate Limit | Too many requests | Wait and retry with exponential backoff | ## Examples ### TypeScrip
- Overview
- Prerequisites
- Instructions
- Step 1: Create Entry File
- Step 2: Import and Initialize Client
- Step 3: Make Your First API Call
- Output
- Error Handling
- Examples
- TypeScript Example
- Python Example
- Resources
- Next Steps
What does the groq-hello-world skill do?
Create a minimal working Groq example. Use when starting a new Groq integration, testing your setup, or learning basic Groq API patterns. Trigger with phrases like "groq hello world", "groq example", "groq quick start", "simple groq code".
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill groq-hello-world-helixdevelopment-helixagent-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
