@aibyzero/byz 0.1.1 → 0.1.3

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.
Files changed (114) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +34 -24
  3. package/dist/cli.js +22 -14
  4. package/dist/core/export-html/template.css +1066 -0
  5. package/dist/core/export-html/template.html +55 -0
  6. package/dist/core/export-html/template.js +1864 -0
  7. package/dist/core/export-html/vendor/highlight.min.js +1213 -0
  8. package/dist/core/export-html/vendor/marked.min.js +78 -0
  9. package/dist/fast.js +64 -0
  10. package/dist/modes/interactive/assets/clankolas.png +0 -0
  11. package/dist/modes/interactive/theme/dark.json +90 -0
  12. package/dist/modes/interactive/theme/light.json +89 -0
  13. package/dist/modes/interactive/theme/theme-schema.json +352 -0
  14. package/dist/runtime/bundle/chunks/{chunk-CCRJHU72.js → chunk-QY7DJQRI.js} +2 -2
  15. package/dist/runtime/bundle/chunks/github-copilot.js +1 -1
  16. package/dist/runtime/bundle/cli.js +1 -1
  17. package/dist/runtime/bundle/index.js +1 -1
  18. package/dist/runtime/bundle/rpc-entry.js +1 -1
  19. package/dist/runtime/core/resource-loader.d.ts +1 -0
  20. package/dist/runtime/core/resource-loader.d.ts.map +1 -1
  21. package/dist/runtime/core/resource-loader.js +8 -3
  22. package/dist/runtime/core/resource-loader.js.map +1 -1
  23. package/dist/workflows.js +4 -131
  24. package/package.json +2 -1
  25. package/workflows/cm-plugin/LICENSE +21 -0
  26. package/workflows/cm-plugin/README.md +195 -0
  27. package/workflows/cm-plugin/VERSION +1 -0
  28. package/workflows/cm-plugin/agents/cm-plugin-backend-agent.md +34 -0
  29. package/workflows/cm-plugin/agents/cm-plugin-extension-agent.md +35 -0
  30. package/workflows/cm-plugin/agents/cm-plugin-ui-agent.md +34 -0
  31. package/workflows/cm-plugin/commands/cm-plugin-ai-nodes/N1-init.md +60 -0
  32. package/workflows/cm-plugin/commands/cm-plugin-ai-nodes/N2-enter-feature.md +51 -0
  33. package/workflows/cm-plugin/commands/cm-plugin-ai-nodes/N3-execute-task.md +32 -0
  34. package/workflows/cm-plugin/commands/cm-plugin-ai-nodes/N4-review.md +58 -0
  35. package/workflows/cm-plugin/commands/cm-plugin-ai-nodes/N5-mark-done.md +80 -0
  36. package/workflows/cm-plugin/commands/cm-plugin-ai-nodes/N6-qa-eval.md +69 -0
  37. package/workflows/cm-plugin/commands/cm-plugin-ai-nodes/N7-context.md +23 -0
  38. package/workflows/cm-plugin/commands/cm-plugin-ai-nodes/N8-finish.md +61 -0
  39. package/workflows/cm-plugin/commands/cm-plugin-prd-modes/brownfield.md +13 -0
  40. package/workflows/cm-plugin/commands/cm-plugin-prd-modes/change-mode.md +130 -0
  41. package/workflows/cm-plugin/commands/cm-plugin-prd-modes/greenfield.md +82 -0
  42. package/workflows/cm-plugin/commands/cm-plugin:ai.md +75 -0
  43. package/workflows/cm-plugin/commands/cm-plugin:check.md +66 -0
  44. package/workflows/cm-plugin/commands/cm-plugin:fix.md +100 -0
  45. package/workflows/cm-plugin/commands/cm-plugin:idea.md +29 -0
  46. package/workflows/cm-plugin/commands/cm-plugin:init.md +145 -0
  47. package/workflows/cm-plugin/commands/cm-plugin:prd.md +403 -0
  48. package/workflows/cm-plugin/commands/cm-plugin:refactor.md +147 -0
  49. package/workflows/cm-plugin/commands/cm-plugin:rewrite.md +90 -0
  50. package/workflows/cm-plugin/commands/cm-plugin:scout.md +202 -0
  51. package/workflows/cm-plugin/docs//346/265/213/350/257/225/346/214/207/345/274/225-/345/277/253/351/200/237/344/270/212/346/211/213.md +189 -0
  52. package/workflows/cm-plugin/docs//351/207/215/346/236/204/346/265/201/347/250/213/350/256/276/350/256/241/README.md +17 -0
  53. package/workflows/cm-plugin/docs//351/207/215/346/236/204/346/265/201/347/250/213/350/256/276/350/256/241/refactor-flow.excalidraw +3650 -0
  54. package/workflows/cm-plugin/docs//351/207/215/346/236/204/346/265/201/347/250/213/350/256/276/350/256/241/refactor-flow.mp4 +0 -0
  55. package/workflows/cm-plugin/docs//351/207/215/346/236/204/346/265/201/347/250/213/350/256/276/350/256/241/refactor-flow.png +0 -0
  56. package/workflows/cm-plugin/docs//351/207/215/346/236/204/346/265/201/347/250/213/350/256/276/350/256/241/refactor-flow.spec.json +223 -0
  57. package/workflows/cm-plugin/package.json +33 -0
  58. package/workflows/cm-plugin/skills/cm-plugin-backend-engineer/SKILL.md +100 -0
  59. package/workflows/cm-plugin/skills/cm-plugin-devops-engineer/NOTICE.md +14 -0
  60. package/workflows/cm-plugin/skills/cm-plugin-devops-engineer/SKILL.md +120 -0
  61. package/workflows/cm-plugin/skills/cm-plugin-devops-engineer/references/cws-ci-cd.md +139 -0
  62. package/workflows/cm-plugin/skills/cm-plugin-devops-engineer/references/cws-submission-checklist.md +87 -0
  63. package/workflows/cm-plugin/skills/cm-plugin-doc-syncer/SKILL.md +149 -0
  64. package/workflows/cm-plugin/skills/cm-plugin-extension-engineer/SKILL.md +105 -0
  65. package/workflows/cm-plugin/skills/cm-plugin-product-manager/SKILL.md +83 -0
  66. package/workflows/cm-plugin/skills/cm-plugin-qa-engineer/NOTICE.md +14 -0
  67. package/workflows/cm-plugin/skills/cm-plugin-qa-engineer/SKILL.md +134 -0
  68. package/workflows/cm-plugin/skills/cm-plugin-qa-engineer/references/cws-scan-checklist.md +136 -0
  69. package/workflows/cm-plugin/skills/cm-plugin-qa-engineer/references/cws-violation-codes.md +68 -0
  70. package/workflows/cm-plugin/skills/cm-plugin-ui-engineer/SKILL.md +94 -0
  71. package/workflows/cm-plugin/skills/codebase-context/SKILL.md +489 -0
  72. package/workflows/cm-plugin/skills/darwin-skill/NOTICE.md +24 -0
  73. package/workflows/cm-plugin/skills/darwin-skill/README.md +272 -0
  74. package/workflows/cm-plugin/skills/darwin-skill/SKILL.md +492 -0
  75. package/workflows/cm-plugin/skills/darwin-skill/references/runtime-neutrality.md +68 -0
  76. package/workflows/cm-plugin/skills/darwin-skill/references/skilllens-evidence.md +142 -0
  77. package/workflows/cm-plugin/skills/darwin-skill/scripts/screenshot.mjs +71 -0
  78. package/workflows/cm-plugin/skills/darwin-skill/templates/result-card-dark.html +698 -0
  79. package/workflows/cm-plugin/skills/darwin-skill/templates/result-card-white.html +444 -0
  80. package/workflows/cm-plugin/skills/darwin-skill/templates/result-card.html +616 -0
  81. package/workflows/cm-plugin/skills/idea-to-prd/SKILL.md +289 -0
  82. package/workflows/cm-plugin/skills/idea-to-prd/references/domains/trading.md +97 -0
  83. package/workflows/cm-plugin/skills/idea-to-prd/references/example-prd.md +92 -0
  84. package/workflows/cm-plugin/templates/arch-reference.md +55 -0
  85. package/workflows/cm-plugin/templates/auto-update/cm-announce.sh +19 -0
  86. package/workflows/cm-plugin/templates/auto-update/cm-update.sh +251 -0
  87. package/workflows/cm-plugin/templates/dashboard/dashboard.html +153 -0
  88. package/workflows/cm-plugin/templates/dashboard/serve.sh +10 -0
  89. package/workflows/cm-plugin/templates/e2e/extension-harness.ts +110 -0
  90. package/workflows/cm-plugin/templates/e2e/smoke.spec.example.ts +51 -0
  91. package/workflows/cm-plugin/templates/hooks/pre-commit-cm-task-check +33 -0
  92. package/workflows/cm-plugin/templates/pixel/cm-pixel.html +388 -0
  93. package/workflows/cm-plugin/templates/pixel/cm-pixel.sh +212 -0
  94. package/workflows/cm-plugin/templates/pixel/dev/README.md +20 -0
  95. package/workflows/cm-plugin/templates/pixel/dev/atlas-preview.png +0 -0
  96. package/workflows/cm-plugin/templates/pixel/dev/build.py +55 -0
  97. package/workflows/cm-plugin/templates/pixel/dev/sheets/roguelikeChar_transparent.png +0 -0
  98. package/workflows/cm-plugin/templates/pixel/dev/sheets/roguelikeCity_tilemap.png +0 -0
  99. package/workflows/cm-plugin/templates/pixel/dev/sheets/roguelikeIndoor_transparent.png +0 -0
  100. package/workflows/cm-plugin/templates/pixel/dev/template.html +388 -0
  101. package/workflows/cm-plugin/templates/pixel/serve.sh +12 -0
  102. package/workflows/cm-plugin/templates/refactor/cm-refactor-denies.json +14 -0
  103. package/workflows/cm-plugin/templates/rules/backend-api.md +36 -0
  104. package/workflows/cm-plugin/templates/rules/chrome-extension.md +53 -0
  105. package/workflows/cm-plugin/templates/rules/coding-style.md +44 -0
  106. package/workflows/cm-plugin/templates/rules/frontend.md +32 -0
  107. package/workflows/cm-plugin/templates/rules/git-workflow.md +25 -0
  108. package/workflows/cm-plugin/templates/rules/security.md +31 -0
  109. package/workflows/cm-plugin/templates/rules/testing.md +36 -0
  110. package/workflows/cm-plugin/templates/scripts/cm-plugin-codex.sh +52 -0
  111. package/workflows/cm-plugin/templates/scripts/cm-plugin-log.sh +41 -0
  112. package/workflows/cm-plugin/templates/scripts/cm-plugin-preflight.sh +60 -0
  113. package/workflows/cm-plugin/templates/statusline/cm-plugin-statusline.sh +73 -0
  114. package/workflows.lock.json +4 -3
@@ -0,0 +1,616 @@
1
+ <!DOCTYPE html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Darwin Skill - 我的Skill进化报告</title>
7
+ <link rel="preconnect" href="https://fonts.googleapis.com">
8
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
9
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+SC:wght@400;500;700;900&display=swap" rel="stylesheet">
10
+ <style>
11
+ *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
12
+
13
+ body {
14
+ display: flex;
15
+ justify-content: center;
16
+ align-items: flex-start;
17
+ min-height: 100vh;
18
+ background: #FAFAF5;
19
+ font-family: 'Noto Sans SC', 'Inter', sans-serif;
20
+ padding: 0;
21
+ }
22
+
23
+ .card {
24
+ width: 900px;
25
+ min-height: 600px;
26
+ position: relative;
27
+ display: flex;
28
+ flex-direction: column;
29
+ background: #FAFAF5;
30
+ color: #1A1A1A;
31
+ }
32
+
33
+ /* ===== 1. 顶部品牌条 ===== */
34
+ .brand-bar {
35
+ background: #1A1A1A;
36
+ padding: 24px 48px;
37
+ display: flex;
38
+ justify-content: space-between;
39
+ align-items: center;
40
+ }
41
+ .brand-name {
42
+ font-size: 22px;
43
+ font-weight: 800;
44
+ color: #fff;
45
+ letter-spacing: 0.02em;
46
+ font-family: 'Inter', 'Noto Sans SC', sans-serif;
47
+ }
48
+ .brand-name .dot { color: #E8590C; }
49
+ .brand-date {
50
+ font-size: 15px;
51
+ font-weight: 500;
52
+ color: #888;
53
+ font-family: 'Inter', sans-serif;
54
+ }
55
+
56
+ /* ===== 2. 核心成就区 ===== */
57
+ .hero-section {
58
+ padding: 40px 48px 36px;
59
+ display: flex;
60
+ align-items: center;
61
+ gap: 48px;
62
+ background: linear-gradient(180deg, #FAFAF5 0%, #F5F0E8 100%);
63
+ position: relative;
64
+ }
65
+
66
+ /* SVG圆环 */
67
+ .ring-container {
68
+ flex-shrink: 0;
69
+ width: 280px;
70
+ height: 280px;
71
+ position: relative;
72
+ }
73
+ .ring-bg {
74
+ fill: none;
75
+ stroke: #E8E0D4;
76
+ stroke-width: 16;
77
+ stroke-dasharray: 8 8;
78
+ }
79
+ .ring-progress {
80
+ fill: none;
81
+ stroke: url(#orangeGradient);
82
+ stroke-width: 18;
83
+ stroke-linecap: round;
84
+ stroke-dasharray: 534;
85
+ stroke-dashoffset: 69;
86
+ transform: rotate(-90deg);
87
+ transform-origin: center;
88
+ filter: drop-shadow(0 2px 8px rgba(232,89,12,0.3));
89
+ }
90
+ .ring-center {
91
+ position: absolute;
92
+ top: 50%;
93
+ left: 50%;
94
+ transform: translate(-50%, -50%);
95
+ text-align: center;
96
+ }
97
+ .ring-score {
98
+ font-size: 88px;
99
+ font-weight: 900;
100
+ color: #1A1A1A;
101
+ line-height: 1;
102
+ font-family: 'Inter', sans-serif;
103
+ letter-spacing: -0.04em;
104
+ }
105
+ .ring-max {
106
+ font-size: 24px;
107
+ font-weight: 600;
108
+ color: #B0A898;
109
+ font-family: 'Inter', sans-serif;
110
+ margin-left: 2px;
111
+ }
112
+ .ring-label {
113
+ font-size: 14px;
114
+ font-weight: 600;
115
+ color: #999;
116
+ margin-top: 4px;
117
+ letter-spacing: 0.08em;
118
+ }
119
+
120
+ /* 右侧文字区 */
121
+ .hero-text {
122
+ flex: 1;
123
+ display: flex;
124
+ flex-direction: column;
125
+ gap: 16px;
126
+ }
127
+ .hero-title {
128
+ font-size: 32px;
129
+ font-weight: 900;
130
+ line-height: 1.25;
131
+ color: #1A1A1A;
132
+ }
133
+ .hero-skill-name {
134
+ color: #E8590C;
135
+ }
136
+ .hero-journey {
137
+ font-size: 18px;
138
+ font-weight: 500;
139
+ color: #666;
140
+ line-height: 1.5;
141
+ }
142
+ .hero-journey strong {
143
+ color: #1A1A1A;
144
+ font-weight: 700;
145
+ }
146
+ .delta-badge {
147
+ display: inline-flex;
148
+ align-items: center;
149
+ gap: 8px;
150
+ background: #E8590C;
151
+ color: #fff;
152
+ padding: 10px 28px;
153
+ border-radius: 12px;
154
+ font-size: 42px;
155
+ font-weight: 900;
156
+ font-family: 'Inter', sans-serif;
157
+ letter-spacing: -0.02em;
158
+ width: fit-content;
159
+ box-shadow: 0 4px 16px rgba(232,89,12,0.3);
160
+ }
161
+ .delta-badge-label {
162
+ font-size: 16px;
163
+ font-weight: 700;
164
+ opacity: 0.9;
165
+ font-family: 'Noto Sans SC', sans-serif;
166
+ letter-spacing: 0;
167
+ }
168
+
169
+ /* ===== 3. 最大突破区 ===== */
170
+ .breakthrough-section {
171
+ padding: 0 48px;
172
+ display: flex;
173
+ gap: 20px;
174
+ }
175
+ .breakthrough-card {
176
+ flex: 1;
177
+ border-radius: 16px;
178
+ padding: 28px 28px 24px;
179
+ position: relative;
180
+ overflow: hidden;
181
+ }
182
+ .breakthrough-card.primary {
183
+ background: linear-gradient(135deg, #E8590C 0%, #FF8A4C 100%);
184
+ color: #fff;
185
+ flex: 1.2;
186
+ }
187
+ .breakthrough-card.secondary {
188
+ background: #F0EAE0;
189
+ color: #1A1A1A;
190
+ border: 2px solid #E0D8CC;
191
+ }
192
+ .breakthrough-label {
193
+ font-size: 13px;
194
+ font-weight: 700;
195
+ letter-spacing: 0.1em;
196
+ margin-bottom: 12px;
197
+ text-transform: uppercase;
198
+ }
199
+ .breakthrough-card.primary .breakthrough-label {
200
+ color: rgba(255,255,255,0.75);
201
+ }
202
+ .breakthrough-card.secondary .breakthrough-label {
203
+ color: #999;
204
+ }
205
+ .breakthrough-dim {
206
+ font-size: 24px;
207
+ font-weight: 900;
208
+ margin-bottom: 6px;
209
+ }
210
+ .breakthrough-score-row {
211
+ display: flex;
212
+ align-items: baseline;
213
+ gap: 12px;
214
+ margin-bottom: 12px;
215
+ }
216
+ .breakthrough-from {
217
+ font-size: 36px;
218
+ font-weight: 400;
219
+ opacity: 0.5;
220
+ font-family: 'Inter', sans-serif;
221
+ text-decoration: line-through;
222
+ text-decoration-thickness: 2px;
223
+ }
224
+ .breakthrough-arrow {
225
+ font-size: 20px;
226
+ opacity: 0.5;
227
+ }
228
+ .breakthrough-to {
229
+ font-size: 52px;
230
+ font-weight: 900;
231
+ font-family: 'Inter', sans-serif;
232
+ line-height: 1;
233
+ }
234
+ .breakthrough-card.secondary .breakthrough-to {
235
+ color: #E8590C;
236
+ }
237
+ .breakthrough-pct {
238
+ font-size: 18px;
239
+ font-weight: 700;
240
+ font-family: 'Inter', sans-serif;
241
+ }
242
+ .breakthrough-card.primary .breakthrough-pct {
243
+ color: rgba(255,255,255,0.85);
244
+ }
245
+ .breakthrough-card.secondary .breakthrough-pct {
246
+ color: #2B8A3E;
247
+ }
248
+ .breakthrough-story {
249
+ font-size: 15px;
250
+ font-weight: 500;
251
+ line-height: 1.5;
252
+ margin-top: 8px;
253
+ }
254
+ .breakthrough-card.primary .breakthrough-story {
255
+ color: rgba(255,255,255,0.9);
256
+ }
257
+ .breakthrough-card.secondary .breakthrough-story {
258
+ color: #666;
259
+ }
260
+
261
+ /* ===== 4. 全维度速览 ===== */
262
+ .dims-section {
263
+ padding: 32px 48px 0;
264
+ }
265
+ .dims-header {
266
+ font-size: 15px;
267
+ font-weight: 700;
268
+ color: #999;
269
+ letter-spacing: 0.08em;
270
+ margin-bottom: 18px;
271
+ }
272
+ .dims-grid {
273
+ display: grid;
274
+ grid-template-columns: repeat(4, 1fr);
275
+ gap: 12px;
276
+ }
277
+ .dim-cell {
278
+ background: #F0EBE3;
279
+ border-radius: 12px;
280
+ padding: 16px 14px;
281
+ display: flex;
282
+ flex-direction: column;
283
+ align-items: center;
284
+ gap: 6px;
285
+ position: relative;
286
+ transition: background 0.2s;
287
+ }
288
+ .dim-cell.hot {
289
+ background: #FFF0E6;
290
+ border: 2px solid rgba(232,89,12,0.2);
291
+ }
292
+ .dim-cell.warm {
293
+ background: #F5EEE4;
294
+ }
295
+ .dim-name {
296
+ font-size: 13px;
297
+ font-weight: 700;
298
+ color: #888;
299
+ text-align: center;
300
+ white-space: nowrap;
301
+ }
302
+ .dim-score-row {
303
+ display: flex;
304
+ align-items: baseline;
305
+ gap: 6px;
306
+ }
307
+ .dim-score {
308
+ font-size: 32px;
309
+ font-weight: 900;
310
+ font-family: 'Inter', sans-serif;
311
+ color: #1A1A1A;
312
+ line-height: 1;
313
+ }
314
+ .dim-cell.hot .dim-score {
315
+ color: #E8590C;
316
+ }
317
+ .dim-old-score {
318
+ font-size: 15px;
319
+ font-weight: 500;
320
+ color: #BBB;
321
+ font-family: 'Inter', sans-serif;
322
+ text-decoration: line-through;
323
+ text-decoration-color: #CCC;
324
+ }
325
+ .dim-arrow {
326
+ display: inline-flex;
327
+ align-items: center;
328
+ justify-content: center;
329
+ font-size: 11px;
330
+ font-weight: 800;
331
+ font-family: 'Inter', sans-serif;
332
+ padding: 2px 8px;
333
+ border-radius: 6px;
334
+ line-height: 1;
335
+ }
336
+ .dim-arrow.up-big {
337
+ background: #E8590C;
338
+ color: #fff;
339
+ }
340
+ .dim-arrow.up-mid {
341
+ background: rgba(232,89,12,0.15);
342
+ color: #E8590C;
343
+ }
344
+ .dim-arrow.up-small {
345
+ background: rgba(43,138,62,0.1);
346
+ color: #2B8A3E;
347
+ }
348
+
349
+ /* ===== 5. 改进摘要 ===== */
350
+ .summary-section {
351
+ padding: 28px 48px 0;
352
+ }
353
+ .summary-header {
354
+ font-size: 15px;
355
+ font-weight: 700;
356
+ color: #999;
357
+ letter-spacing: 0.08em;
358
+ margin-bottom: 14px;
359
+ }
360
+ .summary-items {
361
+ display: flex;
362
+ flex-direction: column;
363
+ gap: 8px;
364
+ }
365
+ .summary-item {
366
+ font-size: 15px;
367
+ font-weight: 500;
368
+ color: #555;
369
+ line-height: 1.6;
370
+ padding-left: 20px;
371
+ position: relative;
372
+ }
373
+ .summary-item::before {
374
+ content: '';
375
+ position: absolute;
376
+ left: 0;
377
+ top: 9px;
378
+ width: 8px;
379
+ height: 8px;
380
+ background: #E8590C;
381
+ border-radius: 50%;
382
+ }
383
+
384
+ /* ===== 6. 底部品牌区 ===== */
385
+ .footer {
386
+ margin-top: auto;
387
+ background: #1A1A1A;
388
+ padding: 28px 48px;
389
+ display: flex;
390
+ justify-content: space-between;
391
+ align-items: center;
392
+ }
393
+ .footer-left {
394
+ display: flex;
395
+ flex-direction: column;
396
+ gap: 6px;
397
+ }
398
+ .footer-brand {
399
+ font-size: 20px;
400
+ font-weight: 800;
401
+ color: #fff;
402
+ font-family: 'Inter', 'Noto Sans SC', sans-serif;
403
+ }
404
+ .footer-brand .dot { color: #E8590C; }
405
+ .footer-slogan {
406
+ font-size: 14px;
407
+ color: #777;
408
+ font-weight: 500;
409
+ }
410
+ .footer-right {
411
+ text-align: right;
412
+ display: flex;
413
+ flex-direction: column;
414
+ gap: 4px;
415
+ }
416
+ .footer-url {
417
+ font-size: 14px;
418
+ color: #aaa;
419
+ font-family: 'Inter', monospace;
420
+ font-weight: 600;
421
+ }
422
+ .footer-by {
423
+ font-size: 13px;
424
+ color: #666;
425
+ }
426
+
427
+ /* 装饰性纹理 */
428
+ .card::before {
429
+ content: '';
430
+ position: absolute;
431
+ top: 0;
432
+ right: 0;
433
+ width: 400px;
434
+ height: 400px;
435
+ background: radial-gradient(circle at top right, rgba(232,89,12,0.04) 0%, transparent 70%);
436
+ pointer-events: none;
437
+ z-index: 0;
438
+ }
439
+ .card > * {
440
+ position: relative;
441
+ z-index: 1;
442
+ }
443
+ </style>
444
+ </head>
445
+ <body>
446
+
447
+ <div class="card">
448
+
449
+ <!-- 1. 顶部品牌条 -->
450
+ <div class="brand-bar">
451
+ <div class="brand-name">Darwin<span class="dot">.</span>skill</div>
452
+ <div class="brand-date" data-field="date">2026.04.14</div>
453
+ </div>
454
+
455
+ <!-- 2. 核心成就区 -->
456
+ <div class="hero-section">
457
+ <div class="ring-container">
458
+ <svg viewBox="0 0 200 200" width="280" height="280">
459
+ <defs>
460
+ <linearGradient id="orangeGradient" x1="0%" y1="0%" x2="100%" y2="100%">
461
+ <stop offset="0%" stop-color="#E8590C"/>
462
+ <stop offset="100%" stop-color="#FF8A4C"/>
463
+ </linearGradient>
464
+ </defs>
465
+ <!-- 背景虚线环 -->
466
+ <circle cx="100" cy="100" r="85" class="ring-bg"/>
467
+ <!-- 进度弧 -->
468
+ <circle cx="100" cy="100" r="85" class="ring-progress"/>
469
+ </svg>
470
+ <div class="ring-center">
471
+ <div>
472
+ <span class="ring-score" data-field="score-after">87</span><span class="ring-max">/100</span>
473
+ </div>
474
+ <div class="ring-label">质量总分</div>
475
+ </div>
476
+ </div>
477
+
478
+ <div class="hero-text">
479
+ <div class="hero-title">
480
+ 我的Skill进化报告<br>
481
+ <span class="hero-skill-name" data-field="skill-name">审校降AI味</span>
482
+ </div>
483
+ <div class="hero-journey">
484
+ 从 <strong data-field="score-before">72</strong> 分进化到 <strong>87</strong> 分<br>
485
+ <span style="color:#999;font-size:14px;" data-field="skill-id">huashu-proofreading</span>
486
+ </div>
487
+ <div class="delta-badge">
488
+ <span data-field="score-delta">+15</span>
489
+ <span class="delta-badge-label">分</span>
490
+ </div>
491
+ </div>
492
+ </div>
493
+
494
+ <!-- 3. 最大突破区 -->
495
+ <div class="breakthrough-section">
496
+ <div class="breakthrough-card primary">
497
+ <div class="breakthrough-label">最大突破</div>
498
+ <div class="breakthrough-dim" data-field="top1-name">指令精度</div>
499
+ <div class="breakthrough-score-row">
500
+ <span class="breakthrough-from" data-field="top1-from">5</span>
501
+ <span class="breakthrough-arrow">&rarr;</span>
502
+ <span class="breakthrough-to" data-field="top1-to">9</span>
503
+ </div>
504
+ <div class="breakthrough-pct" data-field="top1-pct">+80%</div>
505
+ <div class="breakthrough-story" data-field="top1-story">从模糊指令到精确可执行,指令精度翻了将近一倍</div>
506
+ </div>
507
+ <div class="breakthrough-card secondary">
508
+ <div class="breakthrough-label">第二突破</div>
509
+ <div class="breakthrough-dim" data-field="top2-name">工作流清晰度</div>
510
+ <div class="breakthrough-score-row">
511
+ <span class="breakthrough-from" data-field="top2-from">5</span>
512
+ <span class="breakthrough-arrow">&rarr;</span>
513
+ <span class="breakthrough-to" data-field="top2-to">8</span>
514
+ </div>
515
+ <div class="breakthrough-pct" data-field="top2-pct">+60%</div>
516
+ <div class="breakthrough-story" data-field="top2-story">线性可执行步骤,每步都有明确检查点</div>
517
+ </div>
518
+ </div>
519
+
520
+ <!-- 4. 全维度速览 -->
521
+ <div class="dims-section">
522
+ <div class="dims-header">八维度全景</div>
523
+ <div class="dims-grid">
524
+ <div class="dim-cell warm">
525
+ <div class="dim-name">元数据</div>
526
+ <div class="dim-score-row">
527
+ <span class="dim-old-score">6</span>
528
+ <span class="dim-score">8</span>
529
+ </div>
530
+ <span class="dim-arrow up-mid">+2</span>
531
+ </div>
532
+ <div class="dim-cell hot">
533
+ <div class="dim-name">工作流</div>
534
+ <div class="dim-score-row">
535
+ <span class="dim-old-score">5</span>
536
+ <span class="dim-score">8</span>
537
+ </div>
538
+ <span class="dim-arrow up-big">+3</span>
539
+ </div>
540
+ <div class="dim-cell hot">
541
+ <div class="dim-name">边界覆盖</div>
542
+ <div class="dim-score-row">
543
+ <span class="dim-old-score">4</span>
544
+ <span class="dim-score">7</span>
545
+ </div>
546
+ <span class="dim-arrow up-big">+3</span>
547
+ </div>
548
+ <div class="dim-cell">
549
+ <div class="dim-name">检查点</div>
550
+ <div class="dim-score-row">
551
+ <span class="dim-old-score">6</span>
552
+ <span class="dim-score">7</span>
553
+ </div>
554
+ <span class="dim-arrow up-small">+1</span>
555
+ </div>
556
+ <div class="dim-cell hot">
557
+ <div class="dim-name">指令精度</div>
558
+ <div class="dim-score-row">
559
+ <span class="dim-old-score">5</span>
560
+ <span class="dim-score">9</span>
561
+ </div>
562
+ <span class="dim-arrow up-big">+4</span>
563
+ </div>
564
+ <div class="dim-cell">
565
+ <div class="dim-name">资源整合</div>
566
+ <div class="dim-score-row">
567
+ <span class="dim-old-score">7</span>
568
+ <span class="dim-score">8</span>
569
+ </div>
570
+ <span class="dim-arrow up-small">+1</span>
571
+ </div>
572
+ <div class="dim-cell warm">
573
+ <div class="dim-name">整体架构</div>
574
+ <div class="dim-score-row">
575
+ <span class="dim-old-score">6</span>
576
+ <span class="dim-score">8</span>
577
+ </div>
578
+ <span class="dim-arrow up-mid">+2</span>
579
+ </div>
580
+ <div class="dim-cell hot">
581
+ <div class="dim-name">实测表现</div>
582
+ <div class="dim-score-row">
583
+ <span class="dim-old-score">5</span>
584
+ <span class="dim-score">8</span>
585
+ </div>
586
+ <span class="dim-arrow up-big">+3</span>
587
+ </div>
588
+ </div>
589
+ </div>
590
+
591
+ <!-- 5. 改进摘要 -->
592
+ <div class="summary-section">
593
+ <div class="summary-header">关键改进</div>
594
+ <div class="summary-items">
595
+ <div class="summary-item" data-field="improve-1">补充异常处理fallback路径,边界覆盖从4飙升到7</div>
596
+ <div class="summary-item" data-field="improve-2">工作流重组为线性可执行步骤,每步可验证</div>
597
+ <div class="summary-item" data-field="improve-3">测试prompt覆盖率从60%提升到95%,实测表现大幅进化</div>
598
+ </div>
599
+ </div>
600
+
601
+ <!-- 6. 底部品牌区 -->
602
+ <div class="footer">
603
+ <div class="footer-left">
604
+ <div class="footer-brand">Darwin<span class="dot">.</span>skill</div>
605
+ <div class="footer-slogan">像训练模型一样进化你的Skills</div>
606
+ </div>
607
+ <div class="footer-right">
608
+ <div class="footer-url">github.com/alchaincyf/darwin-skill</div>
609
+ <div class="footer-by">by 花叔</div>
610
+ </div>
611
+ </div>
612
+
613
+ </div>
614
+
615
+ </body>
616
+ </html>