Community程式設計與開發github.com

事實查找

快速查詢 Bottlerocket 的特定事實,並附上引用來源。

事實查找 是什麼?

此技能旨在快速、精準地回答關於 Bottlerocket 的具體事實性問題,並提供引用來源。它最適合用於查找具有明確答案的問題,例如「是什麼」或「在哪裡」類型的查詢,而不是請求廣泛的解釋或架構設計討論。該技能會引導使用者進行結構化流程:先使用 `crumbly search` 建立精確查詢,然後讀取相關文件以確認答案。如果文件不足,它會指示使用者直接在 Bottlerocket 程式碼庫中搜索,但強烈建議將搜索範圍限定在特定目錄內,以避免因來源樹過大(超過 80 GB)而導致系統停滯。最終的回答必須包含行內上標引用和一個「來源」章節,以確保可追溯性和可信度。此技能支援 Claude Code、Cline、Cursor 和 Codex 等平台,其程序基於標準的 Bottlerocket 文件探索方法。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/cbgbt/bottlerocket-forest/tree/main/skills/fact-find

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

事實查找 是做什麼的?

快速、精準地回答有關 Bottlerocket 的具體事實性問題,並附上正確引用。

目的

快速查找並引用關於 Bottlerocket 的具體事實:

  • 配置值與預設值
  • 分割區方案與磁碟佈局
  • Systemd 單元與目標
  • 檔案路徑與位置
  • 版本號碼與相依性

使用時機

  • 需要特定事實,而非解釋說明
  • 問題有具體、明確的答案
  • 正在查詢「什麼是」或「在哪裡」的資訊

對於更廣泛的架構或設計問題,請改用 deep-research。

程序

1. 搜尋

使用關鍵詞建立聚焦查詢:

crumbly search "問題中的特定詞彙"

檢查前 3-5 個結果中是否有相關檔案。

2. 閱讀

閱讀最相關的檔案以尋找答案:

# 針對性讀取的模式搜尋
grep -n "相關詞彙" 路徑/到/檔案.md

# 如有需要,閱讀完整檔案
cat 路徑/到/檔案.md

3. 如果文件不足

Crumbly 索引的是文件,而非原始碼。如果你在文件中找不到答案,請直接在程式碼庫中搜尋:

# 重要:務必將搜尋範圍限定在特定目錄內!
# 來源樹超過 80 GB - 未限範圍的搜尋會導致系統停滯。
rg "搜尋詞" --type rust bottlerocket/sources/
find bottlerocket/sources -name "*相關名稱*"

這表示存在文件缺口 - 請在你的研究品質指標中註明。

4. 附上引用回答

提供直接、簡潔的答案,並使用行內上標引用和「來源」章節:

Bottlerocket 使用雙重分割區方案,包含 A 組和 B 組 <sup>[1]</sup>。預設 API 通訊端位於 `/run/api.sock` <sup>[2]</sup>。

## 來源

<sup>[1]</sup> [`sources/updater/signpost/README.md`](../sources/updater/signpost/README.md)
- 分割區組合結構

<sup>[2]</sup> [`sources/api/README.md`](../sources/api/README.md)
- API 通訊端配置

引用指南:

  • 在事實旁使用 <sup>[1]</sup>、<sup>[2]</sup> 等格式
  • 路徑相對於目標儲存庫
  • 檔案路徑使用 Markdown 連結
  • 跨儲存庫引用使用 GitHub URL:https://github.com/bottlerocket-os/REPO/blob/develop/FILE.md
  • 用簡短的要點說明每個來源提供的內容

驗證

一個好的事實查找回應:

  • ✓ 直接回答具體問題
  • ✓ 簡潔(通常 2-4 句話)
  • ✓ 行內上標引用
  • ✓ 來源章節,附有編號參考
  • ✓ 不含不必要的背景或解釋

研究品質指標

在你的回應結尾加上:

  • ✅ 從文件獲得答案 - 在 README 檔案、設計文件或敘述性文件中找到。
  • ⚠️ 從原始碼獲得答案 - 因文件不足而必須閱讀實作檔案。
  • 🔍 部分文件支援 - 需要同時參考文件和原始碼才能完整回答。

Individual skills in this repo

This repo contains 19 individual skills — each has its own dedicated page.

ad-hoc-implementation-plan

Transform a rough plan into implement-commit ready artifacts. Allows rigorous review while implementing.

build-kit-locally

Build a kit and publish it to a locally hosted registry for development testing

build-variant-from-local-kits

Build a variant using locally published kits for development validation

deep-research

Create educational documents that build understanding progressively with citations

edit-spec-file

Edit Bottlerocket RPM spec files following project style conventions

idea-honing

Clarify feature ideas through iterative Q&A, recording insights to guide concept development

implement-commit

Implement commits from an implementation plan using a TDD pipeline

local-registry

Start and manage a local OCI registry for Bottlerocket kit development

prepare-core-kit-release

Prepare bottlerocket-core-kit for release by bumping version and updating changelog

propose-feature-concept

Create a new feature concept document to pitch the idea and explain the problem/solution

propose-feature-design

Create or update feature technical design document with architecture and implementation guidance

propose-feature-requirements

Create or update feature requirements specification using EARS notation with examples and appendices

propose-feature-test-plan

Create a test plan mapping EARS requirements and Critical Constraints to specific tests

propose-implementation-plan

Create an implementation plan with atomic commits that build toward a complete feature

review-code

Deep code review generating PR comments via principled question-driven analysis

review-scope

Verify code changes match intended scope and requirements without exceeding boundaries

review-style

Verify code follows project style guides without providing improvement suggestions

test-local-twoliter

Build and test local changes to twoliter before releasing

update-twoliter

Update all Bottlerocket repositories to a new Twoliter version

相關技能