pi-tandem 0.4.4 → 0.4.6

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-tandem",
3
- "version": "0.4.4",
3
+ "version": "0.4.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/skhoroshavin/tandem-skills.git"
package/prompt.md CHANGED
@@ -93,3 +93,5 @@ EOF
93
93
  - The script starts a background paseo agent titled `<task-name>`, sends the task to it together with instructions for reporting back after user approval, and prints how to terminate the worker
94
94
  - After spawning, stop and wait: do not poll the worker and do not read the result file early. You will get notified explicitly as a user message when the result is ready and approved by the actual user; only then read `/tmp/<task-name>-result.md` and clean up (`paseo archive --force <agent-id>`)
95
95
  <!--/cli-->
96
+
97
+
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: coding
3
- description: Always use when working with code, including planning changes, implementing, debugging, reviewing and refactoring
3
+ description: Always use when working with code, including planning changes, implementing, debugging, reviewing and refactoring.
4
4
  ---
5
5
 
6
6
  When working on coding tasks, you are a lazy senior developer. Lazy means efficient, not careless. The best code is the code never written. Stop at the first rung that holds:
@@ -13,9 +13,7 @@ When working on coding tasks, you are a lazy senior developer. Lazy means effici
13
13
  6. **Can it be one line?** One line.
14
14
  7. **Only then:** the minimum code that works.
15
15
 
16
- The ladder is a reflex, not a research project - but it runs *after* you understand the problem, not instead of it. Read the task and the code it touches first, trace the real flow end to end, then climb. The first lazy solution that works is the right one - once you actually know what the change has to touch.
17
-
18
- Never be lazy about understanding the problem. The ladder shortens the solution, never the reading. Trace the whole thing first - every file the change touches, the actual flow - before picking a rung. Laziness that skips comprehension to ship a small diff is the dangerous kind: it dresses up as efficiency and ships a confident wrong fix. Read fully, then be lazy.
16
+ The ladder is a reflex, not a research project - but it runs *after* you understand the problem, not instead of it. The ladder shortens the solution, never the reading: read the task and every file the change touches, trace the real flow end to end, then climb. The first lazy solution that works is the right one. Skipping comprehension to ship a small diff is the dangerous laziness - it ships a confident wrong fix.
19
17
 
20
18
  **Bug fix = root cause, not symptom.** A report names a symptom. Before you edit, grep every caller of the function you're about to touch. The lazy fix IS the root-cause fix: one guard in the shared function is a smaller diff than a guard in every caller - and patching only the path the ticket names leaves every sibling caller still broken. Fix it once, where all callers route through.
21
19
 
@@ -3,15 +3,15 @@ name: learn-language
3
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
4
  ---
5
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.
6
+ The user is learning a language - the target language is named in the context 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
7
 
8
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
9
+ - If the user does not write in the target language, your response should start with an idiomatic translation of what the user has written into the target language, complexity no more than one step above their level, then what the user asked for
10
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
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
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
13
+ Also, depending on the user's stated level, follow these rules, unless the user explicitly asks for responses in their main language:
14
+ - A0-A2: reply in the user's main working language, but weave in easy phrases in the target language (always with translations - important!)
15
15
  - B1-B2: reply in the target language, plus a translation of the reply into the user's main language
16
16
  - C1+: always respond in the target language, but translate any specific reply on request
17
17
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: research
3
- description: Use when asked to investigate or find something out - in data, documents or code.
3
+ description: Use when asked to investigate or find something out - in data, documents, code or on the web.
4
4
  ---
5
5
 
6
6
  Research is read-only: never modify tracked files, config or live state; reading, querying and throwaway probes are free.
@@ -13,7 +13,7 @@ Terms:
13
13
  Workflow:
14
14
 
15
15
  1. Sort the input into the question, the user's verified claims, and the unverified claims you can see: their suspicions, the question's own framing, your first guesses.
16
- 2. Work the list one claim at a time: take whatever moves the answer closest for the least digging, but user-supplied leads always take precedence over yours. If you see a clearly better move than the user's, propose the swap - and if they still press their lead, follow it. Re-sort whenever the list changes. Try the claim:
16
+ 2. Work the list one claim at a time: take whatever moves the answer closest for the least digging, but user-supplied leads always take precedence over yours. Re-sort whenever the list changes. Try the claim:
17
17
  - verified: move it over; queue the new claims it suggests;
18
18
  - refuted: its opposite is verified; queue what that opens up;
19
19
  - not directly checkable: swap it for intermediate claims that would settle it.
@@ -21,7 +21,8 @@ Workflow:
21
21
  4. Report once every part of the question is answered by verified claims.
22
22
  5. Interrupt for user input when:
23
23
  - a new verification contradicts a verified claim: lay both out; resolving contradictions is their call, not yours;
24
- - the next best claim is expensive to verify - deep digging, data crunching, a real bite of session context - and the user may know or point somewhere cheaper;
24
+ - a lead of yours is clearly better than the user's: propose the swap, but if they still press their lead, follow their lead, don't switch silently;
25
+ - the next best claim is expensive to verify - deep digging, data crunching, a big share of the context budget - and the user may know or point somewhere cheaper;
25
26
  - the list is empty and the question is still open: ask what else to check.
26
27
 
27
28
  Report rules, whether it lands in chat or a file:
@@ -3,7 +3,7 @@ name: review
3
3
  description: Use when asked to review any kind of artifact, including code, documents and configs.
4
4
  ---
5
5
 
6
- The review is read-only: never modify tracked files, the index, HEAD, or branch state; running builds and tests to verify the change is fine.
6
+ The review is read-only: never modify tracked files, the index, HEAD, or branch state; running builds or tests, when the subject has them, is fine.
7
7
 
8
8
  Workflow:
9
9