-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTaskfile.yml
More file actions
53 lines (43 loc) · 1.36 KB
/
Copy pathTaskfile.yml
File metadata and controls
53 lines (43 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: '3'
# Task is the single entry point for this repo's automation, invoked the same
# way locally and in CI (see .github/workflows/ci.yml). Each task shells out to
# `uv run`, which provisions the pinned Python toolchain. This repo has no
# external runtime dependencies, so there is no Docker/Compose layer.
tasks:
default:
desc: List available tasks
cmds:
- task --list
silent: true
validate:
desc: Validate every skills/<name>/SKILL.md frontmatter contract
cmds:
- uv run pytest -q
test:
desc: Alias for `validate`
deps: [validate]
lint:
desc: Run all pre-commit hooks across the repo
cmds:
- uv run pre-commit run --all-files
verify-discovery:
desc: List skills via the skills CLI from this local path
cmds:
- npx -y skills add ./. --list
install-hooks:
desc: Install pre-commit git hooks
cmds:
- uv run pre-commit install
sync-upstream-skills:
desc: Vendor upstream skills declared in upstream-skills.toml
cmds:
- uv run python scripts/sync_upstream_skills.py
capture-project:
desc: Add a project's installed skills to the catalog (PROJECT=path)
cmds:
- uv run python scripts/capture_project_skills.py "{{.PROJECT}}"
ci:
desc: Run the full gate the same way CI does (validate + lint)
cmds:
- task: validate
- task: lint