GP
GitHub Problem Matcher 知识库
Bundle OKF 0.2 · 9 conceitos · awesome-flexloop/awesome-okf
Open site Project Open in the app JSON README (API)
# GitHub Problem Matcher 知识库
本知识包是 GitHub Action [sphinx-doc/github-problem-matcher](https://github.com/sphinx-doc/github-problem-matcher) 的系统化中文教程,基于源码深度阅读生成,覆盖从快速上手到自定义 Matcher 的完整知识体系。所有内容均溯源至项目源码(`action.yml`、`sphinx_matcher.json`、`test_matcher.js`),遵循 [OKF v0.2 规范](concepts/00-introduction.md)。
## 入门与基础(concepts/)
* [github-problem-matcher 简介](concepts/00-introduction.md) — GitHub Actions Problem Matcher 机制、项目定位、核心价值与适用场景。
* [5分钟快速上手](concepts/01-getting-started.md) — 最小 workflow 配置、关键注意事项、质量门禁配置。
* [Action 结构解析](concepts/02-action-structure.md) — action.yml 逐行解析、composite action、`::add-matcher::` 命令与上下文变量。
## 核心机制(concepts/)
* [Problem Matcher JSON 格式](concepts/03-matcher-json.md) — problemMatcher/pattern 对象结构、regexp 正则、捕获组映射字段(file/line/severity/message)。
* [三种正则模式详解](concepts/04-regex-patterns.md) — 严格模式、宽松模式、兜底模式的正则逐字符解析与覆盖场景分析。
* [测试 Problem Matcher](concepts/05-testing.md) — test_matcher.js 逐行解析、零框架单元测试方法与自定义 matcher 测试模板。
## 实战示例(examples/)
* [基础使用示例](examples/basic-
README
Loading documentation…
Details
- Type
- OKF bundles
- Topic
- Code versions (Git)
- Publisher
- awesome-flexloop
- Source
- okf_github
- Category
- Data
- Version
- 0.2
- Copies (forks)
- 1
- Last update
- 2026-10-29T07:09:48Z
- Project status
- Active
- Language
- Python
- License
- Apache-2.0
- Added
- 2026-10-17 04:40:44
- Updated
- 2026-10-17 04:40:44
- Source id
awesome-flexloop/awesome-okf:doc/bundles/jishu/build/tooling/github-problem-matcher/index.md
More