AgentSkillsCN

jj:bookmark

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

SKILL.md
--- frontmatter
name: jj:bookmark
description: "Create a jj bookmark for the current commit with a descriptive name"

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 DescriptionBookmark Name
Adding user authenticationjohn/add-user-auth
Fixing token refresh bugjohn/fix-token-refresh
Refactoring database configjohn/refactor-db-config
Adding rate limitingjohn/add-rate-limiting