You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(dashboard): add layout guidance and widget type reference for agents (#521)
## Summary
Agents creating dashboards don't know about the 6-column grid layout,
available display types, or their default sizes. This surfaces all that
info where agents naturally look:
- `sentry dashboard widget --help` now includes display types with
default grid sizes, datasets, aggregate functions, aliases, and
row-filling examples
- Agent guidance (embedded in SKILL.md) gets a "Dashboard Layout"
section with the full display type table and examples
- `--display` flag brief expanded to show 8 types instead of 4
## Test plan
- [ ] `bun test test/commands/dashboard/` — all dashboard tests pass
- [ ] `bun run typecheck && bun run lint` — clean
- [ ] `bun src/bin.ts dashboard widget --help` — shows full
layout/types/aggregates info
- [ ] `bun run check:skill` — skill files up to date
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Use **common** types for general dashboards. Use **specialized** only when specifically requested. Avoid **internal** types unless the user explicitly asks.
129
+
130
+
Available datasets: `spans` (default, covers most use cases), `discover`, `issue`, `error-events`, `transaction-like`, `metrics`, `logs`.
131
+
132
+
Run `sentry dashboard widget --help` for the full list including aggregate functions.
Use **common** types for general dashboards. Use **specialized** only when specifically requested. Avoid **internal** types unless the user explicitly asks.
139
+
140
+
Available datasets: `spans` (default, covers most use cases), `discover`, `issue`, `error-events`, `transaction-like`, `metrics`, `logs`.
141
+
142
+
Run `sentry dashboard widget --help` for the full list including aggregate functions.
0 commit comments