一键导入
planning-with-trello
Manages feature planning workflow including budget validation, task creation, and Trello synchronization.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Manages feature planning workflow including budget validation, task creation, and Trello synchronization.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Manages task lifecycle transitions including starting, completing, and blocking tasks with enforcement gates and Trello synchronization.
Manages feature planning workflow with provider-agnostic PM operations. Detects active provider and adapts commands accordingly.
Orchestrates the full branch-to-merge pipeline. Runs code review, surgical fixes, architecture simplification, test verification, security audit, PR submission, CI monitoring, and automated failure remediation in a single invocation. Integrates reviewing-code, implementing-with-tdd, architecting-modules, and finishing-branches skills into a nine-phase pipeline with a circuit-breaker-guarded CI remediation loop. Produces a green, merge-ready PR or a structured failure report.
Analyzes bpsai-pair review branch output by cross-referencing findings against actual code and task state. Classifies each finding as real blocker, bookkeeping-only, already resolved, or defer-to-next-sprint. Outputs a filtered report that becomes input to /draft-backlog, breaking the review-loop pattern.
Transforms a rough idea into a sprint-level structured brief for /draft-backlog. Operates only at sprint scope — cross-task dependencies, file collisions, Cx budget, priority ordering, and AC templates — never per-task implementation detail, which is /pc-plan's responsibility during engage. Uses bpsai-pair validate, budget, arch, and query tools at wider scope than /pc-plan uses them.
Runs pre-flight checks and fixes before bpsai-pair engage. Resolves merge conflicts, commits dirty bookkeeping files, drops stale auto-stashes, validates the backlog, and outputs the ready-to-run engage command.
| name | planning-with-trello |
| description | Manages feature planning workflow including budget validation, task creation, and Trello synchronization. |
| skills | ["planning-with-trello"] |
| agent-roles | ["navigator"] |
| disable-model-invocation | true |
Before planning, verify readiness:
# Check current budget status
bpsai-pair budget status
# Verify Trello connection
bpsai-pair trello status
Budget Warning: If above 80% daily usage, warn user before proceeding with planning.
Planning can start from:
backlog-sprint-##.md always located in .paircoder/context/Read current project state:
bpsai-pair status
cat .paircoder/context/state.md
cat .paircoder/context/project.md
Determine plan attributes:
| Attribute | Format | Example |
|---|---|---|
| Slug | kebab-case | webhook-support |
| Type | feature | bugfix | refactor | chore | feature |
| Title | Human-readable | "Add Webhook Support" |
Valid Plan Types:
feature - New functionalitybugfix - Bug fixesrefactor - Code improvementschore - Maintenance, cleanup, docs, releases⚠️ maintenance is NOT valid - use chore instead.
Break work into 3-8 tasks with complexity estimates:
| Complexity | Time Estimate | Description |
|---|---|---|
| 0-20 | < 1 hour | Trivial |
| 21-40 | 1-2 hours | Simple |
| 41-60 | 2-4 hours | Moderate |
| 61-80 | 4-8 hours | Complex |
| 81-100 | 8+ hours | Epic (consider splitting) |
Task ID Format: T<sprint>.<sequence> (e.g., T1.1, T1.2)
Before creating tasks, estimate total token budget:
bpsai-pair budget check --estimated-tokens <total_estimate>
If budget check fails:
bpsai-pair plan new <slug> --type <type> --title "<title>"
⚠️ CRITICAL: The CLI plan add-task only accepts metadata. Task file content must be written directly.
For each task:
Register task metadata with CLI:
bpsai-pair plan add-task <plan-slug> \
--id "T<sprint>.<seq>" \
--title "<task title>" \
--complexity <0-100> \
--priority <P0|P1|P2|P3>
Write task content directly to the file:
# File: .paircoder/tasks/<plan-slug>/T<sprint>.<seq>.task.md
The file must contain:
Task File Template:
---
id: T1.1
title: Task title here
status: pending
priority: P1
complexity: 35
plan: plan-slug
---
# Objective
Clear description of what this task accomplishes.
# Files to Update
| File | Change |
|------|--------|
| path/to/file.py | Description of change |
# Implementation Plan
1. First step
2. Second step
3. Third step
# Acceptance Criteria
- [ ] First criterion with measurable outcome
- [ ] Second criterion
- [ ] Tests pass
# Verification
```bash
# Commands to verify completion
pytest tests/test_module.py -v
grep "expected" path/to/file.py
### Step 7: Sync to Trello
```bash
# Preview sync
bpsai-pair plan sync-trello <plan-id> --dry-run
# Sync to Intake/Backlog (default for new tasks)
bpsai-pair plan sync-trello <plan-id>
# Sync directly to Planned/Ready list
bpsai-pair plan sync-trello <plan-id> --target-list "Planned/Ready"
# Verify sync
bpsai-pair trello status
Task Ready Workflow:
By default, sync-trello fires on_task_ready hooks for tasks that meet readiness criteria:
The hook automatically moves qualifying tasks from Intake/Backlog to Planned/Ready.
# Skip the on_task_ready hook
bpsai-pair plan sync-trello <plan-id> --no-fire-ready
bpsai-pair context-sync \
--last "Created plan: <plan-id>" \
--next "Ready to start: <first-task-id>"
Provide summary to user:
**Plan Created**: <plan-id>
**Type**: <type>
**Tasks**: <count> tasks, <total-complexity> complexity points
| ID | Title | Priority | Complexity | Estimate |
|----|-------|----------|------------|----------|
| T1.1 | ... | P0 | 35 | ~2h |
| T1.2 | ... | P1 | 55 | ~4h |
**Token Budget**: ~<estimate>K tokens (<percent>% of daily limit)
**Trello**: <count> cards created in "Planned/Ready"
Ready to start? Use `/start-task T1.1`
Standard 7-list Trello board:
[Stack] Task Name
Examples: [CLI] Add MCP server, [Docs] Update README
| Field | When | Values |
|---|---|---|
| Project | On creation | Your project name |
| Stack | On creation | React, Flask, Worker/Function, Infra, Collection |
| Repo URL | On creation | GitHub repo URL |
| Effort | On creation | S, M, L |
| Size | Time Estimate | Complexity |
|---|---|---|
| S | Few hours | 0-30 |
| M | Half to full day | 31-60 |
| L | Multiple days | 61-100 |
Plan exists locally - report partial success, retry sync later.
DO NOT proceed without explicit user acknowledgment.
Check for duplicate slugs or invalid types.
# Plan management
bpsai-pair plan new <slug> --type <type> --title "<title>"
bpsai-pair plan list
bpsai-pair plan show <id>
bpsai-pair plan status <id>
bpsai-pair plan add-task <id> --id <task-id> --title "<title>" --complexity <n>
# Trello sync
bpsai-pair plan sync-trello <id> --dry-run
bpsai-pair plan sync-trello <id> --target-list "Planned/Ready"
bpsai-pair plan sync-trello <id> --no-fire-ready # Skip on_task_ready hooks
# Budget
bpsai-pair budget status
bpsai-pair budget check --estimated-tokens <n>
# Context
bpsai-pair context-sync --last "..." --next "..."