Knowledge skill for SideQuest core utilities. Injected into Builder and Validator agents during engage to provide context about available utilities, patterns, and anti-patterns. Not user-invocable.
Instalación
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Knowledge skill for SideQuest core utilities. Injected into Builder and Validator agents during engage to provide context about available utilities, patterns, and anti-patterns. Not user-invocable.
user-invocable
false
Knowledge: SideQuest Core Utilities
This knowledge skill provides context about the @side-quest/core package and shared utilities. Injected into Builder (Scotty) and Validator (McCoy) agents during engage.
Core Package Structure
core/
src/
spawn/ -- Process spawning and collection
validation/ -- Input validation helpers
test-utils/ -- Test utilities and helpers
types/ -- Shared type definitions
index.ts -- Public API barrel export
Key Utilities
Spawn (core/spawn)
spawnAndCollect(command, args, options) -- Spawn a process and collect stdout/stderr.
Returns { stdout, stderr, exitCode }
Handles timeout, signal forwarding, and cleanup
Use this instead of raw Bun.spawn or child_process
spawnStreaming(command, args, options) -- Spawn with real-time output streaming.
Returns an async iterator of output lines
Use for long-running processes where you need incremental output
Validation (core/validation)
validatePath(path) -- Validate and normalize a file path.
Returns normalized absolute path or throws
Handles relative paths, ~, and symlinks
validateJson(input, schema) -- Validate JSON against a schema.
Returns parsed object or throws with descriptive error
Use for CLI argument parsing and config validation
validateRequired(value, name) -- Assert a value is defined.
Throws with "{name} is required" if undefined/null
Test Utilities (core/test-utils)
createTempDir() -- Create an isolated temporary directory.