Agent Skillsopen-gsd/gsd-pi › github-workflows

github-workflows

GitHub

提供 GitHub Actions CI/CD 工作流的实时语法查询、运行监控与故障调试能力。通过 ci_monitor.cjs 脚本统一管理,避免使用过时数据,确保配置准确并高效排查流水线失败原因。

src/resources/skills/github-workflows/SKILL.md open-gsd/gsd-pi

Trigger Scenarios

编写或修改 GitHub Actions 工作流文件 查看 CI/CD 运行状态或日志 调试流水线失败原因

Install

npx skills add open-gsd/gsd-pi --skill github-workflows -g -y
More Options

Non-standard path

npx skills add https://github.com/open-gsd/gsd-pi/tree/main/src/resources/skills/github-workflows -g -y

Use without installing

npx skills use open-gsd/gsd-pi@github-workflows

指定 Agent (Claude Code)

npx skills add open-gsd/gsd-pi --skill github-workflows -a claude-code -g -y

安装 repo 全部 skill

npx skills add open-gsd/gsd-pi --all -g -y

预览 repo 内 skill

npx skills add open-gsd/gsd-pi --list

SKILL.md

Frontmatter
{
    "name": "github-workflows",
    "description": "Work with GitHub Actions CI\/CD workflows - read live syntax, monitor runs, and debug failures. Use when writing, running, or debugging GitHub Actions workflows."
}

GitHub Workflows

Mission: Work with GitHub Actions without using stale training data. All syntax, versions, and parameters come from live sources.


Structural Principle

All CI operations go through ci_monitor.cjs. Never reach for gh CLI directly — the script wraps it with observable output.


Primary Tool: ci_monitor.cjs

Path: scripts/ci_monitor.cjs

node scripts/ci_monitor.cjs <command>

Before using any command:

  • Run --help to discover available arguments

Routing Table:

When You Need Command
List recent runs runs [--branch <name>]
Monitor running workflow watch <run-id>
Fail fast in scripts fail-fast <run-id>
See why run failed log-failed <run-id>
Test pass/fail counts test-summary <run-id>
Check action versions check-actions [file]
Search logs grep <run-id> --pattern <regex>
Wait for deployment wait-for <run-id> <job> --keyword <text>

Documentation Routing

Base URL: https://docs.github.com/en/actions/reference/workflows-and-actions/

Before writing any workflow syntax:

  • Fetch the relevant .md file from the URL above
  • Read only the section you need
Task File Section
Create workflow workflow-syntax.md name, on, jobs
Set triggers workflow-syntax.md on
Set permissions workflow-syntax.md permissions
Concurrency workflow-syntax.md concurrency
Reusable workflow workflow-syntax.md on.workflow_call
Annotations workflow-commands.md "Setting an error/warning/notice message"
Output variables workflow-commands.md "Environment files"
Conditionals expressions.md "Operators", "Functions"
Contexts contexts.md " context"
Events events-that-trigger-workflows.md Event tables

Version Verification

What Where
Action versions node ci_monitor.cjs check-actions <file>
Node.js LTS curl -s https://nodejs.org/dist/index.json | jq '.[0].version'

Validation Constraint

"No errors" is not validation. Prove observable change:

BEFORE: [specific state]
AFTER:  [different state]
EVIDENCE: [output from ci_monitor.cjs]

References

  • references/gh/SKILL.md — gh CLI reference

Version History

  • 1131ba3 Current 2026-08-27 09:07

Same Skill Collection

gsd-orchestrator/SKILL.md
src/resources/skills/accessibility/SKILL.md
src/resources/skills/agent-browser/SKILL.md
src/resources/skills/api-design/SKILL.md
src/resources/skills/best-practices/SKILL.md
src/resources/skills/btw/SKILL.md
src/resources/skills/code-optimizer/SKILL.md
src/resources/skills/core-web-vitals/SKILL.md
src/resources/skills/create-gsd-extension/SKILL.md
src/resources/skills/create-mcp-server/SKILL.md
src/resources/skills/create-skill/SKILL.md
src/resources/skills/create-workflow/SKILL.md
src/resources/skills/debug-like-expert/SKILL.md
src/resources/skills/decompose-into-slices/SKILL.md
src/resources/skills/dependency-upgrade/SKILL.md
src/resources/skills/design-an-interface/SKILL.md
src/resources/skills/forensics/SKILL.md
src/resources/skills/frontend-design/SKILL.md
src/resources/skills/grill-me/SKILL.md
src/resources/skills/handoff/SKILL.md
src/resources/skills/lint/SKILL.md
src/resources/skills/make-interfaces-feel-better/SKILL.md
src/resources/skills/observability/SKILL.md
src/resources/skills/react-best-practices/SKILL.md
src/resources/skills/review/SKILL.md
src/resources/skills/security-review/SKILL.md
src/resources/skills/spike-wrap-up/SKILL.md
src/resources/skills/tdd/SKILL.md
src/resources/skills/test/SKILL.md
src/resources/skills/userinterface-wiki/SKILL.md
src/resources/skills/verify-before-complete/SKILL.md
src/resources/skills/web-design-guidelines/SKILL.md
src/resources/skills/web-quality-audit/SKILL.md
src/resources/skills/write-docs/SKILL.md
src/resources/skills/write-milestone-brief/SKILL.md
packages/pi-coding-agent/examples/extensions/dynamic-resources/SKILL.md

Metadata

Files
0
Version
1131ba3
Hash
973e96eb
Indexed
2026-08-27 09:07

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-27 23:16
浙ICP备14020137号-1 $Гость$