Skip to content

Liberate: surface /liberate when searching for migrate - #4111

Merged
nightnei merged 4 commits into
trunkfrom
stu-1973-add-migrate-alias-for-liberate
Jul 8, 2026
Merged

Liberate: surface /liberate when searching for migrate#4111
nightnei merged 4 commits into
trunkfrom
stu-1973-add-migrate-alias-for-liberate

Conversation

@nightnei

@nightnei nightnei commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Related issues

How AI was used in this PR

AI assisted

Proposed Changes

The word "liberate" is probably not something folks would easily remember when they want to move a site into Studio — "migrate" is the term most people reach for.

Following the review feedback, instead of adding a separate /migrate alias command, we keep the single /liberate command and make it discoverable when searching for "migrate":

  • The /liberate description now leads with "Migrate" ("Migrate & rebuild a site from a closed platform").
  • The Studio composer's slash-command autocomplete now matches against command descriptions in addition to names, so typing /migrate (or any other word from a description) surfaces /liberate.

Note: the CLI's autocomplete (from pi-tui) filters by command name only, so /migrate won't surface /liberate there — only in the Studio desktop composer.

Testing Instructions

  1. npm start
  2. Open a Studio Code session and type "/migrate" in the composer
  3. Assert that the autocomplete popup shows the /liberate command with its "Migrate & rebuild a site from a closed platform" description
@nightnei
nightnei requested a review from sejas July 7, 2026 13:24
@nightnei nightnei self-assigned this Jul 7, 2026

@sejas sejas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was able to invoke the Liberate skill using /migrate command.

Image

Another alternative we could consider is keeping the /liberate command and just allowing to search by the description where we could mention migrate instead of import.

Image
@wpmobilebot

wpmobilebot commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

📊 Performance Test Results

Comparing 4d8de3c vs trunk

app-size

Metric trunk 4d8de3c Diff Change
App Size (Mac) 1412.01 MB 1412.02 MB +0.01 MB ⚪ 0.0%

site-editor

Metric trunk 4d8de3c Diff Change
load 1099 ms 1035 ms 64 ms 🟢 -5.8%

site-startup

Metric trunk 4d8de3c Diff Change
siteCreation 6481 ms 6511 ms +30 ms ⚪ 0.0%
siteStartup 2394 ms 2387 ms 7 ms ⚪ 0.0%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff)

…rate

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@nightnei nightnei changed the title Liberate: add /migrate allias for /liberate Jul 8, 2026
nightnei and others added 2 commits July 8, 2026 12:15
…criptions

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@nightnei
nightnei force-pushed the stu-1973-add-migrate-alias-for-liberate branch from a998f67 to 4d8de3c Compare July 8, 2026 11:41
@nightnei

nightnei commented Jul 8, 2026

Copy link
Copy Markdown
Contributor Author

@sejas great idea, and Claude Code works also this way. Implemented.
Only one thing, I checked, there is no option to customize pi suggestions out of the box, so we need to extend the implementation

@sejas sejas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! this is a great improvement 🙌 . It also benefits other skills like /rank-me-up which now appears when searching for SEO

liberate-migrate.mp4
Image Image
@nightnei
nightnei merged commit 86cd2cd into trunk Jul 8, 2026
11 checks passed
@nightnei
nightnei deleted the stu-1973-add-migrate-alias-for-liberate branch July 8, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants