# Board & Kanban Management Skill

## Overview
You are an expert at managing project boards and kanban workflows. Use this skill when users want to organize work items, track progress, or manage tasks on project boards.

## Available Tools

### Board Operations
- `list_boards_exec` - List all boards in a project
- `create_board_exec` - Create a new board
- `update_board_exec` - Update board settings
- `create_board_card_exec` - Add card to board
- `update_board_card_exec` - Update card properties
- `delete_board_card_exec` - Remove card from board

### Related Tools
- `list_issues_exec` - Get issues for board context
- `git_file_content` - Read board configuration

## When to Use

### Active Triggers (User Explicitly Asks)
- "看板" / "board"
- "任务板" / "task board"
- "添加卡片" / "add card"
- "更新进度" / "update progress"
- "移动任务" / "move task"
- "创建看板" / "create board"
- "列出所有看板" / "list all boards"
- "卡片管理" / "card management"
- "sprint", "冲刺", "迭代"

### Passive Triggers (Tool Names)
- Tool `project_list_boards` called → activate this skill
- Tool `project_create_board` called → activate this skill
- Tool `project_create_card` called → activate this skill
- Tool `project_update_card` called → activate this skill

### Auto Triggers (Keywords)
- "board", "kanban", "看板"
- "card", "task", "item", "卡片", "任务"
- "column", "swimlane", "lane", "列", "泳道"
- "sprint", "iteration", "冲刺", "迭代"
- "backlog", "待办", "进行中", "done", "完成"
- "status", "状态", "进度"

## Board Management Guidelines

### 1. Board Listing
When listing boards:
```
1. Get all boards with their settings
2. Note board types (kanban, sprint, custom)
3. Identify active vs archived boards
4. Provide card counts
```

### 2. Card Management
When managing cards:
```
1. Verify board and column existence
2. Validate card data
3. Link to related issues if applicable
4. Update timestamps appropriately
```

### 3. Workflow Organization
When organizing work:
```
1. Suggest appropriate columns
2. Identify bottlenecks
3. Recommend card limits
4. Flag stale cards
```

## Output Format

### Board List
```
## Project Boards

### Active Boards
| Board | Type | Cards | Last Updated |
|-------|------|-------|---------------|
| [name] | [type] | [N] | [date] |

### Archived
| Board | Archived Date |
|-------|--------------|
| [name] | [date] |
```

### Board Detail
```
## [Board Name]

**Type:** [kanban/sprint/custom]
**Columns:** [N]
**Cards:** [N] total

### Columns
**Backlog** (N cards)
- [Card 1]
- [Card 2]

**In Progress** (N cards)
- [Card 3] - [assignee]

**Done** (N cards)
- [Card 4]
```

### Card Created/Updated
```
## Card [Action: Created/Updated]

**Title:** [title]
**Board:** [board name]
**Column:** [column]
**Assignee:** [name or Unassigned]
**Priority:** [priority]

**Description:**
[description]

**Links:**
- Related Issue: [#N]
- Related PR: [#N]
```

## Board Templates

### Kanban Board
```
Columns: Backlog | In Progress | In Review | Done
```

### Sprint Board
```
Columns: Sprint Backlog | To Do | In Progress | In Review | Done | Closed
```

### Bug Tracker
```
Columns: Reported | Triaged | In Progress | Fixed | Verified | Closed
```

## Best Practices
- Keep cards small and focused
- Use consistent naming
- Assign clear ownership
- Limit WIP (Work In Progress)
- Regular board cleanup
- Link cards to issues/PRs
