Skip to content

Commit f406851

Browse files
committed
Smoke test portable installed skills
1 parent 17344fe commit f406851

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/validate.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
HOME="$tmp_home" ./install.sh --claude-user --only reduce-to-facts,clear-ask
3535
test -f "$tmp_home/.claude/skills/reduce-to-facts/SKILL.md"
3636
test -f "$tmp_home/.claude/skills/clear-ask/SKILL.md"
37+
grep -q "Portable Output Contract" "$tmp_home/.claude/skills/reduce-to-facts/SKILL.md"
38+
grep -q "without new source support" "$tmp_home/.claude/skills/clear-ask/SKILL.md"
39+
! grep -R -E '\.\./\.\./(references|templates)' "$tmp_home/.claude/skills"
3740
HOME="$tmp_home" ./install.sh --claude-user --only reduce-to-facts,clear-ask
3841
HOME="$tmp_home" ./install.sh --claude-user --only reduce-to-facts,clear-ask --dry-run
3942
@@ -46,6 +49,7 @@ jobs:
4649
./install.sh --codex-project "$tmp_project" --only status-update --include-templates
4750
test -f "$tmp_project/.agents/skills/status-update/SKILL.md"
4851
test -f "$tmp_project/docs/context-to-action-skills/templates/ACTIONS.md"
52+
grep -q "Portable Output Contract" "$tmp_project/.agents/skills/status-update/SKILL.md"
4953
5054
tmp_home="$(mktemp -d)"
5155
HOME="$tmp_home" ./install.sh --claude-user --only reduce-to-facts

0 commit comments

Comments
 (0)