skills/workitems/SKILL.md
Usage `rdc:workitems [add|done|status|list|query]` — Manual work item CRUD outside the normal build flow: add to backlog, mark done, update status, list open epics, query by label.
npx skillsauth add LIFEAI/rdc-skills rdc:workitemsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
⚠️ OUTPUT CONTRACT (READ FIRST):
guides/output-contract.mdChecklist-only output. No tool-call narration. No raw MCP/JSON/log dumps. One checklist upfront, updated in place, shown again at end with a 1-line verdict.
If dispatching subagents or running as a subagent: read
{PROJECT_ROOT}/.rdc/guides/agent-bootstrap.mdfirst (fallback:{PROJECT_ROOT}/.rdc/guides/agent-bootstrap.md).
Sandbox contract: This skill honors
RDC_TEST=1perguides/agent-bootstrap.md§ RDC_TEST Sandbox Contract. Destructive external calls short-circuit under the flag. Supabase work item writes (insert_work_item,update_work_item_status,bump_epic_version) are skipped underRDC_TEST=1.
rdc:workitems epics — list open epicsrdc:workitems add <title> --epic <id> — create a task under an epicrdc:workitems update <id> --status <status> — update a work item's statusrdc:workitems done <id> — mark a task completerdc:workitems list <epic-id> — list tasks in an epicget_open_epics() before creating anything new..rdc/plans/ or .rdc/research/ paths in descriptions (fallback: .rdc/plans/ / .rdc/research/).SELECT get_open_epics();
SELECT get_open_epics('urgent');
SELECT get_open_epics(p_label_filter := 'custom-label');
SELECT insert_work_item(
p_title := 'EPIC: Clear descriptive title',
p_description := 'What and why. Reference .rdc/plans/<n>.md if applicable.',
p_item_type := 'epic',
p_priority := 'high',
p_labels := ARRAY['system-label'],
p_source := 'planning'
);
SELECT insert_work_item(
p_title := 'Specific actionable task title',
p_description := 'What: <deliverable>
Where: <files to create/modify>
Agent type: frontend | backend | data | design | infra | content | cs2
Guide: .rdc/guides/<type>.md (fallback: .rdc/guides/<type>.md)
Design doc: .rdc/plans/<n>.md (fallback: .rdc/plans/<n>.md, if exists)
Depends on: <other task title if sequential>
Est: <hours>',
p_parent_id := '<epic-uuid>'::uuid,
p_item_type := 'task',
p_priority := 'high',
p_labels := ARRAY['system-label'],
p_estimated_hours := 2,
p_source := 'planning'
);
SELECT update_work_item_status('<uuid>'::uuid, 'in_progress');
SELECT update_work_item_status('<uuid>'::uuid, 'review', '["Implementation complete; ready for validator"]'::jsonb, '<agent-session-id>', 'agent');
SELECT update_work_item_status('<uuid>'::uuid, 'done', '["Validator verified implementation report, CodeFlow post, and checklist evidence"]'::jsonb, '<validator-session-id>', 'validator');
SELECT update_work_item_status('<uuid>'::uuid, 'blocked', '["Why it is blocked"]'::jsonb);
Non-epic done is a validator-only close and requires an existing
implementation_report.codeflow_post, checked required checklist evidence, and
originating-agent tick audit.
SELECT get_work_items_by_epic('<epic-uuid>'::uuid);
SELECT get_work_items_by_epic('<epic-uuid>'::uuid, 'todo');
SELECT bump_epic_version('<epic-uuid>'::uuid, '0.2.0', 'What changed', 'planning');
| Field | Values |
|-------|--------|
| status | todo in_progress blocked review done archived |
| priority | urgent high normal low |
| item_type | epic task subtask bug spike |
| Label | When |
|-------|------|
| project-a | Your-app-specific work |
| project-b | Another app work |
| cs2 | Core paradigm packages |
| hail | Grammar, DSL compiler |
| pal | Moment windows, memory |
| virtue | Virtue engine, coherence |
| marketing | Outreach, campaigns |
| media | Assets, R2, image pipeline |
| infrastructure | CI/CD, deployment |
| ui | Component library |
| data | Schema, migrations |
| content | Copy, messaging |
| website | Public-facing sites |
| Type | Guide | Use For |
|------|-------|---------|
| frontend | .rdc/guides/frontend.md | React, pages, UI, Tailwind |
| backend | .rdc/guides/backend.md | API routes, database, auth |
| data | .rdc/guides/data.md | Migrations, schema, RPC |
| design | .rdc/guides/design.md | Brand, palette, OG images |
| infra | .rdc/guides/infrastructure.md | CI/CD, deploy, DNS |
| content | .rdc/guides/content.md | Copy, messaging, tone |
| cs2 | .rdc/guides/cs2.md | CS 2.0 paradigm |
| hail | .rdc/guides/cs2.md + packages/hail/CLAUDE.md | Grammar, DSL |
| viz | .rdc/guides/frontend.md + design.md | Custom visualizations |
.rdc/research/ (fallback: .rdc/research/) and linktools
Convert Office documents to/from Markdown with the build-corpus CLI: .docx/.pptx/.ppt → Markdown (Word OMML equations become KaTeX-readable TeX; tables, images, headings preserved), and Markdown → Word (.docx) where inline $...$ and display $$...$$ LaTeX become NATIVE Office Math (OMML) that Word renders as real equations. Use this skill whenever the user asks to convert a Word/PowerPoint document to Markdown, build a Markdown corpus from Office files, turn Markdown into a .docx (optionally with a .dotx template), or "open the report" to edit. Install build-corpus straight from GitHub and run it in the session.
development
Usage `rdc:brochure <input> [--out <path>] [--template <name>] [--format Letter|A4]` — Turn a zip, folder, HTML file, URL, or markdown folder into a print-quality PDF brochure via Puppeteer. Auto-detects print-variant HTML, honors @page CSS, falls back to a Studio-token-aware template when no HTML exists.
tools
Usage `rdc:convert <input> [--out <dir>] [--to markdown|word] [--images assets|base64|s3]` — Convert .docx/.pptx/.ppt → Markdown (Word OMML equations as KaTeX TeX, tables, images) or Markdown → Word via the build-corpus CLI (PyPI `build-corpus`, npm `regen-mde`). Portable: runs in any session that can reach npm or PyPI — Claude Code CLI and claude.ai both fetch + run it. Use whenever the user asks to convert an Office document, build a Markdown corpus from .docx/.pptx, turn Markdown into a .docx, or 'open the report' in the regen-mde editor (Windows).
tools
Usage `rdc:fs-mcp <task>` — Use the File System MCP bridge for live repo reads, safe writes, cloud-to-local ingest, and GitHub-branch imports into a dirty local monorepo. Use when Claude.ai, Cowork, or CLI agents need fs_read/fs_write/fs_import_git_files guidance.