摘要:
Claude Code /rewind 详解:AI 改错了?一键回退 — Vincent's Blog 或者另一种情况:Claude 前面几轮回答都很好,但最后一轮走偏了。你想回到”走偏之前”那个节点,重新开始。 /rewind 就是你的后悔药。 一个命令,把代码和对话回退到任意历史节点。 /rew
阅读全文
posted @ 2026-08-05 15:46
PanPan003
阅读(33)
推荐(0)
摘要:
把已经重复解释 10 次、20 次的内容,从聊天上下文迁移到项目知识(Instructions)和 Skill 中。 这通常说明 Copilot 每次进入新会话时,都在做同样的事情: 383 次文件读取 27 个会话 频繁读取: 先看 Program.cs 再看依赖注入 再看项目结构 再判断组件关系
阅读全文
posted @ 2026-08-05 15:15
PanPan003
阅读(4)
推荐(0)
摘要:
Claude Code Token 烧得太快?这8个方案帮你立省90%!前言 token越来越贵了,而且高等级模型消耗的 - 掘金 6. 数据预处理 利用 PreToolUse 钩子(类似于请求拦截器),在 Claude 执行操作前,对输入的数据进行处理、压缩,从而达到减小token使用量。 示例:
阅读全文
posted @ 2026-08-05 14:47
PanPan003
阅读(9)
推荐(0)
摘要:
8.生成.claudeignore 配置之后,大模型在上下文分析和代码搜索时不会自动包含它们 可让AI直接生成一份配置文件:创建一个 .claudeignore 文件,帮我排除掉不必要的目录,比如 node_modules .copilotignore
阅读全文
posted @ 2026-08-05 14:28
PanPan003
阅读(2)
推荐(0)
posted @ 2026-08-05 14:26
PanPan003
阅读(7)
推荐(0)
摘要:
1. 在需求澄清结束后立即新开实现会话 45 回合的 **** 会话中,前 25 回合主要是连续确认需求,后面又多次修改约束,例如移除和恢复缓存、移除 ****Id、***字段和*** ID。 推荐流程: 用一个会话完成需求澄清和领域决策。 让 Copilot 生成最终决策摘要、文件清单和验收条件。
阅读全文
posted @ 2026-08-05 14:17
PanPan003
阅读(3)
推荐(0)
摘要:
5. 使用更便宜的模型处理低风险任务 本地数据不包含模型字段,所以无法判断你实际使用了哪些模型,也无法计算模型级成本。 通常可以这样分配: 简单解释、路径查找、Git 命令:快速或低成本模型 单文件小修改:普通模型 跨层架构改动、安全审查、复杂调试:高级模型 另外,当前本地索引只能做行为代理分析。
阅读全文
posted @ 2026-08-05 14:15
PanPan003
阅读(3)
推荐(0)
摘要:
3. 避免直接粘贴完整命令输出或大段文件内容 历史中最大的用户消息约为 6,635 个字符,另有多条 3,000~6,000 字符的消息。 更省 token 的方式是直接说明: 对于命令输出,只粘贴: 错误信息 错误前后约 20 行 执行命令 期望结果与实际结果
阅读全文
posted @ 2026-08-05 14:13
PanPan003
阅读(7)
推荐(0)
摘要:
如何省token?- Plan ,任务拆分,从小模型开始
阅读全文
posted @ 2026-08-05 14:08
PanPan003
阅读(3)
推荐(0)
摘要:
如何省token?-rewind(todo)
阅读全文
posted @ 2026-08-05 14:07
PanPan003
阅读(2)
推荐(0)
摘要:
如何省token?- handoff (todo)
阅读全文
posted @ 2026-08-05 14:06
PanPan003
阅读(2)
推荐(0)
摘要:
Claude Code 省 Token 终极指南:同样干活,3k 和 30k 的差距藏在这些细节里-CSDN博客 Claude Code Token 烧得太快?这8个方案帮你立省90%!前言 token越来越贵了,而且高等级模型消耗的 - 掘金 1. /compact /compact 到底做了什么
阅读全文
posted @ 2026-08-05 13:47
PanPan003
阅读(28)
推荐(0)
摘要:
obra/superpowers: An agentic skills framework & software development methodology that works.
阅读全文
posted @ 2026-08-03 13:55
PanPan003
阅读(3)
推荐(0)
摘要:
mattpocock/skills: Skills for Real Engineers. Straight from my .agents directory. 我把 Matt Pocock 的 18 个 Skill 全用了一遍,才发现自己一直在瞎用 AI - 码哥字节 - 博客园 /grill-
阅读全文
posted @ 2026-08-03 13:55
PanPan003
阅读(29)
推荐(0)
摘要:
Windows环境安装OpenCode保姆级教程(如何在OpenCode中切换模型、如何在OpenCode中连接模型提供商、OpenCode中的常用指令、OpenCode的更多进阶用法)_opencode windows-CSDN博客 Windows环境安装OpenCode保姆级教程(如何在Open
阅读全文
posted @ 2026-07-31 14:35
PanPan003
阅读(6)
推荐(0)
摘要:
Claude Code国内安装:2026最新保姆教程(附cc-switch配置)-阿里云开发者社区 五分钟国内配置Claude Code+DeepSeek模型,完全操作指南 - 知乎 requirement: NodeJS npm install -g @anthropic-ai/claude-co
阅读全文
posted @ 2026-07-31 14:28
PanPan003
阅读(42)
推荐(0)
摘要:
npm config set registry https://registry.npmmirror.com npm config list npm config set https-proxy http://127.0.0.1:9000 npm config set proxy http://12
阅读全文
posted @ 2026-07-31 14:00
PanPan003
阅读(5)
推荐(0)
摘要:
推荐搭配: Matt Skills + GitNexus + Claude Code skills: 对比项SuperpowersMatt Pocock Skills 定位 AI软件工程工作流 AI工程师技能库 作者 Jesse Vincent 社区生态 Matt Pocock 核心思想 用流程约束
阅读全文
posted @ 2026-07-31 12:50
PanPan003
阅读(8)
推荐(0)
摘要:
before: Windows │ ├──X──► 192.168.165.128:7156 │ Ubuntu after: Windows localhost:17156 │ ▼ SSH Tunnel ▼ Ubuntu 127.0.0.1:7156 why? NAT 允许内部机器主动访问外部,但不
阅读全文
posted @ 2026-07-28 15:40
PanPan003
阅读(5)
推荐(0)
摘要:
how? NAT: result: 实际: PS C:\Users\***> winget install Microsoft.devtunnelFound devtunnel [Microsoft.devtunnel] Version 1.0.1972+07cc55c789This applica
阅读全文
posted @ 2026-07-28 15:05
PanPan003
阅读(12)
推荐(0)
摘要:
## powershell .psl$listener = [System.Net.Sockets.TcpListener]::new([System.Net.IPAddress]::Parse('192.168.165.1'), 9001) $listener.Start() Write-Host
阅读全文
posted @ 2026-07-24 14:59
PanPan003
阅读(10)
推荐(0)
摘要:
一句话总结 double:二进制浮点(IEEE 754,64 位),速度快、范围大,但对十进制小数(比如货币)有不可避免的精度误差。适合科学计算、图形、向量、概率、机器学习、物理仿真等。 decimal:十进制浮点(128 位,28–29 位有效十进制数),对十进制小数表示更精确,但范围小、速度慢。
阅读全文
posted @ 2026-03-09 11:59
PanPan003
阅读(70)
推荐(0)
摘要:
Install python https://www.python.org/ for example: python-3.14.0-amd64.exe install List all python installed in local machine > py -0 -V:3.14 * Pytho
阅读全文
posted @ 2025-11-25 20:50
PanPan003
阅读(118)
推荐(0)
摘要:
原文 转发自: https://hamidmosalla.com/2017/02/25/xunit-theory-working-with-inlinedata-memberdata-classdata/ xUnit Theory: Working With InlineData, MemberDa
阅读全文
posted @ 2025-11-25 09:56
PanPan003
阅读(23)
推荐(0)
摘要:
course: Managing Docker Networking | Pluralsight - Single-host Bridge Networks Docker中默认的三种网络分别为bridge、host和none。 其中bridge的网络就是默认的bridge驱动网络,也是容器创建时默认
阅读全文
posted @ 2023-07-04 10:31
PanPan003
阅读(79)
推荐(0)
摘要:
原文:https://itnext.io/keda-kubernetes-based-event-driven-autoscaling-48491c79ec74 Event-driven computing is hardly a new idea; people in the database w
阅读全文
posted @ 2023-06-30 14:27
PanPan003
阅读(139)
推荐(0)
摘要:
经典队列镜像 — 兔子MQ (rabbitmq.com) why? message 信息同步 =》 queue 一段时间不可用(可用性 降低) Configuring Synchronisation Let's start with the most important aspect of queu
阅读全文
posted @ 2023-06-16 18:03
PanPan003
阅读(339)
推荐(0)
摘要:
https://www.rabbitmq.com/ha.html#mirroring-arguments why? node 不可用, maybe message 会丢失 What is Queue Mirroring Important: mirroring of classic queues w
阅读全文
posted @ 2023-06-16 17:18
PanPan003
阅读(379)
推荐(0)
posted @ 2023-06-16 10:11
PanPan003
阅读(4)
推荐(0)
摘要:
Kubernetes hpa Kubernetes autoscaling basics What is HPA? How does HPA work? Limitations of HPA EKS Example: How to Implement HPA Deploy a sample appl
阅读全文
posted @ 2023-06-15 13:59
PanPan003
阅读(91)
推荐(0)
摘要:
https://imroc.cc/kubernetes/best-practices/autoscaling/hpa-velocity.html 原理与误区 HPA 在进行扩缩容时,先是由固定的算法计算出期望副本数: 期望副本数 = ceil[当前副本数 * (当前指标 / 期望指标)] 其中 当前
阅读全文
posted @ 2023-06-15 11:45
PanPan003
阅读(301)
推荐(0)
posted @ 2023-06-14 09:18
PanPan003
阅读(2)
推荐(0)
摘要:
深入浅出certmgr——Windows证书管理器 https://www.fke6.com/html/91605.html 计算机安全是当前社会的一个重要议题,证书是一种重要的安全机制,负责证明数据、软件或者人的身份和信誉。certmgr(即“证书管理器”)是Windows中专门用于证书管理的工具
阅读全文
posted @ 2023-06-09 10:05
PanPan003
阅读(5835)
推荐(0)
posted @ 2023-06-06 09:56
PanPan003
阅读(0)
推荐(0)
摘要:
压缩 优势: 小带宽, 更快的响应 压缩格式 gzip, deflate(普遍 压缩 格式) how 获取 压缩文件? Accept-Encoding: 设置为 压缩格式 SocketsHttpHandler:启用 自动解压 how 发送 压缩文件? client:压缩 request body 内
阅读全文
posted @ 2023-06-05 09:57
PanPan003
阅读(38)
推荐(0)
摘要:
https://www.mongodb.com/docs/manual/core/gridfs/?_ga=2.14656884.2104711149.1685609332-621414559.1685004986 GridFS GridFS is a specification for storin
阅读全文
posted @ 2023-06-01 17:02
PanPan003
阅读(100)
推荐(0)
posted @ 2023-05-23 09:44
PanPan003
阅读(0)
推荐(0)
摘要:
原文: https://riptutorial.com/moq/example/27613/mocking-protected-members To mock a protected member you must first include the following at the top of
阅读全文
posted @ 2023-05-08 11:40
PanPan003
阅读(109)
推荐(0)
摘要:
原文:https://www.richard-banks.org/2015/07/stop-using-assertthrows-in-your-bdd.html Stop Using Assert.Throws in Your BDD Unit Tests I’m sure we’ve all s
阅读全文
posted @ 2023-05-08 11:24
PanPan003
阅读(61)
推荐(0)
摘要:
https://low-orbit.net/rabbitmq-how-to-close-a-channel RabbitMQ How to Close a Channel If you have found your way to this page you are probably wonderi
阅读全文
posted @ 2023-04-28 17:13
PanPan003
阅读(286)
推荐(0)