Repository navigation
docs(agents): add Jujutsu (jj) workflow skill - #901
Merged
Merged
Conversation
kyasbal
requested review from
K53,
RyuSA,
jyane,
kkuchima and
renamoo
as code owners
August 25, 2026 09:02
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces a new Jujutsu (jj) workflow guide (SKILL.md) for the KHI project, outlining change management, pushing commits, addressing PR feedback, and resolving conflicts. The review feedback correctly identifies several incorrect Jujutsu commands and assumptions in the guide, specifically pointing out that 'jj git push -c @' does not auto-generate bookmarks and that 'jj bookmark advance' is a non-existent command. The reviewer suggests using 'jj bookmark create' and 'jj bookmark set' instead, and updating the pre-flight checklist to reflect these corrections.
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
This PR introduces a dedicated Jujutsu (
jj) version control workflow skill for the KHI project under.agents/skills/jj_workflow/SKILL.md.Background & Motivation
When working with Jujutsu in the KHI codebase, developers and AI agents need consistent operating procedures for common VCS actions, including conflict resolution, handling PR review feedback without squashing, and pushing changes without having to manually invent remote branch names.
Key Guidelines Documented
conflicts()):jj new <conflicted-rev>to work in a clean working copy, verifying with tests (make test-go,make test-web), and squashing the resolution back withjj squash.jj new) rather than modifying or squashing existing commits (jj squashis forbidden here) so reviewers can inspect incremental diffs across review rounds.jj bookmark advanceorjj bookmark move) to point to the newest commit.jj git push -c @to letjjautomatically generate bookmark names (e.g.push-<change_id>) rather than inventing arbitrary branch names.make pre-commit, linters, and tests before finalizing changes.Verification
make lint-md,make format-md, andmake pre-commitpassed with 0 issues.