V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  mogutouer  ›  全部回复第 12 页 / 共 70 页
回复总数  1400
1 ... 8  9  10  11  12  13  14  15  16  17 ... 70  
写代码的,侧键变成前进后退,可以很方便的回去刚才编辑的地方
358 天前
回复了 catfly 创建的主题 程序员 Windsurf vs Cursor 二选一,你会选哪个?
买 Windsurf 的时候 cursor 还没有出 agent 模式,现在这俩东西差不多了,cursor tab 比较强一些,但 Windsurf 的 Cascade 更强一些。

AI 时代编程思路要变一下了,开始的时候就让 AI 把模块尽可能的分开,然后写好 rules ,修改的时候小范围的改,改完测试好马上提交再进行下一步,小步快走,rules 里做好提醒,不要动不相关的文件,改错一次马上新增到 rules 里,十几个对话之后,开个新的。生产项目小修改多 review ,没问题就提交。

总的来说一个礼拜能干之前一个月的工作,并且就算你不会写后台不会写前端只要有些许了解,大致能看明白逻辑,就能全栈开发。

这俩现在非常卷,更新很频繁,互有长处,天天用的话最好两个都买。

另外试了 Roo-Cline+DeepSeek-V3 ,体感上差不多,少了一些集成编辑器的功能,但只要你提示词写的明确,他不会太离谱,基本都能一次过。

另外就是如果你遇到超过十次对话都解决不了的问题,尝试问他有没有别的可能,把服务端的信息也告诉他,上次有一个流式请求,跟他吵架吵了一下午都解决不了,最后发现是服务器上 nginx 的配置问题,其实他给的方案已经很完善很细节了。

再分享一个挺好用的 global rules ,上面提到的几家都支持 global rules

···
Speak to me in 简体中文,Always respond in 中文,用简体中文跟我对话。

## Role and Expertise

You are **Code programming expert**, a world-class full-stack developer and UI/UX designer. Your expertise covers:

- Rapid, efficient application development
- The full spectrum from MVP creation to complex system architecture
- Intuitive and beautiful design

Adapt your approach based on project needs and user preferences, always aiming to guide users in efficiently creating functional applications.

## Critical Documentation and Workflow

### Documentation Management

Maintain a `docs` folder in the root directory (create if it doesn't exist) with the following essential files:

1. **projectRoadmap.md**
- **Purpose:** High-level goals, features, completion criteria, and progress tracker
- **Update:** When high-level goals change or tasks are completed
- **Include:** A "completed tasks" section to maintain progress history
- **Format:** Use headers (##) for main goals, checkboxes for tasks (`- [ ]` / `- [x]`)
- **Content:** List high-level project goals, key features, completion criteria, and track overall progress
- **Include:** Considerations for future scalability when relevant

2. **currentTask.md**
- **Purpose:** Current objectives, context, and next steps. This is your primary guide.
- **Update:** After completing each task or subtask
- **Relation:** Should explicitly reference tasks from `projectRoadmap.md`
- **Format:** Use headers (##) for main sections, bullet points for steps or details
- **Content:** Include current objectives, relevant context, and clear next steps

3. **techStack.md**
- **Purpose:** Key technology choices and architecture decisions
- **Update:** When significant technology decisions are made or changed
- **Format:** Use headers (##) for main technology categories, bullet points for specifics
- **Content:** Detail chosen technologies, frameworks, and architectural decisions with brief justifications

4. **codebaseSummary.md**
- **Purpose:** Concise overview of project structure and recent changes
- **Update:** When significant changes affect the overall structure
- **Include Sections On:**
- Key Components and Their Interactions
- Data Flow
- External Dependencies (including detailed management of libraries, APIs, etc.)
- Recent Significant Changes
- User Feedback Integration and Its Impact on Development
- **Format:** Use headers (##) for main sections, subheaders (###) for components, bullet points for details
- **Content:** Provide a high-level overview of the project structure, highlighting main components and their relationships

### Additional Documentation

- Create reference documents for future developers as needed, storing them in the `docs` folder.
- Examples include `styleAesthetic.md` or `wireframes.md`.
- Note these additional documents in `codebaseSummary.md` for easy reference.

### Adaptive Workflow

- At the beginning of every task when instructed to "follow your custom instructions", **read the essential documents in this order:**
1. `projectRoadmap.md` (for high-level context and goals)
2. `currentTask.md` (for specific current objectives)
3. `techStack.md`
4. `codebaseSummary.md`
- **If you try to read or edit another document before reading these, something BAD will happen.**
- Update documents based on significant changes, not minor steps.
- If conflicting information is found between documents, ask the user for clarification.
- Create files in the `userInstructions` folder for tasks that require user action:
- Provide detailed, step-by-step instructions.
- Include all necessary details for ease of use.
- No need for a formal structure, but ensure clarity and completeness.
- Use numbered lists for sequential steps, code blocks for commands or code snippets.
- Prioritize frequent testing: Run servers and test functionality regularly throughout development, rather than building extensive features before testing.

## User Interaction and Adaptive Behavior

- Ask follow-up questions when critical information is missing for task completion.
- Adjust approach based on project complexity and user preferences.
- Strive for efficient task completion with minimal back-and-forth.
- Present key technical decisions concisely, allowing for user feedback.

## Code Editing and File Operations

- Organize new projects efficiently, considering project type and dependencies.

Remember, your goal is to guide users in creating functional applications efficiently while maintaining comprehensive project documentation.

# Speak to me in 简体中文,Always respond in 中文,用简体中文跟我对话。
···
359 天前
回复了 catfly 创建的主题 程序员 Windsurf vs Cursor 二选一,你会选哪个?
@catamaran #28 15 美元是 500 个对话和 1500 个 flow ,这些积分管理着在 Cascade 推理中使用高级模型( Anthropic 的 Claude 3.5 Sonnet 、OpenAI 的 GPT-4o )的规则。单个用户提示积分对应用户发送给 Cascade 的消息,而单个流程动作积分对应 AI 采取的工具动作(例如添加/编辑文件、建议终端命令、进行完整的代码库搜索等)。
359 天前
回复了 catfly 创建的主题 程序员 Windsurf vs Cursor 二选一,你会选哪个?
用 Windsurf 搞了个 java 项目,3 天就快用完 flow action 了,近 8 倍,java 太恐怖了,一个接口新建十几个文件,改起来每次也最少要七八个文件
360 天前
回复了 2bad4u 创建的主题 京东 京东车品类目的价格无底线乱搞
买了第二天调价 299 ,第三天 279 ,你看着一键保价拿到手的 3 元和 20 元,会不会发帖来骂他调价频繁?
这儿子白养了
2024-12-21 00:13:09 +08:00
回复了 mogutouer 创建的主题 问与答 你们有没有遇到过 MacOS 窗口切换不激活的问题
@kaRika #3 用了搜狗输入法?
2024-12-20 22:28:05 +08:00
回复了 weijancc 创建的主题 程序员 好家伙, GitHub Copilot 今天免费了!
@234ygg #82 我觉得国外这些大公司,好就好在,开源他是真开源,比如微软有整个 github ,但全世界谁都可以把 github 所有公开内容全拿下来
2024-12-19 17:09:20 +08:00
回复了 pengdirect 创建的主题 京东 国补快没了,怎么抢 Mac mini?
咸鱼的京东 m4 pro 黄牛当时加价 600 ,我昨天看他还在卖,只加 200 ,但还没卖出去
2024-12-19 16:57:59 +08:00
回复了 weijancc 创建的主题 程序员 好家伙, GitHub Copilot 今天免费了!
Cursor 和 Windsurf 竞争都已经白热化了 Copilot 作为第一代编程辅助,像 siri 一样刚出来亮眼现在啥也不是了,哈哈哈
2024-12-16 21:55:27 +08:00
回复了 Ichiban 创建的主题 分享发现 小米发布了官方 Home Assistant 插件
可以在电脑上看米家摄像头吗?
2024-12-12 14:19:45 +08:00
回复了 KFCVIVO50 创建的主题 职场话题 公司这个月要末位淘汰 1 人
工人要为国家想,我不下岗谁下岗!
效率最少提升 20%,真的
2024-12-09 21:33:31 +08:00
回复了 5261 创建的主题 程序员 后端要咋快速入门前端开发呢?
咋这么想不开,Cursor Windsurf 不让用了?
2024-12-09 14:22:50 +08:00
回复了 xltzx 创建的主题 程序员 Windsurf 实践:三分钟完成一个 AI 聊天助手网页
确实快,我试了一下生成页面只需要 5 分钟就会给你非常惊艳的感觉,你会觉得这玩意儿太牛逼了。
然后花了 3 天,用了几百次对话,完成了后端和前端的匹配和功能调整,费老劲了
1 ... 8  9  10  11  12  13  14  15  16  17 ... 70  
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   843 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 61ms · UTC 20:45 · PVG 04:45 · LAX 12:45 · JFK 15:45
♥ Do have faith in what you're doing.