# Task Complete

> Complete a beads task — mark done, create PR, merge, and clean up worktree. Use after all tests pass and verification is complete.

- Skill: `majiayu000/task-complete` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/task-complete`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/task-complete/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/task-complete

---


# Task Completion Workflow

## Steps

1. **Mark task done**: `bd close <id>`
2. **Create PR**: `gh pr create --base develop` with descriptive title and summary
3. **Code review**: `/code-review` → address any findings
4. **Watch CI**: `gh pr checks --watch`
5. **Merge PR**: `gh pr merge --squash`
6. **Remove worktree**:
   ```bash
   cd "$CLAUDE_PROJECT_DIR"
   git worktree remove ~/worktrees/property-tracker/<name>
   ```
7. **Next task**: `/compact` → `bd ready`

## When Ready to Release

1. Verify staging (`staging.bricktrack.au`) works correctly
2. Create PR: `develop` → `main`
3. Merge after CI passes
4. Production deploys automatically to `bricktrack.au`

