Reuse

Use your own components before writing new ones.

By

Raphael Salaja

Price

Free

Reuse is an agent skill by Raphael Salaja that sets the order for building anything new. Your project's own components come first, then a maintained library or a platform feature, and custom code last.

What it does

  • Searches your shared components, icon set and tokens before writing UI, and names what it found.
  • Uses components as shipped, through their variants, instead of restyling them locally.
  • Keeps one style per kind of thing, like one menu and one dialog shell.
  • Makes shared fixes inside the primitive, then sweeps sibling call sites and lists the files.
  • Reaches for platform features like Intl before a hand-written helper, and checks that a library is maintained before adding it.

When to use it

Your agent applies it whenever it builds UI in a project that already has components.

How to get it

The skill is free on GitHub under the MIT license, in Raphael Salaja's skills repo. Install the set with npx skills add raphaelsalaja/skills.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.

Reuse

Use your own components before writing new ones.

By

Raphael Salaja

Price

Free

Reuse is an agent skill by Raphael Salaja that sets the order for building anything new. Your project's own components come first, then a maintained library or a platform feature, and custom code last.

What it does

  • Searches your shared components, icon set and tokens before writing UI, and names what it found.
  • Uses components as shipped, through their variants, instead of restyling them locally.
  • Keeps one style per kind of thing, like one menu and one dialog shell.
  • Makes shared fixes inside the primitive, then sweeps sibling call sites and lists the files.
  • Reaches for platform features like Intl before a hand-written helper, and checks that a library is maintained before adding it.

When to use it

Your agent applies it whenever it builds UI in a project that already has components.

How to get it

The skill is free on GitHub under the MIT license, in Raphael Salaja's skills repo. Install the set with npx skills add raphaelsalaja/skills.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.

Reuse

Use your own components before writing new ones.

By

Raphael Salaja

Price

Free

Reuse is an agent skill by Raphael Salaja that sets the order for building anything new. Your project's own components come first, then a maintained library or a platform feature, and custom code last.

What it does

  • Searches your shared components, icon set and tokens before writing UI, and names what it found.
  • Uses components as shipped, through their variants, instead of restyling them locally.
  • Keeps one style per kind of thing, like one menu and one dialog shell.
  • Makes shared fixes inside the primitive, then sweeps sibling call sites and lists the files.
  • Reaches for platform features like Intl before a hand-written helper, and checks that a library is maintained before adding it.

When to use it

Your agent applies it whenever it builds UI in a project that already has components.

How to get it

The skill is free on GitHub under the MIT license, in Raphael Salaja's skills repo. Install the set with npx skills add raphaelsalaja/skills.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.