Add workflow skills: create-branch, create-pr, make-yt-issue#64
Merged
Add workflow skills: create-branch, create-pr, make-yt-issue#64
Conversation
Extract branch creation, PR workflow, and YouTrack issue creation from CLAUDE.md prose into dedicated invocable skills. Simplify CLAUDE.md "After Completing Work" steps to reference the new skills. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Comment on lines
+17
to
+19
| ```bash | ||
| git branch -r | sed -nE 's|^ *origin/([^/]+)/.*|\1|p' | grep -vE '^(dependabot|HEAD|revert-)' | sort | uniq -c | sort -rn | ||
| ``` |
Collaborator
There was a problem hiding this comment.
I found it working poorly at the end of the day :)
Mb we should simply keep it somewhere?
Contributor
Author
There was a problem hiding this comment.
you mean put it to the script, instead of just string in a prompt?
Contributor
Author
There was a problem hiding this comment.
oh, I see the issue, it can pick the wrong name, will fix
…uidelines - Add new update-pr skill for fast branch/PR iterations (stage, commit, push) - Add blocking quality gates (make check + make test) to create-pr skill - Add commit message conventions to CLAUDE.md as single source of truth - Remove duplicated commit format rules from individual skills - create-pr now delegates to create-branch when on main instead of aborting Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace fragile branch-scanning shell pipeline with `make nickname` target that extracts the local part from git user.email. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
Extract branch creation, PR workflow, and YouTrack issue creation from CLAUDE.md prose into three dedicated invocable skills. This gives users explicit control (
/create-branch,/create-pr,/make-yt-issue) and creates single sources of truth for each operation.Changes
New skills
Three new skills with SKILL.md and evals:
create-branch— detects nickname from remotes, creates<nickname>/<descriptive-name>branches from maincreate-pr— stages, commits with[DBA-XXX]prefix, pauses for confirmation, pushes, creates PR viaghwith the standard templatemake-yt-issue— proposes and creates YouTrack issues via MCP tools after user approvalFiles
.claude/skills/create-branch/SKILL.md.claude/skills/create-branch/evals/evals.json.claude/skills/create-pr/SKILL.md.claude/skills/create-pr/evals/evals.json.claude/skills/make-yt-issue/SKILL.md.claude/skills/make-yt-issue/evals/evals.jsonCLAUDE.md simplification
Simplified "After Completing Work" steps 6-9 to reference the new skills. Moved the PR format template into the
create-prskill as the single source of truth. Referencedmake-yt-issuein the YouTrack Ticket Workflow section.Files
CLAUDE.mdTest Plan
make lint-skillspasses/create-branchin a conversation and verify branch naming/create-prand verify pause-before-push and PR template/make-yt-issueand verify approval flow🤖 Generated with Claude Code