Country or region and language

    Choose your country or region and your language.

    Suggested for you

      All countries and regions

        Choose your character

        It shows in the top bar and on your profile. Change it any time.

        Opening Coding with AI agents
        Your turn

        Cursor tutorial and project rules

        Project rules

        Cursor project rules live in .cursor/rules as .mdc files. Their metadata controls when they apply. The official rules documentation, checked November 14, 2026, distinguishes rules that always apply, rules attached to matching files, rules chosen by relevance and rules invoked manually.

        A fictional returns app needs a rule for its API handlers: use the shared validator and preserve the documented error shape. Scope that instruction to the handler files. Applying it to a design document adds irrelevant context; putting it in a plain .md file under .cursor/rules does not make it a project rule.

        Review after the edit

        A correctly loaded rule still needs a checked result. Read the proposed change and run a request that uses the error path. If the agent removed the shared validator to make a test pass, the change violates the instruction even when the test result is green.

        Practice the decision in this scripted workspace, then inspect the active rules in your installed Cursor version. For the difference between product instruction files, use the Claude Code and Cursor comparison.

        Your Work Gym account

        Save your progress and pick up on another device. Your browser's progress comes with you.

        or

        You can keep practicing without an account.

        Change your plan

        Checking the price

        Help and feedback

        Ask a question, tell us what is not working, or share an idea. We reply by email.

        What is it about?

        We use it only to reply to you.