github-actions
Use when: write or review GitHub Actions workflows that are fast, secure, and maintainable.
来源信息
- 仓库
- kimtth/agent-skill-100-lines-or-less
- 最近来源活动
- 2026年6月26日 02:15
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 2
- Forks
- 0
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- github-actions
- description
- Use when: write or review GitHub Actions workflows that are fast, secure, and maintainable.
Goal: CI workflows that are quick, least-privileged, and reliable.
Use for:
- authoring workflows for build, test, and release
- speeding up slow or flaky Actions runs
- hardening workflow permissions and secrets
Workflow:
1. Trigger on the right events with path and branch filters.
2. Set least-privilege permissions for GITHUB_TOKEN.
3. Cache dependencies and reuse setup across jobs.
4. Parallelize with a matrix; fail fast where useful.
5. Pin third-party actions to a commit SHA.
6. Use secrets via the secrets context, never echoed.
Practices:
- minimal permissions block per workflow/job
- matrix builds for versions and platforms
- concurrency groups to cancel superseded runs
- reusable workflows for shared logic
Rules:
- pin actions by SHA; do not trust mutable tags
- grant the token the least access needed
- never print secrets; mask sensitive output
- keep workflows fast with caching and concurrency control
在 GitHub 查看