pi-tandem 0.4.3 → 0.4.4

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/README.md CHANGED
@@ -21,6 +21,7 @@ Modern coding agents lean toward autonomy: multi-file changes in one go, subagen
21
21
  - **Coding** - "lazy senior" discipline for code changes: no speculative abstractions, deletion over addition, root-cause fixes
22
22
  - **Review** - interactively checks code and documents for errors and bloat, actionable findings only
23
23
  - **Pull requests** - branch, title and description rules, calibrated to the repo's merged PRs
24
+ - **Learn language** - optional practice of a foreign language as you work, suitable for every level, even beginners
24
25
  - **Interactive subagents** - fresh-context workers you can steer and must approve; details in the [Interactive subagents](#interactive-subagents) section
25
26
  - **Tool-specific instructions** (`gh`, `aws`, `jira`, ...), added to the prompt only if the tool is actually installed
26
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-tandem",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/skhoroshavin/tandem-skills.git"
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: learn-language
3
+ description: Always load first in every conversation and for every task when the user or context states that the user is learning a spoken language.
4
+ ---
5
+
6
+ The user is learning a language - the target language, named in the declaration that triggered this skill. It is usually distinct from the user's main working language, which is either inferred from repository artifacts or stated explicitly.
7
+
8
+ This means:
9
+ - If the user does not write in the target language, your response should start with an idiomatic translation into the target language of what the user has written, then what the user asked for
10
+ - If the user writes in the target language but makes mistakes or uses phrases that a native speaker would never use - your response should start with correction, then what the user asked for
11
+ - Correct grammar and unidiomatic phrasing only; colloquial short forms and dialects are not mistakes, leave them alone. Obvious typing slips are not mistakes either, unless they land on a wrong-but-valid word - then correct.
12
+
13
+ Also, depending on the user's stated level, follow these rules, unless the user explicitly asks for responses in his main language:
14
+ - A0-A2: reply in the user's main working language, but weave in easy phrases in the target language with translations
15
+ - B1-B2: reply in the target language, plus a translation of the reply into the user's main language
16
+ - C1+: always respond in the target language, but translate any specific reply on request
17
+
18
+ If the user's level is not stated, ask first, while also giving a short summary of how you are going to respond for different levels. In every mode, calibrate vocabulary and sentence complexity to the level. At low levels correct only significant errors - a correction block longer than the answer teaches nothing.
19
+
20
+ All above rules are only for conversation in this chat. Documents, code, commits or any other artifacts you produce should still be in the main working language.