### Quick Start Project Setup Source: https://github.com/jackspace/claudeskillz/blob/master/skills/cloudflare-full-stack-scaffold/README.md Follow these steps to copy the scaffold, install dependencies, and initialize Cloudflare services for your new application. ```bash # 1. Copy scaffold cp -r scaffold/ my-new-app/ cd my-new-app/ # 2. Install dependencies npm install # 3. Initialize services (run wrangler commands, update wrangler.jsonc) # See references/quick-start-guide.md ``` -------------------------------- ### Setup New Project Source: https://github.com/jackspace/claudeskillz/blob/master/skills/cloudflare-full-stack-scaffold/SKILL.md Commands to copy the scaffold, install dependencies, and begin following the quick-start guide. ```bash cp -r scaffold/ my-app/ cd my-app/ npm install # Follow quick-start-guide.md ``` -------------------------------- ### Install Dependencies and Start Development Source: https://github.com/jackspace/claudeskillz/blob/master/skills/cloudflare-full-stack-integration/README.md Commands to set up the project, install necessary packages, configure environment variables, and start the development server. ```bash # 1. Copy templates to your project cp templates/frontend/lib/api-client.ts src/lib/ cp templates/backend/middleware/*.ts backend/middleware/ cp templates/config/* ./ # 2. Install dependencies npm install hono @clerk/clerk-react @clerk/backend # 3. Configure environment cp .dev.vars.example .dev.vars # Fill in your Clerk keys # 4. Start development npm run dev ``` -------------------------------- ### Project Setup Script Source: https://github.com/jackspace/claudeskillz/blob/master/skills/github-project-automation/SKILL.md Executes an interactive setup wizard for a GitHub project, prompting for details and generating the .github/ structure. Example shown for a React project. ```bash ./scripts/setup-github-project.sh react # Prompts for project details, generates .github/ structure ``` -------------------------------- ### Install Dependencies and Run Locally Source: https://github.com/jackspace/claudeskillz/blob/master/skills/cloudflare-mcp-server/README.md Install project dependencies and start a local development server for testing your MCP server. ```bash npm install npm run dev ``` -------------------------------- ### Setup Project Script Source: https://github.com/jackspace/claudeskillz/blob/master/skills/cloudflare-full-stack-scaffold/README.md This shell script automates the initial setup of a new project. It copies the scaffold, renames the project, initializes Git, and installs npm dependencies. ```bash #!/bin/bash # Copy scaffold to new directory # Rename project # Initialize git # Run npm install ``` -------------------------------- ### Cloudflare Workers Quick Start Setup Source: https://github.com/jackspace/claudeskillz/blob/master/skills/auth-js/SKILL.md Initial project setup commands for creating a Cloudflare Worker project and installing necessary authentication dependencies. ```bash npm create cloudflare@latest my-auth-worker cd my-auth-worker npm install @auth/core@latest npm install @auth/d1-adapter@latest npm install hono ``` -------------------------------- ### Astropy Quick Start Example Source: https://github.com/jackspace/claudeskillz/blob/master/skills/scientific-pkg-astropy/SKILL.md Demonstrates basic usage of Astropy for units, coordinates, time, FITS files, tables, and cosmology. Ensure Astropy is installed and necessary data files (image.fits, catalog.fits) are available. ```python import astropy.units as u from astropy.coordinates import SkyCoord from astropy.time import Time from astropy.io import fits from astropy.table import Table from astropy.cosmology import Planck18 # Units and quantities distance = 100 * u.pc distance_km = distance.to(u.km) # Coordinates coord = SkyCoord(ra=10.5*u.degree, dec=41.2*u.degree, frame='icrs') coord_galactic = coord.galactic # Time t = Time('2023-01-15 12:30:00') jd = t.jd # Julian Date # FITS files data = fits.getdata('image.fits') header = fits.getheader('image.fits') # Tables table = Table.read('catalog.fits') # Cosmology d_L = Planck18.luminosity_distance(z=1.0) ``` -------------------------------- ### Quick Start: OpenAI Assistants API v2 Example Source: https://github.com/jackspace/claudeskillz/blob/master/skills/openai-assistants/README.md This example demonstrates the core workflow of the OpenAI Assistants API v2, including creating an assistant, a thread, adding a message, running the assistant, polling for completion, and retrieving the response. Ensure you have the 'openai' SDK installed and configured. ```typescript import OpenAI from 'openai'; const openai = new OpenAI(); // 1. Create assistant const assistant = await openai.beta.assistants.create({ name: "Math Tutor", instructions: "You are a math tutor. Use code to solve problems.", tools: [{ type: "code_interpreter" }], model: "gpt-4o", }); // 2. Create thread const thread = await openai.beta.threads.create(); // 3. Add message await openai.beta.threads.messages.create(thread.id, { role: "user", content: "What is 3x + 11 = 14?", }); // 4. Run const run = await openai.beta.threads.runs.create(thread.id, { assistant_id: assistant.id, }); // 5. Poll for completion let runStatus = await openai.beta.threads.runs.retrieve(thread.id, run.id); while (runStatus.status !== 'completed') { await new Promise(resolve => setTimeout(resolve, 1000)); runStatus = await openai.beta.threads.runs.retrieve(thread.id, run.id); } // 6. Get response const messages = await openai.beta.threads.messages.list(thread.id); console.log(messages.data[0].content[0].text.value); ``` -------------------------------- ### Install and Setup Multi-AI Consultant Skill Source: https://github.com/jackspace/claudeskillz/blob/master/skills/multi-ai-consultant/README.md Installs the skill, sets up API keys for Gemini and OpenAI, and copies necessary template files to your project. Ensure you have the CLIs installed separately. ```bash # Install skill cd ~/.claude/skills git clone [this-repo] multi-ai-consultant # Setup APIs export GEMINI_API_KEY="your-key" # Required export OPENAI_API_KEY="sk-..." # Optional # Copy templates to your project cp ~/.claude/skills/multi-ai-consultant/templates/GEMINI.md ./ cp ~/.claude/skills/multi-ai-consultant/templates/codex.md ./ cp ~/.claude/skills/multi-ai-consultant/templates/.geminiignore ./ # Start using # Claude Code will automatically suggest consultations when stuck ``` -------------------------------- ### Quick Plugin Setup with Composer Source: https://github.com/jackspace/claudeskillz/blob/master/skills/wordpress-plugin-core/README.md Steps to copy a plugin template, install dependencies using Composer, and activate the plugin via WP-CLI. ```bash cp -r templates/plugin-psr4/ ~/wp-content/plugins/my-plugin/ cd ~/wp-content/plugins/my-plugin/ composer install wp plugin activate my-plugin ``` -------------------------------- ### Install and Create Basic Zustand Store Source: https://github.com/jackspace/claudeskillz/blob/master/skills/zustand-state-management/README.md Install Zustand and create a simple, type-safe global store with basic state and an action. This is the foundational setup for using Zustand. ```bash npm install zustand # Create store cat > src/store.ts << 'EOF' import { create } from 'zustand' interface BearStore { bears: number increase: () => void } export const useBearStore = create()((set) => ({ bears: 0, increase: () => set((state) => ({ bears: state.bears + 1 })), })) EOF # Use in component cat > src/App.tsx << 'EOF' import { useBearStore } from './store' function App() { const bears = useBearStore((state) => state.bears) const increase = useBearStore((state) => state.increase) return (

{bears} bears

) } EOF ``` -------------------------------- ### PostgreSQL Installation and Connection Source: https://github.com/jackspace/claudeskillz/blob/master/skills/databases_mrgoonie/SKILL.md Installs PostgreSQL on Ubuntu/Debian, starts the service, and connects to the default database. ```bash # Ubuntu/Debian sudo apt-get install postgresql postgresql-contrib # Start service sudo systemctl start postgresql # Connect psql -U postgres -d mydb ``` -------------------------------- ### Quick Start: Initialize Cloudflare Services Source: https://github.com/jackspace/claudeskillz/blob/master/skills/cloudflare-full-stack-scaffold/SKILL.md Installs dependencies, creates necessary Cloudflare services (D1, KV, R2, Vectorize, Queues), and sets up the local development environment. ```bash cd /path/to/skills/cloudflare-full-stack-scaffold cp -r scaffold/ ~/projects/my-new-app/ cd ~/projects/my-new-app/ npm install npx wrangler d1 create my-app-db npx wrangler kv:namespace create my-app-kv npx wrangler r2 bucket create my-app-bucket npx wrangler vectorize create my-app-index --dimensions=1536 npx wrangler queues create my-app-queue # 4. Update wrangler.jsonc with IDs from step 3 npx wrangler d1 execute my-app-db --local --file=schema.sql npm run dev ``` -------------------------------- ### Development Entry Points Source: https://github.com/jackspace/claudeskillz/blob/master/skills/repository-analyzer/examples.md Provides commands to start the frontend, backend, and full-stack development environments. Assumes Node.js and Docker are installed. ```bash # Start frontend cd client && npm run dev # Start backend cd server && npm run dev # Start full stack docker-compose up ``` -------------------------------- ### Initialize Cloudflare Full-Stack Scaffold Project Source: https://github.com/jackspace/claudeskillz/blob/master/skills/cloudflare-full-stack-scaffold/SKILL.md Use these commands to copy the scaffold, install dependencies, initialize core services, create database tables, and start the development server. ```bash cp -r scaffold/ my-new-app/ cd my-new-app/ npm install ./scripts/init-services.sh npm run d1:local npm run dev ``` -------------------------------- ### Install Playwright and Dependencies Source: https://github.com/jackspace/claudeskillz/blob/master/skills/playwright-skill/SKILL.md Perform the initial setup for the Playwright skill by navigating to its directory and installing necessary npm packages, which includes downloading the Chrome browser. ```bash cd ~/.claude/skills/playwright-skill npm install ``` -------------------------------- ### Create Documentation Site with Astro and TinaCMS Source: https://github.com/jackspace/claudeskillz/blob/master/skills/tinacms/README.md Initialize a new documentation site using Astro and a TinaCMS starter template. After creation, install dependencies and start the development server. ```bash npx create-tina-app@latest my-docs --template tina-astro-starter cd my-docs npm install && npm run dev ``` -------------------------------- ### Better Chatbot Project Setup and Development Source: https://github.com/jackspace/claudeskillz/blob/master/skills/better-chatbot/README.md Instructions for setting up the better-chatbot project, including installation, environment configuration, and development workflow. This includes running quality checks and committing code with Conventional Commit format. ```bash # Fork and clone better-chatbot git clone https://github.com/YOUR-USERNAME/better-chatbot.git cd better-chatbot # Install dependencies (auto-generates .env) pnpm i # Configure environment (DATABASE_URL, at least one LLM_API_KEY) # Edit .env file # Start development pnpm dev # Create feature branch git checkout -b feat/my-feature # Make changes following better-chatbot conventions # (Claude Code will use this skill automatically) # Run quality checks pnpm check # Run E2E tests (if applicable) pnpm test:e2e # Commit with Conventional Commit format git commit -m "feat: add my feature" # Push and create PR git push origin feat/my-feature ``` -------------------------------- ### Basic Featurization Workflow with Molfeat Source: https://github.com/jackspace/claudeskillz/blob/master/skills/scientific-pkg-molfeat/SKILL.md A quick start example demonstrating loading molecular data, creating a calculator and transformer, and featurizing a list of SMILES strings. ```python import datamol as dm from molfeat.calc import FPCalculator from molfeat.trans import MoleculeTransformer # Load molecular data smiles = ["CCO", "CC(=O)O", "c1ccccc1", "CC(C)O"] # Create calculator and transformer calc = FPCalculator("ecfp", radius=3) transformer = MoleculeTransformer(calc, n_jobs=-1) # Featurize molecules features = transformer(smiles) print(f"Shape: {features.shape}") # (4, 2048) ``` -------------------------------- ### Example File Structure Source: https://github.com/jackspace/claudeskillz/blob/master/skills/pypict-claude-skill_omkamal/CONTRIBUTING.md Illustrates the recommended directory structure for adding new examples to the project. ```bash examples/ ├── your-example-name/ │ ├── README.md # Overview and learning points │ ├── specification.md # Original requirements │ ├── pict-model.txt # Generated PICT model │ └── test-plan.md # Complete test plan └── README.md # Update to list your example ``` -------------------------------- ### Example: Create and Push to New Repo Source: https://github.com/jackspace/claudeskillz/blob/master/skills/github-auth/SKILL.md Demonstrates loading credentials, creating a private repository, initializing a local repository, and pushing it to GitHub. ```bash # Load credentials (Linux/macOS): source ./.env # Load credentials (Windows PowerShell): # Get-Content .\.env | ForEach-Object { if ($_ -match '^([^=]+)=(.*)$') { [Environment]::SetEnvironmentVariable($matches[1], $matches[2]) } } # Create private repository gh repo create yourusername/my-new-repo --private --description "My new project" # Initialize local repo and push git init git add . git commit -m "Initial commit" git branch -M main git remote add origin https://github.com/yourusername/my-new-repo.git git push -u origin main ``` -------------------------------- ### Vite + React Setup with Motion Examples Source: https://github.com/jackspace/claudeskillz/blob/master/skills/motion/README.md This template provides a Vite and React setup demonstrating various motion animations. It includes examples for common UI components and layout transitions. ```tsx motion-vite-basic.tsx # Vite + React setup with 9 examples ``` -------------------------------- ### Install Prisma Client and Initialize Source: https://github.com/jackspace/claudeskillz/blob/master/skills/error-debugger/examples.md Commands to install the Prisma client and initialize Prisma in a project. These are necessary steps before refactoring SQL queries to use Prisma. ```bash npm install @prisma/client npm install --save-dev prisma ``` ```bash npx prisma init ``` -------------------------------- ### Install Dependencies with gget setup Source: https://github.com/jackspace/claudeskillz/blob/master/skills/scientific-pkg-gget/SKILL.md Use 'gget setup' to install or download third-party dependencies for specific modules like AlphaFold, cellxgene, or ELM. Specify an output folder for ELM module dependencies. ```bash # Setup AlphaFold gget setup alphafold # Setup ELM with custom directory gget setup elm -o /path/to/elm_data ``` -------------------------------- ### Get Value Example Source: https://github.com/jackspace/claudeskillz/blob/master/skills/vercel-kv/SKILL.md Example of how to retrieve a value for a given key using an Edge API Route. ```APIDOC ## GET /api/mykey (Edge API Route) ### Description Retrieves the value associated with a specific key from Vercel KV. ### Method GET ### Endpoint `/api/mykey` (or similar, depending on your routing) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example ```typescript import { kv } from '@vercel/kv'; export const runtime = 'edge'; export async function GET(request: Request) { const value = await kv.get('mykey'); return Response.json({ value }); } ``` ### Response #### Success Response (200) - **value** (any) - The retrieved value associated with the key. #### Response Example ```json { "value": "some data" } ``` ``` -------------------------------- ### Execute AI Elements Setup Script Source: https://github.com/jackspace/claudeskillz/blob/master/skills/ai-elements-chatbot/SKILL.md Provides instructions on how to make the setup script executable and run it. ```bash chmod +x scripts/setup-ai-elements.sh ./scripts/setup-ai-elements.sh ``` -------------------------------- ### Build and Start Backend/Frontend Source: https://github.com/jackspace/claudeskillz/blob/master/skills/repository-analyzer/examples.md Commands to build the frontend and start the backend server. Ensure you are in the correct directory before executing. ```bash # Build frontend cd client && npm run build # Start backend cd server && npm start ``` -------------------------------- ### Verify pypict-claude-skill Installation Source: https://github.com/jackspace/claudeskillz/blob/master/skills/pypict-claude-skill_omkamal/README.md After installation, restart Claude Code. You can verify the skill is loaded by asking Claude directly or by starting to use it. ```text Do you have access to the pict-test-designer skill? ``` -------------------------------- ### Setup Neon Database Script Source: https://github.com/jackspace/claudeskillz/blob/master/skills/neon-vercel-postgres/SKILL.md Execute the setup script to create a Neon database and obtain its connection string. Ensure the script is executable before running. ```bash chmod +x scripts/setup-neon.sh ./scripts/setup-neon.sh my-project-name ``` -------------------------------- ### Session Management: Start, Resume, and Fork Source: https://github.com/jackspace/claudeskillz/blob/master/skills/claude-agent-sdk/README.md Manage conversation sessions. Start a new session to get a sessionId, then use it to resume or fork the conversation. ```typescript // Start session let sessionId: string; const initial = query({ prompt: "Build a REST API" }); for await (const msg of initial) { if (msg.type === 'system' && msg.subtype === 'init') { sessionId = msg.session_id; } } // Resume session const resumed = query({ prompt: "Add authentication", options: { resume: sessionId } }); // Fork session (alternative path) const forked = query({ prompt: "Actually, make it GraphQL instead", options: { resume: sessionId, forkSession: true } }); ``` -------------------------------- ### Install and Initialize Latch Workflow Source: https://github.com/jackspace/claudeskillz/blob/master/skills/scientific-integration-latchbio-integration/SKILL.md Installs the Latch SDK, logs into the Latch platform, and initializes a new workflow project. Ensure Docker is running and you have Latch account credentials. ```bash python3 -m pip install latch latch login latch init my-workflow latch register my-workflow ``` -------------------------------- ### Install Tailwind CSS for Vite Projects Source: https://github.com/jackspace/claudeskillz/blob/master/skills/ui-styling_mrgoonie/SKILL.md Install Tailwind CSS and its Vite plugin for Vite-based projects. This setup is for projects not using the shadcn/ui init command. ```bash npm install -D tailwindcss @tailwindcss/vite ``` -------------------------------- ### Install Core Packages Source: https://github.com/jackspace/claudeskillz/blob/master/skills/thesys-generative-ui/README.md Install the main SDK, UI components, and core library packages using npm. ```bash npm install @thesysai/genui-sdk @crayonai/react-ui @crayonai/react-core ``` -------------------------------- ### Initialize Documentation Site with Astro Source: https://github.com/jackspace/claudeskillz/blob/master/skills/tinacms/SKILL.md Instructions for setting up a documentation site using the official TinaCMS Astro starter template. ```bash # 1. Use official starter npx create-tina-app@latest my-docs --template tina-astro-starter # 2. Install dependencies cd my-docs npm install # 3. Start dev server npm run dev # 4. Access admin open http://localhost:4321/admin/index.html ``` -------------------------------- ### Parallel Explorer Agent Deployment Example Source: https://github.com/jackspace/claudeskillz/blob/master/skills/docs-seeker_mrgoonie/SKILL.md This example illustrates how to launch multiple Explorer agents simultaneously to process different sets of documentation URLs, optimizing parallel exploration. ```text Launch 3 Explorer agents simultaneously: - Agent 1: getting-started.md, installation.md - Agent 2: api-reference.md, core-concepts.md - Agent 3: examples.md, best-practices.md ``` -------------------------------- ### Example Implementation Phases Document Source: https://github.com/jackspace/claudeskillz/blob/master/skills/project-planning/README.md This is a preview of the 'IMPLEMENTATION_PHASES.md' document generated by the skill. It outlines project phases, tasks, and exit criteria. ```markdown # Implementation Phases: URL Shortener ## Phase 1: Project Setup (2 hours) **Type**: Infrastructure **Files**: package.json, wrangler.jsonc, vite.config.ts, src/index.ts **Tasks**: - [x] Scaffold Cloudflare Worker with Vite - [x] Configure Tailwind v4 + shadcn/ui - [x] Setup D1 database binding - [x] Test deployment **Verification**: - [ ] `npm run dev` starts without errors - [ ] Can deploy to Cloudflare - [ ] Worker serves React app **Exit Criteria**: Working dev environment and successful deployment --- ## Phase 2: Database Schema (2-3 hours) **Type**: Database **Files**: migrations/0001_initial.sql, src/db/schema.ts [... and so on for each phase ...] ``` -------------------------------- ### Install AlphaFold Dependencies Source: https://github.com/jackspace/claudeskillz/blob/master/skills/scientific-pkg-gget/SKILL.md Setup instructions for AlphaFold, including installing OpenMM with specific versions based on your Python version. Ensure correct conda and OpenMM versions are used. ```bash # Install OpenMM first (version depends on Python version) # Python < 3.10: conda install -qy conda==4.13.0 && conda install -qy -c conda-forge openmm=7.5.1 # Python 3.10: conda install -qy conda==24.1.2 && conda install -qy -c conda-forge openmm=7.7.0 # Python 3.11: conda install -qy conda==24.11.1 && conda install -qy -c conda-forge openmm=8.0.0 # Then setup AlphaFold gget setup alphafold ``` -------------------------------- ### JavaScript SDK Conversation Example Source: https://github.com/jackspace/claudeskillz/blob/master/skills/elevenlabs-agents/SKILL.md An example of using the JavaScript SDK for vanilla JavaScript projects. It demonstrates starting and stopping a conversation and handling transcript and agent response events. ```javascript import { Conversation } from '@elevenlabs/client'; const conversation = new Conversation({ agentId: 'your-agent-id', apiKey: process.env.ELEVENLABS_API_KEY, onConnect: () => console.log('Connected'), onDisconnect: () => console.log('Disconnected'), onEvent: (event) => { switch (event.type) { case 'transcript': document.getElementById('user-text').textContent = event.data.text; break; case 'agent_response': document.getElementById('agent-text').textContent = event.data.text; break; } } }); // Start conversation document.getElementById('start-btn').addEventListener('click', async () => { await conversation.start(); }); // Stop conversation document.getElementById('stop-btn').addEventListener('click', async () => { await conversation.stop(); }); ``` -------------------------------- ### Python Setup for AlphaFold Source: https://github.com/jackspace/claudeskillz/blob/master/skills/scientific-pkg-gget/SKILL.md Install AlphaFold dependencies using the gget Python API. ```python # Python gget.setup("alphafold") ``` -------------------------------- ### Setup Contributor Experience Source: https://github.com/jackspace/claudeskillz/blob/master/skills/github-project-automation/SKILL.md Adds issue templates and CODEOWNERS file to prepare a repository for open-source contributions. ```bash cp templates/issue-templates/*.yml .github/ISSUE_TEMPLATE/ ``` ```bash cp templates/misc/CODEOWNERS .github/ ``` -------------------------------- ### SSH Access Examples Source: https://github.com/jackspace/claudeskillz/blob/master/skills/infrastructure-skill-builder/SKILL.md Examples of how to SSH into different hosts, including using a jump host. Ensure your SSH keys are configured correctly. ```bash ssh node1 ``` ```bash ssh node2 ``` ```bash ssh -J bastion node1 ``` -------------------------------- ### Install Drizzle ORM with Neon Serverless Source: https://github.com/jackspace/claudeskillz/blob/master/skills/neon-vercel-postgres/SKILL.md Install Drizzle ORM along with the Neon serverless package. This setup is recommended for integrating Drizzle ORM with Neon Postgres in serverless environments. ```bash npm install drizzle-orm @neondatabase/serverless npm install -D drizzle-kit ``` -------------------------------- ### Install and Configure Cloudflare Access with Hono Source: https://github.com/jackspace/claudeskillz/blob/master/skills/cloudflare-zero-trust-access/README.md Install the necessary packages and configure your wrangler.jsonc file with your Cloudflare Access domain and audience tag. This setup is required before implementing the worker code. ```bash # Install npm install hono @hono/cloudflare-access # Configure wrangler.jsonc { "vars": { "ACCESS_TEAM_DOMAIN": "your-team.cloudflareaccess.com", "ACCESS_AUD": "your-aud-tag" } } ``` -------------------------------- ### Create Content Directory and File Source: https://github.com/jackspace/claudeskillz/blob/master/skills/content-collections/SKILL.md Set up the directory structure and create a sample Markdown file for your content collection. ```bash mkdir -p content/posts ``` ```markdown --- title: My First Post date: 2025-11-07 description: Introduction to Content Collections --- # My First Post Content goes here... ``` -------------------------------- ### Verify AI Elements Installation Source: https://github.com/jackspace/claudeskillz/blob/master/skills/ai-elements-chatbot/SKILL.md Check if AI Elements components are installed correctly by listing the contents of the components/ui/ai directory and starting the development server. Test the chat interface in your browser. ```bash # Check components installed ls components/ui/ai/ # Expected output: # message.tsx, message-content.tsx, conversation.tsx, response.tsx, prompt-input.tsx, ... # Start dev server pnpm dev # Test chat interface at http://localhost:3000/chat ``` -------------------------------- ### Get Value in Edge API Route Source: https://github.com/jackspace/claudeskillz/blob/master/skills/vercel-kv/SKILL.md Retrieve a value from Vercel KV using a specified key within an Edge API Route. This example demonstrates basic GET operations. ```typescript import { kv } from '@vercel/kv'; export const runtime = 'edge'; export async function GET(request: Request) { const value = await kv.get('mykey'); return Response.json({ value }); } ``` -------------------------------- ### SimPy Environment Initialization Source: https://github.com/jackspace/claudeskillz/blob/master/skills/scientific-pkg-simpy/SKILL.md Shows how to create a standard simulation environment that runs as fast as possible, and a real-time environment synchronized with wall-clock time. Includes examples of running the simulation until a specific time or until all events are processed. ```python import simpy # Standard environment (runs as fast as possible) env = simpy.Environment(initial_time=0) # Real-time environment (synchronized with wall-clock) import simpy.rt env_rt = simpy.rt.RealtimeEnvironment(factor=1.0) # Run simulation env.run(until=100) # Run until time 100 env.run() # Run until no events remain ``` -------------------------------- ### Install and Run Basic Hypothesis Generation (CLI) Source: https://github.com/jackspace/claudeskillz/blob/master/skills/scientific-pkg-hypogenic/SKILL.md Install the hypogenic package, clone example datasets, and run basic hypothesis generation using the command-line interface. Ensure you have the necessary configuration file. ```bash pip install hypogenic git clone https://github.com/ChicagoHAI/HypoGeniC-datasets.git ./data hypogenic_generation --config ./data/your_task/config.yaml --method hypogenic --num_hypotheses 20 hypogenic_inference --config ./data/your_task/config.yaml --hypotheses output/hypotheses.json ``` -------------------------------- ### Example Skill Composition Source: https://github.com/jackspace/claudeskillz/blob/master/skills/skill-harvester/SKILL.md Illustrates how multiple skills can be combined to create a more powerful workflow, such as a full-stack deployment process. This example lists skills for Docker optimization, Kubernetes deployment, database migration, monitoring, and rollback. ```markdown # Example: Full-Stack Deployment Skill Combines: - docker-optimization (build efficient images) - kubernetes-deploy (deploy to cluster) - database-migration (update schema) - health-check-monitoring (verify deployment) - rollback-strategy (revert if needed) ``` -------------------------------- ### Setup Playwright Skill Source: https://github.com/jackspace/claudeskillz/blob/master/skills/playwright-skill_playwright/SKILL.md Run this command once to install Playwright and the Chromium browser. Execute from the skill directory. ```bash cd $SKILL_DIR npm run setup ``` -------------------------------- ### Starting a New Project with Session Management Source: https://github.com/jackspace/claudeskillz/blob/master/skills/project-session-management/README.md Demonstrates the user interaction and skill response for initiating a new project by creating SESSION.md after project-planning. ```text User: "I just ran project-planning and have IMPLEMENTATION_PHASES.md. Can you create SESSION.md?" Skill: 1. Reads IMPLEMENTATION_PHASES.md 2. Creates SESSION.md with all phases listed 3. Sets Phase 1 as 🔄 (in progress) 4. Sets concrete "Next Action" for Phase 1 5. Outputs SESSION.md to project root ``` -------------------------------- ### Vite + React + TypeScript Setup Source: https://github.com/jackspace/claudeskillz/blob/master/skills/motion/SKILL.md Install Motion for React with Vite and TypeScript. No Vite configuration is needed. ```bash pnpm create vite my-app --template react-ts cd my-app pnpm add motion ``` -------------------------------- ### Example Skill Invocation Flow Source: https://github.com/jackspace/claudeskillz/blob/master/skills/tailwind-v4-shadcn/README.md Illustrates the typical interaction flow when a user requests a new Vite + React project setup with Tailwind v4. Claude identifies the skill, confirms with the user, and proceeds with the automated setup. ```text User: "Set up a new Vite + React project with Tailwind v4" ↓ Claude: [Checks ~/.claude/skills/tailwind-v4-shadcn/] ↓ Claude: "I found the tailwind-v4-shadcn skill. Use it? (Prevents tw-animate-css error, includes dark mode)" ↓ User: "Yes" ↓ Claude: [Uses templates/ + follows SKILL.md] ↓ Result: Working project in ~1 minute, 0 errors ``` -------------------------------- ### Preset System Example Configurations Source: https://github.com/jackspace/claudeskillz/blob/master/skills/better-chatbot/SKILL.md Presets offer quick configurations for common scenarios, overriding model, temperature, toolChoice, and allowed MCP servers. They are stored per-user. ```text Preset: "Quick Chat" - Model: GPT-4o-mini (fast) - Tools: None - Use for: Rapid Q&A Preset: "Research Assistant" - Model: Claude Sonnet 4.5 - Tools: @tool("web-search"), @mcp("wikipedia") - Use for: Deep research Preset: "Code Review" - Model: GPT-5 - Tools: @mcp("github"), @tool("python-execution") - Use for: Reviewing PRs with tests ``` -------------------------------- ### Get Variant Information and Associations Source: https://github.com/jackspace/claudeskillz/blob/master/skills/scientific-db-gwas-database/SKILL.md This example demonstrates how to fetch details for a specific SNP and retrieve all its associated traits and their p-values. ```APIDOC ## Get Variant Information and Associations ### Description Fetches details for a specific Single Nucleotide Polymorphism (SNP) and retrieves all its associated traits and their p-values. ### Method GET ### Endpoint /singleNucleotidePolymorphisms/{variant} /singleNucleotidePolymorphisms/{variant}/associations ### Parameters #### Path Parameters - **variant** (string) - Required - The rsID of the SNP (e.g., rs7903146). #### Query Parameters - **projection** (string) - Optional - Specifies the projection for associations (e.g., "associationBySnp"). ### Request Example ```python import requests variant = "rs7903146" base_url = "https://www.ebi.ac.uk/gwas/rest/api" # Get variant details url = f"{base_url}/singleNucleotidePolymorphisms/{variant}" response = requests.get(url, headers={"Content-Type": "application/json"}) variant_data = response.json() # Get all associations for this variant url = f"{base_url}/singleNucleotidePolymorphisms/{variant}/associations" params = {"projection": "associationBySnp"} response = requests.get(url, params=params, headers={"Content-Type": "application/json"}) associations = response.json() # Extract trait names and p-values for assoc in associations.get('_embedded', {}).get('associations', []): trait = assoc.get('efoTrait') pvalue = assoc.get('pvalue') print(f"Trait: {trait}, p-value: {pvalue}") ``` ### Response #### Success Response (200) - **variant_data** (object) - Contains details about the SNP. - **associations** (object) - Contains a list of associations for the SNP, including trait and p-value. #### Response Example ```json { "variant_data": { "rsId": "rs7903146", "chromosome": "1", "position": 150000000, "assembly": "GRCh37" }, "associations": { "_embedded": { "associations": [ { "trait": "Type 2 diabetes", "efoTrait": "EFO_0001360", "pvalue": 1.23e-10, "strongestAllele": "A" } ] } } } ``` ``` -------------------------------- ### Complete Skill Sharing Workflow Example Source: https://github.com/jackspace/claudeskillz/blob/master/skills/sharing-skills_obra/SKILL.md A comprehensive example demonstrating the entire process of sharing a skill named 'async-patterns', from syncing with upstream to creating the pull request. ```bash # 1. Sync with upstream cd ~/.config/superpowers/skills/ git checkout main git pull upstream main git push origin main # 2. Create branch git checkout -b "add-async-patterns-skill" # 3. Create/edit the skill # (Work on skills/async-patterns/SKILL.md) # 4. Commit git add skills/async-patterns/ git commit -m "Add async-patterns skill Patterns for handling asynchronous operations in tests and application code. Tested with: Multiple pressure scenarios testing agent compliance." # 5. Push git push -u origin "add-async-patterns-skill" # 6. Create PR gh pr create \ --repo upstream-org/upstream-repo \ --title "Add async-patterns skill" \ --body "## Summary Patterns for handling asynchronous operations correctly in tests and application code. ## Testing Tested with multiple application scenarios. Agents successfully apply patterns to new code. ## Context Addresses common async pitfalls like race conditions, improper error handling, and timing issues." ``` -------------------------------- ### React Native SDK (Expo) Example Source: https://github.com/jackspace/claudeskillz/blob/master/skills/elevenlabs-agents/SKILL.md Example usage of the ElevenLabs React Native SDK with Expo. Includes installation instructions, requirements, and a basic component demonstrating conversation start/stop and status display. Requires a custom dev build. ```bash npx expo install @elevenlabs/react-native @livekit/react-native @livekit/react-native-webrtc livekit-client ``` ```typescript import { useConversation } from '@elevenlabs/react-native'; import { View, Button, Text } from 'react-native'; import { z } from 'zod'; export default function App() { const { startConversation, stopConversation, status } = useConversation({ agentId: 'your-agent-id', signedUrl: 'https://api.elevenlabs.io/v1/convai/auth/...', clientTools: { updateProfile: { description: "Update user profile", parameters: z.object({ name: z.string() }), handler: async ({ name }) => { console.log('Updating profile:', name); return { success: true }; } } } }); return (