Skip to content

gilverse-icn/learn-quest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

26 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Learn Quest

License: MIT

RPG-style learning companion for AI coding assistants

ํ•œ๊ตญ์–ด ๋ฌธ์„œ (Korean)


AI coding assistants are convenient, but we often move on without understanding what was done and why.

Learn Quest is a plugin that helps you learn while coding with AI assistants, providing level-appropriate explanations and quizzes.

๐Ÿ“‘ Table of Contents

๐Ÿš€ Quick Start

# 1. Add the marketplace
/plugin marketplace add https://github.com/gilverse-icn/learn-quest

# 2. Install the plugin
/plugin install learn-quest@learn-quest

# 3. Run setup
/learn-quest:setup

That's it! The setup wizard will guide you through configuring your learning level and preferences.

Note: If you skip setup, Learn Quest will use default settings and create a config file automatically on first use.

โœจ Features

๐ŸŽฏ Auto-Explanation

Automatically provides learning points after code is written/modified.

  • ๐Ÿ“š Info: What was done and why
  • ๐Ÿ”„ Direction: Optimization opportunities, alternative approaches
  • ๐Ÿ’ก CS Knowledge: Related computer science concepts
  • ๐Ÿ“ Quiz: Level-appropriate questions (T/F for Bronze, code blanks for Silver, trade-off comparisons for Gold, etc.)

๐ŸŽฎ Passive Learning Mode

Automatically adds learning elements when you ask questions - no special commands needed!

When you ask "What is this?" or "How does this work?", Learn Quest:

  • Detects learning opportunities
  • Adds relevant insights and considerations
  • Suggests related concepts
  • Occasionally quizzes you (if enabled)

Frequency adjusts automatically based on your level and learning history.

๐Ÿ“ฆ Stash Mode (/learn-quest:stash, /learn-quest:study)

Too busy to learn right now? Save learning points for later!

Workflow:

  1. Work on your task as usual
  2. When you finish, Learn Quest asks: "Save for later study?"
  3. Select "Save" to stash the learning points
  4. Study later when you have time with /learn-quest:study
# Manual stash with memo
/learn-quest:stash "Login feature complete"

# Study saved points
/learn-quest:study              # Show list
/learn-quest:study today        # Today's only
/learn-quest:study jwt          # Search by keyword

Auto-detection: Learn Quest detects completion signals ("thanks", "done", "์™„๋ฃŒ") and prompts you to stash.

๐Ÿ“– Concept Explanation (/learn-quest:explain)

Request detailed explanations of specific concepts or recent work.

/learn-quest:explain React hooks
/learn-quest:explain Next.js 16    # Uses web search for latest info
/learn-quest:explain               # Shows selection menu

Smart Features:

  • ๐Ÿ” Web Search: Automatically searches for framework versions, latest updates, and trends
  • ๐Ÿ“ Codebase Reference: Can reference your project code when explaining
  • ๐Ÿ“Ž Source Citations: Always includes sources when web search is used

๐Ÿ› ๏ธ Setup (/learn-quest:setup)

Interactive first-time configuration wizard.

/learn-quest:setup   # Guided setup in your preferred language

โš™๏ธ Configuration (/learn-quest:config)

Configure your learning level, feature toggles, and language.

/learn-quest:config              # Interactive menu
/learn-quest:config show         # View current settings
/learn-quest:config level gold   # Change level
/learn-quest:config language ko  # Switch to Korean

๐Ÿ† Level System

A 5-tier rank system based on experience, providing depth-appropriate explanations.

Rank Perspective Learning Focus
Bronze "What is this?" Basic syntax, fundamental concepts
Silver "How do I use this?" Implementation patterns, best practices
Gold "Why this approach?" Optimization, trade-offs
Platinum "What's the big picture?" Architecture, system design
Diamond "What's the strategic view?" Technical strategy, organizational impact

๐ŸŒ Language Support

Learn Quest supports multiple languages:

  • English (en) - Default
  • Korean (ko) - ํ•œ๊ตญ์–ด

Change language with:

/learn-quest:config language ko

๐Ÿš€ Installation

Claude Code

# Add marketplace and install
/plugin marketplace add https://github.com/gilverse-icn/learn-quest
/plugin install learn-quest@learn-quest

First-Time Setup

After installation, run the setup wizard:

/learn-quest:setup

This will guide you through:

  1. Language selection (English / ํ•œ๊ตญ์–ด)
  2. Scenario question - AI analyzes your approach to suggest a level
  3. Level confirmation or adjustment
  4. Individual feature setup with visual examples

Or skip setup and start using directly - Learn Quest will create default settings automatically.

๐Ÿ“‹ Configuration Options

Setting Options Default Description
level bronze/silver/gold/platinum/diamond silver Learning level
language en/ko en Output language
trigger.on_task_complete true/false true Auto-explanation enabled
passive.enabled true/false true Passive learning mode
passive.frequency auto/high/medium/low auto How often to show learning elements
stash.enabled true/false true Stash mode enabled
stash.prompt_on_complete true/false true Prompt to stash on task completion
features.info true/false true Show what was done
features.direction true/false true Show improvement suggestions
features.cs_knowledge true/false true Show CS concepts
features.quiz true/false false Enable quizzes
storage local/project local Config storage location

Config file location: ~/.learn-quest/config.json

๐ŸŽฏ Usage Examples

Auto-Explanation

You: "Connect the todo list API"

Claude: [writes code]

๐ŸŽฎ LEARN QUEST - Learning Points
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ“š What was done
- Used fetch API to retrieve data from server
- Implemented async/await pattern for asynchronous handling

๐Ÿ”„ Points to consider
- Could add caching with React Query or SWR
- Error boundary could improve error handling

๐Ÿ’ก Related CS Knowledge
- HTTP request/response cycle
- Promises and asynchronous programming

Concept Explanation

You: /learn-quest:explain useEffect

๐ŸŽฎ LEARN QUEST
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ“š useEffect Explained

[Level-appropriate detailed explanation]

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ“Ž Sources:
- [React Documentation](https://react.dev)

๐Ÿ’ก Related topics: useCallback, useMemo, dependency arrays

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
๐ŸŽฏ What's next?

1) Go deeper - explain in more detail
2) Quiz me - test my understanding
3) Done - continue working

Stash Mode

You: "Add error handling to the API"

Claude: [writes code] Done!

๐ŸŽฎ LEARN QUEST - Stash
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
๐Ÿ“ฆ Busy right now?
   Save the learning points and study later at your own pace.

1) Save for later
2) Skip

You: 1

โœ… Saved!

๐Ÿ“ฆ API Error Handling with Retry Logic
   Error boundaries, exponential backoff, circuit breaker pattern

๐Ÿ’ก 3 learning points saved

Study later with /learn-quest:study

Study Mode

You: /learn-quest:study

๐ŸŽฎ LEARN QUEST - Study
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ“š Saved Learning Points

1) [01/28] API Error Handling with Retry Logic
2) [01/27] JWT Authentication Implementation
3) [01/25] React Query Caching Strategy

> Select a number

You: 1

๐ŸŽฎ LEARN QUEST - Study
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ“š API Error Handling with Retry Logic
   Saved: 2025-01-28

[Level-appropriate detailed explanation...]

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
๐ŸŽฏ What's next?

1) Go deeper
2) Mark as learned
3) Back to list

๐Ÿ“ Project Structure

learn-quest/
โ”œโ”€โ”€ .claude-plugin/
โ”‚   โ”œโ”€โ”€ plugin.json          # Plugin manifest
โ”‚   โ””โ”€โ”€ marketplace.json     # Marketplace catalog
โ”œโ”€โ”€ skills/
โ”‚   โ”œโ”€โ”€ setup/
โ”‚   โ”‚   โ””โ”€โ”€ SKILL.md         # Setup wizard skill
โ”‚   โ”œโ”€โ”€ config/
โ”‚   โ”‚   โ””โ”€โ”€ SKILL.md         # Config skill
โ”‚   โ”œโ”€โ”€ explain/
โ”‚   โ”‚   โ””โ”€โ”€ SKILL.md         # Explain skill
โ”‚   โ”œโ”€โ”€ stash/
โ”‚   โ”‚   โ””โ”€โ”€ SKILL.md         # Stash skill (save for later)
โ”‚   โ””โ”€โ”€ study/
โ”‚       โ””โ”€โ”€ SKILL.md         # Study skill (learn stashed items)
โ”œโ”€โ”€ hooks/
โ”‚   โ””โ”€โ”€ hooks.json           # Hooks configuration
โ”œโ”€โ”€ hooks-handlers/
โ”‚   โ”œโ”€โ”€ session-start.sh     # Session start handler
โ”‚   โ””โ”€โ”€ completion-detect.sh # Completion detection handler
โ”œโ”€โ”€ i18n/
โ”‚   โ”œโ”€โ”€ en/
โ”‚   โ”‚   โ””โ”€โ”€ messages.md      # English templates
โ”‚   โ””โ”€โ”€ ko/
โ”‚       โ””โ”€โ”€ messages.md      # Korean templates
โ”œโ”€โ”€ README.md                # English documentation
โ”œโ”€โ”€ README.ko.md             # Korean documentation
โ””โ”€โ”€ LICENSE

๐Ÿ”ง Development

# Clone
git clone https://github.com/gilverse-icn/learn-quest.git
cd learn-quest

# Test locally
claude --plugin-dir .

# Test setup
/learn-quest:setup

๐Ÿ—บ๏ธ Roadmap

Phase 2 (Planned)

  • XP/Level progression system
  • Learning history tracking
  • Status display (/learn-quest:status)
  • Commit-time triggers
  • Session summary
  • Spaced repetition suggestions

๐Ÿค Contributing

Issues and PRs are welcome!

๐Ÿ“„ License

MIT License - see LICENSE for details.


Made with ๐Ÿ’œ for developers who want to learn while coding.

About

๐ŸŽฎ RPG-style learning companion for AI coding assistants. Level up your skills while coding!

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages