script-kit-logging
CommunityMaster Script Kit logging.
Authorjohnlindquist
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides clear patterns and best practices for logging within the Script Kit GPUI environment, enabling effective debugging, observability, and error tracking.
Core Features & Use Cases
- Structured Logging: Understand and implement JSONL logging for detailed event tracking.
- AI Log Mode: Learn to use the compact stderr format for efficient AI agent communication.
- Error Handling: Implement robust error management using
anyhowandthiserror. - Use Case: When a script fails unexpectedly, use the logging patterns to trace the execution flow, identify the root cause using correlation IDs, and quickly resolve the issue.
Quick Start
Enable compact AI logs by running your script with the SCRIPT_KIT_AI_LOG=1 environment variable.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: script-kit-logging Download link: https://github.com/johnlindquist/script-kit-next/archive/main.zip#script-kit-logging Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.