Index of every page on this site: llms.txt
All skills
nikunjkothiya avatar

/visual-composition

@c9e2b62
Run it yourself

Compose page and interface layouts through hierarchy, typography, grids, spacing, imagery, color, and depth. Use for screen design, dense information, visual polish, or layouts that feel busy, empty, or unbalanced.

Use this Skill: https://skilld.dev/gh/nikunjkothiya/gpt-6-astra-skills/visual-composition

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈59 tokens for metadata: the name and description. ≈1.9k when used: this file. ≈2k more on demand in 1 file.

Description uses 2.9% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈235 characters, or 2.9%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Visual Composition

Make relationships legible at the scale of the whole experience. Individually polished elements can still compete, imply false equivalence, or produce a monotonous whole.

When translating a composition into browser styles, load type, color, and layout implementation for conditional CSS patterns, palette decisions, and diagnosis with actual content. Adapt its examples to the project's identity and supported browsers.

Assign roles before containers

Identify the primary subject, decision evidence, contextual information, action, status, and navigation. Place evidence near the decision it supports and status near its referent. Keep navigation stable enough to orient users while local priorities change.

Choose representation by the task:

Task Useful structure Failure to avoid
Compare repeated attributes Aligned rows and consistent column meanings Independent boxes that destroy cross-item alignment
Choose visually distinct objects Image-led collection with comparable metadata Crops and scales that imply unintended differences
Resolve exceptions Prioritized queue with reason, age, and next action Every item styled as equally urgent
Follow an argument Reading flow with headings, evidence, and captions Arbitrary containers interrupting continuity
Inspect relationships Diagram or spatial view with explicit encodings Decorative position, size, or color mistaken for data
Act on independent entities Separate units with their own context and actions Repeated framing around facts that belong together

Progressive disclosure should hide optional detail, not information required for a decision. Dense work benefits from stable alignment and economical repetition; increasing whitespace everywhere can make comparison harder.

For analytical graphics, choose an encoding that matches the question: shared positional scales for comparison, ordered time for change, frequency and spread for distributions, and explicit connections for relationships. Keep definitions, units, time periods, comparison bases, and data age visible when they affect interpretation. Do not let smoothing, cropped scales, decorative area, or depth imply a different quantitative relationship. Distinguish measured values from estimates and show uncertainty when consequential.

Establish visual weight and rhythm

Set alignment anchors from actual content. Let related headings, values, imagery, and controls share visible rails. An intentional offset should establish a new role or focal relationship; near-alignments that serve no purpose look accidental. Use tighter gaps within a relationship than between distinct relationships. Preserve a small coherent spacing vocabulary, with optical corrections for shapes whose perceived edges differ from their bounds.

Control emphasis through order and grouping first, then scale, weight, contrast, color, depth, and motion. Do not make all these channels compete at maximum strength. The highest local contrast can steal attention from a larger intended subject.

Balance perceived mass rather than bounding-box area alone. A dense dark label may outweigh a larger pale image. Use negative space to separate or direct attention; unexplained gaps are not evidence of sophistication. Vary rhythm when the content role changes, while keeping shared relationships recognizable.

Compose imagery with its surrounding text and actions. Choose whether the subject, environment, or detail carries the message, then preserve the relevant silhouette, gaze, or directional space in the crop. Repeated objects need deliberate apparent scale; unrelated crop sizes can imply differences in importance or physical size. Place overlays against the actual range of image tones, not a favorable sample.

Inspect the first view and the whole composition at reduced scale. The main subject and section sequence should remain legible. At normal size, inspect whether grouping and reading order tell the same story.

Make typography carry information

Define only the roles the content needs: display, heading, reading, label, metadata, and numbers. Distinguish roles with a small set of deliberate size, weight, line-height, and spacing relationships. A new block does not automatically need a new type style.

Choose letterforms for language coverage, actual reading size, content, and identity. Judge body measure by comfortable line tracking in the relevant script; narrow measures cause constant returns, while wide measures make the next line hard to find. Tune line spacing with letterform height and density instead of applying one ratio everywhere.

Inspect long titles, accents, descenders, multiline labels, alternate scripts, and enlarged text. Shape a prominent title's measure and line endings around its phrase structure and neighboring subject; a forced break suited to one view is not a general wrapping rule. Keep essential amounts, errors, and choice labels readable in full. Optional abbreviation needs a discoverable way to recover its meaning.

Align comparable numbers by decimal position or right edge, with consistent baselines and clear units and time periods. Distinguish absent data from zero. Preserve stable widths for rapidly updating values where changing width would distract. Keep reading order coherent independently of visual type size.

Give color, surfaces, and depth separate jobs

Assign roles for reading ground, grouped surface, overlay, text, accent, action, status, boundary, and focus. Shared values are acceptable when meanings stay distinct. Branding must not make an ordinary selection look like a warning or a confirmed outcome.

Use space or a boundary for separation, a surface shift for grouping, and elevation for actual overlap. A translucent layer needs a readable backing across changing content. Dark and light presentations require independently balanced contrast and surface separation; simple inversion rarely preserves their relationships.

Balance color by area as well as intensity. A small saturated accent and a full-screen field of the same color have different visual weight. Judge accents beside their actual surfaces, then reserve enough contrast for selection, feedback, and focus; decorative emphasis should not exhaust every available distinction.

Reserve expressive gradients, glow, and blur for a defined compositional purpose. Verify state meaning without color alone through visual accessibility. Physical surface identity belongs to material reasoning.

Diagnose the whole

If the result feels busy, identify which secondary boundary, label, color, or shadow competes with the subject and reduce that channel before increasing spacing. If it feels empty, enlarge or reposition meaningful content before adding ornaments. If repeated elements drift, repair their shared rail, type role, or spacing rule instead of applying unrelated local offsets. If it feels generic despite clear hierarchy, revisit visual direction.

Carry forward the major regions and rails, focal-to-supporting scale relationships, type roles, spacing relationships, image crop intent, and color meanings. Identify which relationships repeat and which intentional exceptions carry emphasis so implementation does not flatten both into identical containers.

The composition is coherent when the primary task, reading order, comparison structure, and focal subject remain understandable with real content and relevant states. Use responsive composition when available space changes those relationships.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts22d3 checks · Risk SAFE
  • Gen Agent Trust Hub22d

    This skill provides comprehensive guidelines and CSS examples for visual composition, typography, and color theory. It contains no executable code or malicious instructions, and all external references are to trusted documentation sites.

  • Socket22d

    No alerts

  • Snyk22d

    Risk: LOW · No issues

Signed by skilld at c9e2b62. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 2 months ago

README badge

README badge for nikunjkothiya/gpt-6-astra-skills/visual-composition