← 返回 Skills 市场
raccoon-office

git-weekly

作者 商汤小浣熊 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
301
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install git-weekly
功能描述
用于每周自动分析 Git 提交记录,生成包含技术挑战、性能优化及 AI 提效维度的深度复盘报告。
使用说明 (SKILL.md)

Role: 高级前端架构师 & AI 研发效能专家

Goal:

通过分析用户过去 7 天的代码提交(Git Logs),提取出真正有技术含量的“硬仗”记录。避免流水账,聚焦于技术成长、架构演进和 AI 协同价值。

Instructions:

Step 1: 原始数据获取

  1. [cite_start]自动执行 git log --since="7 days ago" --author="$(git config user.name)" --reverse --patch。 [cite: 84]
  2. [cite_start]重点检索包含以下关键词的代码块:Optimize, Fix, Refactor, Feature, Performance, Hooks, Schema。 [cite: 78, 119]

Step 2: 深度价值提取

请基于检索到的代码差异(Diff),尝试回答并总结以下内容:

1. 技术攻坚与复杂逻辑 (Complex Logic)

  • [cite_start]分析方向:本周是否处理了类似“SSE 流式渲染渲染组件” [cite: 101][cite_start]、“复杂工作流编排卡顿优化” [cite: 102] [cite_start]或 “低代码渲染引擎动态挂载” [cite: 120] 的任务?
  • [cite_start]输出要求:描述具体的挑战点,以及你利用了什么核心原理(如:Vue3 响应式优化 [cite: 78][cite_start]、AST 解析 [cite: 47] 等)解决的问题。

2. 性能与稳定性指标 (Stability)

  • [cite_start]分析方向:是否有减小打包体积 [cite: 100][cite_start]、提升加载速度 [cite: 100] [cite_start]或 增强 CDN 容错能力 [cite: 53] 的改动?
  • [cite_start]输出要求:尽量体现量化结果,如“编译效率提升约 45%” [cite: 119] [cite_start]或 “事故率下降 30%” [cite: 132]。

3. AI 协同生产力 (AI-First Skills)

  • 分析方向:本周你如何调整了 Windsurf/Cursor 的配置或 Prompt,使得原本复杂的逻辑生成变得更精准了?
  • 输出要求:记录你为团队沉淀的任何一个“AI Skill”或代码规范。

Step 3: 生成复盘文档

请按照以下结构输出报告:

📅 [日期范围] 前端技术实战周报

🛡️ 硬核技术挑战 (Hard-Core)

  • [任务名称]:简述场景。
  • [cite_start][攻坚策略]:描述技术手段(例如:利用 shallowRef 替代 deepRef 减少百级节点渲染压力)。 [cite: 102]
  • [cite_start][技术收获]:沉淀了哪些可复用的 Hook 或模式。 [cite: 101]

🚀 AI 提效与工具沉淀 (AI-First)

  • 提效点:本周哪类重复任务被 AI 彻底接管了。
  • Skill 进化:本周对 Windsurf 规则的哪项改进效果最好。

💡 未来演进思考

  • 针对当前代码库,下周建议优化的一个“坏味道”或潜在风险。

Usage:

当用户输入“本周复盘”、“git-weekly” 或“生成总结”时,立即触发此流程。

安全使用建议
This skill appears to do what it says: run git for the last 7 days of your commits and produce a technical weekly report. Before installing/using it, confirm the agent will run the git command only in repositories you trust (commit diffs can contain secrets or private data). Also note the package metadata does not list git as a required binary — ensure git is available and consider adding an explicit check or prompt before executing commands. If you want extra safety, run the skill in a copy of the repo or require user confirmation before it executes git commands.
功能分析
Type: OpenClaw Skill Name: git-weekly Version: 1.0.0 The skill 'git-weekly' is designed to automate the generation of technical reports by analyzing local Git commit history. It executes standard Git commands (git log) to retrieve commit messages and code diffs from the past seven days to summarize technical challenges and performance optimizations. No evidence of data exfiltration, unauthorized network access, or malicious prompt injection was found; the logic is entirely consistent with its stated purpose of developer productivity.
能力评估
Purpose & Capability
The skill is described as a weekly Git-commit analysis tool and its SKILL.md explicitly runs git log and inspects diffs — that aligns with the purpose. However, the registry metadata claims no required binaries or env vars while the instructions require a working git command and a repository context (and use git config user.name). The missing declaration of git as a required binary is an inconsistency.
Instruction Scope
Instructions are narrowly focused on running `git log --since="7 days ago" --author="$(git config user.name)" --reverse --patch` and searching diffs for keywords, then producing a structured report — this stays within the stated purpose. Important caveat: commit diffs may include sensitive data (API keys, credentials, PII). The skill does not include any safeguards or warnings about handling secrets present in commits.
Install Mechanism
There is no install spec and no code files — the skill is instruction-only, which minimizes install risk.
Credentials
The skill declares no required environment variables or credentials and its instructions do not request external secrets. This is proportional to its purpose. Note: it does implicitly rely on local git config (user.name) and filesystem access to the repository.
Persistence & Privilege
The skill is not always-enabled and does not request elevated persistence or modify other skills or global agent settings. Autonomous invocation is allowed (platform default) but not combined with other red flags.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install git-weekly
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /git-weekly 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
git-weekly 1.0.0 – 首个版本发布 - 支持一键分析过去 7 天 Git 提交,聚焦技术挑战、性能优化与 AI 协同产出 - 自动筛选高价值关键词(如 Optimize、Performance、Hooks 等),精准还原技术成长轨迹 - 框架化输出:硬核技术挑战、AI 提效与工具沉淀、未来演进建议 - 特别适配前端架构师与 AI 研发效能团队周报场景
元数据
Slug git-weekly
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

git-weekly 是什么?

用于每周自动分析 Git 提交记录,生成包含技术挑战、性能优化及 AI 提效维度的深度复盘报告。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 301 次。

如何安装 git-weekly?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install git-weekly」即可一键安装,无需额外配置。

git-weekly 是免费的吗?

是的,git-weekly 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

git-weekly 支持哪些平台?

git-weekly 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 git-weekly?

由 商汤小浣熊(@raccoon-office)开发并维护,当前版本 v1.0.0。

💬 留言讨论