一键导入
executing-beads
Use when executing tracked tasks through the full implementation lifecycle
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when executing tracked tasks through the full implementation lifecycle
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when reviewing a spec or task graph for completeness before implementation
Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, logging in, or automating browser actions
Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, logging in, or automating browser actions
Use when decomposing a spec, design, or feature description into a task dependency graph with self-evaluating acceptance criteria
Use when doing creative product, feature, component, functionality, or behavior design work
Use when infrastructure or features are built but before declaring done -- verifies work is wired into the system and actively used
| name | executing-beads |
| description | Use when executing tracked tasks through the full implementation lifecycle |
Execute one task at a time through a full TDD cycle. Each closed task produces one atomic, tested commit. This replaces executing-plans when work is tracked as tasks.
Core principle: 1 task = 1 TDD cycle = 1 atomic commit.
oro task ready # find unblocked work
oro task show <id> # review details + acceptance
oro task update <id> --status in_progress # claim it
Extract the verification contract from the task's --acceptance field:
Test: <path>:<FnName> | Cmd: <test_cmd> | Assert: <expected>
| Field | Meaning |
|---|---|
Test: | Test file path and function name |
Cmd: | Command to run verification |
Assert: | What "pass" looks like |
If acceptance is missing or vague: STOP. Update the task with concrete acceptance before proceeding.
Write the test specified in acceptance criteria. Run the verification command. Confirm failure.
# Go
go test ./path/to/... -run TestFnName -v
# Python
uv run pytest path/to/test_file.py::test_fn_name -v
Verify: Test fails for the expected reason (missing feature, not a typo).
Write the simplest code that makes the test pass.
# Run verification command from acceptance
<Cmd from acceptance>
Verify: Test passes. No other tests broken.
Clean up while tests stay green. No new behavior.
Before declaring implementation complete, pause and ask these questions about the code you just changed:
| Question | What to do |
|---|---|
| What fires when this runs? | Read actual code for callbacks, middleware, hooks, event handlers triggered by your change |
| Do my tests exercise the real chain? | Verify integration tests use real objects, not mocks that hide side-effects |
| Can failure leave orphaned state? | Trace the failure path — partial writes, leaked goroutines, unclosed resources |
| What other interfaces expose this? | Grep for the changed function/type in CLI commands, API handlers, worker prompts |
| Do error strategies align? | Check that error types at each layer are consistent (don't wrap then unwrap) |
Skip this check for trivial changes (rename, docs, config). Apply for any change touching shared interfaces, error handling, or cross-package boundaries.
Invoke review-implementation against the task's acceptance criteria and description. Confirm every requirement is met before proceeding to the quality gate.
Run the project quality gate:
# Go projects
./quality_gate.sh
# Python projects
uv run pytest && ruff check . && ruff format --check .
Fix any issues before proceeding.
One commit per task. Include implementation and tests together.
git add <relevant files>
git commit -m "<type>(<scope>): <desc> (oro-<id>)"
On feature branches: Intermediate commits during TDD are fine. Squash to one atomic commit when closing the task.
On main (no branch): Produce a single commit at this step.
oro task close <id> --reason "Tests pass, gate clean. Commit: <hash>"
After every task closure, run context-checkpoint skill logic:
| Message Pairs | Zone | Action |
|---|---|---|
| 0-10 | Green | Continue to next task |
| 11-15 | Yellow | Finish current, then evaluate |
| 16-20 | Orange | Do NOT start new task. Handoff now. |
| 20+ | Red | Stop immediately. Emergency handoff. |
Green → return to Step 1. Otherwise → handoff via create-handoff skill.
If during Step 3 the task needs multiple unrelated tests:
oro task update <id> --type epicoro task create --type task --parent <id> --acceptance "..." --estimate <min>, then oro task dep add <id> <child> for each child that must finish before the parentoro task dep add where ordering mattersToo-large signals:
| Situation | Action |
|---|---|
| Test won't fail (Step 3) | You're testing existing behavior. Fix the test. |
| Test errors instead of fails | Fix the error (imports, syntax), re-run until proper failure. |
| Quality gate fails (Step 6) | Fix issues. Don't skip the gate. |
| Blocked by another task | oro task ready to find a different task. Note the blocker. |
| Acceptance criteria unclear | STOP. oro task update <id> --notes "Blocked: unclear acceptance". Ask user. |