Skip to content
Back to search

accent-pages

SkillWorks with Claude CodeGitHub

Design a landing-page hero twice, first in two quiet colours and then with one bold accent colour, so you can see how a single accent changes the way a page feels. Use when someone wants a hero mockup, a before/after colour comparison, help picking an accent colour for a brand, or "the accent colour trick" for a landing page.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/saurabhwashere--accent-pages/badge.svg)](/listings/saurabhwashere--accent-pages)

HTML

<a href="/listings/saurabhwashere--accent-pages"><img src="/api/listings/saurabhwashere--accent-pages/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

1. Download this repo into your skills folder:

   git clone https://github.com/Saurabhwashere/accent-pages ~/.claude/skills/accent-pages

No git? Click **Code > Download ZIP** above, unzip it, and rename the folder to `accent-pages` inside `~/.claude/skills/` (Windows: `C:\Users\<you>\.claude\skills\`). 2. Install the two Python packages:

   python3 -m pip install requests pillow

3. In the folder where you want your designs, create a file named `.env` with one line:

   OPENAI_API_KEY=sk-your-key-here

Keep this file private. Never share or commit it.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

SKILL.md · Manifest · 45 lines
  1. ---
  2. name: accent-pages
  3. description: Design a landing-page hero twice, first in two quiet colours and then with one bold accent colour, so you can see how a single accent changes the way a page feels. Use when someone wants a hero mockup, a before/after colour comparison, help picking an accent colour for a brand, or "the accent colour trick" for a landing page.
  4. ---
  5. # accent-pages
  6. One page, two versions: **plain** (two quiet colours) and **accent** (the same page plus one colour from the far side of
  7. the colour wheel, used only on the hero subject). The script is `scripts/accent.py` in this skill's folder (call it `S`).
  8. Run `python3 S/scripts/accent.py --help` for every command and flag.
  9. ## Before the first render
  10. - Needs Python 3.9+, `python3 -m pip install requests pillow`, and `OPENAI_API_KEY` in the shell or in a `.env` file in
  11. the project folder. Never print, echo or commit the key.
  12. - Each render is one paid OpenAI image call. A finished pair is usually 3 to 4 calls (2 accent tries, 1 plain, maybe
  13. 1 fix). Tell the user that before the first render.
  14. ## Workflow
  15. 1. **Brief.** Ask the user what the brand sells and who it is for, one question at a time. Invent the rest.
  16. 2. **Fill `page.json`.** `accent.py init <folder>` writes an example (Copperline, a hair salon). Replace every field:
  17. - `subject`: one striking object or person, big enough to break the frame. The accent lives on it and nowhere else.
  18. - `accent_on` / `plain_as`: the subject with the accent, and the same subject in a quiet neutral (silver, white, grey).
  19. - `headline`: 1 to 3 short words, tied to the subject. `type`: typeface style and colour (the ink colour).
  20. - `ui`: a real site's nav, button and 1 to 2 small captions, so it reads as a landing page, not a poster.
  21. - `palette`: `field` (the background), `ink` (type), `accent`. Two quiet colours, one loud one.
  22. - `ref` (optional, strongly recommended): path to a landing-page screenshot the user likes, e.g. from Pinterest.
  23. The render borrows its layout and craft, not its brand or colours. Without it, layouts come out plainer.
  24. 3. **Check.** `accent.py check <folder>` must print `palette OK`. It fails when the accent sits too close on the wheel
  25. to the quiet colours, the field is too saturated, or the ink is hard to read. Fix the hex, check again.
  26. 4. **Render the accent page.** `accent.py render <folder>` makes 2 tries in `out/`. Open each one and check:
  27. - every word, letter by letter: image models drop or merge letters in big headlines;
  28. - the accent appears only on the subject;
  29. - it reads as a website: nav, button, small text.
  30. Fix one problem per call: `accent.py fix <folder> <render> "<the one change>"`.
  31. 5. **Make the plain page.** `accent.py plain <folder> <chosen accent render>`. It edits that render, so layout and words
  32. stay put. Compare the two: same words, same layout, the accent gone. If it drifted, run `plain` again.
  33. 6. **Pair.** `accent.py pair <folder> <plain> <accent>` saves `out/pair.png` with swatches. Use the hexes it prints for
  34. anything downstream: they come from the render, not the plan.
  35. ## Taste rules
  36. - The accent goes on the hero subject only: hair, a can, a lettuce, a sofa. Never on buttons, nav or small text.
  37. - Quiet colours carry the page: a pale field and a dark ink. Name every colour with a plain word (Silver, Navy, Copper).
  38. - If the plain version already looks exciting, the quiet colours are too loud. If the accent version does not jump,
  39. the accent is too close to the field on the wheel or too dull.
  40. - Show the result as plain first, then accent: the change is the point.
README.md · README · 43 lines
  1. # accent-pages
  2. A Claude Code skill that designs a landing-page hero twice: once in two quiet colours, once with **one accent colour**
  3. from the opposite side of the colour wheel. Same page, same words. The only change is one colour.
  4. ![Example pair](examples/copperline.jpg)
  5. ## What you need
  6. - [Claude Code](https://claude.com/claude-code)
  7. - Python 3.9 or newer
  8. - An OpenAI API key with access to image generation. Each image is one paid call; a finished pair is usually 3 to 4
  9. images. Check current prices on OpenAI's pricing page.
  10. ## Install
  11. 1. Download this repo into your skills folder:
  12. ```bash
  13. git clone https://github.com/Saurabhwashere/accent-pages ~/.claude/skills/accent-pages
  14. ```
  15. No git? Click **Code > Download ZIP** above, unzip it, and rename the folder to `accent-pages` inside
  16. `~/.claude/skills/` (Windows: `C:\Users\<you>\.claude\skills\`).
  17. 2. Install the two Python packages:
  18. ```bash
  19. python3 -m pip install requests pillow
  20. ```
  21. 3. In the folder where you want your designs, create a file named `.env` with one line:
  22. ```
  23. OPENAI_API_KEY=sk-your-key-here
  24. ```
  25. Keep this file private. Never share or commit it.
  26. ## Use
  27. Open Claude Code in that folder and ask:
  28. > Use accent-pages to design a hero for a cold-brew coffee brand.
  29. Claude asks what you sell and who it is for, picks a palette, checks it, renders the accent page, then makes the plain
  30. version and a side-by-side card with the three colour swatches.
  31. ## Examples
  32. `examples/` has three finished pairs: Copperline (copper hair), Greenhold (green lettuce), Petalo (hibiscus pink can).
  33. ## License
  34. MIT

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.