Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.63 KB

File metadata and controls

28 lines (19 loc) · 1.63 KB

Umbrel Monorepo Agent Guide

Skills

  • Before starting work, check .agents/skills/ for any skill relevant to the task. If a skill matches the work, read its SKILL.md and follow it.

Worktrees

  • Start every new piece of work in its own git worktree under worktrees/, named after the branch it holds:

    git worktree add worktrees/<branch> -b <branch> origin/staging
  • Don't work directly in the root checkout, and don't create worktrees anywhere else. One branch, one worktree, matching names, all in worktrees/.

  • There's nothing to set up: git worktree add creates worktrees/ if it's missing, and the directory is gitignored, so nothing inside it is ever committed.

  • Remove the worktree once its branch is merged:

    git worktree remove worktrees/<branch>

Pull requests

  • Open the PR against the same repository as git origin unless you're asked to target another remote. Either way pass --repo explicitly, since gh infers a target when it's omitted.
  • Push regularly rather than saving everything for one commit at the end. Each commit should be atomic: one self-contained change that leaves the tree working on its own.
  • Write the PR title and description as an overview of the overall change and its implications — what it does and what it means for the rest of the system, not a replay of the commits. The title and description become the commit message when the PR is squash-merged, so they are what everyone reads in git log later.
  • Keep the description current as the implementation changes. When it's merged it must describe what the PR actually does, not what it originally set out to do.