====== AI-Assisted Kanban Task Import Workflow ====== //A planning document for building a streamlined text-to-kanban pipeline using AI// ===== Overview ===== The goal of this project is to create a workflow where a plain-text or Markdown file (maintained by a human or AI assistant like Claude) serves as the **source of truth** for tasks, which can then be pushed into a Kanban board tool automatically or semi-automatically — reducing manual data entry and keeping project management frictionless. ===== Motivation ===== When working with AI coding assistants like Claude Code, tasks and to-dos naturally surface in text files (CHANGELOGs, TODO.md, notes). Rather than manually re-entering these into a Kanban tool, the vision is to let an AI skill parse and sync them directly to a board — ideally Nextcloud Deck, which is already in use and self-hosted. ===== Platform Evaluation ===== ^ Tool ^ API Support ^ CSV Import ^ Self-Hosted ^ Notes ^ | Nextcloud Deck | ✓ REST API | Limited | ✓ Yes | Already in use. Best target. | | Trello | ✓ REST API | Unofficial | ✗ No | Easy API, but cloud-only. | | Jira | ✓ Full API | ✓ Native | ✗ (mostly) | Overkill unless team use. | | DokuWiki | Plugin only | ✗ | ✓ Yes | Better as source than target. | **Recommendation:** Use Nextcloud Deck as the Kanban target and a Markdown file (in DokuWiki or a Claude Code project) as the source. ===== Proposed Source Format ===== A structured Markdown file with inline metadata provides a human-readable and AI-parseable task list. Example: ## TODO - [ ] Fix login redirect bug | priority:high | label:backend - [ ] Write onboarding docs | priority:low | label:docs | due:2026-03-20 - [ ] Review PR from Sam | label:review ## IN PROGRESS - [ ] Refactor auth module | label:backend ## DONE - [x] Deploy staging environment This format is compatible with DokuWiki pages, GitHub, Obsidian, and plain editors. Section headings map directly to Kanban columns. ===== Proposed Workflow ===== - Developer or AI edits a ''.md'' or DokuWiki task page - Claude (or a script) reads the file and extracts structured task JSON - An adapter script calls the Nextcloud Deck REST API - Cards appear on the Kanban board automatically [Text file / DokuWiki page] | v [Claude parses tasks → JSON] | v [Adapter calls Nextcloud Deck API] | v [Cards created on Kanban board] ===== AI Skill Design ===== A future Claude Code skill (e.g. ''sync-tasks-to-deck'') would consist of: * **Parser module** — reads Markdown task format, outputs structured JSON * **Target adapter** — handles Nextcloud Deck API authentication and card creation * **Sync strategy config** — create-only, update-if-exists, or archive completed * **Column mapping** — maps Markdown headings (TODO / IN PROGRESS / DONE) to board columns * **Label/priority mapping** — maps inline metadata to Deck labels and card properties Invocation example from Claude Code: "sync my CHANGELOG.md tasks to Nextcloud Deck" ===== Open Questions ===== - Where should the canonical source file live — DokuWiki, a Claude Code project, or both? - Should sync be one-way (text → board) or bidirectional? - How to handle task identity/deduplication across syncs? - Should completed tasks ('DONE') be archived or deleted on the board? - Authentication: how to securely store the Nextcloud API token for the skill? ===== Next Steps ===== - [ ] Decide on source file location - [ ] Test Nextcloud Deck API with a simple curl request - [ ] Draft the JSON schema for parsed tasks - [ ] Prototype a parser in Python or a Claude Code skill - [ ] Evaluate DokuWiki ''todo'' plugin as a possible UI layer for the source file ===== Related Resources ===== * [[https://nextcloud.github.io/deck/|Nextcloud Deck API Docs]] * [[https://developer.atlassian.com/cloud/trello/rest/|Trello REST API]] * [[https://www.dokuwiki.org/plugin:todo|DokuWiki Todo Plugin]] * [[https://docs.anthropic.com/en/docs/claude-code|Claude Code Documentation]] ===== Tags ===== ''kanban'' ''ai-workflow'' ''nextcloud'' ''dokuwiki'' ''claude-code'' ''automation''