[codex] Add visualization rules to create-dashboard skill#34
Draft
arsalann wants to merge 2 commits into
Draft
Conversation
Additive update to both skill copies. Existing schema/widget reference material is unchanged. New sections: - Workflow — ordered validate → check → query → serve flow, always surfacing http://localhost:8321. - Core Dashboard Rules — start from the analytical question, match chart type to task, the title/chart/footnote 3-widget pattern. - Truthful Visualization Defaults — zero baselines, no pie/3D/dual-y by default, sorted bars, explicit benchmarks, actuals vs forecasts. - Accessibility And Readability — colorblind-safe palettes, never color-alone encoding, readable tooltips, no cramped charts. - Practical DAC Constraints — only use supported schema properties, snake_case output columns, compensate for weak legends in text. - Review Checklist — 10-point pre-signoff list. Refs #7. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates the bundled
create-dashboardskill with additive dashboard-authoring guidance from the reviewed skill comparison, while preserving the newer validation workflow frommain. The existing reference material stays intact; this change layers on practical rules for building clearer, more truthful DAC dashboards.Changes include:
main: no command for UI-only edits,dac validatefor structural checks,dac query --widgetfor per-widget SQL checks, anddac checkonly for final sweeps or broad changes.dac checkas a normal per-edit step.snake_casequery output columns, weak legend support, and keeping semantic logic declarative..claude/skills/create-dashboard/SKILL.mdandcmd/skill_templates/create-dashboard/SKILL.md.Validation
make testNotes
Related to #7.
Conflict resolution: kept both the PR visualization-quality guidance and the validation workflow from
main;dac checkguidance now followsmain.There is still an uncommitted local edit in this workspace changing
.claude/skills/create-dashboard/SKILL.mdfrom port8321to8322; it remains intentionally outside this PR.