Skip to content

feat: A2UI blob support#66

Open
wca4a wants to merge 1 commit into
masterfrom
feature/a2ui-blobs
Open

feat: A2UI blob support#66
wca4a wants to merge 1 commit into
masterfrom
feature/a2ui-blobs

Conversation

@wca4a
Copy link
Copy Markdown
Contributor

@wca4a wca4a commented Mar 25, 2026

What

Adds A2UI blob posting capability to the Tlon skill.

New files

  • references/a2ui-components.md — full component schema with working examples
  • references/a2ui-design-rules.md — Ochre design rules, chart gotchas, common mistakes

Changed files

  • SKILL.md — A2UI Blobs section + posts blob command docs
  • scripts/posts.ts — new blob subcommand

Key rules encoded

  • Pie: each series = one slice with values:[N], not xLabels-based
  • Bar/line: series values length must match xLabels length
  • Blob must be JSON array [{...}]
  • Never set fontFamily in blob JSON (renderer handles it)

- Add references/a2ui-components.md: full component schema with examples
- Add references/a2ui-design-rules.md: Ochre design rules, chart gotchas
- SKILL.md: A2UI Blobs section + posts blob subcommand docs
- posts.ts: add blob subcommand using sendPost with blob field

Pie chart rule, font rules, and common mistakes documented.
See references/ for full schema and working examples.
@wca4a
Copy link
Copy Markdown
Contributor Author

wca4a commented Mar 25, 2026

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant