chore(cursor): expand skills and rules for team parity#5
Merged
Conversation
Port 7 skills and 3 rules from Claude Code to Cursor, bringing Cursor users from 1 rule + 1 skill to 4 rules + 8 skills: Rules (.mdc): - monorepo.mdc: expanded with design system, hooks, naming conventions - react-components.mdc: TSX conventions (Server/Client, a11y, React 19) - api-routes.mdc: API route patterns (auth, errors, pagination) - rust-api.mdc: Rust/Axum conventions (SeaORM, cargo commands) Skills (SKILL.md): - code-reviewer: two-pass review with Fix-First classification - git-workflow: branch/commit/PR convention guide - component-template: React component scaffolding from specs - api-contract: OpenAPI-style API document generation - security-auditor: OWASP Top 10 + decoded-specific checks - testing-specialist: AAA pattern test case guide - react-best-practices: 45 React/Next.js perf optimization rules Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This was referenced Apr 24, 2026
8 tasks
thxforall
added a commit
that referenced
this pull request
Apr 30, 2026
…#377) * docs(plans): DB 운영 모델 정리 로드맵 spec PRD→dev 시드 작업 중 발견된 post_magazines.status='failed' drift를 계기로, dev/prod/assets 3 영역과 Supabase CLI / SeaORM / TS 상수 3종 사실상 SOT 의 운영 모델 정리 로드맵을 4단계로 분해. GitHub 이슈 등록: - #371 DB 운영 모델 SOT 문서화 (P0) - #372 post_magazines.status='failed' drift 정합화 (P1) - #373 drift 검증 CI 게이트 (P2) - #374 [Epic] SeaORM ↔ Supabase 마이그레이션 통합 B.3 (P3) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * feat(scripts): just seed-from-prod 으로 PRD→dev 시드 자동화 (#371 follow-up) 이전에 PRD→dev 시드는 9 단계 수동 절차로 (export, dump auth/public, reset, 시스템 row 삭제, import auth/public, verify, cleanup) 진행됐음. 재사용 가능하게 단일 명령으로 패키징. Usage: export PRD_DB_URL='postgresql://...' # NEVER paste in chat just seed-from-prod 추가: - scripts/seed-from-prod.sh — pre-flight, dump, reset --no-seed, system-seed row 삭제, import auth→public, 검증, cleanup - Justfile — seed-from-prod target 안전 가드: - PRD_DB_URL 미설정 시 fail-fast + Dashboard 안내 메시지 - 모든 prerequisite (pg_dump, psql, docker, supabase) 사전 체크 - /tmp dump 파일에 PID 접미사 + trap 으로 항상 cleanup - interactive confirm prompt (yes 입력 필수) - 비밀번호 로테이션 reminder 출력 - post_magazines drift (#372) 미적용 PRD 일 경우 안내 Closes (옵션 #5 in spec) part of #371 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * docs(specs): wiki:lint 통과 — frontmatter 어휘 정합 - 2026-04-30-db-operating-model-design.md: `date` → `updated` 필드명, tags 를 허용 어휘 [db, ops, architecture] 로 교체 (이전 [database, migration, supabase, seaorm, drift, documentation] — 어휘 외 6건). - 2026-04-23-e2e-hardening-reprioritization-design.md: `title` 더블쿼트로 감싸 `#170)` 의 YAML comment 절단 해소 → H1_TITLE_MISMATCH 제거. tags 를 [testing, ops] 로 정합화 (이전 infrastructure/hardening 어휘 외). `bun run wiki:lint` 결과: 10 errors → 0 errors (TOO_MANY_RELATED 1건은 warning, CI 통과). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This was referenced May 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
allowed-tools,model제거만 적용Changes
Rules (.mdc) — 파일 열면 자동 활성화:
monorepo.mdc확장 (디자인 시스템, 훅, 네이밍 컨벤션 추가)react-components.mdc—packages/web/**/*.tsx대상api-routes.mdc—packages/web/app/api/**/*.ts대상rust-api.mdc—packages/api-server/**/*.rs대상Skills (SKILL.md) —
/skill-name으로 호출:code-reviewer— Two-pass 리뷰, Fix-First, decoded 전용 규칙git-workflow— 브랜치/커밋/PR 컨벤션component-template— React 컴포넌트 스캐폴딩api-contract— OpenAPI 스타일 API 문서security-auditor— OWASP Top 10 보안 감사testing-specialist— AAA 패턴 테스트 가이드react-best-practices— 45개 React/Next.js 성능 규칙Test plan
.tsx파일 열기 → react-components 룰 자동 로드 확인/code-reviewer입력 → 스킬 인식 확인/commit스킬 정상 작동 확인🤖 Generated with Claude Code