上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 495 下一页
摘要: 规则是 Cursor 的一个功能。你可以用它来控制 AI 的行为。这些规则会在每次对话时自动使用。这样 AI 就能按照你想要的方式工作。Rules 本质上就是属于提示词工程的一部分。 主要用途有: 设定编码风格 定制文档格式 统一团队流程 个性化代码审查 设置的方式有三种: 全局规则 项目规则 规则 阅读全文
posted @ 2025-08-15 14:39 Zhentiw 阅读(750) 评论(0) 推荐(0)
摘要: @ 命令是一个很有用的工具,核心就是为 AI 聊天添加更加具体的上下文信息。 你在 Chat 窗口输入 @ 时,就可以看到很多选项。 你可以这样使用 @ 命令: 在输入框中输入 @ 用上下键选择你想要的命令 按 Enter 键确认 1. Files&Folders 引用项目中的特定文件和文件夹作为上 阅读全文
posted @ 2025-08-14 14:17 Zhentiw 阅读(106) 评论(0) 推荐(0)
摘要: Runner function: function run(genFn) { const it = genFn() let state = { done: false, value: undefined } step() function step(isError, arg) { try { sta 阅读全文
posted @ 2025-08-09 22:29 Zhentiw 阅读(10) 评论(0) 推荐(0)
摘要: Agent模式 Agent 是一个具备高度自主性的 AI 编码助手,能够独立探索、规划并执行复杂的代码库变更任务,并拥有全套开发工具的支持。 目前,Agent 是 Cursor 中的默认模式,也是最具“自动驾驶”能力的模式。它设计的初衷是为了应对那些复杂度较高、步骤较多的编码任务,并且尽量减少你对 阅读全文
posted @ 2025-08-09 22:08 Zhentiw 阅读(77) 评论(0) 推荐(0)
摘要: clickhouse ClickHouse 是一个为大规模数据分析而优化的列式数据库,支持高吞吐量的实时查询 核心技术点就是列式存储,也就是说,数据按列(而不是按行)存储在磁盘上,这样做的优势是: 压缩率高: 同一列的数据类型相同,压缩算法效率极高,大幅减少磁盘占用和 I/O。 读取高效: 分析查询 阅读全文
posted @ 2025-08-04 00:15 Zhentiw 阅读(29) 评论(0) 推荐(0)
摘要: The user is currently STUDYING, and they've asked you to follow these strict rules during this chat. No matter what other instructions follow, you MUS 阅读全文
posted @ 2025-08-03 15:17 Zhentiw 阅读(63) 评论(0) 推荐(0)
摘要: 前置知识 stdio 这是 MCP 中的通信方式。 进程:执行一个应用程序,就会启动一个进程,操作系统会为其分配内存空间、系统资源。 应用程序执行完毕后,系统分配给进程的资源就会被回收。 进程之间是可以通信的。那这里有一个最基本的要求:进程不能结束。如何让进程不结束? 想想微信、QQ启动后为啥不结束 阅读全文
posted @ 2025-07-27 20:19 Zhentiw 阅读(78) 评论(0) 推荐(0)
摘要: Install: brew install tree Given project structure like this: We want to generate tree stucture into README.md, run: tree -I "node_moudles" > README.m 阅读全文
posted @ 2025-07-27 15:24 Zhentiw 阅读(17) 评论(0) 推荐(0)
摘要: import { ollama } from "ollama-ai-provider"; import { generateObject, generateText } from "ai"; import { z } from "zod"; import { globby } from "globb 阅读全文
posted @ 2025-07-19 21:32 Zhentiw 阅读(19) 评论(0) 推荐(0)
摘要: import { ollama } from "ollama-ai-provider"; import { generateObject, generateText } from "ai"; import { z } from "zod"; import { globby } from "globb 阅读全文
posted @ 2025-07-19 21:06 Zhentiw 阅读(17) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 495 下一页