CtrlK
BlogDocsLog inGet started
Tessl Logo

pantheon-ai/github-actions-generator

Comprehensive toolkit for generating best practice GitHub Actions workflows, custom local actions, and configurations following current standards and conventions. Use this skill when creating new GitHub Actions resources, implementing CI/CD workflows, or building reusable actions.

Overall
score

100%

Does it follow best practices?

Validation for skill structure

Overview
Skills
Evals
Files

index.jsassets/templates/action/javascript/

const core = require("@actions/core");
const github = require("@actions/github");

async function run() {
  try {
    // Get inputs
    const githubToken = core.getInput("github-token");
    const inputName = core.getInput("[input-name]", { required: true });

    // Log inputs (mask sensitive data)
    core.info(`Input: ${inputName}`);

    // Create GitHub client
    const octokit = github.getOctokit(githubToken);

    // Get context information
    const context = github.context;
    core.info(`Repository: ${context.repo.owner}/${context.repo.repo}`);
    core.info(`Event: ${context.eventName}`);

    // Main action logic
    core.startGroup("Running [ACTION_NAME]");

    // Example: Get repository information
    const { data: repo } = await octokit.rest.repos.get({
      owner: context.repo.owner,
      repo: context.repo.repo,
    });

    core.info(`Repository stars: ${repo.stargazers_count}`);

    // [ADD YOUR LOGIC HERE]

    core.endGroup();

    // Set outputs
    core.setOutput("[output-name]", "[OUTPUT_VALUE]");

    // Success
    core.info("✅ Action completed successfully");
  } catch (error) {
    // Handle errors
    core.setFailed(`Action failed: ${error.message}`);
    if (error.stack) {
      core.debug(error.stack);
    }
  }
}

run();

Install with Tessl CLI

npx tessl i pantheon-ai/github-actions-generator@0.1.0

assets

templates

action

javascript

SKILL.md

tile.json