Cursor Practice Project-08: Cursor Guides You Through Setting Up a Soft Router - v2raya

Project Description

Cursor Practice Project-08: Cursor Guides You Through Soft Router Setup

Time Spent: ~0.5 hours

Cursor Usage Count: 1 time

Recently encountered network blocking issues and wanted to resolve them permanently via a soft router. The soft router uses v2raya, but v2raya configuration is relatively complex and differs from Clash. Thus, I attempted to use Cursor for assistance in configuration.

I'm not familiar with V2RAYA or its corresponding configurations, nor do I know the addresses for AI services like Claude, ChatGPT, and Cursor.

My goal is to test and demonstrate how to use Cursor for exploring tasks beyond programming.

Final Success

  • Directly use all model services of Cursor; browsers can directly access AI services like ChatGPT, Claude, and Gemini.

Prerequisites

  • Cursor

    • Version: 1.2.4
    • Cursor Rules: Cursor Rules
    • Agent: claude-4-sonnet
  • Overall Process

    • Set Cursor rules → Set project rules (10xUse) → Communicate requirements with LLM → Cursor coding → Debug and output

Issue Log

  1. Issue 1: A soft router is a more thorough solution, directly distributing rules at the router level, allowing all devices on the LAN to access the internet via the soft router.
    • Soft routers are beyond the scope of this article; please refer to relevant tutorials if needed.
    • This article only explores how to use Cursor for assistance in unfamiliar domains.

Usage Insights

  1. External URLs can be directly accessed using '@', including various rule descriptions, API interfaces, etc. Cursor can read and apply them to the project.
  2. Based on the configured rules, Cursor provides detailed steps, and in most cases, you can simply follow them.
  3. For more detailed explanations, you can continue asking follow-up questions.

Detailed Project Steps

  1. Provide Requirements or Questions: Directly describe the requirements to Cursor and provide relevant reference URLs.
@https://v2raya.org/docs/manual/routinga/ Based on the rules here, help me write a configuration file to route all addresses related to Claude, ChatGPT, and Cursor through a proxy.
step-3 step-3
  1. Generate Project Documentation: This step can actually be skipped. Too lazy to modify the rules; it doesn't matter much.

  2. Generate Routing File: Create the core routing configuration file for AI services.

    step-3
  3. Generate Usage Guide: The configuration guide is generated and saved to quick-start.md.

    step-21 step-4
  4. Follow the Guide: step-21

    step-21
  5. Completion: Directly use all model services of Cursor; browsers can directly access AI services like ChatGPT, Claude, and Gemini.