AgentSkillsCN

pr-title

在撰写 Pull Request 标题或提交信息时,遵循韩语动词短语的惯例使用。

SKILL.md
--- frontmatter
name: pr-title
description: Use when writing Pull Request titles or commit messages to follow the Korean action word convention.

Pull Request Title Guide

Use this skill when creating PR titles or commit messages.

Basic Format

code
{Subject} {Action}
  • Subject: The target being modified (file, module, feature, library, etc.)
  • Action: The type of change being made

Subject Naming Rules

Choose the subject based on what is being modified:

Target TypeSubject ExampleDescription
Config fileTSConfig, ESLint, MikroORMUse the official/common name of the tool
ModuleJwtModule, CacheModule, UsersControllerUse the class/module name
FeatureCI, E2E 테스트, Git HooksUse the feature name
LibraryLodash, Vitest, TurborepoUse the library name
Domain사용자, 인증, OTPUse Korean domain terms

Examples

  • tsconfig.tsTSConfig
  • eslint.config.mjsESLint
  • mikro-orm.config.tsMikroORM
  • users.service.ts사용자 or UsersService

Action Types

ActionUsageExample
설정Initial setup or configurationJwtModule 설정
변경Modify existing configurationTSConfig 변경
수정Fix issues or errorsESLint 에러 수정
추가Add new featuresUsersController 테스트 추가
적용Apply new tools or patternsTurborepo 적용
구축Build infrastructureCI 구축
교체Replace with alternativesLodash를 es-toolkit으로 교체
마이그레이션Migrate to new toolsJest에서 Vitest로 마이그레이션
표준화Standardize patterns응답 변환 방식 표준화
보강Strengthen/enhance사용자 수정 테스트 보강
향상Improve qualitypre-push 로그 가독성 향상
제외Exclude from rulesfixup 커밋 제목 길이 제한 제외
정의Define rules/specsCursor 규칙 정의

Good Examples

code
✅ TSConfig 경로 별칭 설정
✅ mise 환경 변수 설정
✅ ESLint 설정 수정
✅ JWT 환경 변수 이름 오타 수정
✅ Jest에서 Vitest로 마이그레이션
✅ Lodash를 es-toolkit으로 교체
✅ 사용자 수정 테스트 보강
✅ pre-push 로그 가독성 향상

Bad Examples

code
❌ 설정 파일 수정 (too vague - what config?)
❌ 버그 수정 (too vague - what bug?)
❌ 테스트 추가 (too vague - what test?)
❌ Web 앱 TSConfig 설정 (unnecessary context - Vite implies Web)

Tips

  1. Be specific: The subject should clearly identify what was changed
  2. Use official names: TSConfig (not tsconfig), ESLint (not eslint)
  3. Avoid redundancy: Don't repeat context that can be inferred
  4. Keep it concise: Title should be scannable at a glance
  5. Use Korean for actions: 설정, 수정, 추가, etc.

Related: Commit Message vs PR Title

  • Commit messages: Can be more granular, multiple per PR
  • PR title: Should summarize the overall change in one line