Repository inventory

rstackjs/agent-skills

Skills indexed from this repository, with install-style signals scoped to the repo.
7 skills252 GitHub stars0 weekly installsJavaScriptGitHubOwner profile

Overview

This skill migrates TypeScript library projects that use tsc or tsup to Rslib with minimal behavior changes and verifiable results. It detects the source tool, applies targeted migration deltas, and guides validation and cleanup. The goal is a smallest-change migration that preserves business logic and provides a clear summary of what changed.

How this skill works

The skill scans the repository to detect whether the project is built with tsup or tsc by checking config files, dependencies, and build scripts. It applies tool-specific migration steps mapped from the official Rslib migration guidance to update build configuration, outputs, and scripts. After applying changes it runs the existing build command to validate the migrated setup and lists any remaining manual follow-ups or obsolete artifacts that can be removed once validation succeeds.

When to use it

  • You maintain a TypeScript library currently built with tsc or tsup and want to standardize on Rslib.
  • You need a migration that minimizes risk to runtime and business logic behavior.
  • You want automated detection and mapping of build options from tsup or tsc to Rslib.
  • You prefer validating the new setup before removing old build tooling.

Best practices

  • Follow the official Rslib migration docs as the primary source of truth during changes.
  • Perform a baseline migration first, then address advanced customizations separately.
  • Do not modify application business logic during migration unless explicitly required.
  • Keep old build dependencies and configs temporarily until Rslib builds are verified.
  • Summarize changed files, mapped options, and manual follow-ups for reviewers.

Example use cases

  • Convert a monorepo package that uses tsup.config.js to an equivalent Rslib configuration while keeping output formats identical.
  • Migrate a library using tsc composite builds to Rslib references and verify the build graph without touching source code.
  • Replace tsup build scripts in package.json with Rslib scripts and validate by running the original build command.
  • Perform a staged migration where old dependencies remain until Rslib passes CI builds, then remove obsolete tools.

FAQ

No. The migration focuses on build configuration and scripts. Source and business logic remain unchanged unless you explicitly request code modifications.

What if the migrated build fails?

Run the original build and compare configurations against the Rslib migration guide. The skill reports missing mappings and recommends targeted fixes before cleanup.

Can I remove old dependencies immediately after migration?

No. Keep old tooling until you verify Rslib builds cleanly. Remove obsolete dependencies and configs only after validation passes.

7 skills

More from this maintainer
Other repositories and skills published under the same GitHub owner.
Skills library
Jump back to the full directory or explore grouped topics.
Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational