Development workflow

VerifiedSafe

Provides commands and workflows for creating branches (fetch, detect default branch, kebab-case naming) and handling code review feedback (fetch pending comments, commit fixes, reply with commit SHA). Helps standardize branch practices and speed up PR review resolution on GitHub.

Sby Skills Guide Bot
DevelopmentIntermediate
6/2/2026
Claude CodeCopilot
#branching#github#pr-management#review-feedback#git-workflow

Recommended for

Automated summary

This skill automates common development tasks: branch creation, PR management, and addressing code review feedback using GitHub CLI.

Strengths

  • Streamlines branch creation with consistent task-based naming conventions
  • Facilitates retrieval and batch processing of unresolved review comments
  • Generates concise replies to reviewers including the fix commit SHA
  • Adapts to repository branch prefix conventions (feature/, fix/, username/)

Limitations

  • Requires GitHub CLI (gh) and git to be installed and configured
  • Does not cover merge or rebase workflows after approval
  • Relies on the exact GitHub API structure (JSON fields may vary between versions)
When to use it

Best for developers who want to speed up repetitive branch management and code review tasks on GitHub.

When not to use it

Avoid if you use a code hosting platform other than GitHub (GitLab, Bitbucket) or prefer GUI-based workflows.

Security analysis

Safe
Quality score85/100

Skill uses standard git and GitHub CLI commands for branching and PR review feedback, with no destructive or exfiltrating actions. All operations are legitimate development tasks.

No concerns found

How this analysis is made

Examples

Create a new branch for a feature
Create a new branch for adding two-factor authentication. Use the standard naming convention from the repo.
Address PR review comments
Address the pending review comments on PR #42. Fetch them, make fixes, and reply to each reviewer with the commit SHA.
Batch process review feedback
Get all unresolved review comments on PR #269 grouped by file, then fix the issues and reply accordingly.

name: dev description: Development workflow for this repository. Run make help to see available targets.

dev

Development workflow utilities for branching, PR management, and review feedback.

Creating branches

Create a new branch off the latest default branch commit.

Workflow

  1. Fetch latest from remote
  2. Detect default branch (main or master)
  3. Create branch with descriptive name based on task
  4. Switch to new branch

Branch naming

Generate a short, kebab-case name from the task:

  • add-user-auth not add-user-authentication-feature
  • fix-login-bug not fix-the-bug-in-the-login-flow
  • refactor-api not refactor-api-endpoints-for-better-performance

Use a prefix if the repo convention requires one (check existing branches).

# Fetch and get default branch
git fetch origin
git remote show origin | sed -n '/HEAD branch/s/.*: //p'

# Create branch from latest default branch
git checkout -b <branch-name> origin/main

# See existing branch naming patterns
git branch -r | head -20

If branches use prefixes like feature/, fix/, or username prefixes like wcm/, follow that pattern.

Review feedback

Address GitHub PR review comments and reply to reviewers.

Workflow

  1. Get pending review comments - fetch unresolved comments
  2. Address each comment - make code changes to resolve feedback
  3. Commit with clear message - reference what feedback was addressed
  4. Reply to reviewer - concise reply with commit SHA and explanation

Getting review comments

# All comments on a PR (includes replies)
gh pr view <pr-number> --comments --json comments

# Review comments (code-level feedback)
gh api repos/{owner}/{repo}/pulls/{pr}/comments --jq '.[] | {id, path, line, body, user: .user.login, in_reply_to_id}'

# Pending/unresolved comments (no replies yet)
gh api repos/{owner}/{repo}/pulls/{pr}/comments --jq '[.[] | select(.in_reply_to_id == null)] | .[] | {id, path, body: .body[0:100]}'

Replying to comments

# Reply to a review comment
gh api repos/{owner}/{repo}/pulls/{pr}/comments \
  --method POST \
  -f body="Fixed in abc1234 - renamed to run-test.js" \
  -F in_reply_to=<comment-id>

Good reply format

Replies should be:

  • Concise - one sentence is often enough
  • Reference commit SHA - so reviewer can verify
  • Explain how - brief description of the fix

Examples:

  • Fixed in abc1234 - renamed to run-test.js as suggested
  • Addressed in def5678 - now uses a single rule in cook.mk
  • Good catch, fixed in 789abcd - removed the duplicate import

Complete example

# 1. Get pending comments on PR #269
gh api repos/whilp/world/pulls/269/comments \
  --jq '.[] | select(.in_reply_to_id == null) | {id, path, body}'

# Output:
# {"id":2702089939,"path":"lib/appscript/run-tests.js","body":"run-tests.js should be run-test.js..."}

# 2. Make the fix and commit
git mv lib/appscript/run-tests.js lib/appscript/run-test.js
git commit -m "appscript: rename run-tests.js to run-test.js"
# Commit SHA: abc1234

# 3. Reply to the comment
gh api repos/whilp/world/pulls/269/comments \
  --method POST \
  -f body="Fixed in abc1234 - renamed to run-test.js" \
  -F in_reply_to=2702089939

Batch processing

For multiple comments:

# Get all pending comments as JSON
gh api repos/{owner}/{repo}/pulls/{pr}/comments \
  --jq '[.[] | select(.in_reply_to_id == null)] | group_by(.path) | .[] | {path: .[0].path, comments: [.[] | {id, body}]}'

This groups comments by file for efficient processing.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/development-workflow-mm5t89ga/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/development-workflow-mm5t89ga' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/development-workflow-mm5t89ga/download' --output '.skill-downloads/development-workflow-mm5t89ga/SKILL.md.part' && mv '.skill-downloads/development-workflow-mm5t89ga/SKILL.md.part' '.skill-downloads/development-workflow-mm5t89ga/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/development-workflow-mm5t89ga/SKILL.md' && test -s '.skill-downloads/development-workflow-mm5t89ga/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/dev' && cp -R '.skill-downloads/development-workflow-mm5t89ga' '.claude/skills/dev'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/development-workflow-mm5t89ga'

openskills read 'development-workflow-mm5t89ga'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/development-workflow-mm5t89ga/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills