actions-runtime

Standardize GitHub Actions execution with Effect-based pre, main, and post entry points.

2|Updated Jul 2, 2026
One-click install
npx skills add https://github.com/spencerbeggs/effected --skill actions-runtime
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: actions-runtime
Source: https://github.com/spencerbeggs/effected/tree/main/plugin/skills/actions-runtime
Command: npx skills add https://github.com/spencerbeggs/effected --skill actions-runtime

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill resolves the complexity of wiring GitHub Action entry points (pre, main, post) by providing a unified, type-safe runtime that handles process lifecycle, environment configuration, and error reporting consistently.

Core Features & Use Cases

  • Unified Entry Point: Provides a standardized Action.run wrapper that ensures proper process exit codes, error rendering, and lifecycle management across pre/main/post scripts.
  • Type-Safe Services: Exposes a curated ActionServices union that includes essential platform capabilities like logging, state management, and environment access without manual boilerplate.
  • Use Case: Use this when building a complex GitHub Action that requires shared state via GITHUB_STATE, secret masking, or robust error handling that avoids swallowing defects in workflow logs.

Quick Start

Use the actions-runtime skill to wrap your main program in an Action.run call with the standard ActionRuntime.layer.

Frequently Asked Questions about actions-runtime

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I standardize GitHub Action entry points with Effect?

Standardize GitHub Action entry points with Effect by wrapping your pre, main, and post scripts in a unified Action.run call. This provides a type-safe runtime that manages process lifecycle, environment configuration, and error reporting consistently.

How do I handle GitHub Action state and secret masking in TypeScript?

Handle GitHub Action state and secret masking in TypeScript by using curated ActionServices that expose platform capabilities like logging and state management. This ensures consistent secret masking and shared state via GITHUB_STATE without manual boilerplate.

Why does my GitHub Action swallow defects in workflow logs?

GitHub Actions swallow defects in workflow logs when error handling is inconsistent across entry points. Using a standardized runtime wrapper ensures proper error rendering and avoids swallowing defects by enforcing consistent error handling.

Can I use a memoized layer architecture for GitHub Actions runtime?

Yes, you can use a memoized layer architecture for GitHub Actions runtime. It integrates NodeServices and custom ActionServices to satisfy type-safe wiring requirements, ensuring proper service composition and environment configuration.

What's the best way to manage GitHub Action lifecycle and exit codes?

The best way to manage GitHub Action lifecycle and exit codes is to use a standardized runtime that wraps your program. It ensures proper process exit codes, lifecycle management, and error rendering across pre, main, and post scripts.