End-to-end workflow for resolving/fixing problems/bugs. Use when someone reports an issue, error, bug, or problem - whether it comes with a Sentry link, Linear issue, both, or neither.
Apply this skill ONLY when BOTH conditions hold:
Determine the target from the user's request and repository context. Working in another directory does not exclude an explicitly requested Sytex code fix, and being in a Sytex checkout does not activate this skill for unrelated work.
Do not apply this workflow to other repositories (including agent-skills, Impleload, Omarchy, or ovh_vps), desktop/system problems, support, read-only diagnosis or review, data repairs, or production operations that do not change Sytex code. Mentioning Sytex, Sentry, Linear, an error, or a bug is not sufficient. Editing this skill is not a Sytex code change.
If either condition is absent, stop applying this skill and continue the user's task without imposing its approval gates, Linear issues, worktrees, commits, or PRs. Do not expand an investigation into a code fix merely to activate this workflow. If the user later requests a Sytex code fix, reassess applicability then.
The workflow below applies only after this gate passes, subject to the user's explicit scope and existing authorization.
Determine what was provided:
Ask only minimum questions needed to understand the problem.
Gather context WITHOUT making changes:
YOU MUST produce:
Do NOT proceed to Step 3 until investigation is complete.
Present your findings and proposed fix to the user.
If requester is NOT a developer:
If requester IS a developer:
Ask explicitly:
"Do you approve proceeding with this fix?"
NEVER proceed without explicit user approval.
If user does NOT approve: stop and ask what's missing.
YOU MUST have a Linear issue before proceeding. This is NON-NEGOTIABLE.
If creating a Linear issue, include:
Do NOT proceed to Step 6 until Linear issue ID is confirmed.
If Sentry issue exists:
YOU MUST work in a git worktree. Check if already in one: git worktree list
Once Linear issue ID is known:
main or master)git fetch origin <default-branch>:refs/remotes/origin/<default-branch>
git worktree add ../<short-description> -b feature/SYT-{id}-{short-description} origin/<default-branch>
If already in a worktree, create/switch to the feature branch from the updated remote.
Branch name format: feature/SYT-{id}-{short-description}
IMPORTANT: ALWAYS use the full refspec when fetching. NEVER use just git fetch origin <branch>.
Do NOT proceed to Step 8 until you are in the correct worktree with the correct branch.
Implement according to approved plan.
YOU MUST complete these steps. Do NOT stop before creating the PR.
/commit skill to commit/pr skill to create PRPR MUST include:
NEVER report completion without a PR link.
After ALL steps are complete, provide a brief summary:
Before reporting success, verify:
If ANY item is missing, you have NOT completed the workflow.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer