dev
Development workflow for this repository. Run `make help` to see available targets.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Development workflow for this repository. Run `make help` to see available targets.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Take screenshots, screen recordings, scrolling captures, and OCR text recognition using CleanShot X. Use when user requests screenshots, captures, screen recording, OCR, text extraction, or image annotation.
Development workflow for this repository. Run `make help` to see available targets.
Configure and manage AeroSpace tiling window manager for macOS. Use when working with window layouts, tiling configurations, workspace management, monitor assignments, or AeroSpace keybindings. Keywords: aerospace, tiling, workspaces, window manager, i3-like.
Configure and manage Hammerspoon automation, app launching, and window switching. Use when working with ~/.config/hammerspoon config files, adding keybindings, modifying the leader modal, or troubleshooting Hammerspoon functionality. Window management is handled by AeroSpace.
Trigger and monitor GitHub Actions workflows, CI/CD pipelines, and automated builds. Use when running workflows, triggering CI, deploying via GitHub Actions, downloading artifacts, or checking workflow status on github.com
Configure and manage Karabiner-Elements key remapping. Use when modifying karabiner.json, adding key remappings, creating complex modifications, managing profiles, setting variables, or troubleshooting keybinding issues.
| name | dev |
| description | Development workflow for this repository. Run `make help` to see available targets. |
Development workflow utilities for branching, PR management, and review feedback.
Create a new branch off the latest default branch commit.
Generate a short, kebab-case name from the task:
add-user-auth not add-user-authentication-featurefix-login-bug not fix-the-bug-in-the-login-flowrefactor-api not refactor-api-endpoints-for-better-performanceUse 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.
Address GitHub PR review comments and reply to reviewers.
# 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]}'
# 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>
Replies should be:
Examples:
Fixed in abc1234 - renamed to run-test.js as suggestedAddressed in def5678 - now uses a single rule in cook.mkGood catch, fixed in 789abcd - removed the duplicate import# 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
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.