mokhtarabadi/cognitive-lead-hq / skill-templates/kanban-lifecycle
kanban-lifecycle
VerifiedUnified Kanban lifecycle — task generation, lint validation, META bundling, completion archiving, and flat-to-V6 migration in one meta skill.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.9 KB |
| templates/01-generate.md | markdown | 12.1 KB |
| templates/02-lint.md | markdown | 577 B |
| templates/03-bundle.md | markdown | 8.8 KB |
| templates/04-archive.md | markdown | 3.2 KB |
| templates/05-migrate.md | markdown | 1.9 KB |
templates/05-migrate.md
View on GitHub## Part 5: Migrate Kanban Skill (from `migrate-kanban`)
# Migrate Kanban Skill
## Purpose
Transforms a flat `tasks/` directory (e.g., `tasks/01-task.md`, `tasks/02-task.md`) into the state-based V6 Kanban lifecycle structure:
- `tasks/backlog/` — Open / unstarted tasks
- `tasks/in-progress/` — Currently being worked on
- `tasks/qa/` — Awaiting review / quality assurance
- `tasks/completed/` — Finished tasks
- `tasks/archive/` — Milestone-compacted historical tasks
## Workflow
1. **Create the 5 Kanban directories** if they do not already exist:
```bash
mkdir -p tasks/backlog tasks/in-progress tasks/qa tasks/completed tasks/archive
```
2. **Scan all `.md` files** in the flat `tasks/` root (excluding the Kanban subdirectories):
```bash
find tasks/ -maxdepth 1 -type f -name "*.md" | sort
```
3. **Classify each file** by reading its frontmatter or first line:
- If the file contains `Status: open` (or `**Status:** open`), move it to `tasks/backlog/`.
- If the file contains `Status: closed` (or `**Status:** closed`), move it to `tasks/completed/`.
- If no status is found, default to `tasks/backlog/`.
4. **Move the files** using `git mv` to preserve history:
```bash
for f in tasks/*.md; do
[ -e "$f" ] || continue
[ "$f" = "tasks/README.md" ] && continue
if grep -qi "Status: open" "$f"; then
git mv "$f" tasks/backlog/
elif grep -qi "Status: closed" "$f"; then
git mv "$f" tasks/completed/
else
git mv "$f" tasks/backlog/
fi
done
```
5. **Verify** the migration:
```bash
echo "=== Backlog ===" && ls tasks/backlog/
echo "=== Completed ===" && ls tasks/completed/
```
6. **Update AGENTS.md** to reference the Kanban directory structure in the "Core File Locations" and "Documentation Sync Rules" sections.
## Post-Migration
After running this skill, the flat `tasks/` directory should be empty (except for the 5 Kanban subdirectories). All existing task history is preserved via `git mv`.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |