Skip to content

fix: make Claude web skill ZIPs installable and verify the live workflow - #15

Merged
HarshPopat23 merged 1 commit into
mainfrom
fix/claude-web-upload
Oct 23, 2026
Merged

HarshPopat23 merged 1 commit into
mainfrom
fix/claude-web-upload

Conversation

@HarshPopat23

@HarshPopat23 HarshPopat23 commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

Claude's real web uploader rejected the merged distribution: dependency trees exceeded its 200-file limit. A nested runtime ZIP was also rejected, and scoped license paths contained unsupported characters.

This change uses pinned esbuild to ship two plain JavaScript bundles per skill, with locked dependency metadata and individual licenses under portable paths. Each ZIP has 29 files, no nested archive and no consumer node_modules. Producer and distribution checks enforce upload constraints. Existing CLI, Claude Code plugin and optional API adapters retain their behavior.

Actual authenticated Claude web testing now passed on Free / Sonnet 5.5 Medium, Node 22.22.0 and Python 3.13.17:

  • Installed and enabled all four skills; attached pinned Headlamp source; Claude authored a structured draft and returned a downloadable fresh/complete context archive.
  • A new chat imported changed source plus the downloaded prior context, reported stale verify/query results, inspected the current auth flag, then updated and exported fresh context.
  • An unchanged separate workspace requested zero drafts. A confirmed app→auth fixture regenerated app/auth/root and reused util.
  • Traversal input and edited prior context failed without a workspace. An ordinary coding request activated none of the skills.
  • Four downloaded outputs passed independent CRC/import/freshness checks. No separate model key or dependency installation was used.

The initial fixture used a .js specifier for a .ts file; that expected dependent regeneration did not occur because v0.1 deliberately leaves this edge unresolved. A separate extensionless-import control passed. This limitation and discarded installer candidates are recorded honestly in docs/claude-web-acceptance.md and the versioned account-test JSON. Semantic claim review is sampled, not proof of every explanation.

Validation: unlazy G0–G3 passed (archive safety, offline distribution, formatting, typecheck and full regression suite). Fresh independent instruction test passed 20/20 routing cases and current packaged build/reuse checks. All 9 remote CI jobs passed in run 39933500786: Linux Node22/24 each 504 passed/0 failed/0 skipped; Windows Node22/24 each 499 passed/0 failed/5 documented platform skips. Both offline web jobs passed 11 tests (Node22.14.0 and24), and existing plugin, quality evaluation and alpha packaging passed. The exact tested candidate hashes and stable packaged-file hashes are retained for comparison with clean CI artifacts.

This follows merged PR #14. No npm release or merge is performed here.

The clean CI artifact has valid checksums and all 112 non-provenance resources are byte-identical to the packages installed and exercised in Claude. Its synthetic merge tree matches this PR exactly. Download shcontext-web-skills from the linked run, extract the outer artifact, then upload the four individual ZIPs through Customize → Skills → Add skill → Upload skill. Unlazy: 8 met, 0 unmet, 0 abandoned. No remaining failed or blocked acceptance check. The declared .js→.ts resolution limitation remains documented.

@HarshPopat23
HarshPopat23 merged commit 6beca1a into main Oct 23, 2026
9 checks passed
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