Skip to content

Conversation

@fahreddinozcan
Copy link
Contributor

Flow

  1. User describes expertise they want (e.g., "React performance optimization")
  2. CLI searches and presents relevant libraries from Context7
  3. User selects libraries to learn from
  4. LLM generates clarifying questions based on selection
  5. User answers questions (select or type custom)
  6. Skill is generated with real-time progress feedback
  7. User can preview, request changes, or regenerate before installing

Features

  • Real-time streaming with query results display
  • Library selection with metadata panel (stars, snippets, description)
  • Collapsing question UI after answering
  • Preview with expand option before install
  • Feedback loop for iterating on generated skills

Files

  • commands/generate.ts - main wizard flow
  • utils/api.ts - API client for questions/generate endpoints
  • utils/selectOrInput.ts - hybrid select/input prompt
  • utils/prompts.ts - checkbox with hover metadata
  • types.ts - streaming event types

- Add real-time query results display during generation
- Collapse answered questions to show summary
- Separate query phase spinner from generation spinner
- Add skill preview with expand option
- Remove legacy generateSkill function
- Clean up redundant comments
- Add real-time query results display during generation
- Collapse answered questions to show summary
- Separate query phase spinner from generation spinner
- Add skill preview with expand option
- Remove legacy generateSkill function
- Clean up redundant comments
@linear
Copy link

linear bot commented Jan 28, 2026

- Add previousContent to StructuredGenerateInput for efficient feedback
- Remove redundant "Selected X libraries" log message
- Consolidate menu options (remove "Regenerate completely")
- Update feedback prompt with skip hint
- Add skill quota checking before generation
- Fix tool result display timing issue
- Show library project IDs in selection to avoid confusion
- Improve generation spinner with query log display
@fahreddinozcan fahreddinozcan merged commit 8ba484c into master Jan 29, 2026
3 checks passed
@fahreddinozcan fahreddinozcan deleted the CTX7-1123 branch January 29, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants