con un clic
github-script
Write robust JavaScript for GitHub Actions github-script steps.
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.
Menú
Write robust JavaScript for GitHub Actions github-script steps.
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.
Basado en la clasificación ocupacional SOC
Conversational skill that interviews users to design new agentic workflows
Route gh-aw workflow design/create/debug/upgrade requests to the right prompts.
Analyze and reduce token consumption in agentic workflows — guardrail-specific entry points, measurement, and optimization techniques.
Implement secret-safe HTTP headers for MCP transport in gh-aw.
Review code that performs git or gh operations against repository checkouts in gh-aw, checking that the right credentials are available at the right time and that sparseness, shallowness and credential-free factors are properly considered.
Teach Copilot how to plan, address, and respond to pull request review feedback.
| name | github-script |
| description | Write robust JavaScript for GitHub Actions github-script steps. |
Use these guidelines for JavaScript executed by actions/github-script@v8.
@actions/core and @actions/github packages globally@actions/corecore.info, core.warning, core.error for logging, not console.log or console.errorcore.setOutput to set action outputscore.exportVariable to set environment variables for subsequent stepscore.getInput to get action inputs, with required: true for mandatory inputscore.setFailed to mark the action as failed with an error messageUse core.summary.* function to write output the step summary file.
core.summary.addRaw() to add raw Markdown content (GitHub Flavored Markdown supported)core.summary.write() to flush pending writescore.summary.addRaw(...).addRaw(...).write()any type as much as possible, use specific types or unknown insteadcatch (error) {
core.setFailed(error instanceof Error ? error : String(error));
}
core.setFailed also calls core.error, so do not call bothRun make js to run the typescript compiler.
Run make lint-cjs to lint the files.
Run make fmt-cjs after editing to format the file.