growi / rules
growilabs/growi/.cursor/rules/claude-knowledge-layout.mdc
How Cursor Agent should use this repo's Claude Code knowledge (AGENTS.md, .claude, skills) without duplicating it
Cursor rule1.5k starsChanged 14 days ago
What's in it
- Single source of truth: .claude/ + AGENTS.md
- Already native to Cursor
- Bridged via sessionStart hook (not @ includes)
- When to load more
--- description: How Cursor Agent should use this repo's Claude Code knowledge (AGENTS.md, .claude, skills) without duplicating it alwaysApply: true --- # Single source of truth: `.claude/` + `AGENTS.md` This repository is maintained for Claude Code. Cursor Agent must consume the same files — never maintain a parallel copy of instructions, skills, or rules. ## Already native to Cursor | Artifact | Behavior | |---|---| | `AGENTS.md` (root + nested) | Auto-loaded by Cursor | | `CLAUDE.md` (points at `AGENTS.md` + Kiro workflow) | Treat as entrypoint / workflow overlay | | `.claude/skills/**/SKILL.md` | Offered as Agent Skills — read and follow when relevant | | `apps/app/.claude/skills/**/SKILL.md` | Same, when working under `apps/app/` | ## Bridged via `sessionStart` hook (not `@` includes) Claude Code auto-injects `.claude/rules/`. Cursor does **not**. Cursor docs claim `@filename` inside `.mdc` rules attaches file contents, but that mechanism does not work yet. Copying rule bodies into `.cursor/rules/` would be dual management — do not do that. Instead, `.cursor/hooks.json` runs `sessionStart` → `.cursor/hooks/inject-claude-rules.mjs`, which reads the canonical markdown under `.claude/rules/` and `apps/app/.claude/rules/` and returns them as `additional_context`. **Edit only the `.claude/` sources.** ## When to load more - Skills: if there is even a small chance a listed skill applies, read its `SKILL.md` first - Package docs: `apps/*/CLAUDE.md` / `AGENTS.md` when touching that package - Specs / steering: `.kiro/specs/`, `.kiro/steering/` per `CLAUDE.md` - Slash-style workflows in `.claude/commands/` and kiro skills: follow the matching skill under `.claude/skills/` rather than inventing a Cursor-only procedure
More agent context in growilabs/growi
27 other files this repository gives its agents.
AGENTS.md
CLAUDE.md
Skill
- detect-flaky-ci.claude/skills/detect-flaky-ci/SKILL.md
- essential-test-design.claude/skills/essential-test-design/SKILL.md
- essential-test-patterns.claude/skills/essential-test-patterns/SKILL.md
- investigate-flaky-test.claude/skills/investigate-flaky-test/SKILL.md
- investigate-issue.claude/skills/investigate-issue/SKILL.md
- kiro-debug.claude/skills/kiro-debug/SKILL.md
- kiro-discovery.claude/skills/kiro-discovery/SKILL.md
- kiro-impl.claude/skills/kiro-impl/SKILL.md
- kiro-review.claude/skills/kiro-review/SKILL.md
- kiro-spec-batch.claude/skills/kiro-spec-batch/SKILL.md
- kiro-spec-cleanup.claude/skills/kiro-spec-cleanup/SKILL.md
- kiro-spec-design.claude/skills/kiro-spec-design/SKILL.md
- kiro-spec-init.claude/skills/kiro-spec-init/SKILL.md
- kiro-spec-quick.claude/skills/kiro-spec-quick/SKILL.md
- kiro-spec-requirements.claude/skills/kiro-spec-requirements/SKILL.md
- kiro-spec-status.claude/skills/kiro-spec-status/SKILL.md
- kiro-spec-tasks.claude/skills/kiro-spec-tasks/SKILL.md
- kiro-steering-custom.claude/skills/kiro-steering-custom/SKILL.md
- kiro-steering.claude/skills/kiro-steering/SKILL.md
- kiro-validate-design.claude/skills/kiro-validate-design/SKILL.md
- kiro-validate-gap.claude/skills/kiro-validate-gap/SKILL.md
- kiro-validate-impl.claude/skills/kiro-validate-impl/SKILL.md
- kiro-verify-completion.claude/skills/kiro-verify-completion/SKILL.md
- mongoose-to-prisma.claude/skills/mongoose-to-prisma/SKILL.md
- suggest-path-evaluator.claude/skills/suggest-path-evaluator/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

