Skip to main content

cursor-rules

Project, user, and team rules that the Cursor SDK and Agent load — `.cursor/rules/*.mdc`, `AGENTS.md`, and the legacy `.cursorrules`. Use when authoring rules that the SDK will pick up via `local.settingSources`, or when writing rule frontmatter with the right type (always / auto-attached / agent-requested / manual).

소스 정보

저장소
HKTITAN/cursor-sdk
최근 소스 활동
2026년 5월 3일 08:23
감지된 SKILL.md 언어
영어
스타
2
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
10 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
cursor-rules
description
Project, user, and team rules that the Cursor SDK and Agent load — `.cursor/rules/*.mdc`, `AGENTS.md`, and the legacy `.cursorrules`. Use when authoring rules that the SDK will pick up via `local.settingSources`, or when writing rule frontmatter with the right type (always / auto-attached / agent-requested / manual).
metadata
{"internal":false,"source":"https://cursor.com/docs/context/rules"}
# cursor-rules Rules are how you bake context into a project so every Agent run starts with the right instructions. The SDK reads them through `local.settingSources` — see [[../cursor-sdk/references/local-options]]. ## When to use - Adding repo-level coding conventions an SDK agent should follow - Writing per-folder `AGENTS.md` for nested context - Migrating from `.cursorrules` to `.cursor/rules/*.mdc` - Choosing between always-on, auto-attached, agent-requested, and manual rules ## File locations - [[references/file-locations]] — `.cursor/rules/`, `AGENTS.md`, legacy `.cursorrules` - [[references/scope-and-precedence]] — team / project / user, hierarchy ## Authoring `.mdc` rules - [[references/mdc-frontmatter]] — `description`, `globs`, `alwaysApply` - [[references/rule-types]] — Always / Auto-attached / Agent-requested / Manual - [[references/glob-patterns]] — `**/*.tsx`, comma-separated lists ## `AGENTS.md` - [[references/agents-md]] — markdown-only, nested per directory - [[references/agents-md-vs-rules]] — when to pick which ## SDK integration - [[references/sdk-integration]] — `settingSources` and what loads where - [[references/limitations]] — Tab and Inline Edit don't read rules ## Cross-links - SDK setting sources → [[../cursor-sdk/references/local-options]] - Hooks (sibling .cursor/ feature) → [[../cursor-hooks/SKILL]] - Skills (sibling .cursor/ feature) → [[../cursor-skills-system/SKILL]]
GitHub에서 보기