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/lambdamechanic/skills/tree/main/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.
lambda-workflow
One lifecycle for Lambda repos: choose a bd task, start work, land the PR, and watch GitHub via Dumbwaiter MCP until it merges.
testing-patterns
Testing patterns and standards for this codebase, including async effects, fakes vs mocks, and property-based testing.
dumbwaiter-mcp
Provider-agnostic wait-for-change skill that uses the Dumbwaiter MCP server to wait on PR events (GitHub first) via wait.start/status/cancel/await, with progress notifications and durable state.
rust-guidelines
Pragmatic Rust conventions to keep code readable, testable, and performant for this project.
galahad
how to approach tests, types and coverage
template-skill
Replace with description of the skill and when Claude should use it.
Didn't find tool you were looking for?