ConardLi/garden-skills

ConardLi's open-source Skills collection, featuring web design, knowledge retrieval, image generation, and more.

JavaScript★ 14,257+175 that day#10 on trending

Analyzed November 6, 2026 at 2b9a893 (main) with jscpd v5 in 1.6s.

C63.6/100
Project health19,391 lines of code (M)
Duplication90
1% in javascript, tsx, typescript, bash, python
Dead code49
8.3%
Complexity58
41.7%

The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.

0.94%duplicated code · 163 of 17,332 lines
12clones in code
120code files of 851 scanned
2.42%duplicated over all files · 312 clones

The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code.

Largest clones in the code

  • 29 lines in 2 placesjavascript189 tokens
    104  if (!cfg.output) throw new Error("Missing value for --output");
    105  continue;
    106}
    107if (arg === "--model") {
    108  cfg.model = argv[++i] || null;
    109  if (!cfg.model) throw new Error("Missing value for --model");
    110  continue;
    111}
    112if (arg === "--size") {
    113  cfg.size = argv[++i] || null;
    

    First 10 of 29 lines.

  • 6 lines in 2 placesjavascript149 tokens
    16if (hit) sfx.add(S.riser(S.bar(1)), hit - S.bar(1), { gain: 0.4 });
    17for (const c of CUES) {
    18  if (c.sfx === 'pop') sfx.add(S.pop('C6'), c.t, { gain: 0.6 });
    19  if (c.sfx === 'tick') sfx.add(S.tick(), c.t, { gain: 0.35, pan: Math.sin(c.t * 7) * 0.5 });
    20  if (c.sfx === 'whoosh') sfx.add(S.whoosh(0.6), c.t - 0.6 * 0.7, { gain: 0.7 });
    21  if (c.sfx === 'impact') { sfx.add(S.impact(), c.t, { gain: 0.9 }); S.duck(c.t, 1); }
    
    33if (hit) sfx.add(S.riser(S.bar(1)), hit - S.bar(1), { gain: 0.5 });
    34
    35for (const c of CUES) {
    36  if (c.sfx === 'pop') sfx.add(S.pop('C6'), c.t, { gain: 0.6 });
    37  if (c.sfx === 'tick') sfx.add(S.tick(), c.t, { gain: 0.35, pan: Math.sin(c.t * 7) * 0.5 });
    38  if (c.sfx === 'whoosh') sfx.add(S.whoosh(0.6), c.t - 0.6 * 0.7, { gain: 0.7 });
    39  if (c.sfx === 'impact') { sfx.add(S.impact(), c.t, { gain: 0.9 }); drums.add(S.crash(), c.t, { gain: 0.35 }); S.duck(c.t, 1); }
    
  • 19 lines in 2 placesjavascript116 tokens
    84  if (!cfg.mask) throw new Error("Missing value for --mask");
    85  continue;
    86}
    87if (arg === "--prompt") {
    88  cfg.prompt = argv[++i] || null;
    89  if (!cfg.prompt) throw new Error("Missing value for --prompt");
    90  continue;
    91}
    92if (arg === "--promptfile") {
    93  cfg.promptFile = argv[++i] || null;
    

    First 10 of 19 lines.

7 more
Largest clones over all files, tests and data included
  • 7 lines in 48 placesmarkdowndocs and examples68 tokens
    52- **提示词目录**:[`prompts/ui-mockups/live-commerce-ui/`](./ui-mockups/live-commerce-ui/)
    53- **图片进度**:✅ 2 / 2
    54- **案例**:
    55
    56  | # | 提示词 | 图片 | 案例标题 | 简介 |
    57  |---|---|---|---|---|
    58  | 1 | [`1.json`](./ui-mockups/live-commerce-ui/1.json) | [`1.png`](./ui-mockups/live-commerce-ui/1.png) | Elon Musk 直播带 Cybertruck(科技带货旗舰场景) | 典型的"科技公司创始人本人下…
    
    79- **提示词目录**:[`prompts/ui-mockups/product-card-overlay/`](./ui-mockups/product-card-overlay/)
    80- **图片进度**:✅ 2 / 2
    81- **案例**:
    82
    83  | # | 提示词 | 图片 | 案例标题 | 简介 |
    84  |---|---|---|---|---|
    85  | 1 | [`1.json`](./ui-mockups/product-card-overlay/1.json) | [`1.png`](./ui-mockups/product-card-overlay/1.png) | DERMA CALM 敏感肌精华 — 临床感落地页 hero(女性向护肤) | 典型的…
    
  • 103 lines in 2 placesmarkdowndocs and examples978 tokens
    118<table>
    119<tr>
    120<td width="33%" valign="top" align="center">
    121<a href="https://rearticle.mmh1.top/#/gallery/caffeine-half-life">
    122<img src="https://raw.githubusercontent.com/ConardLi/assets/main/imgs/article/theam-tufte.webp" alt="Tufte · Data-Ink" width="260">
    123<br><b>Tufte</b> · Data-Ink
    124</a>
    125<br><sub>咖啡因与睡眠 · 数据笔记</sub>
    126<br><sup>Edward Tufte 数据墨水,证据优先,发丝级图表与最朴素的版式。</sup>
    127</td>
    

    First 10 of 103 lines.

  • 14 lines in 3 placesmarkdowndocs and examples373 tokens
    300<table>
    301<tr>
    302<td width="25%" align="center"><img src="https://cdn.jsdelivr.net/gh/ConardLi/assets@main/imgs/article/tufte.webp" alt="tufte" width="100%"><br/><sub><b>tufte<…
    303<td width="25%" align="center"><img src="https://cdn.jsdelivr.net/gh/ConardLi/assets@main/imgs/article/press.webp" alt="press" width="100%"><br/><sub><b>press<…
    304<td width="25%" align="center"><img src="https://cdn.jsdelivr.net/gh/ConardLi/assets@main/imgs/article/bayer.webp" alt="bayer" width="100%"><br/><sub><b>bayer<…
    305<td width="25%" align="center"><img src="https://cdn.jsdelivr.net/gh/ConardLi/assets@main/imgs/article/bodoni.webp" alt="bodoni" width="100%"><br/><sub><b>bodo…
    306</tr>
    307<tr>
    308<td width="25%" align="center"><img src="https://cdn.jsdelivr.net/gh/ConardLi/assets@main/imgs/article/vignell.webp" alt="vignelli" width="100%"><br/><sub><b>v…
    309<td width="25%" align="center"><img src="https://cdn.jsdelivr.net/gh/ConardLi/assets@main/imgs/article/sottsass.webp" alt="sottsass" width="100%"><br/><sub><b>…
    

    First 10 of 14 lines.

  • 63 lines in 2 placesmarkdowndocs and examples623 tokens
  • 9 lines in 3 placesmarkdowndocs and examples200 tokens
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
javascript447,16491291.8%
tsx487,7373340.44%
typescript161,127000%
bash9995000%
python3309000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
markdown26445,9191581,3302.9%
css6515,4741007885.09%
javascript619,460141661.75%
json28324,595132531.03%
markup146,283131061.69%
bash361,6518664%
tsx517,7913340.44%
text421,3153362.74%
typescript161,127000%
python6529000%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Nov 6, 2026#1014,257 (+175)851114,8553122.42%0.94%C 63.62b9a893

Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.