This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-steward.git


The following commit(s) were added to refs/heads/main by this push:
     new 425f682  Add skill-validate hook for `.claude/skills/**` (#96)
425f682 is described below

commit 425f6823d5f3f17d115d3aeca95d1525d9b380ab
Author: Yeonguk Choo <[email protected]>
AuthorDate: Fri May 8 19:29:06 2026 +0900

    Add skill-validate hook for `.claude/skills/**` (#96)
---
 .pre-commit-config.yaml       | 11 +++++++++++
 tools/skill-validator/uv.lock |  3 ---
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 0888334..2e709cf 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -269,3 +269,14 @@ repos:
         entry: uv run --directory tools/sandbox-lint pytest
         files: 
^(tools/sandbox-lint/(src|tests|pyproject\.toml|expected\.json)|\.claude/settings\.json)
         pass_filenames: false
+
+  # Validate `.claude/skills/**` via the `skill-validate` CLI. Re-fires
+  # on validator-source changes so rule updates get re-applied.
+  - repo: local
+    hooks:
+      - id: skill-validate
+        name: skill-validate (.claude/skills/**)
+        language: system
+        entry: uv run --directory tools/skill-validator skill-validate
+        files: 
^(\.claude/skills/.*\.md|tools/skill-validator/(src|pyproject\.toml))
+        pass_filenames: false
diff --git a/tools/skill-validator/uv.lock b/tools/skill-validator/uv.lock
index 7122fc1..a7c620a 100644
--- a/tools/skill-validator/uv.lock
+++ b/tools/skill-validator/uv.lock
@@ -10,9 +10,6 @@ resolution-markers = [
 exclude-newer = "0001-01-01T00:00:00Z" # This has no effect and is included 
for backwards compatibility when using relative exclude-newer values.
 exclude-newer-span = "P7D"
 
-[options.exclude-newer-package]
-uv = { timestamp = "0001-01-01T00:00:00Z", span = "P1D" }
-
 [[package]]
 name = "colorama"
 version = "0.4.6"

Reply via email to