-
Notifications
You must be signed in to change notification settings - Fork 0
skills: build MCP and CLI variants from shared templates #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
7df4e84
skills: move to templates/skills/ for build
jurassix 2a9a0a1
skills: add targets frontmatter and template tokens for CLI build
jurassix f014da2
cli: add hack/buildskills + first generated skills/ and cli/skills/
jurassix 421fe6f
ci: add skills drift check workflow
jurassix 6eb795f
ci: persist-credentials: false on checkout
jurassix fa6bead
fix the skills and readme
jurassix 096f1f7
update version, subtextdev, and workflow to use trusted gh from npm
jurassix 41cba46
self review
jurassix File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| name: Skills drift check | ||
|
|
||
| on: | ||
| push: | ||
| paths: | ||
| - "templates/skills/**" | ||
| - "cli/hack/buildskills/**" | ||
| pull_request: | ||
| paths: | ||
| - "templates/skills/**" | ||
| - "cli/hack/buildskills/**" | ||
| - "skills/**" | ||
| - "cli/skills/**" | ||
|
|
||
| jobs: | ||
| drift: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - uses: actions/setup-go@v5 | ||
| with: | ||
| go-version-file: cli/go.mod | ||
|
|
||
| - name: Regenerate skills | ||
| working-directory: cli | ||
| run: go generate ./... | ||
|
|
||
| - name: Check for drift | ||
| run: git diff --exit-code skills/ cli/skills/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| // Package cli contains build-time helpers for this module. | ||
| // The //go:generate directive below regenerates the skills output trees. | ||
| package cli | ||
|
|
||
| //go:generate go run ./hack/buildskills |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.