Drop redundant backticks in *…* / **…** code segments

Value-expression variables inside *…* / **…** segments no longer need
backticks (the segment markers already mark code). Drop trailing spaces
and de-tick value-expression variable names in tests and skill docs;
keep backticks for string interpolation, call args, and method receivers.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-08-17 17:22:45 +08:00
1 parent 1bf414c745
commit f275d1e030
112 files changed
+762 -761

No files matched your search

+19 -19
View File
@@ -6,32 +6,32 @@ import json:lib/json.mq.md
# counter
+ `n`
*`t` = > json.parse text={"p":"{\"n\":","s":"}"} *
*`qn` = > str `n` *
*`p` = > json.get value=`t` key=p *
*`s` = > json.get value=`t` key=s *
*`raw` = `p` + `qn` + `s` *
*t = > json.parse text={"p":"{\"n\":","s":"}"}*
*qn = > str `n`*
*p = > json.get value=`t` key=p*
*s = > json.get value=`t` key=s*
*raw = p + qn + s*
**> json.parse text=`raw`**
## bump
*`n` = > json.get value=`self` key=n *
*`n2` = `n` + 1*
*`t` = > json.parse text={"p":"{\"n\":","s":"}"} *
*`qn` = > str `n2` *
*`p` = > json.get value=`t` key=p *
*`s` = > json.get value=`t` key=s *
*`raw` = `p` + `qn` + `s` *
*`m` = > json.parse text=`raw` *
**`m`**
*n = > json.get value=`self` key=n*
*n2 = n + 1*
*t = > json.parse text={"p":"{\"n\":","s":"}"}*
*qn = > str `n2`*
*p = > json.get value=`t` key=p*
*s = > json.get value=`t` key=s*
*raw = p + qn + s*
*m = > json.parse text=`raw`*
**m**
# main
*`c` = > counter n=3 *
*`ty` = > json.get value=`c` key=_type *
*c = > counter n=3*
*ty = > json.get value=`c` key=_type*
> print text=`ty`
*`n` = > json.get value=`c` key=n *
*n = > json.get value=`c` key=n*
> print text=`n`
*`c2` = > `c`.bump *
*`n2` = > json.get value=`c2` key=n *
*c2 = > `c`.bump*
*n2 = > json.get value=`c2` key=n*
> print text=`n2`