Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
619 commits
Select commit Hold shift + click to select a range
9401e88
Update kcp.md
20083017 Oct 24, 2024
a27a239
Update 2023-05-03-wsl_ubuntu_upgrade.md
20083017 Oct 26, 2024
ef34773
Update folly_helper.md
20083017 Nov 8, 2024
4186733
Update 2023-05-03-wsl_ubuntu_upgrade.md
20083017 Nov 10, 2024
6a5c68b
Create seastar.md
20083017 Nov 10, 2024
a0ce615
Update 2022-09-03-Git指令整理.md
20083017 Nov 10, 2024
68d4194
Create db 迁移方案.md
20083017 Dec 2, 2024
efb51fd
Update cmake-cheat-sheet.md
20083017 Dec 3, 2024
6e9dee4
Create templight.md
20083017 Dec 4, 2024
c0a2360
Update templight.md
20083017 Dec 4, 2024
e531158
Update templight.md
20083017 Dec 4, 2024
d62ded3
Update templight.md
20083017 Dec 5, 2024
1e5baa8
更新 如何提升程序的性能.md
20083017 Dec 8, 2024
1ef295e
更新 如何提升程序的性能.md
20083017 Dec 8, 2024
d59ac5c
Create bazel.md
20083017 Dec 10, 2024
8f1224f
Create 永远的赤名莉香.md
20083017 Dec 10, 2024
5a73189
Create linux hhwheeltimer.md
20083017 Dec 16, 2024
fcff302
Create ceph.md
20083017 Dec 18, 2024
7a8597f
Update kcp.md
20083017 Dec 19, 2024
661b0fb
Update seastar.md
20083017 Dec 20, 2024
b976504
Update seastar.md
20083017 Dec 20, 2024
0052dbe
Update protobuf.md
20083017 Dec 20, 2024
2fbc724
Update 2022-09-03-Git指令整理.md
20083017 Dec 20, 2024
2065df0
Update seastar.md
20083017 Dec 25, 2024
122f5b2
Update seastar.md
20083017 Dec 26, 2024
ccd395c
Update seastar.md
20083017 Dec 30, 2024
80f6710
Update seastar.md
20083017 Dec 30, 2024
b355890
Update seastar.md
20083017 Dec 30, 2024
8c10f42
Update seastar.md
20083017 Dec 31, 2024
5759af0
Update seastar.md
20083017 Dec 31, 2024
bb7fc4b
Update seastar.md
20083017 Dec 31, 2024
76205b4
Update seastar.md
20083017 Dec 31, 2024
ba4a3fb
Update seastar.md
20083017 Dec 31, 2024
8e5f33a
Update seastar.md
20083017 Dec 31, 2024
e04992c
Update seastar.md
20083017 Jan 6, 2025
fadc7ef
Update seastar.md
20083017 Jan 8, 2025
49bad47
Update seastar.md
20083017 Jan 8, 2025
3654eae
Update seastar.md
20083017 Jan 8, 2025
2c7d86a
Update seastar.md
20083017 Jan 8, 2025
5d00f28
Update seastar.md
20083017 Jan 8, 2025
27009c1
Update linux-cheatsheet.md
20083017 Jan 8, 2025
89a3d3e
Update socket-cheat-sheet.md
20083017 Feb 6, 2025
c94222b
Update socket-cheat-sheet.md
20083017 Feb 6, 2025
dec1e82
Create baidu_ocr.md
20083017 Mar 17, 2025
6292f8f
Update baidu_ocr.md
20083017 Mar 17, 2025
38cf9d5
Create ros2_navigation.md
20083017 Mar 17, 2025
473d802
Update ubuntu环境搭建.md
20083017 Mar 18, 2025
eb62be0
Update ubuntu环境搭建.md
20083017 Mar 18, 2025
67350d5
Update vscode-cheatsheet.md
20083017 Mar 18, 2025
8c5a965
Update vscode-cheatsheet.md
20083017 Mar 18, 2025
967c5cd
Update linux-cheatsheet.md
20083017 Mar 24, 2025
9e41f7c
Update vscode-cheatsheet.md
20083017 Mar 28, 2025
15d135b
Update ubuntu环境搭建.md
20083017 Mar 28, 2025
9ee8f41
Update vscode-cheatsheet.md
20083017 Mar 28, 2025
a01827b
Update vscode-cheatsheet.md
20083017 Mar 28, 2025
3406685
Update windows命令.md
20083017 Mar 31, 2025
794f7c0
Update windows命令.md
20083017 Mar 31, 2025
8463a12
Create gitkracken.md
20083017 Apr 1, 2025
88a9a81
Create windows-vcpkg.md
20083017 Apr 2, 2025
c00b508
Update windows-vcpkg.md
20083017 Apr 2, 2025
32b1e39
Update windows-vcpkg.md
20083017 Apr 2, 2025
b7ce62f
Update 2022-09-03-Git指令整理.md
20083017 Apr 2, 2025
d6f22b4
Update 2022-09-03-Git指令整理.md
20083017 Apr 2, 2025
c026129
Update vscode-cheatsheet.md
20083017 Apr 6, 2025
28998fe
Update vscode-cheatsheet.md
20083017 Apr 7, 2025
14c9f8a
Create C#_并发读取日志.md
20083017 Apr 11, 2025
d4c295a
Update 2022-09-03-Git指令整理.md
20083017 Apr 11, 2025
b176c11
Update linux-cheatsheet.md
20083017 Apr 15, 2025
6797417
Update linux-cheatsheet.md
20083017 Apr 16, 2025
1e88151
Update linux-cheatsheet.md
20083017 Apr 16, 2025
922fbe0
Update linux-cheatsheet.md
20083017 Apr 16, 2025
7cd82f4
Update linux-cheatsheet.md
20083017 Apr 16, 2025
d31ea74
Update adb问题排查.md
20083017 Apr 17, 2025
8f5bfca
Update linux-cheatsheet.md
20083017 Apr 20, 2025
8f9a06a
Update 2022-09-03-Git指令整理.md
20083017 Apr 20, 2025
2a3a930
Update vscode-cheatsheet.md
20083017 Apr 26, 2025
ed67700
Update linux-cheatsheet.md
20083017 Apr 28, 2025
d42219c
Update ubuntu环境搭建.md
20083017 Apr 29, 2025
7e79fb4
Update vscode-cheatsheet.md
20083017 May 5, 2025
ee0a270
Create graphviz.md
20083017 May 8, 2025
ab03a8a
Create clang-format.md
20083017 May 16, 2025
5256c4c
Update clang-format.md
20083017 May 17, 2025
51d8a93
Update clang-format.md
20083017 May 17, 2025
6665c29
Update clang-format.md
20083017 May 17, 2025
c307f92
Update clang-format.md
20083017 May 17, 2025
3a90809
Update clang-format.md
20083017 May 17, 2025
b63a5a0
Update clang-format.md
20083017 May 20, 2025
e0f00ca
Update clang-format.md
20083017 May 20, 2025
b113257
Update vscode-cheatsheet.md
20083017 May 21, 2025
f20d96b
Update windows命令.md
20083017 May 26, 2025
6aae0cc
Update 2022-09-03-Git指令整理.md
20083017 Jun 16, 2025
0b00d3f
Create from_post_clang-format.md
20083017 Jun 26, 2025
39055a0
Create 跨平台配置.md
20083017 Aug 4, 2025
d30acae
Update 2023-05-03-wsl_ubuntu_upgrade.md
20083017 Sep 16, 2025
8e89604
Create analyze_code.py
20083017 Sep 24, 2025
84ddd08
Create cmake_analyzer.md
20083017 Sep 25, 2025
43ad55d
Create run_tee.md
20083017 Oct 13, 2025
73c4b78
Update run_tee.md
20083017 Oct 14, 2025
74a64df
Update run_tee.md
20083017 Oct 15, 2025
e70e4e8
Update run_tee.md
20083017 Oct 15, 2025
e8abe7a
Update run_tee.md
20083017 Oct 15, 2025
3857f16
Update run_tee.md
20083017 Oct 15, 2025
b3c1274
Update run_tee.md
20083017 Oct 15, 2025
04ef720
Update run_tee.md
20083017 Oct 15, 2025
89c6623
Update run_tee.md
20083017 Oct 15, 2025
aa6f1fb
Update run_tee.md
20083017 Oct 15, 2025
068a51f
Fix conditional check for existing destination file
20083017 Oct 16, 2025
77629a4
Update run_tee.md
20083017 Oct 16, 2025
f7433ac
Update run_tee.md
20083017 Oct 16, 2025
7d854f7
Update run_tee.md
20083017 Oct 16, 2025
3da557e
Update run_tee.md
20083017 Oct 16, 2025
2aeb9a8
Update run_tee.md
20083017 Oct 17, 2025
830f09c
Update run_tee.md
20083017 Oct 17, 2025
8ebc1ac
Update clang-format.md
20083017 Oct 20, 2025
e9d30bd
Update vscode-cheatsheet.md
20083017 Oct 20, 2025
54af220
Update clang-format.md
20083017 Oct 20, 2025
80bfb90
Add guide for Telegram registration and proxy setup
20083017 Feb 22, 2026
0ef3c8e
Update telegram 注册.md
20083017 Feb 22, 2026
6838e30
Update telegram 注册.md
20083017 Feb 22, 2026
4380b4d
Update lru-stl.md
20083017 Mar 17, 2026
f200120
Update seastar.md
20083017 Apr 1, 2026
6128c1e
Update seastar.md
20083017 Apr 1, 2026
79cce92
Update seastar.md
20083017 Apr 2, 2026
c761c1f
Update seastar.md
20083017 Apr 2, 2026
2e4f9f5
Update seastar.md
20083017 Apr 2, 2026
b971717
Create xquic.md
20083017 Apr 7, 2026
e6ebb6e
Update xquic.md
20083017 Apr 7, 2026
d0beff3
Update xquic.md
20083017 Apr 9, 2026
d8c266c
Update xquic.md
20083017 Apr 9, 2026
991adde
Create 大模型对比.md
20083017 Apr 10, 2026
6087251
Create gpt-codex-agent.md
20083017 Apr 11, 2026
1c6ed08
Update gpt-codex-agent.md
20083017 Apr 11, 2026
ee4c1ae
Update gpt-codex-agent.md
20083017 Apr 11, 2026
65aba73
Update gpt-codex-agent.md
20083017 Apr 11, 2026
6b8b075
Update gpt-codex-agent.md
20083017 Apr 13, 2026
64f3028
Update xquic.md
20083017 Apr 13, 2026
fa5c551
Update xquic.md
20083017 Apr 16, 2026
a58030b
Update xquic.md
20083017 Apr 16, 2026
2ee3e5b
Update xquic.md
20083017 Apr 16, 2026
696e1d2
Clean up key posts and drafts
Copilot Apr 24, 2026
663f5d7
Add safety notes to docker and gdb posts
Copilot Apr 24, 2026
795f706
chore: install local jekyll tooling for validation
Copilot Apr 24, 2026
456f1e8
docs: clean up high-risk posts and ignore generated site output
Copilot Apr 24, 2026
a305fc2
docs: clarify local branch rename in git guide
Copilot Apr 24, 2026
979a375
docs: restore original OpenSSL post details safely
Copilot Apr 24, 2026
6e88b46
docs: restore contextual notes for openssl and mysql posts
Copilot Apr 24, 2026
ce5d43c
docs: restore more openssl and glibc context
Copilot Apr 24, 2026
b3185a9
Merge pull request #2 from 20083017/copilot/optimize-posts-docs
20083017 Apr 24, 2026
b3beb7b
docs: tidy more android-related posts
Copilot Apr 24, 2026
0c58425
docs: restore simpleperf post details
Copilot Apr 24, 2026
17e4db9
docs: tidy hwasan and meminfo notes
Copilot Apr 24, 2026
242b478
docs: remove runner path from hwasan note
Copilot Apr 24, 2026
bb96456
docs: clarify simpleperf binary example
Copilot Apr 24, 2026
09b9604
Merge pull request #3 from 20083017/copilot/posts
20083017 Apr 25, 2026
cf783b5
docs: organize android related posts
Copilot Apr 25, 2026
ce7efb5
Merge pull request #4 from 20083017/copilot/posts-documents
20083017 Apr 25, 2026
557b7d1
docs: organize apns tools note
Copilot Apr 25, 2026
b7ab188
docs: organize baidu ocr note
Copilot Apr 25, 2026
c56f002
docs: restore operational APNs code blocks
Copilot Apr 25, 2026
ad3d715
Merge pull request #5 from 20083017/copilot/task-8308226-531582727-1b…
20083017 Apr 25, 2026
eb83d76
docs: organize more rough note posts
Copilot Apr 25, 2026
88a36a8
Merge pull request #6 from 20083017/copilot/task-8308226-531582727-14…
20083017 Apr 25, 2026
71e604e
docs: organize build and troubleshooting notes
Copilot Apr 25, 2026
375dae5
Merge pull request #7 from 20083017/copilot/continue-organizing-docum…
20083017 Apr 25, 2026
b9d8500
docs: clean up first batch of technical posts
Copilot Apr 25, 2026
20fc40d
docs: clean up second batch of technical posts
Copilot Apr 25, 2026
9782ac6
docs: restore content in protobuf.md and keep all clang-format demos
Copilot Apr 25, 2026
9da1893
docs: restore full run_tee.md scripts
Copilot Apr 25, 2026
58cc574
docs(seastar): add "按环境分工" section between WSL limits and troubleshoo…
Copilot Apr 25, 2026
e06c806
docs(seastar): add tcp_httpd pcap example under WSL2 bullet
Copilot Apr 25, 2026
3a2b243
Merge pull request #8 from 20083017/copilot/outline-remaining-documents
20083017 Apr 25, 2026
70aed5c
docs: 整理第三批 10 篇零散笔记为统一结构
Copilot Apr 25, 2026
869eebf
Merge pull request #9 from 20083017/copilot/task-8308226-531582727-38…
20083017 Apr 25, 2026
f79e3c5
docs: 整理第四批 10 篇零散笔记为统一结构
Copilot Apr 25, 2026
2ff668f
Merge pull request #10 from 20083017/copilot/task-8308226-531582727-4…
20083017 Apr 25, 2026
5a69b6a
docs: 整理第五批 10 篇零散笔记为统一结构
Copilot Apr 25, 2026
70be90e
docs: 合并 跨平台.md 到 git_hooks.md(项目工程化规约)
Copilot Apr 25, 2026
9444985
docs(git_hooks): add B.6 on Shell/Python/Markdown EOL pitfalls
Copilot Apr 25, 2026
16d7b72
Merge pull request #11 from 20083017/copilot/optimize-documentation
20083017 Apr 25, 2026
1ef5c2f
docs: 整理第六批 10 篇零散笔记为统一结构
Copilot Apr 25, 2026
5dc96b3
Merge pull request #12 from 20083017/copilot/optimize-documentation-a…
20083017 Apr 25, 2026
27f0d04
docs: 整理第七批 10 篇零散笔记为统一结构
Copilot Apr 25, 2026
c6a9656
docs(mbedtls): add AES IV strategy and ECDH handshake sequence diagram
Copilot Apr 25, 2026
53e76bd
docs: merge mbedtls.md into mmtls.md as "mbedTLS / curl 实战补充" section
Copilot Apr 25, 2026
6fed873
docs: restore mbedtls.md, keep only IV/ECDH supplements in mmtls.md
Copilot Apr 25, 2026
b7116e2
docs(mmtls): add §7 哪些请求适合 0-RTT with two-stage handshake mermaid dia…
Copilot Apr 25, 2026
7131eb2
Merge pull request #13 from 20083017/copilot/optimize-documentation-a…
20083017 Apr 25, 2026
b9860d6
docs(8th batch): tidy 4 raw notes (常用网站 / spark / codex / timerThread…
Copilot Apr 25, 2026
20ac315
docs(8th batch): tidy gdb-cheatsheet / socket-cheat-sheet / C++开发遇到的坑
Copilot Apr 25, 2026
7ff25d7
docs(8th batch): finish wsl/vscode + replace eval() with ast-based sa…
Copilot Apr 25, 2026
a72f590
docs: tidy month-old untouched posts (markdown-cheatsheet + 编译相关)
Copilot Apr 26, 2026
8c76219
docs(jenkins): migrate deployment guides to _posts/jenkins
20083017 Apr 26, 2026
42f1cd7
Merge pull request #15 from 20083017/chore/migrate-jenkins-deployment…
20083017 Apr 26, 2026
47abdf3
docs: tidy 编译相关 conservatively, preserve all original prose
Copilot Apr 26, 2026
7bd9ddc
Merge pull request #14 from 20083017/copilot/optimize-documentation-y…
20083017 Apr 26, 2026
4abecf9
docs(leetcode): add front matter, concept and principle explanations …
Copilot Apr 26, 2026
16d6eb9
docs(leetcode): fix subtitle typo per code review
Copilot Apr 26, 2026
a57abbc
chore: move 13 stray non-md files from _posts/ to top-level tools/
Copilot Apr 26, 2026
3b5bf30
chore: categorize _posts/*.md into themed subfolders
Copilot Apr 26, 2026
5c03589
Merge pull request #16 from 20083017/copilot/adjust-documentation-logic
20083017 Apr 26, 2026
3f2e510
fix(_posts): prepend YYYY-MM-DD- prefix from front matter date so Jek…
Copilot Apr 26, 2026
f4df076
Merge pull request #17 from 20083017/copilot/update-blog-documentation
20083017 Apr 26, 2026
573260c
Add categories page that groups posts by their _posts/ subdirectory
Copilot Apr 26, 2026
a4150a8
Merge pull request #18 from 20083017/copilot/add-directory-file-view
20083017 Apr 26, 2026
72f728c
把文章侧边目录(Catalog)从右侧移动到左侧
Copilot Apr 26, 2026
515fc45
Merge pull request #19 from 20083017/copilot/move-directories-to-left…
20083017 Apr 26, 2026
e7daf2c
Update post titles and folder directory page
Copilot Apr 26, 2026
f0a630d
Merge pull request #20 from 20083017/copilot/spark-sql
20083017 Apr 26, 2026
22ff504
Fix post titles and front matter quoting
Copilot Apr 26, 2026
c338c74
Add homepage links for post folders
Copilot Apr 26, 2026
56cda23
Make post folder filtering more robust
Copilot Apr 26, 2026
173e932
Extract post folder link cloud include
Copilot Apr 26, 2026
1689a96
Remove duplicate folder link markup
Copilot Apr 26, 2026
4d477f1
Document post folder cloud include
Copilot Apr 26, 2026
efc6b3c
Consolidate post folder browser include
Copilot Apr 26, 2026
e565d92
Clarify post folder include filtering
Copilot Apr 26, 2026
81ab2e3
Use data-count for folder tag weights
Copilot Apr 26, 2026
e51fd13
Harden folder tag weight parsing
Copilot Apr 26, 2026
044dfa4
Normalize folder browser links
Copilot Apr 26, 2026
51e33e9
Wrap long markdown code lines in post styles
Copilot Apr 26, 2026
5010f43
Merge pull request #21 from 20083017/copilot/adjust-code-block-line-l…
20083017 Apr 26, 2026
e59bb19
Merge pull request #22 from 20083017/copilot/task-8308226-531582727-8…
20083017 Apr 26, 2026
af07448
Add homepage folder links and per-folder pages
Copilot Apr 26, 2026
39611e7
Merge pull request #23 from 20083017/copilot/update-homepage-links-fo…
20083017 Apr 26, 2026
2864686
Update homepage topic layout
Copilot Apr 26, 2026
4e24623
Rebuild homepage styles
Copilot Apr 26, 2026
b0abaeb
Merge pull request #24 from 20083017/copilot/optimize-homepage-layout
20083017 Apr 26, 2026
d1e5c97
Clean up homepage and navigation links
Copilot Apr 26, 2026
bbcf982
Remove unused navigation toggle markup
Copilot Apr 26, 2026
ee1a6ba
Merge pull request #25 from 20083017/copilot/remove-homepage-articles
20083017 Apr 26, 2026
47301ad
feat: hide folder descriptions and internal metadata
Copilot Apr 26, 2026
c2d62d5
Merge pull request #26 from 20083017/copilot/remove-unnecessary-descr…
20083017 Apr 26, 2026
38b7c18
ci: add push-triggered site build workflow
Copilot Apr 28, 2026
78bae13
ci: pin workflow runtime versions
Copilot Apr 28, 2026
530e870
Merge pull request #30 from 20083017/copilot/restore-workflow-trigger
20083017 Apr 28, 2026
1cb7baf
Add post-build status and deployment jobs
Copilot Apr 28, 2026
ced6d20
Refine GitHub Pages deployment job
Copilot Apr 28, 2026
c489c2c
Harden deployment job conditions
Copilot Apr 28, 2026
1cadf9b
Restore master Pages auto publish
Copilot Apr 28, 2026
8d3fdaa
Merge pull request #31 from 20083017/copilot/report-build-status-and-…
20083017 Apr 28, 2026
4c7927f
Remove Pages deployment actions from site build workflow
Copilot Apr 28, 2026
317b2d8
Clean up listing page headers
Copilot Apr 28, 2026
7c63d0b
Remove page sidebars
Copilot Apr 28, 2026
f23edb8
Restore site build workflow
Copilot Apr 28, 2026
8bc2a60
Merge pull request #32 from 20083017/copilot/fix-pages-configuration-…
20083017 Apr 28, 2026
ec0c314
docs: add document refinement skill
Copilot Apr 28, 2026
6a08ac5
docs: refine document skill wording
Copilot Apr 28, 2026
1d8d5da
Merge pull request #33 from 20083017/copilot/extract-and-organize-ski…
20083017 Apr 28, 2026
0fb7838
IM docs
20083017 May 4, 2026
005636c
add docs
20083017 May 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
当任务涉及“提取笔记”“梳理文档”“整理成博客文章”“把零散记录改成结构化 Markdown”时,优先使用 `.github/skills/document-refinement/SKILL.md` 中定义的流程与检查清单。

整理本仓库里的文档时,默认遵守这些约束:

- 保留原始信息密度,但重组为更易回看的章节结构
- 优先沿用仓库现有 Jekyll 文章 front matter、标题层级与中文写作风格
- 能归纳成“当前保留内容 / 后续可补的方向”时,优先使用这一结构
- 涉及命令、代码、配置时补齐语言标记、占位符与安全提醒,避免泄露真实密钥
- 不为了“润色”而虚构原文没有提供的事实
47 changes: 47 additions & 0 deletions .github/skills/document-refinement/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
name: document-refinement
description: '提取、梳理、整理仓库中的零散笔记、草稿、速记和技术文档时使用。适用于把原始记录改写成结构化 Markdown、Jekyll 文章、摘要清单或可继续补充的文档。关键词:文档梳理、笔记整理、提取、结构化、总结、博客文章、Markdown。'
user-invocable: true
---

# Document Refinement

用于把这个仓库里的原始笔记、草稿和碎片化记录整理成可长期维护的文档。

先阅读 [repo-style](./references/repo-style.md) ,再开始实际整理。

## When to Use

- 用户要求“提取 / 梳理 / 整理”已有文档或笔记
- 需要把零散命令、代码块、截图说明、问号占位内容改成结构化文章
- 需要把仓库中的草稿整理成 Jekyll 博客文章
- 需要在不虚构事实的前提下,提高文档可读性、可回看性和复用性

## Procedure

1. 先确认原始材料属于哪一类:流程记录、速查清单、读书摘录、设计说明、杂项混合笔记。
2. 提取“真正值得保留”的信息:顺序、结论、约束、示例、排查点、后续待补项。
3. 选择最贴近仓库现状的结构:
- 混合碎片或占位笔记:`当前保留内容` + `后续可补的方向`
- 明确流程型内容:按 `1 / 2 / 3 ...` 顺序分节
- 读书/摘要型内容:按主题清单分组,尽量保留原意
4. 套用仓库既有 Jekyll front matter 与中文标题风格,避免另起一套格式。
5. 补最少但必要的上下文:说明原始笔记是什么、这次按什么维度重组、读者回看时该先记住什么。
6. 对代码、命令、配置做最小安全整理:
- 声明代码块语言
- 把真实路径、密钥、令牌改成占位符
- 对明显高风险内容补一条安全提醒
7. 如果原始内容混杂多个主题,优先按主题拆节;只有在确实不相关时才建议拆成多篇文档。
8. 完成后自检:
- 标题层级是否清晰
- 是否保留了原始结论
- 是否删除了无意义噪音
- 是否新增了原文并未支持的事实

## Output Rules

- 优先复用仓库现有表达,而不是引入陌生模板
- 以“方便以后自己回看”为第一目标
- 能清单化就清单化,能顺序化就顺序化
- 不堆砌空泛总结,不强行扩写
- 后续待补内容统一收束到“后续可补的方向”
89 changes: 89 additions & 0 deletions .github/skills/document-refinement/references/repo-style.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# 仓库文档整理参考

这个仓库已经有一套比较稳定的“笔记整理成文章”风格,整理时优先复用。

## 1. Jekyll 文章外壳

大多数正式文章都使用:

- `layout: post`
- `title`
- `subtitle`
- `date`
- `author`
- `header-img`
- `catalog: true`
- `tags`

可参考:

- `_posts/tools/2026-04-25-gpt-codex-agent.md`
- `_posts/tools/2026-04-25-baidu_ocr.md`
- `_posts/notes/2026-04-25-复盘步骤.md`

## 2. 常见开场方式

正文开头常用一段引用块交代:

- 原始笔记长什么样
- 这次按什么维度整理
- 哪些内容保持原样,哪些只是重组

例如:

- 混合笔记按主题拆节:`_posts/tools/2026-04-25-gpt-codex-agent.md`
- 流程记录按调用链路重排:`_posts/tools/2026-04-25-baidu_ocr.md`
- 摘抄清单转正常列表:`_posts/notes/2026-04-25-复盘步骤.md`

## 3. 优先选择的正文结构

### A. 零散占位 / 碎片笔记

优先整理成:

- `## 当前保留内容`
- `## 后续可补的方向`

适用场景:

- 原始信息不完整,但已有可保留片段
- 需要先形成“可继续补”的最小版本

### B. 流程 / 排查 / 操作文档

优先整理成编号章节:

- `## 1. 先做什么`
- `## 2. 再确认什么`
- `## 3. 最小示例`
- `## 4. 排查顺序`

适用场景:

- API 调用
- 环境搭建
- 故障定位
- 操作步骤

### C. 读书 / 摘要 / 经验清单

优先按主题分组,保留短句、列表和引用,不强行改写成长文。

## 4. 与草稿模板的关系

仓库已有两个可复用参考:

- `_drafts/文档模板.md`:偏设计文档结构
- `_drafts/markdown-示例文档.md`:偏 Markdown 书写规范

整理博客型内容时:

- 结构组织参考 `_drafts/文档模板.md` 中“目标 / 背景 / 总体设计 / 详细设计”的思想,但不要机械照抄
- Markdown 细节参考 `_drafts/markdown-示例文档.md`,尤其是标题、列表、代码块语言、链接写法

## 5. 安全与质量边界

- 不把真实密钥、token、密码、私有地址写回文档
- 对示例值统一改成占位符
- 不凭空补全原始笔记没有提供的事实
- 如果只是“为了以后回看”,优先保留结论、顺序、排查点,而不是追求面面俱到
69 changes: 69 additions & 0 deletions .github/workflows/site-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Site build

on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: site-build-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
env:
NOKOGIRI_USE_SYSTEM_LIBRARIES: "true"
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Configure Pages
uses: actions/configure-pages@v5

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2.3"

- name: Install Jekyll dependencies
run: gem install jekyll:4.4.1 jekyll-paginate:1.1.0

- name: Build site
run: jekyll build

- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: _site

report_build_status:
needs: build
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Report build result
run: |
echo "Build result: ${{ needs.build.result }}"
test "${{ needs.build.result }}" = "success"

deployment:
needs: build
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && needs.build.result == 'success' }}
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_site/
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
language: ruby
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
install:
- gem install jekyll
- gem install jekyll-paginate
script:
- jekyll build
after_success:
- bash <(curl -s https://codecov.io/bash)


25 changes: 25 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
layout: default
description: "你来到了没有知识的荒原 🙊"
header-img: "img/404-bg.jpg"
permalink: /404.html
---


<!-- Page Header -->
<header class="intro-header" style="background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}')">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="site-heading" id="tag-heading">
<h1>404</h1>
<span class="subheading">{{ page.description }}</span>
</div>
</div>
</div>
</div>
</header>

<script>
document.body.classList.add('page-fullscreen');
</script>
73 changes: 73 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
module.exports = function(grunt) {

// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
uglify: {
main: {
src: 'js/<%= pkg.name %>.js',
dest: 'js/<%= pkg.name %>.min.js'
}
},
less: {
expanded: {
options: {
paths: ["css"]
},
files: {
"css/<%= pkg.name %>.css": "less/<%= pkg.name %>.less"
}
},
minified: {
options: {
paths: ["css"],
cleancss: true
},
files: {
"css/<%= pkg.name %>.min.css": "less/<%= pkg.name %>.less"
}
}
},
banner: '/*!\n' +
' * <%= pkg.title %> v<%= pkg.version %> (<%= pkg.homepage %>)\n' +
' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
' */\n',
usebanner: {
dist: {
options: {
position: 'top',
banner: '<%= banner %>'
},
files: {
src: ['css/<%= pkg.name %>.css', 'css/<%= pkg.name %>.min.css', 'js/<%= pkg.name %>.min.js']
}
}
},
watch: {
scripts: {
files: ['js/<%= pkg.name %>.js'],
tasks: ['uglify'],
options: {
spawn: false,
},
},
less: {
files: ['less/*.less'],
tasks: ['less'],
options: {
spawn: false,
}
},
},
});

// Load the plugins.
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-banner');
grunt.loadNpmTasks('grunt-contrib-watch');

// Default task(s).
grunt.registerTask('default', ['uglify', 'less', 'usebanner']);

};
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2017 BY

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# 20083017.github.io

Loading
Loading