@jcheesepkg/nanobot 0.8.98 → 0.8.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills/english/SKILL.md +56 -7
package/package.json
CHANGED
package/skills/english/SKILL.md
CHANGED
|
@@ -5,13 +5,44 @@ description: Casual English conversation practice with corrections.
|
|
|
5
5
|
|
|
6
6
|
# English Chat (英会話練習)
|
|
7
7
|
|
|
8
|
+
## Difficulty Level
|
|
9
|
+
|
|
10
|
+
Settings stored in `data/english.json`:
|
|
11
|
+
```json
|
|
12
|
+
{ "level": "beginner" }
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
On first activation, if `data/english.json` doesn't exist, ask the user to choose their level:
|
|
16
|
+
```
|
|
17
|
+
flex_message(template="action_buttons", data={
|
|
18
|
+
prompt: "英語レベルを選んでね!\nChoose your English level:",
|
|
19
|
+
buttons: [
|
|
20
|
+
{ label: "🌱 Beginner", text: "英語レベル beginner", style: "primary" },
|
|
21
|
+
{ label: "📚 Intermediate", text: "英語レベル intermediate", style: "primary" },
|
|
22
|
+
{ label: "🚀 Advanced", text: "英語レベル advanced", style: "primary" }
|
|
23
|
+
]
|
|
24
|
+
})
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Save the choice to `data/english.json`. User can change anytime with "レベル変更".
|
|
28
|
+
|
|
29
|
+
### Level behavior
|
|
30
|
+
|
|
31
|
+
| | Beginner | Intermediate | Advanced |
|
|
32
|
+
|---|---|---|---|
|
|
33
|
+
| Bot's vocab | Simple, common words | Natural, varied | Idioms, slang, nuance |
|
|
34
|
+
| Corrections | Only major grammar | Grammar + word choice | Everything incl. nuance |
|
|
35
|
+
| Japanese help | Always add 日本語 hints | On request only | Never unless asked |
|
|
36
|
+
| Sentence length | Short, simple | Natural | Complex, compound |
|
|
37
|
+
|
|
8
38
|
## Mode
|
|
9
39
|
|
|
10
40
|
When user says "英語モード" / "English mode" / "英会話":
|
|
11
41
|
|
|
12
|
-
1.
|
|
13
|
-
2.
|
|
14
|
-
3.
|
|
42
|
+
1. Read `data/english.json` for level (default: beginner if missing)
|
|
43
|
+
2. Reply in English, adapted to level
|
|
44
|
+
3. Gently correct mistakes (strictness based on level)
|
|
45
|
+
4. Offer Japanese translation based on level rules above
|
|
15
46
|
|
|
16
47
|
## Conversation Style
|
|
17
48
|
|
|
@@ -29,7 +60,7 @@ Only fix:
|
|
|
29
60
|
- Wrong word usage
|
|
30
61
|
- Natural phrasing
|
|
31
62
|
|
|
32
|
-
Skip minor stuff. Keep flow.
|
|
63
|
+
Adjust strictness per level. Skip minor stuff. Keep flow.
|
|
33
64
|
|
|
34
65
|
## Topic Selection
|
|
35
66
|
|
|
@@ -66,10 +97,28 @@ If user struggles:
|
|
|
66
97
|
How was your day? (今日どうだった?)
|
|
67
98
|
```
|
|
68
99
|
|
|
69
|
-
## Exit
|
|
100
|
+
## Exit & Session Summary
|
|
101
|
+
|
|
102
|
+
When user says "日本語に戻して" / "exit English" / "おわり":
|
|
103
|
+
|
|
104
|
+
1. Review the conversation and gather:
|
|
105
|
+
- Topics discussed
|
|
106
|
+
- Corrections you made (original → fixed)
|
|
107
|
+
- New vocabulary or phrases you introduced
|
|
108
|
+
- An encouraging comment about their performance
|
|
109
|
+
2. Send a session summary using `flex_message`:
|
|
110
|
+
|
|
111
|
+
```
|
|
112
|
+
flex_message(template="custom", data={
|
|
113
|
+
title: "📝 English Session",
|
|
114
|
+
body: "Topics: ...\n\nCorrections:\n❌ I go → ✅ I went\n❌ more easy → ✅ easier\n\nNew vocab:\n• commute (通勤する)\n• grab a bite (軽く食べる)\n\n💪 Great job! Your past tense is improving!",
|
|
115
|
+
header_color: "#4CAF50"
|
|
116
|
+
})
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
Keep it honest — if there were no corrections, say so. If there were many, pick the 3-5 most important ones.
|
|
70
120
|
|
|
71
|
-
|
|
72
|
-
Bot: "Sure! 英語練習お疲れ様!👍"
|
|
121
|
+
After the card, respond: "英語練習お疲れ様!👍"
|
|
73
122
|
|
|
74
123
|
## Tips
|
|
75
124
|
|