Agent skill
starting-the-task
A short checklist for kicking off work effectively: plan, branch, track with bd, and set up validation.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/productivity/starting-the-task
SKILL.md
Starting the Task
Use this checklist any time you begin work on a bd issue (or whenever the user says “start working on …”). It ensures the effort is grounded, observable, and reversible.
-
Understand the Task
- Read the bd issue (and any linked discoveries or docs) end-to-end.
- Confirm acceptance criteria, dependencies, and blockers. Ask clarifying questions before touching code.
-
Environment Readiness
- Run
cargo test(or the project’s canonical smoke suite) onmainto ensure the baseline is green before you diverge. - If tests fail, stop and coordinate—don’t start stacking new work on a broken branch.
- Run
-
Branch & Tracking
- Create a fresh branch for the effort, even if you expect a small change.
bash
git checkout -b <short-task-name> bd update <id> --status in_progress --notes "Starting work"so the tracker reflects the new ownership/status.- If multiple repos are involved, repeat for each.
- Create a fresh branch for the effort, even if you expect a small change.
-
Open a Draft PR (immediately)
- As soon as you create the branch, open a draft PR so CI runs and stakeholders can track progress. If a PR already exists for the parent effort, continue on that one.
- Source the PR title/description from the bd issue: include its summary, acceptance criteria, and a link/reference to the bd id.
- Preferred command (uses GitHub CLI):
bashFallback:
scripts/pr-draft.sh "<short title incl. bd id>" [body.md]gh pr create --draft --title "..." --body-file body.mdaftergit push -u origin <branch>.
-
Sync & Tooling
- Ensure
git pull --rebase(or equivalent) so you’re working from the latest remotemain. - Verify
gh auth statusso PR creation won’t fail later.
- Ensure
-
Plan Tests Early
- Decide how you’ll prove the change works (unit tests, integration, manual steps). Capture this in notes or the eventual PR description so reviewers know what to expect.
Only after these steps are complete should you begin coding. If circumstances prevent any step (e.g., CI down, baseline broken), note it explicitly in bd and get confirmation before proceeding.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?