feat: add skills via tanstack intent #3
Workflow file for this run
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
| # check-skills.yml | |
| # | |
| # Validates @tanstack/intent skills on PRs that touch skills or artifacts. | |
| # | |
| # Staleness checking after a release is intentionally NOT automated here — run | |
| # `pnpm test:intent` (which calls `intent validate && intent stale`) locally | |
| # before cutting a release. Keeping this workflow validation-only means it | |
| # needs zero write permissions. | |
| name: Check Skills | |
| on: | |
| pull_request: | |
| paths: | |
| - 'skills/**' | |
| - '**/skills/**' | |
| - '_artifacts/**' | |
| - '**/_artifacts/**' | |
| workflow_dispatch: {} | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate: | |
| name: Validate intent skills | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Node | |
| uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 | |
| with: | |
| node-version: 20 | |
| - name: Install intent | |
| run: npm install -g @tanstack/intent | |
| - name: Validate skills | |
| run: intent validate --github-summary |