在大模型(LLM,Large Language Model)的Skill(技能)

摘要: 在大模型(LLM,Large Language Model)领域,Skill(技能) 可以理解为: 让大模型针对某一类特定任务,具备更稳定、更专业、更自动化处理能力的扩展模块。 你可以把它类比为: 大模型 = 操作系统(Windows) Skill = 安装的软件(Word、Excel、Visual 阅读全文
posted @ 2026-10-02 14:48 ENGINEER-F 阅读(5) 评论(0) 推荐(0)

reset 本地分支,重新提交后,再推送远端

摘要: 实例: $ git reset soft HEAD~1 $ git remove ./should_not_to_submitted.c $ git commit git rm 是 Git 中用来删除文件或移除文件追踪的核心命令。 以下是它最常用的两种核心用法: 1. 彻底删除(本地文件 + 仓库追 阅读全文
posted @ 2026-10-02 14:45 ENGINEER-F 阅读(3) 评论(0) 推荐(0)

Claude Code 的 Skill 很适合封装成“一键生成 AST 可视化 HTML”。

摘要: 可以,Claude Code 的 Skill 很适合封装成“一键生成 AST 可视化 HTML”。 常见做法有两种: 方案1:Skill 调用 Tree-sitter + Mermaid 输入: /analyze-ast drivers/pci/device.c Skill 自动执行: tree-s 阅读全文
posted @ 2026-09-30 13:48 ENGINEER-F 阅读(6) 评论(0) 推荐(0)

通用 void internaldeliver(void *ctx, packet *p); 解释一下其中 void *ctx的书写格式来历,这些写作的好处

摘要: void *ctx 这种写法在这份代码里其实是一个可以验证的具体模式,不是泛泛而谈。 来历 void * 是 ANSI C (C89) 里引入的"通用指针"类型——可以指向任意对象,且赋值给它或从它赋值给别的指针类型时不需要显式 cast(这点和 C++ 不同,C++ 要求显式转换)。ctx(con 阅读全文
posted @ 2026-09-28 18:19 ENGINEER-F 阅读(1) 评论(0) 推荐(0)

git commit -a - auto-indent?

摘要: 这是 Git 提交信息编辑器(通常是 Vim)自动生成的注释格式,不是 git commit -a 本身的行为。 你看到的可能类似: Implement Auto driving feature # Please enter the commit message for your changes. 阅读全文
posted @ 2026-09-27 09:14 ENGINEER-F 阅读(4) 评论(0) 推荐(0)

tmux usage - deeper

摘要: # Vim keys in copy mode setw -g mode-keys vi # Enable mouse set -g mouse on # Enter copy mode with PageUp bind -n PageUp copy-mode -u If you're a Vim 阅读全文
posted @ 2026-09-26 20:55 ENGINEER-F 阅读(2) 评论(0) 推荐(0)

Trial run(试运行一下) vs Trail run(越野跑)

摘要: You probably mean "trial run", not "trail run" or "trail wrong". 1. Trial run A trial run means a test or practice attempt before the real activity. E 阅读全文
posted @ 2026-09-26 20:42 ENGINEER-F 阅读(3) 评论(0) 推荐(0)

git reset --soft HEAD~1 回退到上一个提交 '撤销最近一次 commit,代码改动保留,改动仍在暂存区(staged)'

摘要: 如果你说的“摘到前一次提交”,常见有几种情况: 1. 回退到上一个提交(保留代码修改) git reset --soft HEAD~1 效果: 撤销最近一次 commit 代码改动保留 改动仍在暂存区(staged) 例如: A -> B -> C (HEAD) 执行后: A -> B (HEAD) 阅读全文
posted @ 2026-09-26 12:55 ENGINEER-F 阅读(7) 评论(0) 推荐(0)

Feature 分支开发过程中有很多中间提交(WIP、调试提交、临时提交),合入主分支时不想保留这些历史,只希望主分支看到 Feature 的最终结果。

摘要: 如果你的目标是: Feature 分支开发过程中有很多中间提交(WIP、调试提交、临时提交),合入主分支时不想保留这些历史,只希望主分支看到 Feature 的最终结果。 有几种常见做法。 方法1:Squash Merge(最推荐) 假设: main A B C feature A B C D E 阅读全文
posted @ 2026-09-25 21:06 ENGINEER-F 阅读(8) 评论(0) 推荐(0)

actioning or performing

摘要: actioning or performing Both actioning and performing can mean "carrying out something," but they are used differently. Actioning = taking action on a 阅读全文
posted @ 2026-09-25 14:14 ENGINEER-F 阅读(4) 评论(0) 推荐(0)