返回 Skill 列表
extension
分类: 开发与工程无需 API Key

jj:bookmark

为当前提交创建一个具有描述性名称的jj书签

person作者: jakexiaohubgithub

Create Bookmark

Create a jj bookmark for the current commit with a descriptive name.

Process

  1. Run jj log -r ::@ --limit 10 to see recent commits and understand the work theme
  2. Generate a short, descriptive name (2-4 words, kebab-case, no slashes)
  3. Create the bookmark:
    • If @ is empty: jj bookmark create john/<name> -r @-
    • If @ has changes: jj bookmark create john/<name>

Naming Examples

| Work Description | Bookmark Name | |-----------------|---------------| | Adding user authentication | john/add-user-auth | | Fixing token refresh bug | john/fix-token-refresh | | Refactoring database config | john/refactor-db-config | | Adding rate limiting | john/add-rate-limiting |