一键导入
managing-task-lifecycle
Manages task lifecycle transitions including starting, completing, and blocking tasks with enforcement gates and Trello synchronization.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Manages task lifecycle transitions including starting, completing, and blocking tasks with enforcement gates and Trello synchronization.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Post-processes clirec recordings for video production by scrubbing TUI artifacts, redacting PII, and stitching clean shell sections with raw Claude Code sections.
Reviews a user-provided demo script, proposes a clirec-ready version with timing and wait directives, then records on approval. Three phases — review, propose, record.
Guides module architecture decisions including file size limits, function boundaries, and modular design patterns to maintain code quality and prevent complexity creep.
Runs cross-repo contract detection and impact analysis on sibling projects in a workspace. Detects schema, route, command, and config changes, traces the dependency graph, and produces an impact report with severity and recommended actions.
Use when work is complete and ready for integration, merge, or PR creation.
Manages feature planning workflow including budget validation, task creation, and Trello synchronization.
| name | managing-task-lifecycle |
| description | Manages task lifecycle transitions including starting, completing, and blocking tasks with enforcement gates and Trello synchronization. |
| skills | ["managing-task-lifecycle"] |
| agent-roles | ["driver"] |
Is Trello connected? (check: bpsai-pair trello status)
│
├── YES → Use `ttask` commands (primary)
│ ├── Start: bpsai-pair ttask start TRELLO-XX
│ ├── Complete: bpsai-pair ttask done TRELLO-XX --summary "..." --list "Deployed/Done"
│ └── Block: bpsai-pair ttask block TRELLO-XX --reason "..."
│
└── NO → Use `task update` commands
├── Start: bpsai-pair task update TASK-XXX --status in_progress
├── Complete: bpsai-pair task update TASK-XXX --status done
└── Block: bpsai-pair task update TASK-XXX --status blocked
Before starting work, verify everything is ready:
# Check budget for this task
bpsai-pair budget check <task-id>
# Example : bpsai-pair budget check T1.13
# Verify task exists and get details
bpsai-pair task show <task-id>
# Check for blockers (dependencies)
bpsai-pair task list --status blocked
Budget Warning: If budget check warns, inform user of token estimate and ask to proceed.
Task Not Found: Check if it's a Trello ID (TRELLO-XXX) vs local ID (T1.1).
# Start locally (triggers hooks)
bpsai-pair task update <task-id> --status in_progress
# If Trello card exists, start there too
bpsai-pair ttask start TRELLO-XX
cat .paircoder/tasks/*/<task-id>.task.md
# or
bpsai-pair task show <task-id>
Identify ALL acceptance criteria - these MUST be completed before marking done.
When you start via CLI, these fire automatically:
start_timer - Begins time trackingsync_trello - Moves card to "In Progress"update_state - Updates state.md current focuscheck_token_budget - Warns if task exceeds budgetimplementing-with-tdd skill for additional workflow requirements.)# Run tests frequently
pytest tests/ -x --tb=short
# Or for specific test file
pytest tests/test_<module>.py -v
architecting-modules skill for file size limits and decomposition patterns.)Add progress comments without changing status:
bpsai-pair ttask comment TRELLO-XX "Completed API endpoints, starting tests"
Use for:
As you complete each criterion:
bpsai-pair ttask check TRELLO-XX "<acceptance criterion text>"
CRITICAL: Before marking task complete, ALL gates must pass.
# Full test suite must pass
pytest tests/ --tb=short
# Check coverage if required
pytest tests/ --cov --cov-report=term-missing
# Check what's still unchecked on Trello
bpsai-pair ttask show TRELLO-XX
If ANY acceptance criteria are unchecked, complete them before proceeding.
Before completing, verify:
Use ttask done with --strict flag (enforcement gate):
bpsai-pair ttask done TRELLO-XX --strict --summary "What was accomplished" --list "Deployed/Done"
This single command will:
If --strict fails: You have unchecked acceptance criteria. Go back and complete them.
NEVER use --force unless explicitly instructed by user. Forced completions are logged to .paircoder/history/bypass_log.jsonl.
bpsai-pair task update <task-id> --status done
| Mistake | Why Wrong | Correct |
|---|---|---|
task update only on Trello projects | Doesn't check AC | Use ttask done |
| Both commands on Trello projects | Duplication | Just ttask done |
ttask on non-Trello projects | Won't work | Use task update |
Skipping --strict | No enforcement | Always use --strict |
You MUST update state.md after completing any task.
bpsai-pair context-sync \
--last "<task-id>: <brief description of what was accomplished>" \
--next "<next task ID or 'Ready for next task'>"
Or manually edit .paircoder/context/state.md:
✅ **Task Complete**: <task-id>
**Summary**: <what was accomplished>
**Time**: <actual time if tracked>
**Tests**: All passing
**Acceptance Criteria**: All verified ✓
**Files Changed**:
- path/to/file1.py
- path/to/file2.py
**Next Task**: <next task ID> or "Sprint complete!"
These fire automatically:
stop_timer - Stops timer, records durationrecord_metrics - Records token usage and costsrecord_velocity - Tracks sprint velocitysync_trello - Moves card to "Deployed/Done"update_state - Updates state.mdcheck_unblocked - Identifies newly unblocked tasksWhen a task cannot proceed:
# With Trello
bpsai-pair ttask block TRELLO-XX --reason "Waiting for API documentation"
# Without Trello
bpsai-pair task update <task-id> --status blocked
Hooks fired:
sync_trello - Moves card to "Issues/Tech Debt"update_state - Updates state.md--strict blocks)bpsai-pair ttask show TRELLO-XXbpsai-pair ttask check TRELLO-XX "<item>"# This logs a bypass - only with explicit user approval
bpsai-pair ttask done TRELLO-XX --force --summary "<summary>"
Bypasses are logged to .paircoder/history/bypass_log.jsonl for audit.
| Format | Example | Use For |
|---|---|---|
| Sprint task | T1.1 | bpsai-pair task commands |
| Legacy | TASK-150 | bpsai-pair task commands |
| Trello | TRELLO-abc123 | bpsai-pair ttask commands |
| Status | Meaning | Trello List |
|---|---|---|
pending | Not started | Backlog / Planned |
in_progress | Currently working | In Progress |
blocked | Waiting on something | Issues / Blocked |
review | Ready for review | Review |
done | Completed | Deployed / Done |
Tasks automatically transition from Intake/Backlog to Planned/Ready when they meet readiness criteria:
Readiness Criteria:
- [ ] in body)Triggered By:
plan sync-trello command (fires on_task_ready hooks by default)--no-fire-ready flagWhat Happens:
sync_trello hook moves card from Intake/Backlog to Planned/Readyupdate_state hook updates state.mdEnforcement: Tasks without acceptance criteria should NOT be started. Ensure AC exists before beginning work.
bpsai-pair budget check T1.1
bpsai-pair task update T1.1 --status in_progress
cat .paircoder/tasks/*/T1.1.task.md
pytest tests/ -x
bpsai-pair ttask comment TRELLO-XX "Progress update"
bpsai-pair ttask check TRELLO-XX "AC item text"
pytest tests/
bpsai-pair ttask done TRELLO-XX --strict --summary "..." --list "Deployed/Done"
bpsai-pair context-sync --last "T1.1: Done" --next "T1.2"
task)| Action | Command |
|---|---|
| Start task | bpsai-pair task update TASK-XXX --status in_progress |
| Complete task | bpsai-pair task update TASK-XXX --status done |
| Block task | bpsai-pair task update TASK-XXX --status blocked |
| Show next task | bpsai-pair task next |
| Auto-assign next | bpsai-pair task auto-next |
| List all tasks | bpsai-pair task list |
| Show task details | bpsai-pair task show TASK-XXX |
ttask)| Action | Command |
|---|---|
| List Trello cards | bpsai-pair ttask list |
| Show card details | bpsai-pair ttask show TRELLO-XX |
| Start card | bpsai-pair ttask start TRELLO-XX |
| Complete card | bpsai-pair ttask done TRELLO-XX --strict --summary "..." --list "Deployed/Done" |
| Check AC item | bpsai-pair ttask check TRELLO-XX "item text" |
| Add comment | bpsai-pair ttask comment TRELLO-XX "message" |
| Block card | bpsai-pair ttask block TRELLO-XX --reason "why" |
| Move card | bpsai-pair ttask move TRELLO-XX "List Name" |
--strict for ttask done (enforcement gate)--force without explicit user approval