← Back to Blog
Dec 28, 2025

Cursor Tutorial


Cursor Rules

RULES:

Exist many ways to get rules in cursor:

---
description: RPC Service boilerplate
globs: ["**/*.ts", "**/*.tsx"]
alwaysApply: false
---
- Use our internal RPC pattern when defining services
- Always use snake_case for service names.
@service-template.ts
project/
  .cursor/rules/        # Project-wide rules
  backend/
    server/
      .cursor/rules/    # Backend-specific rules
  frontend/
    .cursor/rules/      # Frontend-specific rules

Best practices

———————————————————

AGENTS: running tools in a loop.

——————————————————— TIPS:

  1. use plan mode (use command .), to create high quality plan to implement in the project
  1. you can use @git to use branch and target branch changes with another branch
  2. creating custom commands
  1. pass images to the agent or many images, fix it with files by using @
  2. you can duplicate/fork chats to another chat
  3. Summarize, use this feature with /sumarize command, this with you want to decrease the context usage for model, this feature is used when you current model reach to the limit and a new chat with llm is started, in configuration you can make summarize automatically or not you conversation with the model

image.png

  1. command + i to open the chat window and command + / to change mode you want to use
  2. if the current chat continues growing the quality with de model degrades over the time with more staffs, try create new conversations (use command + n)
  3. back in time of the conversation in the current chat you can press back to previous state

image.png

INLINE EDIT:

use command + k selecting a code block and that opens an input field where you selected, readty to give instructions to make changes in that block

TERMINAL

in the terminal press command + k too to open in the bottom a bar, describe there action you cant and the ai generates te command