Skip to content

Commit 65aabbb

Browse files
committed
ci: Add Tessl tile publishing workflow and PKL generation
Add automated publishing of SCE skills as Tessl tiles via GitHub Actions
1 parent cfb652f commit 65aabbb

File tree

29 files changed

+423
-4
lines changed

29 files changed

+423
-4
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Publish Tessl tiles
2+
3+
permissions:
4+
id-token: write
5+
contents: read
6+
7+
on:
8+
push:
9+
branches:
10+
- main
11+
paths:
12+
- "config/.opencode/skills/**"
13+
- "config/.claude/skills/**"
14+
- ".github/workflows/publish-tiles.yml"
15+
- ".version"
16+
workflow_dispatch:
17+
18+
jobs:
19+
publish:
20+
runs-on: ubuntu-latest
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
path:
25+
- config/.opencode/skills/sce-atomic-commit
26+
- config/.claude/skills/sce-atomic-commit
27+
- config/.opencode/skills/sce-bootstrap-context
28+
- config/.claude/skills/sce-bootstrap-context
29+
- config/.opencode/skills/sce-context-sync
30+
- config/.claude/skills/sce-context-sync
31+
- config/.opencode/skills/sce-drift-analyzer
32+
- config/.claude/skills/sce-drift-analyzer
33+
- config/.opencode/skills/sce-drift-fixer
34+
- config/.claude/skills/sce-drift-fixer
35+
- config/.opencode/skills/sce-handover-writer
36+
- config/.claude/skills/sce-handover-writer
37+
- config/.opencode/skills/sce-plan-authoring
38+
- config/.claude/skills/sce-plan-authoring
39+
- config/.opencode/skills/sce-plan-review
40+
- config/.claude/skills/sce-plan-review
41+
- config/.opencode/skills/sce-task-execution
42+
- config/.claude/skills/sce-task-execution
43+
- config/.opencode/skills/sce-validation
44+
- config/.claude/skills/sce-validation
45+
steps:
46+
- name: Check out repository
47+
uses: actions/checkout@v6
48+
49+
- name: Publish tile
50+
if: ${{ hashFiles(format('{0}/tile.json', matrix.path)) != '' }}
51+
uses: tesslio/publish@main
52+
with:
53+
token: ${{ secrets.TESSL_API_TOKEN }}
54+
path: ${{ matrix.path }}

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,17 @@ Use the [WIP] sce cli at `cli/`. See `cli/README.md` for current behavior and us
1212
- [Getting Started](https://sce.crocoder.dev/docs/getting-started)
1313
- [Motivation](https://sce.crocoder.dev/docs/motivation)
1414

15+
## Tessl skills
16+
17+
The publish workflow at `.github/workflows/publish-tiles.yml` treats each skill directory under `config/.opencode/skills/` and `config/.claude/skills/` as its own Tessl tile.
18+
19+
Before GitHub Actions can publish a tile, generate a `tile.json` inside each skill directory you want to publish:
20+
21+
```sh
22+
tessl skill import ./config/.opencode/skills/sce-plan-authoring --workspace <myworkspace>
23+
tessl skill import ./config/.claude/skills/sce-plan-authoring --workspace <myworkspace>
24+
```
25+
26+
Repeat that for any other skill folders you want Tessl to manage, then add the `TESSL_API_TOKEN` repository secret described in the Tessl publishing docs.
27+
1528
Built by [CroCoder](https://www.crocoder.dev/)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "crocoder-dev/sce-atomic-commit",
3+
"version": "0.1.0",
4+
"summary": "Write atomic, repo-style git commits from a change summary or diff.",
5+
"private": false,
6+
"skills": {
7+
"sce-atomic-commit": {
8+
"path": "SKILL.md"
9+
}
10+
}
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "crocoder-dev/sce-bootstrap-context",
3+
"version": "0.1.0",
4+
"summary": "Create the baseline Shared Context Engineering context directory structure.",
5+
"private": false,
6+
"skills": {
7+
"sce-bootstrap-context": {
8+
"path": "SKILL.md"
9+
}
10+
}
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "crocoder-dev/sce-context-sync",
3+
"version": "0.1.0",
4+
"summary": "Sync Shared Context Engineering context files with implemented code changes.",
5+
"private": false,
6+
"skills": {
7+
"sce-context-sync": {
8+
"path": "SKILL.md"
9+
}
10+
}
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "crocoder-dev/sce-drift-analyzer",
3+
"version": "0.1.0",
4+
"summary": "Analyze drift between project context documentation and actual code.",
5+
"private": false,
6+
"skills": {
7+
"sce-drift-analyzer": {
8+
"path": "SKILL.md"
9+
}
10+
}
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "crocoder-dev/sce-drift-fixer",
3+
"version": "0.1.0",
4+
"summary": "Repair stale Shared Context Engineering context files to match code truth.",
5+
"private": false,
6+
"skills": {
7+
"sce-drift-fixer": {
8+
"path": "SKILL.md"
9+
}
10+
}
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "crocoder-dev/sce-handover-writer",
3+
"version": "0.1.0",
4+
"summary": "Create structured handover notes for Shared Context Engineering tasks.",
5+
"private": false,
6+
"skills": {
7+
"sce-handover-writer": {
8+
"path": "SKILL.md"
9+
}
10+
}
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "crocoder-dev/sce-plan-authoring",
3+
"version": "0.1.0",
4+
"summary": "Author structured Shared Context Engineering implementation plans.",
5+
"private": false,
6+
"skills": {
7+
"sce-plan-authoring": {
8+
"path": "SKILL.md"
9+
}
10+
}
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "crocoder-dev/sce-plan-review",
3+
"version": "0.1.0",
4+
"summary": "Review Shared Context Engineering plans and identify the next ready task.",
5+
"private": false,
6+
"skills": {
7+
"sce-plan-review": {
8+
"path": "SKILL.md"
9+
}
10+
}
11+
}

0 commit comments

Comments
 (0)