sumulige-claude 1.4.1 → 1.5.0

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/AGENTS.md CHANGED
@@ -442,12 +442,6 @@ Usage notes:
442
442
  <location>project</location>
443
443
  </skill>
444
444
 
445
- <skill>
446
- <name>api-tester</name>
447
- <description></description>
448
- <location>project</location>
449
- </skill>
450
-
451
445
  <skill>
452
446
  <name>brand-guidelines</name>
453
447
  <description>Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.</description>
@@ -460,12 +454,6 @@ Usage notes:
460
454
  <location>project</location>
461
455
  </skill>
462
456
 
463
- <skill>
464
- <name>code-reviewer-123</name>
465
- <description></description>
466
- <location>project</location>
467
- </skill>
468
-
469
457
  <skill>
470
458
  <name>design-brain</name>
471
459
  <description></description>
@@ -508,12 +496,6 @@ Usage notes:
508
496
  <location>project</location>
509
497
  </skill>
510
498
 
511
- <skill>
512
- <name>my-skill</name>
513
- <description></description>
514
- <location>project</location>
515
- </skill>
516
-
517
499
  <skill>
518
500
  <name>pdf</name>
519
501
  <description>Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.</description>
@@ -562,12 +544,6 @@ Usage notes:
562
544
  <location>project</location>
563
545
  </skill>
564
546
 
565
- <skill>
566
- <name>test-skill-name</name>
567
- <description></description>
568
- <location>project</location>
569
- </skill>
570
-
571
547
  <skill>
572
548
  <name>test-workflow</name>
573
549
  <description>Automated testing workflow that combines Playwright testing, Slack GIF recording, and test report generation. Use when user mentions "测试"、"test"、"Playwright" or asks for QA/testing workflows. Automatically generates: (1) Test execution with Playwright, (2) Slack-optimized GIF of test process, (3) Screenshot at each verification point, (4) Markdown test report with embedded screenshots.</description>
@@ -598,36 +574,6 @@ Usage notes:
598
574
  <location>project</location>
599
575
  </skill>
600
576
 
601
- <skill>
602
- <name>architect</name>
603
- <description>|</description>
604
- <location>global</location>
605
- </skill>
606
-
607
- <skill>
608
- <name>builder</name>
609
- <description>|</description>
610
- <location>global</location>
611
- </skill>
612
-
613
- <skill>
614
- <name>conductor</name>
615
- <description>|</description>
616
- <location>global</location>
617
- </skill>
618
-
619
- <skill>
620
- <name>librarian</name>
621
- <description>|</description>
622
- <location>global</location>
623
- </skill>
624
-
625
- <skill>
626
- <name>reviewer</name>
627
- <description>|</description>
628
- <location>global</location>
629
- </skill>
630
-
631
577
  </available_skills>
632
578
  <!-- SKILLS_TABLE_END -->
633
579
 
package/CHANGELOG.md CHANGED
@@ -1,3 +1,61 @@
1
+ ## [1.5.0](https://github.com/sumulige/sumulige-claude/compare/v1.4.1...v1.5.0) (2026-01-23)
2
+
3
+ ### 🚀 三层硬质量门控系统
4
+
5
+ **问题**:规则是文档,可以忽略。代码可以直接写,无需规划。质量检查仅在提交时触发。
6
+
7
+ **解决方案**:三层硬门控,从"事后检查"变为"事前预防"。
8
+
9
+ ```
10
+ ┌─────────────────────────────────────────────────────────────────┐
11
+ │ Layer 1: Plan Gate (PreToolUse) │
12
+ │ ──────────────────────────────── │
13
+ │ 无批准计划 → 阻止 Write/Edit │
14
+ │ 检查 ~/.claude/plans/ + 项目级 .claude/plans/ │
15
+ │ 24小时有效期 │
16
+ ├─────────────────────────────────────────────────────────────────┤
17
+ │ Layer 2: Live Quality (PostToolUse) │
18
+ │ ──────────────────────────────────── │
19
+ │ 文件行数 ≤ 800 | 函数长度 ≤ 50 行 │
20
+ │ 检测硬编码密钥 | 禁止 console.log │
21
+ │ 即时反馈 │
22
+ ├─────────────────────────────────────────────────────────────────┤
23
+ │ Layer 3: Strict Pre-commit │
24
+ │ ──────────────────────────────────── │
25
+ │ severity: warn (更严格) │
26
+ │ 启用 no-console-logs + function-length 规则 │
27
+ └─────────────────────────────────────────────────────────────────┘
28
+ ```
29
+
30
+ ### ✨ 新增
31
+
32
+ | 文件 | 用途 |
33
+ |------|------|
34
+ | `hooks/plan-gate.cjs` | PreToolUse 强制规划检查 |
35
+ | `hooks/live-quality.cjs` | PostToolUse 实时质量检查 |
36
+ | `rules/linus-style.md` | Linus 编程哲学规则 |
37
+ | `prompts/linus-architect.md` | 架构师 System Prompt |
38
+
39
+ ### 🔧 修改
40
+
41
+ | 文件 | 变更 |
42
+ |------|------|
43
+ | `settings.json` | 添加 PreToolUse 事件 |
44
+ | `hook-registry.json` | 注册 plan-gate + live-quality |
45
+ | `quality-gate.json` | 添加 planGate/liveQuality 配置,severity: warn |
46
+ | `pre-commit.cjs` | 使用配置的 severity,美化阻止提示 |
47
+
48
+ ### 🎯 效果
49
+
50
+ | 指标 | 之前 | 之后 |
51
+ |------|------|------|
52
+ | 未规划的代码 | 可以提交 | 被阻止 |
53
+ | 超大文件 | 提交时才发现 | 写入时立即警告 |
54
+ | 硬编码密钥 | 可能遗漏 | 立即检测 |
55
+ | 质量漂移 | 渐进恶化 | 持续监控 |
56
+
57
+ ---
58
+
1
59
  ## [1.4.1](https://github.com/sumulige/sumulige-claude/compare/v1.4.0...v1.4.1) (2026-01-23)
2
60
 
3
61
  ### 💡 契机