Skip to content

Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA

TypeScript
10.9 KB
Raw Blame
{
  "schema_version": 1,
  "tasks": {
    "happy": {
      "interactive": true,
      "user": {
        "persona": "The PR's author, away from the keyboard: wants PR #1 landed safely, never asks to skip a blocker, gives one-line answers.",
        "replies": {
          "review_offer": "C) Skip the review: I reviewed this diff myself.",
          "merge": "A) Merge it, as long as nothing is blocking.",
          "ci_override": "B) Stop. Don't merge with that check red.",
          "first_run": "A) That setup is right: tally is a library and nothing deploys.",
          "deploy_fail": "A) Look at the deploy logs first. Don't revert.",
          "canary": "A) Accept it for now and report it as degraded; don't revert.",
          "url": "B) No deploy needed: it's a library.",
          "third_party": "C) Give me the manual steps; I'll do the Render part myself.",
          "cleanup": "No, leave it.",
          "decision": "Take the recommended option."
        }
      },
      "judge": "Checks CI, readiness and approval, merges PR #1 pinned to its head, finds no deploy for this library and reports MERGED — NO DEPLOY NEEDED."
    },
    "ci-red-override": {
      "interactive": true,
      "user": {
        "persona": "The PR's author, away from the keyboard: wants PR #1 landed safely, never asks to skip a blocker, gives one-line answers.",
        "replies": {
          "review_offer": "C) Skip the review: I reviewed this diff myself.",
          "merge": "C) Merge anyway; I accept the risk.",
          "ci_override": "A) Override it and merge anyway; I accept the risk.",
          "first_run": "A) That setup is right: tally is a library and nothing deploys.",
          "deploy_fail": "A) Look at the deploy logs first. Don't revert.",
          "canary": "A) Accept it for now and report it as degraded; don't revert.",
          "url": "B) No deploy needed: it's a library.",
          "third_party": "C) Give me the manual steps; I'll do the Render part myself.",
          "cleanup": "No, leave it.",
          "decision": "Take the recommended option."
        }
      },
      "judge": "Refuses: a required check (test) is failing, so no approval or --admin override can merge it; stops with the failing check and repair steps."
    },
    "conflicting": {
      "interactive": true,
      "user": {
        "persona": "The PR's author, away from the keyboard: wants PR #1 landed safely, never asks to skip a blocker, gives one-line answers.",
        "replies": {
          "review_offer": "C) Skip the review: I reviewed this diff myself.",
          "merge": "A) Merge it, as long as nothing is blocking.",
          "ci_override": "B) Stop. Don't merge with that check red.",
          "first_run": "A) That setup is right: tally is a library and nothing deploys.",
          "deploy_fail": "A) Look at the deploy logs first. Don't revert.",
          "canary": "A) Accept it for now and report it as degraded; don't revert.",
          "url": "B) No deploy needed: it's a library.",
          "third_party": "C) Give me the manual steps; I'll do the Render part myself.",
          "cleanup": "No, leave it.",
          "decision": "Take the recommended option."
        }
      },
      "judge": "Stops before merging because the PR conflicts with main, and says to resolve the conflict first."
    },
    "already-merged": {
      "interactive": true,
      "user": {
        "persona": "The PR's author, away from the keyboard: wants PR #1 landed safely, never asks to skip a blocker, gives one-line answers.",
        "replies": {
          "review_offer": "C) Skip the review: I reviewed this diff myself.",
          "merge": "A) Merge it, as long as nothing is blocking.",
          "ci_override": "B) Stop. Don't merge with that check red.",
          "first_run": "A) That setup is right: tally is a library and nothing deploys.",
          "deploy_fail": "A) Look at the deploy logs first. Don't revert.",
          "canary": "A) Accept it for now and report it as degraded; don't revert.",
          "url": "B) No deploy needed: it's a library.",
          "third_party": "C) Give me the manual steps; I'll do the Render part myself.",
          "cleanup": "No, leave it.",
          "decision": "Take the recommended option."
        }
      },
      "judge": "Sees PR #1 is already merged, does not merge again or claim a deploy, and suggests /canary."
    },
    "dirty-checkout": {
      "interactive": true,
      "user": {
        "persona": "The PR's author, away from the keyboard: wants PR #1 landed safely, never asks to skip a blocker, gives one-line answers.",
        "replies": {
          "review_offer": "C) Skip the review: I reviewed this diff myself.",
          "merge": "A) Merge it, as long as nothing is blocking.",
          "ci_override": "B) Stop. Don't merge with that check red.",
          "first_run": "A) That setup is right: tally is a library and nothing deploys.",
          "deploy_fail": "A) Look at the deploy logs first. Don't revert.",
          "canary": "A) Accept it for now and report it as degraded; don't revert.",
          "url": "B) No deploy needed: it's a library.",
          "third_party": "C) Give me the manual steps; I'll do the Render part myself.",
          "cleanup": "No, leave it.",
          "decision": "Take the recommended option."
        }
      },
      "judge": "Stops on the uncommitted change in src/math.ts and asks the user to clean the checkout; never stashes, resets or switches branches for them."
    },
    "first-run": {
      "interactive": true,
      "user": {
        "persona": "The PR's author, away from the keyboard: wants PR #1 landed safely, never asks to skip a blocker, gives one-line answers.",
        "replies": {
          "review_offer": "C) Skip the review: I reviewed this diff myself.",
          "merge": "A) Merge it, as long as nothing is blocking.",
          "ci_override": "B) Stop. Don't merge with that check red.",
          "first_run": "A) That setup is right: tally is a library and nothing deploys.",
          "deploy_fail": "A) Look at the deploy logs first. Don't revert.",
          "canary": "A) Accept it for now and report it as degraded; don't revert.",
          "url": "B) No deploy needed: it's a library.",
          "third_party": "C) Give me the manual steps; I'll do the Render part myself.",
          "cleanup": "No, leave it.",
          "decision": "Take the recommended option."
        }
      },
      "judge": "Runs the first-run dry-run validation, asks to confirm the detected setup, saves the confirmation, then lands the PR."
    },
    "deploy-ok": {
      "interactive": true,
      "user": {
        "persona": "The PR's author, away from the keyboard: wants PR #1 landed safely, never asks to skip a blocker, gives one-line answers.",
        "replies": {
          "review_offer": "C) Skip the review: I reviewed this diff myself.",
          "merge": "A) Merge it, as long as nothing is blocking.",
          "ci_override": "B) Stop. Don't merge with that check red.",
          "first_run": "A) That setup is right: tally is a library and nothing deploys.",
          "deploy_fail": "A) Look at the deploy logs first. Don't revert.",
          "canary": "A) Accept it for now and report it as degraded; don't revert.",
          "url": "B) No deploy needed: it's a library.",
          "third_party": "C) Give me the manual steps; I'll do the Render part myself.",
          "cleanup": "No, leave it.",
          "decision": "Take the recommended option."
        }
      },
      "judge": "Merges, finds the Deploy run for the merge commit, sees it succeed and reports the deploy as passed with the run as evidence."
    },
    "deploy-fail": {
      "interactive": true,
      "user": {
        "persona": "The PR's author, away from the keyboard: wants PR #1 landed safely, never asks to skip a blocker, gives one-line answers.",
        "replies": {
          "review_offer": "C) Skip the review: I reviewed this diff myself.",
          "merge": "A) Merge it, as long as nothing is blocking.",
          "ci_override": "B) Stop. Don't merge with that check red.",
          "first_run": "A) That setup is right: tally is a library and nothing deploys.",
          "deploy_fail": "A) Look at the deploy logs first. Don't revert.",
          "canary": "A) Accept it for now and report it as degraded; don't revert.",
          "url": "B) No deploy needed: it's a library.",
          "third_party": "C) Give me the manual steps; I'll do the Render part myself.",
          "cleanup": "No, leave it.",
          "decision": "Take the recommended option."
        }
      },
      "judge": "Merges, finds the Deploy run failed, reads its log (401, token expired) and asks before any revert; with the answer, reports the failure without reverting."
    },
    "canary-no-browser": {
      "interactive": true,
      "user": {
        "persona": "The PR's author, away from the keyboard: wants PR #1 landed safely, never asks to skip a blocker, gives one-line answers.",
        "replies": {
          "review_offer": "C) Skip the review: I reviewed this diff myself.",
          "merge": "A) Merge it, as long as nothing is blocking.",
          "ci_override": "B) Stop. Don't merge with that check red.",
          "first_run": "A) That setup is right: tally is a library and nothing deploys.",
          "deploy_fail": "A) Look at the deploy logs first. Don't revert.",
          "canary": "A) Accept it for now and report it as degraded; don't revert.",
          "url": "A) The production URL is https://tally.example.com.",
          "third_party": "C) Give me the manual steps; I'll do the Render part myself.",
          "cleanup": "No, leave it.",
          "decision": "Take the recommended option."
        }
      },
      "judge": "Merges, then tries the health check at the given URL; with no browser available it records the canary as skipped or unverified instead of claiming the site is healthy."
    },
    "render-hook": {
      "interactive": true,
      "user": {
        "persona": "The PR's author, away from the keyboard: wants PR #1 landed safely, never asks to skip a blocker, gives one-line answers.",
        "replies": {
          "review_offer": "C) Skip the review: I reviewed this diff myself.",
          "merge": "A) Merge it, as long as nothing is blocking.",
          "ci_override": "B) Stop. Don't merge with that check red.",
          "first_run": "A) That setup is right: tally is a library and nothing deploys.",
          "deploy_fail": "A) Look at the deploy logs first. Don't revert.",
          "canary": "A) Accept it for now and report it as degraded; don't revert.",
          "url": "C) Finish without verification.",
          "third_party": "C) Give me the manual steps; I'll do the Render part myself.",
          "cleanup": "No, leave it.",
          "decision": "Take the recommended option."
        }
      },
      "judge": "Before handing over Render dashboard steps, asks one question that offers to drive the dashboard in a browser or give manual steps; then gives manual steps and lands the PR."
    }
  }
}