General-purpose coding policy for Baruch's AI agents
93%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Medium
Suggest reviewing before use
Grep, Read, Glob, non-mutating Bash like git statusEdit, Write, side-effecting Bash, branch creationgit worktree add — distinct from the base checkout, on its own branch, sharing the same .git object storegit worktree add -b <task-branch> ../<repo>-<task> to create an isolated checkout on a new branch (or git worktree add ../<repo>-<task> <existing-branch> to attach to one that already exists), then cd in before any mutating operationskills/release/SKILL.md Step 7, the post-merge order is mandatory: cd back to the base checkout → fast-forward base main → check the worktree for a lock → git worktree remove <worktree-path> → git branch -d <branch>. Teardown precedes branch deleteskills/release/worktree-lock.py <worktree-path> from the base checkout{"path", "locked", "reason"}, with reason null for a lock that supplies noneskills/release/SKILL.md Step 7."locked": true.git worktree remove and git branch -d for itnull reason as no reason suppliedgit worktree remove <path>; never rm -rf the directoryskills/release/hooks/check-leftover-worktrees.sh cleans the session's own repository, natively and under tesslskills/release/lib/prune-worktrees.sh and skills/release/lib/prune-remote-branches.sh (top-of-file docstrings)rules/hook-action-reporting.md Act on What It Namesgit worktree list.tessl-plugin
rules
skills
coding-contracts
references
migrate-to-plugin
onboard-repo
release
hooks
references