sandgardenhq

60 mods across 1 repository, 132 stars between them.

sgai AGENTS.md

01

sandgardenhq/sgai

Instructions file CodexOpenCode

AGENTS.md instructions for sandgardenhq/sgai, covering terminology, safe assumptions, code auditing guidance, karpathy guidelines and 1. think before coding.

132 1mo ago A 1,443 tokens

sandgardenhq/sgai

Skill Claude CodeCodex

Build AI agents using prompt-native architecture where features are defined in prompts, not code. Use when creating autonomous agents, designing MCP servers, implementing self-modifying systems, or adopting the "trust the agent's intelligence" philosophy.

132 1mo ago A 50 tokens

sandgardenhq/sgai

Skill Claude CodeCodex

Find breakthrough insights by forcing unrelated concepts together, detecting meta-patterns across domains, and discovering simplification cascades. When stuck on complex problems. When searching for innovative solutions. When same issue appears in different domains. When complexity feels excessive. When conventional…

132 1mo ago A 68 tokens

sandgardenhq/sgai

Skill Claude CodeCodex

Recognize when disagreements reveal valuable context, preserve multiple valid approaches instead of forcing premature resolution. When multiple approaches have legitimate trade-offs. When stakeholders have conflicting valid priorities. When context determines which approach is better. During design when you're tempted…

132 1mo ago A 71 tokens

sandgardenhq/sgai

Skill Claude CodeCodex

Understand how ideas evolved over time to find old solutions for new problems and avoid repeating past failures. When problem feels familiar but can't remember details. When asked "why do we use X?". Before abandoning an approach, understand why it exists. When evaluating "new" ideas that might be revivals. When past…

132 1mo ago A 81 tokens

sandgardenhq/sgai

Skill Claude CodeCodex

You must use this skill when debugging web UI bugs or testing interactive components that require multi-step browser interactions. Automates common UI testing patterns for debugging web applications - starting servers, navigating to pages, interacting with form elements, and verifying expected behaviors without manual…

132 1mo ago A 63 tokens

code-cleanup

07

sandgardenhq/sgai

Skill Claude CodeCodex

Clean up generated code by questioning why things are there and cross-referencing with GOAL.md, even when tempted to skip due to time pressure or thinking it's "good enough". After generating code, when tempted to commit messy code, or when noticing clutter that could be removed.

132 1mo ago A 59 tokens

go-code-review

08

sandgardenhq/sgai

Skill Claude CodeCodex

Go code review checklist based on official Go style guides. When reviewing Go code for style, idioms, and best practices.

132 1mo ago A 28 tokens

sandgardenhq/sgai

Skill Claude CodeCodex

Go 1.22+ enhanced HTTP routing with method matching and wildcards. When defining HTTP routes using net/http ServeMux in Go 1.22+.

132 1mo ago A 38 tokens

sandgardenhq/sgai

Skill Claude CodeCodex

Use when reading JSON files in Go applications, especially for configuration files, data files, or any JSON parsing that requires comprehensive error handling for missing files, invalid JSON, and permission errors.

132 1mo ago A 41 tokens

go-project-layout

11

sandgardenhq/sgai

Skill Claude CodeCodex

Go module structure and project organization patterns. When setting up a new Go project or organizing existing Go code.

132 1mo ago C 24 tokens

go-testing-coverage

12

sandgardenhq/sgai

Skill Claude CodeCodex

Go testing patterns, coverage analysis, and best practices. When writing tests for Go code or analyzing test coverage.

132 1mo ago A 26 tokens

sandgardenhq/sgai

Skill Claude CodeCodex

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/TypeScript code to ensure optimal performance patterns. Triggers on tasks involving React components, data fetching, bundle optimization, or performance improvements.

132 1mo ago A 61 tokens

react-sse-patterns

14

sandgardenhq/sgai

Skill Claude CodeCodex

SSE with useSyncExternalStore, reconnection with exponential backoff, snapshot rehydration, typed event parsing, connection status UI. Use when implementing SSE data stores, real-time update hooks, or connection resilience in the React SPA. Triggers on SSE, EventSource, useSyncExternalStore, real-time updates…

132 1mo ago A 79 tokens

sandgardenhq/sgai

Skill Claude CodeCodex

Use when tests have race conditions, timing dependencies, or inconsistent pass/fail behavior - replaces arbitrary timeouts with condition polling to wait for actual state changes, eliminating flaky tests from timing guesses.

132 1mo ago A 43 tokens

defense-in-depth

16

sandgardenhq/sgai

Skill Claude CodeCodex

Use when invalid data causes failures deep in execution, requiring validation at multiple system layers - validates at every layer data passes through to make bugs structurally impossible.

132 1mo ago A 35 tokens

deployment

17

sandgardenhq/sgai

Skill Claude CodeCodex

MANDATORY when GOAL.md mentions deploying, shipping, releasing, or publishing built artifacts to any environment - reads deployment instructions from the .deploy/ directory, enforces pre-deployment verification, artifact integrity checks, deployment execution safety, post-deployment validation, and rollback planning…

132 1mo ago A 94 tokens

sandgardenhq/sgai

Skill Claude CodeCodex

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup.

132 1mo ago A 44 tokens

frontend-design

19

sandgardenhq/sgai

Skill Claude CodeCodex

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI).…

132 1mo ago A 77 tokens

sandgardenhq/sgai

Skill Claude CodeCodex

Use when you need to find code snippets by language and query. When looking for code examples, patterns, or snippets in a specific programming language. When you need to search for code snippets quickly. When searching for code patterns or best practices.

132 1mo ago A 55 tokens

sandgardenhq/sgai

Skill Claude CodeCodex

Use when building any HTMX interface with polling, SSE, or auto-refresh - prevents state loss (form inputs, scroll positions, details/accordion state) during automatic DOM updates by enforcing Idiomorph morph swaps with correct configuration. When building HTMX pages that auto-refresh via polling (hx-trigger="every…

132 1mo ago A 114 tokens

sandgardenhq/sgai

Skill Claude CodeCodex

Guide for adding new code snippets to the library; When you need to add a new code snippet to the sgaifindsnippets library, when creating files without proper metadata, when using incorrect filenames or extensions, when adding code without extensive comments.

132 1mo ago A 54 tokens

markdown-navigation

23

sandgardenhq/sgai

Skill Claude CodeCodex

Tool for navigating large markdown files, providing outline and section extraction. When dealing with large markdown files, need to get outline of sections, extract specific section content. Symptoms - large markdown files, need to navigate structure without reading whole file, extract sections for focused reading…

132 1mo ago A 63 tokens

sandgardenhq/sgai

Skill Claude CodeCodex

Guide for creating custom opencode agents with proper configuration, permissions, path-based delegation, work splitting, and strict status envelopes. Use when creating or updating agents for coordination, implementation, review, deployment, verification, documentation, or specialized workflows.

132 1mo ago A 54 tokens