
Migrate To Rslib
- 126 installs
- 86 repo stars
- Updated August 4, 2026
- rstackjs/agent-skills
Helps with ai & agent building tasks during AI-assisted development.
About
migrate-to-rslib is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.
- migrate-to-rslib
- AI & Agent Building
- AI-coding skill
Migrate To Rslib by the numbers
- 126 all-time installs (skills.sh)
- +8 installs in the week ending Jul 26, 2026 (Skillselion tracking)
- Ranked #3,699 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/rstackjs/agent-skills --skill migrate-to-rslibAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 126 |
|---|---|
| repo stars | ★ 86 |
| Last updated | August 4, 2026 |
| Repository | rstackjs/agent-skills ↗ |
What it does
Helps with ai & agent building tasks during AI-assisted development.
Files
Migrate to Rslib
Goal
Migrate tsc and tsup projects to Rslib with minimal behavior changes and clear verification.
Supported source frameworks
- tsc
- tsup
Migration principles (must follow)
1. Official guide first: treat Rslib migration docs as source of truth. 2. Smallest-change-first: complete baseline migration first, then migrate advanced or custom behavior. 3. Do not change business logic: avoid touching source or business logic unless user explicitly asks. 4. Validate before cleanup: keep old tool dependencies/config temporarily if needed; remove only after Rslib is green.
Workflow
1. Detect source tool
tsup- Config:
tsup.config.* - Dependency:
tsup - Build script: uses
tsupto build projects tsc- Config:
tsconfig.jsonortsconfig.*.json - Dependency:
typescript - Build script: uses
tscto build projects. And it should be noted thattscused only for type checking (e.g.,tsc --noEmit) does not make it atscbuild project.
2. Apply tool-specific migration deltas
- tsc:
references/tsc.md - tsup:
references/tsup.md
3. Validate behavior
- Run build command to verify the project builds successfully.
- If issues remain, compare the old project configuration with the migration guide and complete any missing mappings.
4. Cleanup and summarize
- Remove obsolete dependencies/config only after validation passes.
- Summarize changed files, mapped options, and any remaining manual follow-ups.
tsc -> Rslib Migration Checklist
Use this reference when the source project builds libraries with tsc.
Checklist
Copy this checklist and check off items as you complete them:
- [ ] Step 0: Read official guide (https://rslib.rs/guide/migration/tsc) ⛔ BLOCKING
- [ ] Step 1: Inventory current
tscbehavior and customizations - [ ] Record key build scripts,
tscCLI options, andtsconfig.jsonusage - [ ] Record key compile behavior and output behavior (JavaScript files format, declaration files output, output structure, JSX handling, etc.)
- [ ] Record output usage expectations (how outputs are consumed)
- [ ] Step 2: Execute migration following the official guide
- [ ] Apply guide steps with minimal scope
- [ ] Map customizations before and after tsc scripts
- [ ] Step 3: Verify behavior and output compatibility
- [ ] Build passes without errors
- [ ] Build with watch mode runs without errors and incremental rebuild works as expected
- [ ] Output structure, formats, file extensions, and declaration files match expectations
- [ ] Output can be consumed and run as expected
- [ ] Check whether
package.jsonfields need updates (main,module,types,exports,files,bin, etc.) - [ ] Step 4: Cleanup and summarize
- [ ] Remove obsolete tsc-only scripts after verification
- [ ] Summarize config mapping and remaining manual follow-ups
tsup -> Rslib Migration Checklist
Use this reference when the source project builds libraries with tsup.
Checklist
Copy this checklist and check off items as you complete them:
- [ ] Step 0: Read official guide (https://rslib.rs/guide/migration/tsup) ⛔ BLOCKING
- [ ] Step 1: Inventory current
tsupbehavior and customizations - [ ] Record key build scripts,
tsupCLI options, and configuration files - [ ] Record key config/plugins and output behavior (format, d.ts, externals, output structure, etc.)
- [ ] Record output usage expectations (how outputs are consumed)
- [ ] Step 2: Execute migration following the official guide
- [ ] Apply guide steps with minimal scope
- [ ] Map plugins and other advanced customizations
- [ ] Step 3: Verify behavior and output compatibility
- [ ] Build passes without errors
- [ ] Build with watch mode runs without errors and incremental rebuild works as expected
- [ ] Output structure, formats, file extensions, and declaration files match expectations
- [ ] Output can be consumed and run as expected
- [ ] Check whether
package.jsonfields need updates (main,module,types,exports,files,bin, etc.) - [ ] Step 4: Cleanup and summarize
- [ ] Remove obsolete tsup-only deps/config/scripts after verification
- [ ] Summarize config mapping and remaining manual follow-ups