Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
c49e23e
release: v1.38.0 with continue-claude-work and skill-creator enhancem…
daymade Mar 7, 2026
6dc2805
fix(pdf-creator): restore list spacing preprocessor for pandoc
daymade Mar 11, 2026
29f85d2
docs(github-contributor): add high-quality PR formula and investigati…
daymade Mar 11, 2026
135a187
feat(transcript-fixer): add timestamp repair and section splitting sc…
daymade Mar 11, 2026
042c837
feat(claude-export-txt-better): add Claude Code export file fixer
daymade Mar 11, 2026
6c30b56
feat(skill-creator): add Step 0 prerequisites check with auto-install
daymade Mar 16, 2026
d8a7d45
refactor(CLAUDE.md): slim from 1549 to 318 lines via progressive disc…
daymade Mar 18, 2026
2192458
release: add scrapling-skill and fix script compatibility
daymade Mar 18, 2026
d4634cb
security: remove leaked API key from security.py docstring examples
daymade Mar 19, 2026
a496c91
fix: prevent dictionary false positives + add tunnel-doctor WSL/Go fi…
daymade Mar 21, 2026
639a6d3
feat(transcript-fixer): native AI correction as default mode (v1.3.0)
daymade Mar 22, 2026
ee38ae4
feat: add asr-transcribe-to-text skill + optimize skill-creator with …
daymade Mar 22, 2026
143995b
refactor: rename markdown-tools → doc-to-markdown (v2.0.0)
daymade Mar 22, 2026
a5f3a4b
fix(tunnel-doctor): add OrbStack transparent proxy + TUN conflict dia…
daymade Mar 22, 2026
d9e1967
feat(doc-to-markdown): CJK bold spacing, JSON pretty-print, 31 tests,…
daymade Mar 22, 2026
b9facf3
fix(doc-to-markdown): update marketplace.json description and version…
daymade Mar 22, 2026
87221d9
feat(pdf-creator): add theme system + Chrome backend; add terraform-s…
daymade Apr 2, 2026
6d261ce
feat(deep-research): V6.1 source accessibility policy and Counter-Rev…
daymade Apr 4, 2026
cafabd7
refactor(deep-research): replace case study company with ByteDance ex…
daymade Apr 4, 2026
28cd6bd
feat: add douban-skill + enhance skill-creator with development metho…
daymade Apr 4, 2026
0715ffb
feat: add three-layer PII defense system (pre-commit + gitleaks + CLA…
daymade Apr 4, 2026
5538258
Update capture-screen skill docs and versioning
daymade Apr 4, 2026
2ab0a76
chore: ignore .skill artifacts and remove tracked packages
daymade Apr 4, 2026
cfa702d
fix(skill-creator): replace 500-line hard limit with info density pri…
daymade Apr 4, 2026
22de8f0
Fix claude-code-history-files-finder: preserve directory structure on…
daymade Apr 5, 2026
2833aae
Fix PII: replace /Users/username/ with ~ and <username> placeholder
daymade Apr 5, 2026
ccc10f3
docs: update docs for directory structure preservation (v1.0.2)
daymade Apr 5, 2026
5c9eda4
feat: optimize skills + add pipeline handoff chaining across 9 skills
daymade Apr 5, 2026
efda299
feat(cli-demo-generator): deep rewrite with battle-tested VHS patterns
daymade Apr 6, 2026
6819943
chore: bump transcript-fixer skill version
daymade Apr 6, 2026
2097ffb
feat: add marketplace-dev skill for converting skills repos to plugin…
daymade Apr 6, 2026
1ff1499
feat: add pre-flight checklist hooks to marketplace-dev skill
daymade Apr 6, 2026
c120cd4
feat: add PostToolUse hook to auto-validate marketplace.json on edit
daymade Apr 6, 2026
6739806
feat: add SKILL.md edit hook — warns to bump version in marketplace.json
daymade Apr 6, 2026
22ec9f0
feat(twitter-reader): add fetch_article.py for X Articles with images
daymade Apr 6, 2026
000596d
chore(twitter-reader): bump version to 1.1.0
daymade Apr 6, 2026
9242af5
Update transcript-fixer guidance and hook paths
daymade Apr 6, 2026
edaeaa8
fix(pdf-creator): resolve CJK text garbled in weasyprint code blocks
daymade Apr 8, 2026
6bb8d7f
fix(pdf-creator): extend CJK coverage + handle pandoc-highlighted cod…
daymade Apr 10, 2026
4c11e85
feat(ima-copilot): add Tencent IMA companion skill v1.0.0
daymade Apr 11, 2026
dc52d49
feat(skill-creator): add wrapper-skill specialized workflow v1.7.0
daymade Apr 11, 2026
c798cdf
fix: counter-review findings for ima-copilot v1.0.1 + skill-creator v…
daymade Apr 11, 2026
208ba99
fix(skill-creator): wrapper-skill workflow completeness pass v1.7.2
daymade Apr 11, 2026
e1d818f
fix(mermaid-tools): narrow plugin snapshot
daymade Apr 11, 2026
3a09335
fix(skill-creator): declare validation dependencies
daymade Apr 11, 2026
8fc8d88
feat(marketplace): add daymade docs suite
daymade Apr 11, 2026
8aa53db
refactor(daymade-docs): make suite canonical source
daymade Apr 11, 2026
6cc31da
feat(marketplace-dev): add cache boundary workflow
daymade Apr 11, 2026
26a8265
feat(gangtise-copilot): add Gangtise OpenAPI companion skill v1.0.0
daymade Apr 11, 2026
334b697
feat: register 3 orphan skills (v1.46.0) + marketplace-dev v1.2.0 refine
daymade Apr 11, 2026
ce62873
docs: sync add-skill SOP with check_marketplace.sh and git add safety
daymade Apr 11, 2026
9c370d1
feat(wechat-article-scraper): v2.9.0 世界级微信文章抓取方案
daymade Apr 11, 2026
b4d4b79
feat(wechat-article-scraper): v2.9.1 新增视频提取功能
daymade Apr 11, 2026
3e175d1
chore(marketplace): 更新 wechat-article-scraper 版本到 3.0.0
daymade Apr 11, 2026
395a62b
chore(marketplace): 更新 wechat-article-scraper 版本到 3.0.1
daymade Apr 11, 2026
b1ccde4
chore(marketplace): 更新 wechat-article-scraper 版本到 3.0.2
daymade Apr 11, 2026
6d434e4
refactor(wechat-article-scraper): migrate 48 print statements to stan…
daymade Apr 11, 2026
cdc8b1b
feat(wechat-article-scraper): add SQLite caching system v3.1.0
daymade Apr 11, 2026
cc45529
feat(wechat-article-scraper): add content quality scoring system v3.2.0
daymade Apr 11, 2026
b93a645
feat(wechat-article-scraper): add automated test framework v3.3.0
daymade Apr 11, 2026
cdabdb7
feat(wechat-article-scraper): add Docker containerization support v3.4.0
daymade Apr 11, 2026
04ec4e2
chore(wechat-article-scraper): bump version to 3.5.0
daymade Apr 11, 2026
e9eb9f0
chore(wechat-article-scraper): bump version to 3.6.0 in marketplace.json
daymade Apr 11, 2026
8b32530
chore(wechat-article-scraper): bump version to 3.7.0 in marketplace.json
daymade Apr 11, 2026
437ac86
chore(wechat-article-scraper): bump version to 3.8.0 in marketplace.json
daymade Apr 11, 2026
903006d
chore(wechat-article-scraper): bump version to 3.9.0 in marketplace.json
daymade Apr 11, 2026
3b0ff54
chore(wechat-article-scraper): bump version to 3.10.0 in marketplace.…
daymade Apr 11, 2026
2e30d68
chore(wechat-article-scraper): bump version to 3.11.0 in marketplace.…
daymade Apr 11, 2026
6780eba
chore(wechat-article-scraper): bump version to 3.12.0 in marketplace.…
daymade Apr 11, 2026
d1c5095
chore(wechat-article-scraper): bump version to 3.13.0 in marketplace.…
daymade Apr 11, 2026
4dfd629
feat(wechat-article-scraper): add SQLite persistent storage v3.14.0
daymade Apr 11, 2026
3335fd6
feat(wechat-article-scraper): add batch task queue system v3.15.0
daymade Apr 11, 2026
f91b512
Release v3.16.0: Add modern React Web Dashboard for wechat-article-sc…
daymade Apr 11, 2026
94434bf
Release v3.17.0: Add RSS Generator and Document Advanced Features
daymade Apr 11, 2026
ad64b3b
Release v3.18.0: Add AI Summarizer and Webhook Notifier
daymade Apr 11, 2026
17861c1
Release v3.19.0: Add Third-Party Platform Exporters
daymade Apr 11, 2026
278a00a
feat(wechat-article-scraper): v3.20.0 - Add browser extension support
daymade Apr 11, 2026
a0ea046
feat(wechat-article-scraper): v3.21.0 - Add native CLI
daymade Apr 11, 2026
3b8b40e
chore(marketplace): update wechat-article-scraper keywords and descri…
daymade Apr 11, 2026
939faee
ci: move GitHub Actions workflow to correct location
daymade Apr 11, 2026
ef6f4d7
ci: fix macOS x64 runner to use macos-12
daymade Apr 11, 2026
3c208c5
ci: fix CLI build and Docker context issues
daymade Apr 11, 2026
b62c04e
chore: bump wechat-article-scraper version to 3.22.0
daymade Apr 11, 2026
73ce9ad
feat(wechat-article-scraper): 数据可视化仪表盘 Dashboard v1.0
daymade Apr 12, 2026
e273750
feat(wechat-article-scraper): AI智能分析引擎 v1.0
daymade Apr 12, 2026
28418e8
feat(wechat-article-scraper): 语义搜索与向量检索 v1.0
daymade Apr 12, 2026
e00b60c
feat(wechat-article-scraper): 自动化工作流引擎 v1.0
daymade Apr 12, 2026
157f69d
feat(wechat-article-scraper): 团队协作与第三方集成 v1.0
daymade Apr 12, 2026
42d422b
feat(wechat-article-scraper): 批量操作与多格式导出 v1.0
daymade Apr 12, 2026
e146688
feat(wechat-article-scraper): 浏览器扩展 v2.0 完善
daymade Apr 12, 2026
a102393
feat(wechat-article-scraper): 舆情监控系统 v1.0
daymade Apr 12, 2026
9ed87fe
feat(wechat-article-scraper): 数据可视化与智能分析系统 v1.0
daymade Apr 12, 2026
44900c8
feat(wechat-article-scraper): 智能写作助手 v1.0
daymade Apr 12, 2026
5999a93
feat(wechat-article-scraper): 定时任务与自动化系统 v1.0
daymade Apr 12, 2026
d0be800
feat(round92): 微信生态深度集成 - 实现 Cubox 级别"转发即收藏"体验
daymade Apr 12, 2026
ff0ffab
test(round93): 核心功能验证基准测试框架
daymade Apr 12, 2026
16f3fcd
ci(round94): GitHub Actions CI/CD 流水线
daymade Apr 12, 2026
828323d
feat(wechat-article-scraper): Round 95 - 集成 ftr-site-config 站点规则库
daymade Apr 12, 2026
f36a386
docs: update COMPETITOR_MATRIX - Edge TTS completed
daymade Apr 12, 2026
3138bbc
feat(wechat-article-scraper): v3.34.0 导出功能 + 移动端响应式布局
daymade Apr 12, 2026
373a4f7
feat(wechat-article-scraper): v3.35.0 阅读器主题系统
daymade Apr 12, 2026
b0b6273
feat: 强化浏览器扩展方案,放弃后端抓取幻想
daymade Apr 12, 2026
3bcfdaa
chore(git): ignore generated artifacts
daymade Apr 13, 2026
877fc07
chore(security): defensive configs + archive ralph logs
daymade Apr 14, 2026
db994af
chore: remove wechat-article-scraper from marketplace registry
daymade Apr 14, 2026
43a02ec
chore: remove wechat-article-scraper release workflow
daymade Apr 14, 2026
59f9a20
feat(gangtise-copilot): add one-shot installation guide and bump to v…
Parsnip113 Apr 15, 2026
f8c8efc
feat(marketplace): add daymade-claude-code suite with canonical source
daymade Apr 19, 2026
eaa222f
chore: ignore Claude Code local settings and archive
daymade Apr 19, 2026
b18b9bc
feat(slides-creator): add narrative-first slide deck creation skill v…
daymade Apr 19, 2026
c0d75c0
chore(marketplace): register slides-creator v1.0.0 and bump to v1.49.0
daymade Apr 19, 2026
a3b3c8c
refactor(marketplace): flatten suite directories to repo root
daymade Apr 26, 2026
dcfb38b
chore(gitignore): ignore debugging-network-issues-workspace/
daymade Apr 26, 2026
ed6d28b
feat(marketplace): register debugging-network-issues + stepfun-tts an…
daymade Apr 26, 2026
ec7c313
feat(pdf-creator): CJK typography auto-injection + theme refinements …
daymade Apr 26, 2026
f3182f7
fix(pdf-creator): typography size unity + integration test path
daymade Apr 26, 2026
3cb9823
fix(pdf-creator): add CJK font fallback for inline code (default theme)
daymade Apr 26, 2026
9ff3352
fix(pdf-creator): keep table rows intact across page breaks
daymade Apr 26, 2026
11b096f
fix(pdf-creator): force CJK chars in inline code to use CJK fonts (no…
daymade Apr 26, 2026
6f29306
fix(pdf-creator): prefer CID TrueType CJK fonts over OpenType in code…
daymade Apr 26, 2026
04e404f
fix(pdf-creator): neutralize pandoc auto-emitted <col width> from das…
daymade Apr 26, 2026
80e94fd
docs(pdf-creator): troubleshoot — CJK in inline code (Preview) + col1…
daymade Apr 27, 2026
b2003d6
feat(statusline-generator): context window display with token counts …
daymade Apr 28, 2026
49cdca8
feat: add bilibili-content skill — B站字幕提取+评论精华
gridel-li Apr 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,271 changes: 817 additions & 454 deletions .claude-plugin/marketplace.json

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions .claude/archive/ralph-loop.local.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
active: true
iteration: 390
session_id:
max_iterations: 0
completion_promise: null
started_at: "2026-04-11T19:55:07Z"
---

使用这个技能,直到我们超越所有的竞品,每一轮开始的时候,你都要去分析我们当前的这个skill和我们所有的竞品的差距是什么,取其精华,去其糟粕
21 changes: 21 additions & 0 deletions .claude/archive/ralph-round-68.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Ralph Loop Round 68 - Completed

## 竞品差距分析
当前 v3.25.0 vs 竞品能力矩阵:
- wcplusPro: 付费护城河 = 自动化工作流
- 新榜/西瓜数据: 无工作流功能
- 开源竞品: 完全无此功能

Gap: 工作流引擎是 wcplusPro 的付费核心功能,无任何开源实现

## 实施结果
- 自动化工作流引擎 v1.0 ✅
- RESTful API + WebSocket ✅
- CLI w workflow 命令组 ✅
- 46个唯一支持特性 ✅

## 版本
v3.25.0 → v3.26.0

## 提交
3f61ffd feat(wechat-article-scraper): 自动化工作流引擎 v1.0
29 changes: 29 additions & 0 deletions .claude/archive/ralph-round-69.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Ralph Loop Round 69 - Completed

## 竞品差距分析
当前 v3.26.0 vs 竞品能力矩阵:
- wcplusPro: 第二付费护城河 = 团队协作 + 数据同步到Notion/语雀
- 新榜/西瓜数据: 无团队协作功能
- 开源竞品: 完全无此功能

Gap: 团队协作是 wcplusPro 的另一付费核心功能,无任何开源实现

## 实施结果
- 团队协作系统 v1.0 ✅
- 多用户管理、RBAC权限(admin/member/viewer)
- 团队共享工作区、文章收藏夹
- 文章标注系统(标签/评论/高亮)
- 邀请码机制
- 第三方集成 v1.0 ✅
- Notion API 数据库同步
- 语雀 API 知识库归档
- Airtable 表格同步
- w team CLI命令组 ✅
- w sync CLI命令组 ✅
- 48个唯一支持特性 ✅

## 版本
v3.26.0 → v3.27.0

## 提交
81fcc97 feat(wechat-article-scraper): 团队协作与第三方集成 v1.0
33 changes: 33 additions & 0 deletions .claude/archive/ralph-round-70.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Ralph Loop Round 70 - Completed

## 竞品差距分析
当前 v3.27.0 vs 竞品能力矩阵:
- wcplusPro: 付费功能 = 数据导出(Excel/PDF/Word) + 批量操作 + 高级筛选
- 新榜/西瓜数据: 基础导出功能
- 开源竞品: 无此功能

Gap: 丰富的数据导出和批量操作是 wcplusPro 的核心付费功能

## 实施结果
- 多格式导出引擎 v1.0 ✅
- Excel: 样式美化、多sheet、统计图表
- PDF: 中文支持、分页优化
- Word: 格式保持、目录生成
- Markdown/JSON/CSV: 标准格式
- 导出模板系统(自定义字段、样式)
- 高级筛选系统 v1.0 ✅
- 多条件组合筛选(AND/OR逻辑)
- 条件类型: 时间/公众号/关键词/阅读量/标签
- 筛选模板保存/加载
- 批量操作引擎 v1.0 ✅
- 批量导出/编辑/同步/删除
- 任务队列和进度追踪
- 操作历史记录
- w export/filter/batch CLI命令组 ✅
- 51个唯一支持特性 ✅

## 版本
v3.27.0 → v3.28.0

## 提交
37211c6 feat(wechat-article-scraper): 批量操作与多格式导出 v1.0
37 changes: 37 additions & 0 deletions .claude/archive/ralph-round-71.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Ralph Loop Round 71 - Completed

## 竞品差距分析
当前 v3.28.0 vs 竞品能力矩阵:
- wcplusPro: 有成熟的 Chrome 扩展用于一键采集
- 新榜/西瓜数据: 有自己的浏览器插件
- 开源竞品: 无此功能

Gap: 浏览器扩展是用户便捷使用的重要入口

## 实施结果
- 浏览器扩展 v2.0 完善 ✅
- Chrome/Firefox Manifest V3 扩展
- Content Script: 页面内容提取、文章数据解析
- 标题、作者、发布时间提取
- 正文内容提取(段落、HTML)
- 图片提取(data-src、data-backsrc)
- 视频提取
- 互动数据读取(阅读数、点赞数、在看数)
- Background Script: 右键菜单、快捷键、自动下载
- 右键菜单:抓取文章、抓取并下载图片、打开仪表盘
- 快捷键:Ctrl+Shift+S 快速抓取
- Tab 状态监听和徽章显示
- Popup UI: 格式选择、进度显示、结果操作
- 状态检测(是否在文章页面)
- 格式选择:Markdown/HTML/JSON
- 设置开关:保存本地、上传服务器、自动分类
- 进度条和结果展示
- 查看/下载/复制结果
- w extension CLI命令: install/pack/check
- v3.29.0, 52个唯一支持特性 ✅

## 版本
v3.28.0 → v3.29.0

## 提交
6c5f24d feat(wechat-article-scraper): 浏览器扩展 v2.0 完善
24 changes: 24 additions & 0 deletions .claude/archive/ralph-round-72.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Ralph Loop Round 72 - Completed

## 竞品差距分析
当前 v3.29.0 vs 竞品能力矩阵:
- wcplusPro: 无舆情监控功能
- 新榜/西瓜数据: 有数据监控但无敏感内容检测
- 开源竞品: 无此功能

Gap: 舆情监控是企业级用户的刚需,特别是敏感内容检测和危机预警

## 实施结果
- 舆情监控系统 v1.0 ✅
- 敏感词检测: 6大类别敏感词库 (政治/色情/暴力/赌博/毒品/诈骗)
- 品牌提及追踪: 追踪品牌/关键词在文章中的提及
- 情感趋势分析: 正面/中性/负面情绪监控
- 危机预警系统: 异常传播速度检测、敏感内容预警
- CLI集成: `w sentiment` 命令 (word/brand/alert/trend/stats/scan)
- v3.30.0, 53个唯一支持特性 ✅

## 版本
v3.29.0 → v3.30.0

## 提交
7719c53 feat(wechat-article-scraper): 舆情监控系统 v1.0
24 changes: 24 additions & 0 deletions .claude/archive/ralph-round-73.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Ralph Loop Round 73 - Completed

## 竞品差距分析
当前 v3.30.0 vs 竞品能力矩阵:
- wcplusPro: 有强大的数据可视化图表和竞品分析(付费功能)
- 新榜/西瓜数据: 有数据监控看板、热点追踪
- 开源竞品: 无此功能

Gap: 数据可视化仪表盘、竞品分析、AI洞察报告是 wcplusPro/新榜的核心付费功能

## 实施结果
- 数据可视化与智能分析系统 v1.0 ✅
- 数据仪表盘 (analytics_dashboard.py): ECharts配置、阅读趋势、互动热力图、文章排行、公众号健康度
- 竞品分析系统 (competitor_analyzer.py): 多账号对比、竞争力评分、内容策略分析、最佳发布时间
- AI智能洞察 (ai_insights.py): 趋势分析、异常检测、自动运营建议、健康度评分
- 热点追踪 (hot_topics.py): 自动发现热点、话题聚类、传播速度监控、生命周期追踪
- CLI集成: `w analytics` 统一入口 (trends/top/metrics/report/heatmap/compare/insights/topics)
- v3.31.0, 57个唯一支持特性 ✅

## 版本
v3.30.0 → v3.31.0

## 提交
e4109dd feat(wechat-article-scraper): 数据可视化与智能分析系统 v1.0
24 changes: 24 additions & 0 deletions .claude/archive/ralph-round-74.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Ralph Loop Round 74 - Completed

## 竞品差距分析
当前 v3.31.0 vs 竞品能力矩阵:
- wcplusPro: 有AI写作助手(标题生成、摘要、改写)
- 新榜/西瓜数据: 有素材库管理、自动排版
- 开源竞品: 无此功能

Gap: AI写作辅助、素材库管理是竞品的付费核心功能

## 实施结果
- 智能写作助手 v1.0 ✅
- AI标题生成器 (writing_assistant.py/TitleGenerator): 8种爆款公式、A/B测试、CTR预测
- 智能摘要生成 (Summarizer): 5种风格(新闻/营销/极简/故事/要点)
- 内容改写润色 (ContentRewriter): 5种风格转换、语气调整
- 素材库管理 (material_library.py): 文案/图片/链接收藏、标签分类、全文搜索
- CLI集成: `w writing` 命令(title/summary/rewrite/analyze/material)
- v3.32.0, 61个唯一支持特性 ✅

## 版本
v3.31.0 → v3.32.0

## 提交
b8bbc08 feat(wechat-article-scraper): 智能写作助手 v1.0
24 changes: 24 additions & 0 deletions .claude/archive/ralph-round-75.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Ralph Loop Round 75 - Completed

## 竞品差距分析
当前 v3.32.0 vs 竞品能力矩阵:
- wcplusPro: 有自动采集、定时任务(付费功能)
- 新榜/西瓜数据: 有定时监控、通知提醒
- 开源竞品: 无此功能

Gap: 定时任务调度、自动采集、通知提醒是竞品的付费核心功能

## 实施结果
- 定时任务与自动化系统 v1.0 ✅
- 任务调度器 (task_scheduler.py): Cron表达式解析、任务调度循环、多任务类型支持
- 任务执行日志: 执行记录、成功率统计、错误追踪、历史查询
- 通知系统 (notification_system.py): 邮件/SMTP、Webhook回调、5种通知模板、通知历史
- 5种内置任务类型: scrape/export/backup/cleanup/custom
- CLI集成: `w scheduler` 命令(create/list/run/toggle/delete/history/stats/daemon)
- v3.33.0, 64个唯一支持特性 ✅

## 版本
v3.32.0 → v3.33.0

## 提交
bccf5f3 feat(wechat-article-scraper): 定时任务与自动化系统 v1.0
53 changes: 53 additions & 0 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
#!/bin/bash
# Pre-commit hook: scan staged changes for sensitive data
# Install: git config core.hooksPath .githooks

set -euo pipefail

RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
NC='\033[0m'

echo "🔍 Scanning staged changes for sensitive data..."

FAILED=0

# Layer 1: gitleaks (if available)
if command -v gitleaks &>/dev/null; then
if ! gitleaks protect --staged --config .gitleaks.toml --no-banner 2>/dev/null; then
echo -e "${RED}❌ gitleaks found secrets in staged changes${NC}"
FAILED=1
fi
else
echo -e "${YELLOW}⚠ gitleaks not installed (brew install gitleaks), falling back to pattern scan${NC}"
fi

# Layer 2: fast regex scan (always runs, catches what gitleaks config might miss)
STAGED_DIFF=$(git diff --cached --diff-filter=ACDMR)

PATTERNS=(
'/Users/[a-zA-Z][a-zA-Z0-9_-]+/'
'/home/[a-zA-Z][a-zA-Z0-9_-]+/'
'C:\\Users\\[a-zA-Z]'
'songtiansheng'
'tiansheng'
'15366[0-9]+'
)

for pattern in "${PATTERNS[@]}"; do
MATCHES=$(echo "$STAGED_DIFF" | grep -nE "^\+" | grep -E "$pattern" | grep -v "^+++\|\.gitleaks\.toml\|\.githooks/\|\.gitignore\|placeholder\|example\|CLAUDE\.md" || true)
if [ -n "$MATCHES" ]; then
echo -e "${RED}❌ Found sensitive pattern '${pattern}':${NC}"
echo "$MATCHES" | head -5
FAILED=1
fi
done

if [ $FAILED -eq 1 ]; then
echo ""
echo -e "${RED}Commit blocked. Fix the issues above, or use --no-verify to bypass (not recommended).${NC}"
exit 1
fi

echo -e "${GREEN}✅ No sensitive data found in staged changes.${NC}"
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Which skill is affected?

- [ ] skill-creator
- [ ] github-ops
- [ ] markdown-tools
- [ ] doc-to-markdown
- [ ] mermaid-tools
- [ ] statusline-generator
- [ ] teams-channel-post-writer
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Which skill would this enhance?

- [ ] skill-creator
- [ ] github-ops
- [ ] markdown-tools
- [ ] doc-to-markdown
- [ ] mermaid-tools
- [ ] statusline-generator
- [ ] teams-channel-post-writer
Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Which skills are affected by this PR?

- [ ] skill-creator
- [ ] github-ops
- [ ] markdown-tools
- [ ] doc-to-markdown
- [ ] mermaid-tools
- [ ] statusline-generator
- [ ] teams-channel-post-writer
Expand Down
Loading