livecodes/gh-action

Generate LiveCodes playground preview links and post them as PR comments.

1.5k|262|Updated Jan 10, 2021
One-click install
npx skills add https://github.com/live-codes/livecodes --skill livecodes-gh-action
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: livecodes/gh-action
Source: https://github.com/live-codes/livecodes/tree/main/.agents/skills/livecodes/gh-action
Command: npx skills add https://github.com/live-codes/livecodes --skill livecodes-gh-action

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate preview playground links for code changes in pull requests, so teammates can review in a live environment without manual setup.

Core Features & Use Cases

  • Generate LiveCodes playground links for pull request changes.
  • Post PR comments with the preview URLs to streamline review workflows.
  • Use on PRs to quickly validate code changes in a live playground.

Quick Start

Add the gh-action to your PR workflow to generate and publish LiveCodes previews for code changes.

Frequently Asked Questions about livecodes/gh-action

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

FAQPage Schema
How do I generate live playground previews for pull requests in GitHub?

To generate live playground previews for pull requests, add the LiveCodes GitHub Action to your PR workflow. It scans for .livecodes configurations and automatically posts PR comments containing interactive preview links for code changes.

What is a PR preview playground and how does it streamline code review?

A PR preview playground is an interactive, live environment for testing code changes directly from a pull request. It streamlines collaboration by letting teammates validate modifications visually without manual local setup or deployment.

Do I need specific repository configurations to use GitHub Actions for PR previews?

Yes, you need .livecodes configuration files in your repository for the GitHub Action to scan. Additionally, two separate workflows must be merged to your default branch to enable automated preview generation and PR comment posting.

Can I automatically post preview links as comments on my pull requests?

Yes, the LiveCodes GitHub Action automatically posts PR comments with generated preview URLs. Once triggered by code changes, it publishes the interactive playground links directly to the pull request thread.

Why are my automated PR playground previews not showing up in comments?

PR playground previews fail to appear if the required workflows are not merged to the default branch. You must ensure both separate workflows for preview generation and comment posting are successfully merged to enable automation.