docs(skill): simplify first-run sign-in flow to single onboarding prompt - #132
Merged
Merged
Conversation
added 2 commits
October 2, 2026 17:35
Streamline the XMemo Skill first-run onboarding sequence in SKILL.md: - Merge initial sign-in into a single canonical prompt and browser approval - Remove separate unencrypted-storage disclosure prompt and inline AGENTS.md offer - Instruct agents to execute login in a non-blocking shell, outputting only the verification URL, code, and approval prompt - Silently initialize profile status to 'later' upon successful connection for subsequent recall-driven re-offers - Place the sign-in flow first, moving diagnostic and secret-store setup commands into an advanced section - Add unreleased changelog entry and update test assertions
Add the --if-unset flag to the profile command to prevent first-run sign-in from overwriting an existing user status choice (e.g. 'never'). When --if-unset is passed and a status is already stored, leave the state unchanged and exit 0. Update SKILL.md step 3 to use the guarded flag, add test cases for unset, never, and max-offers conditions, update help snapshots, and note the change in CHANGELOG.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Streamline the XMemo Skill first-run onboarding sequence in
SKILL.md:"XMemo is your personal cloud memory ... Sign in to get started?") as the sole initial prompt. Remove the redundant unencrypted-storage disclosure prompt and example sentence.login --allow-plaintextin a background or streaming shell so the verification URL and code appear immediately without blocking on user action or timing out.auth status --verify.profile --status laterso subsequent recall-based re-offers activate per existing runtime logic.## First Successful Run, relocating diagnostic checks (doctor --anonymous,XMEMO_KEY,auth status --verify) to a dedicated### Diagnostics and Advanced Setupsection.Verification
node --test test/xmemo-skill.test.js test/xmemo-skill-snapshot.test.js: 24/24 passnode scripts/verify-release-packaging.mjs: 4/4 drills passnpm run lint: 0 errorsnpm test: 651 tests, 650 pass, 1 skipped, 0 failContinue with browser sign-inorseparately discloseacrossskills/