Skip to content

Add workflow skills: create-branch, create-pr, make-yt-issue#64

Merged
gasparian merged 3 commits intomainfrom
andrei.gasparian/add-workflow-skills
Mar 19, 2026
Merged

Add workflow skills: create-branch, create-pr, make-yt-issue#64
gasparian merged 3 commits intomainfrom
andrei.gasparian/add-workflow-skills

Conversation

@gasparian
Copy link
Contributor

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 main
  • create-pr — stages, commits with [DBA-XXX] prefix, pauses for confirmation, pushes, creates PR via gh with the standard template
  • make-yt-issue — proposes and creates YouTrack issues via MCP tools after user approval
Files
  • .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.json

CLAUDE.md simplification

Simplified "After Completing Work" steps 6-9 to reference the new skills. Moved the PR format template into the create-pr skill as the single source of truth. Referenced make-yt-issue in the YouTrack Ticket Workflow section.

Files
  • CLAUDE.md

Test Plan

  • make lint-skills passes
  • Invoke /create-branch in a conversation and verify branch naming
  • Invoke /create-pr and verify pause-before-push and PR template
  • Invoke /make-yt-issue and verify approval flow

🤖 Generated with Claude Code

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>
@gasparian gasparian requested a review from a team March 19, 2026 15:24
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
```
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found it working poorly at the end of the day :)
Mb we should simply keep it somewhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you mean put it to the script, instead of just string in a prompt?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, I see the issue, it can pick the wrong name, will fix

Andrei Gasparian and others added 2 commits March 19, 2026 18:53
…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>
@gasparian gasparian merged commit 74fde58 into main Mar 19, 2026
6 checks passed
@gasparian gasparian deleted the andrei.gasparian/add-workflow-skills branch March 19, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants