Cline - 中文版 Docs
  • Cline Documentation
  • 入门指南
    • 快速开始
    • What is Cline?
  • Basics
    • Cline - 中文版胜算 说明文档
      • Cline 和模型上下文协议 (MCP) 服务器:提升 AI 能力
      • Interactive blocks
        • OpenAPI
      • Integrations
        • Cloud Provider Integration
        • Security Concerns
      • .clineignore 功能支持
  • Cline - 中文版胜算 说明文档
    • 什么是Cline - 胜算云增强版
    • 对于新程序员
    • 安装 Cline-胜算云增强版
    • 安装 Dev Essentials
    • 我们最喜欢的技术栈
    • 上下文管理
    • 型号选择指南
  • Getting Started
    • What is Cline?
    • For New Coders
    • Installing Cline
    • Installing Dev Essentials
    • Our Favorite Tech Stack
    • Context Management
    • Model Selection Guide
  • 提高提示技巧
    • 提示工程指南
    • Cline-胜算云增强版 内存库
  • Improving Your Prompting Skills
    • Prompt Engineering Guide
    • Cline Memory Bank
  • 探索 Cline 的工具
    • Cline-胜算云增强版 工具指南
  • 检查站
  • 计划与行动模式:有效人工智能发展指南
  • 新建任务工具
  • Remote Browser 支持
  • Exploring Cline's Tools
    • Cline Tools Guide
    • Checkpoints
    • Plan & Act Modes: A Guide to Effective AI Development
    • New Task Tool
  • Remote Browser Support
  • 企业解决方案
    • 安全问题
  • 云提供商集成
  • MCP 服务器
  • 自定义说明
  • Security Concerns
    • Security Concerns
  • Cloud Provider Integration
  • MCP Servers
  • Custom Instructions
  • MCP服务器
    • MCP概述
    • MCP市场
  • 从 GitHub 添加 MCP 服务器
  • 配置 MCP 服务器
  • 连接到远程服务器
  • MCP 传输机制
  • MCP 服务器开发协议
  • MCP Servers
    • MCP Overview
  • MCP Marketplace
  • Adding MCP Servers from GitHub
  • Configuring MCP Servers
  • Connecting to a Remote Server
  • MCP Transport Mechanisms
  • MCP Server Development Protocol
  • 自定义模型配置
    • 带有凭证身份验证的 AWS Bedrock
    • 带配置文件身份验证的 AWS Bedrock
    • GCP Vertex AI
  • LiteLLM 和 Cline-胜算云增强版(使用 Codestral)
  • Custom Model Configs
    • AWS Bedrock w/ Credentials Authentication
  • AWS Bedrock w/ Profile Authentication
  • GCP Vertex AI
  • LiteLLM & Cline (using Codestral)
  • 本地运行模型
    • 请先阅读
    • Ollama
    • LM 工作室
  • Ollama
  • LM Studio
  • Running Models Locally
  • More Info
    • Telemetry
    • 遥测
Powered by GitBook
On this page
  1. Cline - 中文版胜算 说明文档

我们最喜欢的技术栈

Previous安装 Dev EssentialsNext上下文管理

Last updated 1 month ago

推荐给 Cline-胜算增强版 新用户的堆栈(2025)

您的完整开发环境

开发工具

  • VS Code - 您的代码编辑器,

  • GitHub - 您的代码所在之处,

前端

  • Next.js 14+ - 带有 App Router 的 React 框架

  • Tailwind CSS - 无需编写 CSS 即可创建漂亮的样式

  • TypeScript - JavaScript,但更安全、更智能

后端

  • Supabase - 您的完整后端解决方案,

    • PostgreSQL 数据库

    • 验证

    • 文件存储

    • 实时更新

部署

    • 从 GitHub 自动部署

    • 预览测试部署

    • 生产就绪的 CDN

人工智能开发

根据您的需求选择您的 AI 助手:

模型输入成本(每 100 万个代币)输出成本(每 100 万个代币)最适合

Claude 3.5 Sonnet

$3.00

$15.00

生产应用程序,复杂任务

DeepSeek R1

$1.00

$3.00

注重预算的生产

DeepSeek V3

$0.14

$2.20

注重预算的开发

免费套餐福利

Vercel(爱好)

  • 每月 100 GB 数据传输

  • 10 万次无服务器函数调用

  • 100 MB 部署大小

  • 自动 HTTPS 和 CI/CD

Supabase(免费)

  • 500 MB 数据库存储空间

  • 1 GB 文件存储空间

  • 每月5万活跃用户

  • 每月 200 万条实时消息

GitHub(免费)

  • 无限公共存储库

  • GitHub Actions CI/CD

  • 项目管理工具

  • 协作功能

入门

  1. 安装开发必需品:

  2. 设置Cline-胜算云增强版的记忆库:

    • 在项目根目录中创建一个空的 cline_docs 文件夹

    • 在 cline_docs 文件夹中创建 projectBrief.md (参见下面的示例)

    • 告诉Cline-胜算云增强版“初始化存储库”

  3. 添加我们推荐的堆栈配置:

    • 创建 .clinerules 文件(参见下面的模板)

    • 剩下的就让克莱恩来处理吧!

项目简介示例

复制

# Project Brief

## Overview
Building a [type of application] that will [main purpose].

## Core Features
- Feature 1
- Feature 2
- Feature 3

## Target Users
[Describe who will use your application]

## Technical Preferences (optional)
- Any specific technologies you want to use
- Any specific requirements or constraints

.clinerules 模板

复制

# Project Configuration

## Tech Stack
- Next.js 14+ with App Router
- Tailwind CSS for styling
- Supabase for backend
- Vercel for deployment
- GitHub for version control

## Project Structure
/src
  /app         # Next.js App Router pages
  /components  # React components
  /lib         # Utility functions
  /types       # TypeScript types
/supabase
  /migrations  # SQL migration files
  /seed        # Seed data files
/public        # Static assets

## Database Migrations
SQL files in /supabase/migrations should:
- Use sequential numbering: 001, 002, etc.
- Include descriptive names
- Be reviewed by Cline before execution
Example: 001_create_users_table.sql

## Development Workflow
- Cline helps write and review code changes
- Vercel automatically deploys from main branch
- Database migrations reviewed by Cline before execution

## Security
DO NOT read or modify:
- .env files
- **/config/secrets.*
- Any file containing API keys or credentials

学习资源(2025)

想进一步了解我们正在使用的技术吗?以下是一些很棒的资源:

Next.js 和 React

Supabase

Tailwind CSS

其他须知

使用 Git 和 GitHub

Git 可帮助您跟踪代码更改并与他人协作。以下是您将使用的基本命令:

每日发展

复制

# Save your changes (do this often!)
git add .                                    # Stage all changed files
git commit -m "Add login page"              # Save changes with a clear message

# Share your changes
git push origin main                        # Upload to GitHub

常见工作流程

  1. 一天的开始 :获取最新更改

    复制

    bashCopygit pull origin main                     # Download latest code
  2. 开发过程中 :定期保存工作

    复制

    bashCopygit add .
    git commit -m "Clear message about changes"
  3. 一天结束 :分享你的进步

    复制

    bashCopygit push origin main                     # Upload to GitHub

最佳实践

  • 经常做出明确承诺

  • 开始新工作之前先拉

  • 推送已完成的工作与他人分享

  • 使用 .gitignore 避免提交敏感文件

提示 :当您推送到主页面时,Vercel 会自动部署!

环境变量

  • 将机密存储在 .env.local 中以供开发使用

  • 将它们添加到 Vercel 项目设置中以供生产

  • 永远不要将 .env 文件提交到 Git

获取帮助

  1. 在 Cline-胜算增强版聊天中使用 /help 可获得即时帮助

  2. 检查Cline-胜算增强版文档

  3. 在 GitHub 问题中搜索常见问题

请记住:Cline-胜算增强版会在每一步为您提供帮助。如有需要,请随时寻求指导或说明!

Vercel - 您的应用在哪里运行,

遵循我们的

按照

- 互动教程

- 快速概览

- 实际例子

- 综合课程

的互动课程

点击此处下载
在此注册
注册 GitHub
在 GitHub 上注册
开发基本安装指南
存储库设置说明进行操作
官方学习 Next.js 课程
NextJS 应用路由器:1 小时掌握现代 Web 开发
使用 Next.js 构建真实世界的应用程序
Supabase 从头开始
官方快速入门指南
使用 Next.js 和 Supabase 的实时应用程序
Tailwind CSS 初学者教程
Tailwind 官方文档
Scrimba Tailwind CSS 课程