Skip to content
Source
Sign inSign up
TanStack/intent

feat: run reusable skill checks and prepare repair patches #290

MergedLadyBluenotes(GitHub profile, opens in a new tab)merged 19 commits intofeat/validate-code-blocks fromfeat/reusable-check-workflowmerged by LadyBluenotes(GitHub profile, opens in a new tab)

Showing 25 changed files with 196 additions and 0 deletions (loading 23).

x
0 of 25 viewed, 25 left
9 additions and 0 deletions.changeset/reusable-check-workflow.mdAdded
View file
@@ -0,0 +1,9 @@
+---
+'@tanstack/intent': patch
+---
+​
+Run skill checks through reusable GitHub workflows pinned to the immutable commit packaged with the installed Intent release. Setup validates generated workflow inputs and write paths before copying files. Analysis uses the repository's locked CLI, disables dependency lifecycle scripts, and has read permissions. Optional review publication runs separately with bounded report validation.
+​
+The PR workflow runs one combined validation check and can prepare mechanical repairs and suggested example patches for review. It retains the patches when validation fails and never publishes fixes or marks semantic reviews complete. `intent maintainer check --github-summary` reports authoring issues, stale generated files, and pending source reviews in the GitHub Actions step summary.
+​
+Validation counts each skill once across overlapping custom roots and avoids duplicate packaging warnings for the same skill.
187 additions and 0 deletions.github/workflows/check-skills.ymlAdded
View file
@@ -0,0 +1,187 @@
+# Reusable workflow behind the pull-request job of a library repository's
+# check-skills.yml. The caller pins this file to an Intent release commit and
+# grants the job `contents: read` only. No publishing credentials are supplied;
+# read access still includes the checked-out repository contents.
+#
+# Intent itself runs from the repository's own lockfile-pinned copy, so a
+# malicious npm publish does nothing until the maintainer merges a bump. The
+# `intent-version` input opts into a registry install instead.
+​
+name: Check Skills
+​
+on:
+ workflow_call:
+ inputs:
+ repair:
+ description: Prepare mechanical repairs and reviewable example patches without publishing changes
+ type: boolean
+ default: false