Repository navigation
geek
Each Chen edited this page Jun 25, 2026
·
1 revision
這頁給會用終端機的人。新手請看 Claude Web 圖文安裝教學。
git clone https://github.com/iach526526/nchu-dorm-rules.git
cd nchu-dorm-rulespython3 scripts/validate_skill.py如果缺 Python 套件,先裝:
python3 -m pip install pyyaml在 repo 根目錄執行:
git archive --format zip --output nchu-dorm-rules.zip HEAD如果你有尚未 commit 的修改也要一起打包,可以用:
cd ..
zip -r nchu-dorm-rules.zip nchu-dorm-rules \
-x "nchu-dorm-rules/.git/*" \
-x "nchu-dorm-rules/doc/.git/*" \
-x "nchu-dorm-rules/.DS_Store" \
-x "nchu-dorm-rules/**/.DS_Store"注意:ZIP 裡必須包含完整 skill,也就是同一層可以看到 SKILL.md、references/、tests/。不要只壓其中一個子資料夾。
- 開 https://claude.ai
-
Settings->Customize->Skills -
+->Create skill->Upload a skill - 上傳
nchu-dorm-rules.zip
詳細圖文版請看 Claude Web 圖文安裝教學。
快速路線:
- 建立 Custom GPT 或 Project。
- 上傳 ZIP,或上傳
SKILL.md與references/。 - 在 instructions 裡要求它依照
SKILL.md回答。
完整說明看 ChatGPT / GPT 使用教學。
如果你的 agent 支援自訂 skill、knowledge folder、project instructions 或 rules,請把這個 repo 指給它,並確認工具可以讀到:
nchu-dorm-rules/SKILL.md
nchu-dorm-rules/references/
可使用的固定提示:
請使用 nchu-dorm-rules 的 SKILL.md 作為回答規則,並從 references/ 查中興宿舍法規。回答時必須附官方 PDF 來源。
不同 agent 的 skill 目錄規則不一定一樣;以你使用工具的文件為準。Codex 請看下一段的 .agents/skills 路線。
SKILL.md
references/
不同 agent 的 skill 目錄規則不一定一樣;以你使用工具的文件為準。
個人 skill:
mkdir -p "$HOME/.agents/skills"
git clone https://github.com/iach526526/nchu-dorm-rules.git "$HOME/.agents/skills/nchu-dorm-rules"repo 專用 skill:
mkdir -p .agents/skills
git clone https://github.com/iach526526/nchu-dorm-rules.git .agents/skills/nchu-dorm-rules使用:
$nchu-dorm-rules 中興大學女生宿舍可以帶非住宿生進入嗎?
完整說明看 Codex 使用教學。
git clone https://github.com/iach526526/nchu-dorm-rules.git
cd nchu-dorm-rules
opencode進入後貼:
請使用這個 repo 的 SKILL.md 作為回答規則,並從 references/ 查中興宿舍法規。問題:女宿可以帶非住宿生進入嗎?
完整說明看 opencode 使用教學。
中興大學女生宿舍可以帶非住宿生進入嗎?如果不行,做了會怎樣?
成功回覆應包含:
- 明確結論。
- 女宿或相關宿舍規定。
- 條文或違規項目。
- 官方 PDF URL。
Wiki 是獨立 git repo:
git clone https://github.com/iach526526/nchu-dorm-rules.wiki.git doc更新後:
cd doc
git status
git add Home.md claude_web.md agents.md chatgpt.md codex.md geek.md opencode.md src/
git commit -m "docs: improve skill installation guide"
git push大致流程:
- 從學務處宿舍法規頁下載新版 PDF。
- 放到
references/pdf-original/。 - 轉成 Markdown 或純文字。
- 更新
references/index.md的版本日期與 PDF URL。 - 更新
references/faq_map.md,讓常見問題可以路由到新文件。 - 執行驗證。
python3 scripts/validate_skill.py如果改到 SKILL.md 的回答格式,請同步更新 tests/expected_behavior.md。