Skill library

Agent skill UI design

Frontend Design

Shape a web interface around a coherent visual direction.

  • UI design

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add https://github.com/costiash/CognivAgent/tree/main/.claude/skills/frontend-design --skill frontend-design --agent claude-code --yes

Check this file in your project.claude/skills/frontend-design/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add https://github.com/costiash/CognivAgent/tree/main/.claude/skills/frontend-design --skill frontend-design

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. The actual project and audience, primary action, real data or copy, target widths, and assets you can use. After installation, verify costiash/CognivAgent in skills-lock.json. Several projects publish a Skill under the frontend-design name.

View operation manual

What this skill helps with

  • Shape a web interface around a coherent visual direction.

Good for

  • Visual direction
Task
Design a crisp static weekly metrics summary
Publisher source
costiash/CognivAgent
Constraints
Use the project’s units and time ranges. Set the typography and composition so important numbers are easy to compare.
Skill name
frontend-design

Give the interface a concrete job

A broad request

Use Frontend Design and make our UI more polished.

Without the user task and real constraints, it is hard to assess whether the design direction improves the workflow.

A verifiable workflow

  1. A specific visual direction follows the real project constraints.
  2. Typography, color, layout and functional controls serve the same task.
  3. The primary action can be repeated in the preview at both widths.

CognivAgent Frontend Design operation manual

Design a crisp static weekly metrics summary

The actual project and audience, primary action, real data or copy, target widths, and assets you can use.

  1. Set a visual direction and primary action

    A specific visual direction follows the real project constraints.

    Prompt · Step 1
    Use frontend-design from costiash/CognivAgent and read its installed SKILL.md. Read [project, audience, real copy and target widths]. Use the project’s units and time ranges. Set the typography and composition so important numbers are easy to compare. State the purpose, tone, constraints and one distinguishing design choice. Show where the primary action belongs. Base the proposal on available project assets and confirm the direction first.
  2. Implement one real surface from the approved direction

    Typography, color, layout and functional controls serve the same task.

    Prompt · Step 2
    Use the existing stack to implement [approved direction and surface]. Use project CSS variables for color, give headings and text different roles, and adapt layout to target widths. Use the project’s units and time ranges. Set the typography and composition so important numbers are easy to compare. Wire the real operation and its relevant states. Report the files and visual choices you made.
  3. Render and check the actual interaction

    The primary action can be repeated in the preview at both widths.

    Prompt · Step 3
    Open [local preview and representative fixtures] on desktop and mobile. Review the real time labels and values in compact and wide previews. Check that long labels and variable-length numbers do not collide. Report browser evidence, relevant file paths and any checks you could not run.

Look up the installed distribution

Use the publisher and source available in this project.

A same-name Skill is already installedSKILL.md
Command or reference
costiash/CognivAgent
Examples
After installation, verify costiash/CognivAgent in skills-lock.json. Several projects publish a Skill under the frontend-design name.

Troubleshooting and FAQ

How do I confirm which copy is loaded?

After installation, verify costiash/CognivAgent in skills-lock.json. Several projects publish a Skill under the frontend-design name.