openai-image-gen
π―Skillfrom 0xbigboss/claude-code
Generates images using OpenAI's image generation API within the Claude Code environment.
Installation
npx skills add https://github.com/0xbigboss/claude-code --skill openai-image-genSkill Details
Overview
# Claude Code Configuration
Personal configuration for [Claude Code](https://docs.anthropic.com/en/docs/claude-code) providing development guidelines, slash commands, custom agents, and language-specific skills.
What's Included
```
claude-code/
βββ CLAUDE.md # Core development guidelines (symlinked to ~/.claude/)
βββ commands/ # Slash commands
β βββ fix-issue.md # /fix-issue
β βββ git-commit.md # /git-commit - conventional commit workflow
β βββ handoff.md # /handoff - generate session handoff prompts
β βββ rewrite-history.md # /rewrite-history - clean up branch commits
βββ agents/ # Custom subagents
β βββ code-reviewer.md # Review code for quality and security
β βββ debugger.md # Root cause analysis for failures
β βββ refactorer.md # Clean refactoring with complete migrations
β βββ test-writer.md # Write tests that verify correctness
βββ .claude/
β βββ skills/ # Language and tool best practices
β βββ python-best-practices/
β βββ typescript-best-practices/
β βββ react-best-practices/
β βββ go-best-practices/
β βββ zig-best-practices/
β βββ playwright-best-practices/
β βββ tamagui-best-practices/
β βββ tilt/
β βββ web-fetch/
β βββ axe-ios-simulator/
β βββ zig-docs/
βββ scripts/ # Utility scripts
β βββ install-symlinks.sh # Installation helper
β βββ sync-skills-to-codex.sh # Sync skills to Codex
βββ settings/ # Settings configurations
βββ statusline/ # Statusline configurations
βββ analytics/ # Usage analytics (submodule)
```
Installation
Via Stow (Recommended)
This repo is a submodule of a dotfiles repository using GNU Stow:
```bash
cd ~/code/dotfiles
stow -v -R -t ~ claude
```
The claude stow package symlinks to this repo's contents.
Manual Symlinks
```bash
mkdir -p ~/.claude
ln -sf "$(pwd)/CLAUDE.md" ~/.claude/CLAUDE.md
ln -sf "$(pwd)/commands" ~/.claude/commands
ln -sf "$(pwd)/agents" ~/.claude/agents
ln -sf "$(pwd)/.claude/skills" ~/.claude/skills
```
Commands
Invoke with /command-name in Claude Code:
| Command | Description |
|---------|-------------|
| /fix-issue | Find and fix an issue by ID with tests and PR description |
| /git-commit | Review changes and create conventional commits |
| /handoff | Generate a self-contained handoff prompt for another agent |
| /rewrite-history | Rewrite branch with clean, narrative commit history |
Agents
Custom subagents for focused tasks. Claude Code delegates to these automatically when appropriate:
| Agent | Purpose |
|-------|---------|
| code-reviewer | Reviews changes for quality, security, and project conventions |
| debugger | Investigates failures through root cause analysis |
| refactorer | Restructures code with clean breaks and complete migrations |
| test-writer | Writes tests that verify correctness without gaming assertions |
Skills
Language and tool-specific best practices loaded automatically based on file context:
| Context | Skill |
|---------|-------|
| Python (.py, pyproject.toml) | python-best-practices |
| TypeScript (.ts, .tsx) | typescript-best-practices |
| React (.tsx, .jsx, @react imports) | react-best-practices |
| Go (.go, go.mod) | go-best-practices |
| Zig (.zig, build.zig) | zig-best-practices |
| Playwright (@playwright/test) | playwright-best-practices |
| Tamagui (@tamagui imports) | tamagui-best-practices |
| Tilt (Tiltfile) | tilt |
Core Principles
The CLAUDE.md guidelines emphasize:
- Type-first development: Define types before implementing logic; make illegal states unrepresentable
- Functional style: Prefer immutability, pure functions, and explicit data flow
- Minimal changes: Impl
More from this repository10
Guides React developers in writing clean, efficient components by providing best practices for hooks, effects, and component design.
Guides Python developers in implementing type-first development with robust type checking, dataclasses, discriminated unions, and domain-specific type primitives.
Optimizes Tamagui configurations and styling patterns for high-performance, cross-platform React Native and web applications with v4 compiler settings.
Provides Playwright test best practices for creating resilient, maintainable tests using user-facing locators, Page Object Models, and robust testing patterns.
Enforces type-first Go development with custom types, interfaces, and patterns to create robust, self-documenting code with strong compile-time guarantees.
Fetches web content and converts HTML to clean markdown using intelligent content extraction and CSS selectors.
Enforces type-first development in Zig by leveraging tagged unions, explicit error sets, comptime validation, and type safety techniques.
Enforces TypeScript best practices by guiding developers to create robust, type-safe code through compile-time validation, discriminated unions, and explicit type definitions.
Generates environment configuration files or environment variables for development projects, ensuring consistent and reproducible setup across different environments.
Retrieves Zig language documentation from Codeberg sources, standard library files, and online references via CLI commands.