Claude
Skills
Sign in
โ† Back

fotingo

Included with Lifetime
$97 forever

Use fotingo as the default workflow for starting issue work and submitting work for review.

Code Review

What this skill does


# Fotingo Workflow Skill

This skill configures Claude Code to use fotingo as the primary workflow interface for issue start, review submission, and supporting context operations.

## Core Intent

Use these patterns as the default way of working with issues:

- starting work on an issue
- submitting work for review
- checking context before taking workflow actions

When this skill is installed, prefer fotingo for end-to-end issue and review workflow operations.

## Preflight

When branch or issue context is unclear, inspect first:

```bash
fotingo inspect --json
```

When pull request comments, reviews, or inline conversations matter, inspect the current branch PR:

```bash
fotingo inspect pr --json
```

## Start Workflows

Start from an existing issue:

```bash
fotingo start PROJ-123 -y
```

Create and start a new issue:

```bash
fotingo start -p PROJ -k Task -t "Improve checkout decline error handling" -d "Problem: payment declines are hard to diagnose. Goal: clear user-facing messaging plus actionable logs. Acceptance criteria: improved copy, telemetry events, and regression tests for decline paths." -y
```

Create the branch in a linked worktree under an explicit parent and capture the machine-readable path:

```bash
fotingo start PROJ-123 --worktree-path .claude/worktrees -y --json
```

## Review Workflows

Resolve reviewers, assignees, and labels before review:

```bash
fotingo search reviewers ali --json
fotingo search assignees bob --json
fotingo search labels bug --json
```

Create a pull request with defaults:

```bash
fotingo review -y
```

Create a pull request against a non-default base branch:

```bash
fotingo review -y --branch release/2026.04
```

Create a stacked child pull request by targeting an open parent PR branch:

```bash
fotingo review -y --branch feature/PROJ-122-parent
```

Create with reviewers/assignees:

```bash
fotingo review -y -r alice -r team/platform --assignee bob --labels bug
```

Fill the default Summary and Description sections with template overrides:

```bash
fotingo review -y --template-summary "Improve checkout decline handling" --template-description "Why: reduce support tickets from unclear payment errors.\n\nWhat changed:\n- clearer decline copy\n- structured telemetry\n- regression coverage"
```

Replace the entire PR body from stdin when you need full control:

```bash
printf '## Summary\n\nImprove checkout decline handling\n\n## Description\n\nDetailed reviewer notes.\n' | fotingo review -y --description -
```

Refresh fotingo-managed sections on an existing pull request:

```bash
fotingo review sync -y
```

Update review metadata on an existing pull request:

```bash
fotingo review sync -y -r alice --remove-reviewers team/platform --assignee bob --remove-assignee carol --ready-for-review
```

Inspect and refresh the current stacked PR chain:

```bash
fotingo review stacks --json
fotingo review stacks sync --json
```

Rebase stack branches in their existing local worktrees:

```bash
fotingo review stacks rebase --json
```

## Supporting Commands

- `fotingo open issue` to open the Jira issue linked to the current branch context.
- `fotingo open pr` to open current-branch PR URL.
- `fotingo inspect pr --json` to read current-branch pull request comments and reviews with nested inline conversations.

## Workflow Guide

- Start from `fotingo inspect --json` when branch or issue context is unclear.
- `fotingo inspect --json` returns branch context, linked issue context, commit history, and `pullRequest` metadata including title, description, and URL when the inspected branch already has an open PR.
- Use `fotingo inspect pr --json` when you need pull request discussion context before editing, syncing, or responding to review feedback.
- Use `fotingo start ... -y` to begin work from an existing issue or a newly created issue.
- Use `fotingo start --worktree-path <parent> ... --json` when you want an isolated checkout under a specific parent; automation should read `branch.name` and `branch.worktreePath` from the JSON result. Worktree directory names use the hardcoded `fotingo-wt-<branch>` format.
- Prefer non-interactive flags (`-y`, `--json`) in automated runs.
- Use explicit flags rather than prompts in non-interactive environments.
- For reviewers, assignees, and labels, run `fotingo search ... --json` first and pass the resolved values into `fotingo review`.
- For current-branch PR context, run `fotingo inspect --json` and read the `pullRequest` fields before deciding whether to call `fotingo review sync`, `fotingo open pr`, or `fotingo review`.
- For current-branch PR discussion context, run `fotingo inspect pr --json` and read `pullRequest`, top-level `comments`, and `reviews[].conversations[].comments` before deciding whether to call `fotingo review sync`, `fotingo open pr`, or `fotingo review`.
- Prefer `fotingo review -y` for the standard Jira-backed flow. Use `fotingo review -y --simple` only when you intentionally want a GitHub-only PR flow.
- Use `fotingo review --branch ...` when the pull request should target a non-default base branch.
- Use `fotingo review --branch <parent-branch>` to create a stacked child PR when `<parent-branch>` already has an open PR. Fotingo updates stack metadata and stacked PR sections automatically in that case.
- Prefer `--template-summary` and `--template-description` because they keep the default PR layout while filling the `Summary` and `Description` sections. `--template-description` expands escaped `\n`, `\r\n`, and `\t`.
- Use `fotingo review sync -y` after follow-up commits to refresh fotingo-managed sections while preserving manual edits outside the managed placeholders.
- Use `fotingo review sync --section ...` to limit which managed sections are rewritten. Supported section values are `summary`, `description`, `fixed-issues`, and `changes`, and shell completion can suggest them. `--template-summary` and `--template-description` only apply when those sections are included in the sync.
- Use `fotingo review sync --sync-title` to recompute the PR title, or `fotingo review sync --title "..."` when you need an explicit title update.
- Use `fotingo review sync -r ... --remove-reviewers ... --assignee ... --remove-assignee ...` to add or remove reviewers and assignees on an existing PR after resolving participant values with `fotingo search ... --json`.
- Use `fotingo review sync --ready-for-review` to move an existing draft PR out of draft.
- Use `fotingo review stacks --json` to inspect the current branch's stack in root-to-leaf order. JSON stack status values are emoji-only (`๐ŸŸข` open, `๐Ÿ“` draft, `๐Ÿ”ด` closed, `๐ŸŸฃ` merged, `โšช` unknown), and the current PR is exposed with `current: true`.
- Use `fotingo review stacks sync --json` to refresh deterministic stacked PR sections across every open PR in the current stack without opening an editor.
- Use `fotingo review stacks rebase --json` when stack branches need to be rebased. The command discovers local git worktrees for each stack branch, requires clean worktrees before starting, and stops at the first conflict. Add `--push` only when you intentionally want force-with-lease pushes after successful rebases.
- Use `--description -` when you need to replace the entire PR body instead of filling template placeholders.
- Use `--title` only when the generated PR title is wrong or incomplete.
- Use `fotingo open issue` when you need the linked Jira URL for the current branch context. Interactive runs can disambiguate between multiple linked issues; automation should prefer `--json` and handle ambiguity errors that list the candidate issue IDs.
- Use `fotingo --help` (and `<command> --help`) to discover additional workflow actions.
- If required data is missing, run inspect and retry with explicit values.

## Ticket And PR Etiquette

- Write ticket titles as clear outcomes (what changes and where), not vague placeholders.
- Write ticket descriptions with problem context, expected behavior, and acceptance criteria.
- 

Related in Code Review