yeet
Prerequisites
- Require GitHub CLI
gh. Checkgh --version. If missing, ask the user to installghand stop. - Require authenticated
ghsession. Rungh auth status. If not authenticated, ask the user to rungh auth login(and re-rungh auth status) before continuing.
Naming conventions
- Branch:
{github username without '-dn' suffix}/ar-{jira ticket number}/{description}when starting from default branch (v26.1/v26.2 etc. usually based onv{year}.{quarter}). - Commit: See Commit Message Style below.
- PR title:
AR-{jira ticket number}: {description}summarizing the full diff.
Commit Message Style
Format
[type]: Subject line (capitalize first word)
- Bullet point without ending period
- Another bullet explaining a specific change
Types
Use square brackets: [feat], [fix], [refactor], [chore], [test]
Subject Line Rules
- Always capitalize the first word after the colon
- Never include ticket references in commit messages (save for PR description)
When to Use Body vs Longer Subject
Simple changes (single focus, straightforward logic): → Use a slightly longer, descriptive subject. No body needed.
[fix]: Skip tasks fetch for standalone task instances in expanded row
[chore]: Code quality improvements & rule compliance (memo, casts, etc.)
Complex changes (significant logic, multiple decisions, refactoring): → Use terse subject + bullet body. Complexity is about significance of change, NOT file count.
[refactor]: Address PR review comments from Amram
- Replace IIFE pattern with inline computed values for filteredChildWorkflowLogs
- Extract clearSelections() helper to eliminate 5 duplicate occurrences
- Extract buildTaskInstanceViewerData utility to separate file, reducing ~80 lines
- Remove duplicate imports in workflow-instance-api-context.tsx
Bullet Style
- Start with action verb (Add, Remove, Update, Fix, Replace, Extract) or past tense (Added, Removed...)
- Never end bullets with a period
- Each bullet should describe one specific change
Co-authored-by
Only add Co-authored-by: Cursor <cursoragent@cursor.com> when the AI wrote most of the code. If user drove the implementation and AI only assisted minimally, omit it.
Workflow
- If on default branch (v26.1/v26.2 etc. usually based on
v{current year}.{current quarter}), create a branch:git checkout -b "{github username without '-dn' suffix}/ar-{jira ticket number}/{description}" - Otherwise stay on the current branch.
- Confirm status, then stage everything:
git status -sbthengit add -A. - Commit following the Commit Message Style section above. Use HEREDOC for multi-line commits:
git commit -m "$(cat <<'EOF' [type]: Subject line - First bullet point - Second bullet point EOF )" - Run checks if not already. If checks fail due to missing deps/tools, install dependencies and rerun once.
- Push with tracking:
git push -u origin $(git branch --show-current) - If git push fails due to workflow auth errors, pull from master and retry the push.
- Open a PR and edit title/body to reflect the description and the deltas:
GH_PROMPT_DISABLED=1 GIT_TERMINAL_PROMPT=0 gh pr create --draft --fill --head $(git branch --show-current) - Write the PR description to a temp file with real newlines (e.g. pr-body.md ... EOF) and run pr-body.md to avoid \n-escaped markdown.
- PR description (markdown) must be detailed prose covering the issue, the cause and effect on users, the root cause, the fix, and any tests or checks used to validate. Base it on pr-desc command
More from lgariv-dn/frontend-skills
react-best-practices
React performance optimization guidelines from Vercel Engineering. This skill should be used proactively when writing, reviewing, or refactoring React code to ensure optimal performance patterns. Triggers on tasks involving React components, bundle optimization, or performance improvements.
37workflow-local-dev
Support local workflow platform development in the DAP workspace across frontend, backend, and infra teams. Provides access to Kubernetes (Kind), Tilt service management, database queries, and troubleshooting. Use when building backend/API features, adjusting infra configurations, checking logs, running tests, or debugging issues against locally deployed workflow engine components.
18e2e-ci-debug
Debug CI E2E failures from pull requests by inspecting GitHub checks, downloading Playwright reports, and mapping failures to local Nx commands. Use when debugging failed E2E tests in PR workflows.
15pr-demo-recorder
Records scripted webreel demos of a PR's changes using the current branch's PR description, linked Jira ticket, reproduction artifacts, and newly-added Playwright E2E tests as the source of truth. Use when the user asks to "create a demo for this PR", "record a webreel for AR-XXXXX", "demo this fix/feature", "generate a demo video", "make a video of the E2E flow", "demo this epic", or "record a visual for this change". Handles single-concern PRs, large multi-concern PRs, and epic-level demos with one or many videos. Always plans scope, flow, data source, and format with the user via AskUserQuestion before recording — never records unprompted.
1