Agent Skills › krl-gr/upcomputer › ci-maintenance

ci-maintenance

GitHub

GitHub Actions 工作流维护技能,用于审查或实施 CI/CD 流程。涵盖事件语义、权限管理、动作固定、并发控制及工件信任边界等安全与规范检查,确保工作流符合最小权限和最佳实践标准。

.repos/effect-smol/.agents/skills/ci-maintenance/SKILL.md krl-gr/upcomputer

Trigger Scenarios

编写或审查 GitHub Actions 工作流 修改 composite actions 调整触发器、权限、动作引用、工件或并发配置

Install

npx skills add krl-gr/upcomputer --skill ci-maintenance -g -y
More Options

Non-standard path

npx skills add https://github.com/krl-gr/upcomputer/tree/main/.repos/effect-smol/.agents/skills/ci-maintenance -g -y

Use without installing

npx skills use krl-gr/upcomputer@ci-maintenance

指定 Agent (Claude Code)

npx skills add krl-gr/upcomputer --skill ci-maintenance -a claude-code -g -y

安装 repo 全部 skill

npx skills add krl-gr/upcomputer --all -g -y

预览 repo 内 skill

npx skills add krl-gr/upcomputer --list

SKILL.md

Frontmatter
{
    "name": "ci-maintenance",
    "description": "GitHub Actions maintenance. Use when authoring or reviewing workflows or composite actions, especially event, permission, action-reference, artifact, setup, or concurrency changes."
}

Audit the trust boundary before editing. This skill owns Actions event semantics, workflow security, permissions, action pinning, setup reuse, untrusted inputs, timeouts, concurrency, and artifact trust boundaries.

Workflow

  1. Decide whether this is a review or an implementation. Reviews produce evidence-backed findings without editing; implementations continue through the smallest boundary-preserving change.
  2. Inspect every affected workflow, composite action, and caller. List all affected jobs and actions before proceeding.
  3. For each job, record the trigger, actor/fork status, workflow revision, checked-out revision, permissions, credentials, and every external input and consumer. Include artifacts, caches, outputs, PR fields, refs, dispatch inputs, generated files, and called actions.
  4. Consult current GitHub documentation for every platform-sensitive decision. Repository examples establish local convention, not platform semantics.
  5. Apply every applicable rule:
    • Default workflow permissions to empty and grant minimal job permissions.
    • Reuse the repository's shared setup action unless the environment must differ.
    • Give executable jobs intentional matrices and realistic timeouts.
    • Pin external actions and reusable workflows to full commit SHAs with readable release comments; verify each SHA belongs to that upstream release.
    • Analyze event choice, checkout revision, and credential persistence together.
    • Pass untrusted expressions through environment variables; validate and quote them before use.
    • Derive concurrency from interruption safety.
  6. For forks, privileged credentials, publication, or cross-run data, read privileged-workflows.md.
  7. Run the narrowest syntax and repository checks, inspect the complete diff, and identify behavior testable only on GitHub-hosted runners.

For local patterns, inspect the current shared setup action and the nearest workflow with the same trust boundary. Use ordinary check workflows for routine precedent and privileged publication workflows only for equivalent trust boundaries.

The task is complete when every affected job and caller has a recorded trust boundary, every applicable rule has evidence or a compensating control, local checks pass, and GitHub-only verification is identified. Reviews report every failure with evidence; implementations resolve every failure and contain only intended behavior.

Version History

  • 87ba963 Current 2026-10-18 23:19

Same Skill Collection

.agents/skills/contribution-triage/SKILL.md
.agents/skills/test-t3-app/SKILL.md
.agents/skills/test-t3-mobile/SKILL.md
.repos/effect-smol/.agents/skills/ai-docs/SKILL.md
.repos/effect-smol/.agents/skills/bundle-analysis/SKILL.md
.repos/effect-smol/.agents/skills/changesets/SKILL.md
.repos/effect-smol/.agents/skills/dependency-maintenance/SKILL.md
.repos/effect-smol/.agents/skills/effect-development/SKILL.md
.repos/effect-smol/.agents/skills/jsdocs/SKILL.md
.repos/effect-smol/.agents/skills/migration-guidance/SKILL.md
.repos/effect-smol/.agents/skills/package-development/SKILL.md
.repos/effect-smol/.agents/skills/performance-analysis/SKILL.md
.repos/effect-smol/.agents/skills/test-development/SKILL.md
.repos/effect-smol/.agents/skills/vendored-assets/SKILL.md

Metadata

Files
0
Version
87ba963
Hash
d71bcff1
Indexed
2026-10-18 23:19

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-25 06:58
浙ICP备14020137号-1