Skip to content
Back to skills

Update The Design Page

ASecurity

Bring the Durak Stats Poster System page in Claude Design back in step with what the code actually draws. Stage 5, after the pictures have been redrawn — use after the design changed mid-phase, after a new chart was drawn on the page, or after refresh-the-pictures redrew the mockups. Covers pulling the page, splicing the real drawings in, and pushing it back byte-checked.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 25, 2026
developmentgonodeawsgit

Security analysis

A100/100

Scanned October 25, 2026

npx -y skills add oleg-vasilyev/FoolProof --skill update-the-design-page --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Update The Design Page?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Update The Design Page
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/oleg-vasilyev-update-the-design-page/badge)](https://www.skillsdirectory.com/skills/oleg-vasilyev-update-the-design-page)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: update-the-design-page
description: Bring the Durak Stats Poster System page in Claude Design back in step with what the code actually draws. Stage 5, after the pictures have been redrawn — use after the design changed mid-phase, after a new chart was drawn on the page, or after refresh-the-pictures redrew the mockups. Covers pulling the page, splicing the real drawings in, and pushing it back byte-checked.
context: fork
agent: general-purpose
background: false
---

# Updating the design page

> **Stage 5** of [how a change becomes a release](../../../DEVELOPMENT-FLOW.md).

**Do this now, in a subagent that remembers no conversation.** What moved is
`$ARGUMENTS`; when that is empty, read it off `git diff` over `docs/posters/`. Hand
back only the revision the page now carries, step 4's byte verdict, and each sentence
step 3 changed with what it said before. If something decisive is in neither this
file, `$ARGUMENTS` nor the disk, stop and say so rather than guess at the page.

The page is the design's home and the renderer is the drawing's home; whichever
moved, the page must end up showing what the code actually draws. A page
showing an intention instead is exactly the state Rev. 1.0 was found in: eight
charts specified, two built, and nothing anywhere saying which was which.

Two directions lead here:

- **The design moved first** — the owner changed it mid-phase, or drew a new
  chart on the page. Read the page, build what it asks, and only then run the
  procedure below: the mockup on the page has to come from the renderer. An
  unbuilt chart stays under *Ideas* with its reasoning intact, and moves up
  only when it gains a real mockup — never rewritten from memory.
- **The code moved first** — `refresh-the-pictures` redrew the posters. Run the
  procedure directly.

## The procedure

1. **Pull the page** with `DesignSync get_file` — project
   `dfdd20cb-3609-4baa-935d-eb20b8257c2c`, path
   `Durak Stats Poster System.dc.html` — into a local file. The same page for a
   human is
   [Durak Stats Poster System](https://claude.ai/design/p/dfdd20cb-3609-4baa-935d-eb20b8257c2c?file=Durak+Stats+Poster+System.dc.html);
   read it through the tool rather than the browser. It is ~80 KB, so let the
   result persist to disk and work from there rather than reading it into
   context.
2. **Splice, do not regenerate.**
   `node scripts/tools/tools.ts design-page <page.html> <out.html>` replaces the body
   of every `<div class="poster" data-poster="…">` and touches nothing else; its verdict is `reports/tools/design-page.json`.
   Slots are matched **by name, not by position**, so reordering the page
   cannot swap two drawings; a slot naming a poster nothing draws, a poster
   with no slot, or a slot holding nested markup all refuse by name.
3. **Read what the change made false.** The drawings are now current; the prose
   around them may not be. A renamed award, a new colour, a changed size — fix
   the sentence in place — never rewrite the page — and bump the `Rev.` in the header and the footer together.
4. **Push it back**: `finalize_plan` with the one path (it wants `deletes` too,
   even empty), then `write_files` with `localPath`. Read it back and compare
   against the local file — the write is done only when they are byte-identical.
5. **The splice already wrote `docs/posters/design-page.sync`**, which holds the
   fingerprint of the drawings it put on the page, and `check-docs` fails while
   that fingerprint and the English posters disagree. Commit it with the phase — but only
   after step 4 passed, because until then it claims a sync that did not happen.
   That file is the whole reason this skill can no longer be forgotten: the page
   lives behind a login, so nothing else in the repository can notice it is stale.

## What the page is, and is not

- The project is `PROJECT_TYPE_PROJECT`, **not** `PROJECT_TYPE_DESIGN_SYSTEM`,
  and the type is fixed at creation. The Design System pane, `@dsCard` markers
  and `register_assets` do not apply — do not try to make them work.
- **The page's own chrome is not the poster's palette.** The document is warm
  and set in Golos Text; the posters it specifies are neutral and set in Noto
  Sans. That is deliberate — do not "fix" it.
- **Never print a number the data can move.** Rev. 2.0 labelled the awards
  mockup `1620 × 1160` and the real picture was 2232 tall, because the height
  follows the awards earned. State what is fixed — the width — and describe
  the rest.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.