cursor-context-management
Optimize context window usage in Cursor. Triggers on "cursor context", "context window", "context limit", "cursor memory", "context management". Use when working with cursor context management functionality. Trigger with phrases like "cursor context management", "cursor management", "cursor".
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 2.0k
- Forks
- 233
01 前言 Front Matter
- name
- cursor-context-management
- author
- Jeremy Longshore <jeremy@intentsolutions.io>
- license
- MIT
- version
- 1.0.0
- description
- Optimize context window usage in Cursor. Triggers on "cursor context", "context window", "context limit", "cursor memory", "context management". Use when working with cursor context management functionality. Trigger with phrases like "cursor context management", "cursor management", "cursor".
- allowed-tools
- Read, Write, Edit, Bash(cmd:*)
02 资源文件 7
- 参考文档references/advanced-techniques.md886 B
- 参考文档references/best-practices.md631 B
- 参考文档references/context-optimization-strategies.md960 B
- 参考文档references/conversation-context.md722 B
- 参考文档references/errors.md456 B
- 参考文档references/examples.md363 B
- 参考文档references/managing-large-codebases.md526 B
03 SKILL.md 正文
Cursor Context Management
Overview
This skill helps optimize context window usage in Cursor. It covers understanding context sources, efficient @-mention strategies, conversation management, and techniques to avoid context overflow for better AI response quality.
Prerequisites
- Cursor IDE with AI features active
- Understanding of context window limits
- Project with code files
- Familiarity with @-mention syntax
Instructions
- Understand your model's context limit
- Select only relevant code before chatting
- Use specific @-mentions for file context
- Start new conversations for new topics
- Monitor response quality for context issues
- Clear context when switching tasks
Output
- Optimized context usage
- Better AI response quality
- Faster response times
- Efficient @-mention patterns
- Clean conversation management
Error Handling
See {baseDir}/references/errors.md for comprehensive error handling.
Examples
See {baseDir}/references/examples.md for detailed examples.
Resources
04 同仓库更多 Skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
web-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
neuropixels-analysis
Neuropixels neural recording analysis. Load SpikeGLX/OpenEphys data, preprocess, motion correction, Kilosort4 spike sorting, quality metrics, Allen/IBL curation, AI-assisted visual analysis, for Neuropixels 1.0/2.0 extracellular electrophysiology. Use when working with neural recordings, spike sorting, extracellular electrophysiology, or when the user mentions Neuropixels, SpikeGLX, Open Ephys, Kilosort, quality metrics, or unit curation.
skill-creator
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
notebooklm
Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.