Skip to content

feat: add get_started onboarding tool with usage guide#22

Merged
SPerekrestova merged 6 commits intomainfrom
feat/get-started-onboarding-tool
Feb 5, 2026
Merged

feat: add get_started onboarding tool with usage guide#22
SPerekrestova merged 6 commits intomainfrom
feat/get-started-onboarding-tool

Conversation

@SPerekrestova
Copy link
Owner

Summary

  • Adds a zero-param get_started public tool (OnboardingToolRegistry) that returns the full usage guide as its response — prompt invocation rules, session start flow, learning mode hint levels, auth flow, and submission language map. Becomes live conversation context the moment Claude calls it.
  • Updates get_daily_challenge and get_problem descriptions to nudge Claude toward invoking leetcode_learning_mode and leetcode_problem_workflow after fetching.
  • Updates get_problem_solution description to gate full-solution access behind progressive hints.
  • Wires get_started into server init (after prompts, before all other tools) and into createTestClientWithServer for integration test coverage.

Test Plan

  • onboarding-tools-integration.test.ts — 6 tests covering registration, prompt rules, session flow, hint levels, auth flow, and language map
  • Assertions added to problem-tools-integration.test.ts (2) and solution-tools-integration.test.ts (1) verifying updated descriptions
  • Full suite: 125 tests passed, 18 files, 0 failures
  • npm run build — clean TypeScript compilation

🤖 Generated with Claude Code

Adds a zero-param public get_started tool via OnboardingToolRegistry that
returns prompt invocation rules, session start flow, learning mode hint
levels, auth flow, and submission language map as live conversation context.
Wired into server init (after prompts, before other tools) and test-client
helper. Includes 6 integration tests.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@SPerekrestova SPerekrestova self-assigned this Feb 4, 2026
@SPerekrestova SPerekrestova merged commit 58f6c63 into main Feb 5, 2026
1 check 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