agentleFS
K95M65K95M65/AI_ONBOARD/skills/coordinate-data-views/SKILL.md

coordinate-data-views

Skill0 starsChanged 4 months agoMITView on GitHub

Designs and implements synchronized representations of the same data, such as table plus chart, list plus map, or records plus diagram or timeline. Use when users need to select, inspect, filter, or navigate the same entities across two complementary views in a web, desktop, or mobile product.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read references/patterns.md.

    line 25
  2. Distinctive:

    Keep shared state in one authoritative model.

    line 35
  3. Distinctive:

    Wide web or desktop: Use side-by-side panes when both views need simultaneous attention.

    line 40
  4. Distinctive:

    Windowed desktop: Consider separate synchronized windows only when independent placement, multiple displays, or comparison materially …

    line 44
  5. Distinctive:

    Touch: Do not depend on hover. Make selection, detail, and reset controls explicit.

    line 46
  6. Distinctive:

    Add shared filters and representation-specific controls.

    line 56
  7. Distinctive:

    Add large-data performance, complete states, and platform adaptation.

    line 57

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Coordinate data views

Design two representations as one interaction system. Use this only when each view supports a distinct user task; do not add a chart, map, canvas, or diagram merely for visual richness.

Confirm the pairing

Proceed when:

  1. Both views represent the same identifiable entities or aggregates.
  2. Each view answers a different important question.
  3. Users need to move between the views during one workflow.
  4. The added synchronization cost is justified by task value.

Choose which view is primary. A table may lead precise comparison while a map supplies spatial context; a diagram may lead relationship exploration while a list supplies searchable detail.

Define the shared interaction model

Read references/patterns.md. Specify:

  • stable identity and mapping between representations;
  • shared filters, time range, search, and data freshness;
  • transient hover or focus, persistent selection, multi-selection, and active detail;
  • commands that affect shared data versus one representation only;
  • color, symbols, terminology, and legend semantics;
  • cross-view navigation and scroll or pan behavior;
  • empty, loading, partial, stale, filtered, and error states.

Keep shared state in one authoritative model. Each view reads and changes that state; neither maintains a private competing selection or filter.

Choose the platform arrangement

  • Wide web or desktop: Use side-by-side panes when both views need simultaneous attention. Size the primary view generously and allow a useful adjustable split when appropriate.
  • Narrow web or mobile: Switch between views with a platform-appropriate tab, segmented control, or drill-in path while preserving shared state.
  • Windowed desktop: Consider separate synchronized windows only when independent placement, multiple displays, or comparison materially improves the work.
  • Touch: Do not depend on hover. Make selection, detail, and reset controls explicit.
  • Keyboard and assistive technology: Make the data representation operable without the visual view and announce cross-view selection changes meaningfully.

Implement in vertical slices

  1. Establish canonical IDs, shared state, and one small realistic dataset.
  2. Implement selection from the primary view.
  3. Reflect selection and focus in the companion view.
  4. Implement the reverse direction and bring the counterpart into view.
  5. Add shared filters and representation-specific controls.
  6. Add large-data performance, complete states, and platform adaptation.

Reuse central formatting and semantic-color definitions. Do not duplicate data interpretation in separate renderers.

Validate

Test:

  • selection, multi-selection, hover where applicable, focus, clearing, and Escape or platform equivalent;
  • filtering, sorting, zooming, panning, time changes, and stale or refreshed data;
  • counterpart visibility when the destination is off-screen or outside the visual extent;
  • screen reader and keyboard operation without requiring the visual representation;
  • narrow, wide, touch, pointer, and supported desktop arrangements;
  • empty, one-item, large, overlapping, missing-geometry, and partial datasets;
  • rendering and interaction performance with realistic scale.

Report the primary view, shared state contract, platform adaptations, task scenarios exercised, and any remaining performance or accessibility limitations.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.