Skip to main content

workflow-step-summaries

Write clear GitHub Actions step summaries with progressive disclosure.

来源信息

仓库
github/gh-aw
最近来源活动
2026年6月3日 18:05
检测到的 SKILL.md 语言
英语
星标
5,576
Forks
615

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
workflow-step-summaries
description
Write clear GitHub Actions step summaries with progressive disclosure.
# GitHub Actions Step Summary Guidance Use this skill when generating content for `$GITHUB_STEP_SUMMARY`. ### Structure summaries for quick scanning - Start sections at `###` (h3) for readable hierarchy in workflow run pages. - Keep titles plain text with no emojis. - Put the most important status and outcomes first. ### Use progressive disclosure - Wrap detailed diagnostics, logs, and secondary data in HTML `<details>` blocks. - Use a concise `<summary>` line that states what the collapsed section contains. - Keep default-expanded content short; move verbose output into collapsible blocks. ### Use Markdown for code and review output - In `actions/github-script`, prefer `core.summary.*` helpers to build summary content. - Use inline code with backticks for commands, paths, IDs, and config keys. - Use fenced code blocks with a language tag for logs, diffs, snippets, or commands. - Present review findings as markdown sections with clear severity and action items. ### Suggested checklist before writing - Confirm section headings start at h3. - Confirm no title includes emoji. - Confirm verbose content is inside `<details>` blocks. - Confirm code and review content uses proper markdown code formatting.
在 GitHub 查看