Skip to content

feat(skill): add htmlbox animated flowchart recipe#166

Open
flyinghanger wants to merge 1 commit into
riba2534:mainfrom
flyinghanger:feat/htmlbox-animated-flowchart-recipe
Open

feat(skill): add htmlbox animated flowchart recipe#166
flyinghanger wants to merge 1 commit into
riba2534:mainfrom
flyinghanger:feat/htmlbox-animated-flowchart-recipe

Conversation

@flyinghanger

Copy link
Copy Markdown
Contributor

Summary

  • move the animated-flowchart generator into the existing feishu-cli-htmlbox skill as a recipe
  • add pattern schema, supervisor example, and route entries in SKILL.md / references/gallery.md
  • use native feishu-cli doc htmlbox create docs instead of the old API publishing script
  • escape inline JSON before embedding it in <script> so captions containing </script> cannot close the script tag

Validation

  • python3 -m py_compile skills/feishu-cli-htmlbox/scripts/animate_diagram.py
  • generated /tmp/supervisor-animated.html from examples/supervisor.json
  • injection regression check for </script> in caption/title
  • opened generated HTML with headless Google Chrome via Playwright: no page errors/console errors, rendered 1 SVG / 6 nodes / 5 edges
  • git diff --check

Note: go test ./... was not run because this environment has no Go toolchain installed.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

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