From 647f40bdd5324317e89a5e7d389e0d761fe823ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=A2=A8?= Date: Thu, 28 May 2026 10:28:06 +0000 Subject: [PATCH] docs: use diff command for skill freshness check --- BOOTSTRAP.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/BOOTSTRAP.md b/BOOTSTRAP.md index 8aff8e2..5df97c0 100644 --- a/BOOTSTRAP.md +++ b/BOOTSTRAP.md @@ -163,11 +163,13 @@ Verify: cat ~/.hermes/skills/devops/uwf/SKILL.md ``` -Verify: -- [ ] File exists and has `triggers: [uwf, workflow, 工作流]` -- [ ] Content matches the latest `skills/uwf-skill.md` from this repo +Verify the skill is up to date: -If outdated, re-copy: +```bash +diff skills/uwf-skill.md ~/.hermes/skills/devops/uwf/SKILL.md +``` + +If `diff` produces any output, the local skill is outdated. Re-copy: ```bash cp skills/uwf-skill.md ~/.hermes/skills/devops/uwf/SKILL.md