GitHub 助手
- 作者仓库星标 54
- 许可证 MIT
- 作者仓库 skills
GitHub Actions questions are easy to answer from stale memory. Use this skill to ground answers in official GitHub documentation and return the closest authoritative page instead of generic CI/CD advice.
When to Use
Use this skill when the request is about:
- GitHub Actions concepts, terminology, or product boundaries
- Workflow YAML, triggers, jobs, matrices, concurrency, variables, contexts, or expressions
- GitHub-hosted runners, larger runners, self-hosted runners, or Actions Runner Controller
- Artifacts, caches, reusable workflows, workflow templates, or custom actions
- Secrets,
GITHUB_TOKEN, OpenID Connect, artifact attestations, or secure workflow patterns - Environments, deployment protection rules, deployment history, or deployment examples
- Migrating from Jenkins, CircleCI, GitLab CI/CD, Travis CI, Azure Pipelines, or other CI systems
- Troubleshooting workflow behavior when the user needs documentation, syntax guidance, or official references
Do not use this skill for:
- A specific failing PR check, missing workflow log, or CI failure triage. Use
gh-fix-ci. - General GitHub pull request, branch, or repository operations. Use
github. - CodeQL-specific configuration or code scanning guidance. Use
codeql. - Dependabot configuration, grouping, or dependency update strategy. Use
dependabot.
Workflow
1. Classify the request
Decide which bucket the question belongs to before searching:
- Getting started or tutorials
- Workflow authoring and syntax
- Runners and execution environment
- Security and supply chain
- Deployments and environments
- Custom actions and publishing
- Monitoring, logs, and troubleshooting
- Migration
If you need a quick starting point, load references/topic-map.md and jump to the closest section.
2. Search official GitHub docs first
- Treat
docs.github.comas the source of truth. - Prefer pages under https://docs.github.com/en/actions.
- Search with the user's exact terms plus a focused Actions phrase such as
workflow syntax,OIDC,reusable workflows, orself-hosted runners. - When multiple pages are plausible, compare 2-3 candidate pages and pick the one that most directly answers the user's question.
3. Open the best page before answering
- Read the most relevant page, and the exact section when practical.
- Use the topic map only to narrow the search space or surface likely starting pages.
- If a page appears renamed, moved, or incomplete, say that explicitly and return the nearest authoritative pages instead of guessing.
4. Answer with docs-grounded guidance
- Start with a direct answer in plain language.
- Include exact GitHub docs links, not just the docs homepage.
- Only provide YAML or step-by-step examples when the user asks for them or when the docs page makes an example necessary.
- Make any inference explicit. Good phrasing:
According to GitHub docs, ...Inference: this likely means ...
Answer Shape
Use a compact structure unless the user asks for depth:
- Direct answer
- Relevant docs
- Example YAML or steps, only if needed
- Explicit inference callout, only if you had to connect multiple docs pages
Keep citations close to the claim they support.
Search and Routing Tips
- For concept questions, prefer overview or concept pages before deep reference pages.
- For syntax questions, prefer workflow syntax, events, contexts, variables, or expressions reference pages.
- For security questions, prefer
Secure use,Secrets,GITHUB_TOKEN,OpenID Connect, and artifact attestation docs. - For deployment questions, prefer environments and deployment protection docs before cloud-specific examples.
- For migration questions, prefer the migration hub page first, then a platform-specific migration guide.
- If the user asks for a beginner walkthrough, start with a tutorial or quickstart instead of a raw reference page.
Common Mistakes
- Answering from memory without verifying the current docs
- Linking the GitHub Actions docs landing page when a narrower page exists
- Mixing up reusable workflows and composite actions
- Suggesting long-lived cloud credentials when OIDC is the better documented path
- Treating repo-specific CI debugging as a documentation question when it should be handed to
gh-fix-ci - Letting adjacent domains absorb the request when
codeqlordependabotis the sharper fit
Bundled Reference
Read references/topic-map.md only as a compact index of likely doc entry points. It is intentionally incomplete and should never replace the live GitHub docs as the final authority.
- 流狐分类
- 效率工具
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 94 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @xixu-me · MIT
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 需简单配置
- 是否需要外部 API Key
- 需要 · GitHub
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- Shell 执行
- 检测到的网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Use this skill when the request is about: GitHub Actions concepts, terminology, or product boundaries Workflow YAML, triggers, jobs, matrices, concurrency, variables, contexts, or expressions
Workflow
Decide which bucket the question belongs to before searching: Getting started or tutorials Workflow authoring and syntax
Treat docs.github.com as the source of truth. Prefer pages under <https://docs.github.com/en/actions>. Search with the user's exact terms plus a focused Actions phrase such as workflow syntax, OIDC, reusable workflows, or self-hosted runners.
Read the most relevant page, and the exact section when practical. Use the topic map only to narrow the search space or surface likely starting pages. If a page appears renamed, moved, or incomplete, say that explicitly and return the nearest authoritative…
Start with a direct answer in plain language. Include exact GitHub docs links, not just the docs homepage. Only provide YAML or step-by-step examples when the user asks for them or when the docs page makes an example necessary.
GitHub Actions questions are easy to answer from stale memory. Use this skill to ground answers in official GitHub documentation and return the closest authoritative page instead of generic CI/CD advice.
## When to Use
Use this skill when the request is about:
- GitHub Actions concepts, terminology, or product boundaries
- Workflow YAML, triggers, jobs, matrices, concurrency, variables, contexts, or expressions
- GitHub-hosted runners, larger runners, self-hosted runners, or Actions Runner Controller
- Artifacts, caches, reusable workflows, workflow templates, or custom actions
- Secrets, `GITHUB_TOKEN`, OpenID Connect, artifact attestations, or secure workflow patterns
- Environments, deployment protection rules, deployment history, or deployment examples
- Migrating from Jenkins, CircleCI, GitLab CI/CD, Travis CI, Azure Pipelines, or other CI systems
- Troubleshooting workflow behavior when the user needs documentation, syntax guidance, or official references
Do not use this skill for:
- A specific failing PR check, missing workflow log, or CI failure triage. Use `gh-fix-ci`.
- General GitHub pull request, branch, or repository operations. Use `github`.
- CodeQL-specific configuration or code scanning guidance. Use `codeql`.
- Dependabot configuration, grouping, or dependency update strategy. Use `dependabot`.
## Workflow
### 1. Classify the request
Decide which bucket the question belongs to before searching:
- Getting started or tutorials
- Workflow authoring and syntax
- Runners and execution environment
- Security and supply chain
- Deployments and environments
- Custom actions and publishing
- Monitoring, logs, and troubleshooting
- Migration
If you need a quick starting point, load `references/topic-map.md` and jump to the closest section.
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> When to Use → Workflow → 1. Classify the request → 2. Search official GitHub docs first → 3. Open the best page before answering → 4. Answer with docs-grounded guidance
要点 -> GitHub Actions questions are easy to answer from stale memory. · - A specific failing PR check, missing workflow log, or CI failure triage. · If you need a quick starting point, load references/topic-map.md and jump to the closest section. · - Treat docs.github.com as the source of truth. · - Read the most relevant page, and the exact section when practical. · - Start with a direct answer in plain language. · 1. Direct answer 2. · Keep citations close to the claim they support.
文件/命令 -> GITHUBTOKEN · gh-fix-ci · codeql · dependabot · references/topic-map.md · docs.github.com · workflow syntax · OIDC
内容 SHA-256 -> 454f564ed55c
方法与流程
适用与边界
原文中的明确线索
GITHUBTOKEN、gh-fix-ci、codeql、dependabot、references/topic-map.md、docs.github.com、workflow syntax、OIDC