# Unlocking Cursor AI: Top 8 Hidden Features <!-- ref: @content/youtube/yifan-bth/unlocking-cursor-ai-top-8-hidden-features tags: [Cursor, AI coding, cursor rules, codebase indexing, keyboard shortcuts, composer, version control] version: 2 updated_at: 2026-11-24T07:22:09.430Z --> **[Watch on YouTube](https://www.youtube.com/watch?v=puKVeqChsgM)** # Unlocking Cursor AI: Top 8 Hidden Features *Synthesized from Yifan on Beyond the Hype, 2024-09-20.* Yifan presents this solo list of Cursor features, drawn from about two months of production use. ## Core Thesis Yifan argues that the useful parts of Cursor appear after sustained daily use rather than in short demos, and that the strongest of these are the ones that give the model durable, precise context: rules files, codebase and documentation indexing, and composer notepads. He pairs these with habits that limit damage from AI edits, namely the save-versus-accept step and frequent Git commits. ## Key Insights - **Cursor rules.** Rules are instructions added to every prompt in chat, Composer and inline edits. He started from a template on cursor.directories and added custom rules. A global rules file in settings applies across projects, and a committed rules file keeps a team on one standard. - **Terminal command generation.** Pressing Cmd-K in the terminal generates a command from a plain-language request, which he says replaces a Stack Overflow lookup for flags. - **Five shortcuts.** Cmd-P opens the file selector, Cmd-K starts inline editing, Cmd-I opens Composer, Cmd-Shift-I opens the enlarged Composer, and Cmd-Shift-G opens version control. - **@codebase.** Cursor indexes the whole repository into a local embeddings database and uses a small model to pick relevant files. It can bring in too much context, so he advises supplying exact files when you know them. - **Custom docs.** You can add a documentation site, which Cursor scrapes and indexes, to supply current library information that the model's training data lacks. He says Cursor rescrapes these sites about daily. - **Notepads.** A composer notepad holds reusable detailed context, such as a backend description, so a short prompt can produce a correct implementation. He wishes notepads could be saved into the repository for sharing. - **Save versus accept.** In Composer, Save keeps the diff in the file without accepting it, so you can test the change in the UI, while Accept applies it and makes reverting harder. - **Frequent commits.** After each working mini-feature, commit to Git, so a bad AI change can be reverted to the last working version. ## Actionable Takeaways 1. Start with a rules file from a stack template, add project-specific rules, and commit it so the whole team shares it. 2. Use @codebase for unfamiliar code, but pass the exact files when you know them. 3. Add the docs for any fast-moving library as a custom docs source. 4. Use Composer notepads to hold reusable context, and split large features component by component. 5. Use Save rather than Accept while you test, and commit to Git after each working feature. ## Notable Quotes > "It's always better to supply the exact files you need to give it" — Yifan > "you write code so quickly, you constantly add new features" — Yifan --- *Related: `@content/youtube/yifan-bth/getting-cursor-ai-to-review-its-own-code` · `@content/youtube/yifan-bth/how-i-use-ai-git-to-code-3x-faster-real-dev-workflow-with-cursor` · `@content/youtube/yifan-bth/5x-your-cursor-ai-coding-quality-with-these-pro-tips` · `@content/youtube/yifan-bth/the-ultimate-prototyping-workflow-cursor-ai-replit` · `@content/youtube/yifan-bth/cursor-windsurf-settings-to-5x-ais-output-quality-works-with-vs-code-too`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*