xiaohongshu
xiaohongshu
japanese-learning-game
Create effective Japanese learning games with SRS (Spaced Repetition System), audio-first approach, and gamification elements. Use this skill when building vocabulary flashcards, conversation practice games, or interactive quiz games for Japanese learners (JLPT N5-N3). Includes ready-to-use templ...
Full skill instructions
Create engaging, effective Japanese learning games that combine scientifically-proven Spaced Repetition System (SRS) with gamification and audio-first learning. Generate complete React-based web applications optimized for vocabulary acquisition, conversation practice, and long-term retention.
This skill provides:
Activate this skill when the user requests:
Any request involving Japanese learning games, vocabulary practice, conversation simulation, or JLPT preparation should trigger this skill.
Ask clarifying questions to determine:
Game Type: What type of game?
Content Scope: What learning content?
Features: Which features are needed?
Example Dialog:
User: "일본어 음식 단어 학습 게임 만들어줘"
Claude: "네! 음식 관련 일본어 학습 게임을 만들어드리겠습니다. 몇 가지 확인할게요:
User: "플래시카드로 N5 레벨, SRS 포함해주세요"
Claude: "알겠습니다! 바로 생성하겠습니다."
Use the game scaffolder script to create the project:
python scripts/game_scaffolder.py \
--game-type flashcard \
--jlpt-level N5 \
--category food \
--output ./japanese-food-game
The script will:
assets/game-template/references/vocabulary/n5-words.jsongame.config.jsonWhat Gets Created:
japanese-food-game/
├── package.json # Dependencies configured
├── vite.config.ts # Build configuration
├── game.config.json # Game settings
├── src/
│ ├── data/
│ │ └── vocabulary.json # Filtered food words
│ ├── components/
│ ├── lib/
│ │ └── srs/
│ │ └── algorithm.ts # SRS implementation
│ └── ...
└── public/
The SRS algorithm is already included. Explain how to use it:
import { calculateNextReview, SRSCard } from './lib/srs/algorithm'
// When user answers a card
const handleAnswer = (quality: number) => {
const updatedCard = calculateNextReview(quality, currentCard)
// Save to storage
saveCardProgress(updatedCard)
// quality scale:
// 5: Perfect (즉시 정답)
// 4: Correct (약간 고민)
// 3: Difficult (어렵게 정답)
// 2: Wrong but familiar (틀렸지만 알 것 같음)
// 1: Wrong (틀림)
// 0: No idea (전혀 모름)
}
The SRS algorithm from scripts/srs_algorithm.py needs to be ported to TypeScript and placed in the game template.
Integrate Web Speech API or audio files:
// Text-to-Speech using Web Speech API
const speak = (text: string, lang: string = 'ja-JP') => {
const utterance = new SpeechSynthesisUtterance(text)
utterance.lang = lang
utterance.rate = 0.9 // Slightly slower for learning
speechSynthesis.speak(utterance)
}
// Usage in flashcard
<button onClick={() => speak(card.word)}>
🔊 発音を聞く
</button>
For pre-recorded audio, reference the audio files in vocabulary data.
Common customizations:
1. Add More Vocabulary
src/data/vocabulary.jsonreferences/vocabulary/ and regenerate2. Adjust SRS Settings
Edit game.config.json:
{
"srs": {
"newCardsPerDay": 30, // Increase daily new cards
"reviewCardsPerDay": 150 // Increase review limit
}
}
3. Customize Gamification
{
"gamification": {
"xp": true,
"levels": true,
"badges": true,
"dailyStreak": true,
"leaderboard": false // Disable competitive features
}
}
4. Add Custom Conversation Scenarios
Copy from references/conversations/ or create new ones following the schema.
cd japanese-food-game
npm install
npm run dev # Development
npm run build # Production build
Deploy to:
vercel deploydist/ foldersrs_algorithm.py - Spaced Repetition System implementation
python scripts/srs_algorithm.py --demogame_scaffolder.py - Game project generator
vocabulary/ - JLPT-leveled word databases
n5-words.json - N5 words (20 sample words included)n4-words.json - N4 words (to be added)n3-words.json - N3 words (to be added)Each word includes:
conversations/ - Scenario-based conversation practice
restaurant-ordering.json - Restaurant conversationEach scenario includes:
game-template/ - React boilerplate
sounds/ - Audio effects (to be added)
correct.mp3 - Correct answer soundwrong.mp3 - Wrong answer soundlevelup.mp3 - Level up fanfareUser: "N5 단어로 플래시카드 게임 만들어줘"
Steps:
python scripts/game_scaffolder.py \
--game-type flashcard \
--jlpt-level N5 \
--output ./n5-flashcard
cd n5-flashcard
npm install
npm run dev
User: "레스토랑 회화 연습 게임 만들어줘"
Steps:
python scripts/game_scaffolder.py \
--game-type conversation \
--jlpt-level N5 \
--output ./restaurant-practice
User: "일본어 종합 학습 앱 만들어줘 - 단어, 퀴즈, 회화 다 포함"
Steps:
python scripts/game_scaffolder.py \
--game-type all \
--jlpt-level N5 \
--output ./japanese-learning-app
Issue: Game scaffolder can't find vocabulary data
Solution: Check that references/vocabulary/n5-words.json exists, or use --category all to include sample data
Issue: Audio not working
Solution: Web Speech API requires user interaction. Add a "Start" button to initialize audio
Issue: SRS intervals too aggressive
Solution: Adjust easiness factor in scripts/srs_algorithm.py (default: 2.5)
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience