Skip to content

Package the skill analyzer with standalone artifact handling - #42

Open
expo-tuft[bot] wants to merge 7 commits into
tuft/expo-project-setupfrom
@kudo/skill-analyzer-package
Open

expo-tuft[bot] wants to merge 7 commits into
tuft/expo-project-setupfrom
@kudo/skill-analyzer-package

Conversation

@expo-tuft

@expo-tuft expo-tuft Bot commented Aug 13, 2026 •

Copy link
Copy Markdown

Extracts skill-use analysis into @expo/skill-analyzer, a Bun package with compiled ESM, bundled private source-scan code/types, packaged check data, and an installed skill-analyzer executable. Babel and tar remain external runtime dependencies. Requires Bun >=1.3.14.

The package is the only analyzer implementation and entrypoint. Removes old repository import/CLI shims and check-data symlinks; harness tests, reporting imports, authoring, and EAS workflows use the package directly. analyze-artifacts requires explicit --prd-skills; materialize and bundle-check provide the utility commands formerly invoked through repository files. Workflow jobs install workspace dependencies before using compiled packages. The repository's shell orchestration selects its own dataset explicitly.

Scoring, report schemas, and safe artifact extraction remain covered by regression tests and fixed pre-extraction goldens. Published modules share registry/class identity; declarations require neither Bun ambient types nor TypeScript source imports. Releases use bun pm pack to resolve catalog/workspace versions.

Migration guide for the follow-up expo/skills PR covers installation, the two CI analysis call sites, explicit ground truth, report paths, utility commands/imports, and baseline cache invalidation. No expo/skills changes or npm publication are performed here.

Validation: typecheck and 315 TypeScript tests at this layer; 33 targeted Python artifact/workflow tests; npm and Bun isolated analyzer tarball checks (CLI/API, all exports, private registry blocked, materialization, directory/archive inputs, fixed golden parity, and strict NodeNext/Bundler declarations); formatting, shell syntax, and local YAML parsing pass. The downstream release helper's 46 tests also pass after restacking.

EAS server-side validation was attempted for all four changed workflows but the current account cannot read the linked Expo project (Entity not authorized). Local YAML parsing is not a substitute for that validation; it remains to be run by an account with project access. No live workflow/model runs were triggered.

Review / merge order: #40 → #47 → #51 → #55 → #41 → #57 → #59 → #53 → #42 → #50. Stacked on #53.

Clean-install correction: the checked-in bin/skill-analyzer.mjs loads the compiled CLI and exists before Bun links workspace executables. Updated Bun’s cached workspace bin path in the lockfile. Verified a fresh checkout with frozen installation, the installed CLI, and all 315 TypeScript tests.

Test Plan

manual eval run https://expo.dev/accounts/expo-ci/projects/expo-skills/workflows/01a091b6-82d3-7372-ae39-e7967775911a

@expo-tuft
expo-tuft Bot force-pushed the @kudo/skill-analyzer-package branch from 7141d7a to b047994 Compare August 13, 2026 08:37
@expo-tuft
expo-tuft Bot force-pushed the @kudo/skill-analyzer-package branch from b047994 to f517c43 Compare August 13, 2026 08:56
@expo-tuft
expo-tuft Bot force-pushed the @kudo/skill-analyzer-package branch from f517c43 to f010b89 Compare August 15, 2026 15:38
@expo-tuft
expo-tuft Bot force-pushed the @kudo/skill-analyzer-package branch from f010b89 to 76d43c3 Compare September 10, 2026 11:14
@expo-tuft
expo-tuft Bot removed this pull request from stack #43 September 10, 2026 11:16
@expo-tuft expo-tuft Bot changed the title Package the skill-use analyzer as @expo/skill-analyzer Package the skill analyzer with standalone artifact handling Sep 10, 2026
@expo-tuft
expo-tuft Bot marked this pull request as ready for review September 10, 2026 11:17
@expo-tuft
expo-tuft Bot added this pull request to stack #48 September 10, 2026 11:17
@expo-tuft
expo-tuft Bot force-pushed the @kudo/skill-analyzer-package branch from 76d43c3 to d630ce2 Compare September 10, 2026 11:29
@expo-tuft
expo-tuft Bot force-pushed the @kudo/skill-analyzer-package branch from d630ce2 to f10fb7d Compare September 10, 2026 11:50
@expo-tuft
expo-tuft Bot force-pushed the @kudo/skill-analyzer-package branch from 3558a6d to 250dc09 Compare September 10, 2026 12:34
@expo-tuft
expo-tuft Bot force-pushed the @kudo/skill-analyzer-package branch 2 times, most recently from 0851905 to aecd40c Compare September 10, 2026 12:38
@expo-tuft
expo-tuft Bot force-pushed the @kudo/skill-analyzer-package branch from aecd40c to 405d855 Compare September 10, 2026 12:46
@expo-tuft
expo-tuft Bot force-pushed the @kudo/skill-analyzer-package branch from 4de2ac3 to cfab8a3 Compare September 10, 2026 18:35
@expo-tuft
expo-tuft Bot removed this pull request from stack #56 September 10, 2026 18:35
@expo-tuft
expo-tuft Bot added this pull request to stack #58 September 10, 2026 18:35
@expo-tuft
expo-tuft Bot force-pushed the @kudo/skill-analyzer-package branch from cfab8a3 to 7418dd2 Compare September 10, 2026 18:44
@expo-tuft
expo-tuft Bot removed this pull request from stack #58 September 10, 2026 18:44
@expo-tuft
expo-tuft Bot added this pull request to stack #60 September 10, 2026 18:44
@expo-tuft
expo-tuft Bot force-pushed the @kudo/skill-analyzer-package branch from 7418dd2 to 5e5bd8a Compare September 10, 2026 18:49
@expo-tuft
expo-tuft Bot force-pushed the @kudo/skill-analyzer-package branch from 5e5bd8a to ea862fa Compare September 10, 2026 18:58
@expo-tuft
expo-tuft Bot force-pushed the @kudo/skill-analyzer-package branch from ea862fa to 9357dce Compare September 10, 2026 19:15
@expo-tuft
expo-tuft Bot force-pushed the @kudo/skill-analyzer-package branch from 9357dce to e32eec6 Compare September 10, 2026 19:55
@Kudo
Kudo requested review from adi-georgian and kartik-georgian and removed request for adi-georgian September 11, 2026 19:13
expo-tuft Bot and others added 7 commits September 15, 2026 02:55
…oints

Co-authored-by: kudo <46429+kudo@users.noreply.github.com>
…rypoint

Co-authored-by: kudo <46429+kudo@users.noreply.github.com>
Co-authored-by: kudo <46429+kudo@users.noreply.github.com>
Co-authored-by: kudo <46429+kudo@users.noreply.github.com>
Co-authored-by: kudo <46429+kudo@users.noreply.github.com>
Co-authored-by: kudo <46429+kudo@users.noreply.github.com>
Co-authored-by: kudo <46429+kudo@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant