-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathjustfile
More file actions
46 lines (35 loc) · 1.02 KB
/
justfile
File metadata and controls
46 lines (35 loc) · 1.02 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
set allow-duplicate-variables
set allow-duplicate-recipes
set shell := ["bash", "-euo", "pipefail", "-c"]
set unstable
@default:
just --list
@install-deps: install-uv
@install-uv:
curl -LsSf https://astral.sh/uv/install.sh | sh
# Commit, sync skills to ~/.agents, commit again
[group("sync")]
[script("zsh")]
[doc("Commit here, install skills in ~/.agents, commit there")]
sync:
source ~/.zshrc 2>/dev/null
# Commit in agent-skills repo
ccc
# Switch to ~/.agents
cd ~/.agents
echo "📂 Changed directory to ~/.agents"
# Commit uncommitted changes if any
if [[ -n "$(git status --porcelain)" ]]; then
ccc
fi
# Install skills from agent-skills repo
just install-all PaulRBerg/agent-skills
# Commit the installed skills
ccc
alias s := sync
@mdformat-check:
uvx --with mdformat-gfm --with mdformat-frontmatter mdformat --check .
alias mc := mdformat-check
@mdformat-write:
uvx --with mdformat-gfm --with mdformat-frontmatter mdformat .
alias mw := mdformat-write