Skip to content
Back to skills

Artefacts

ASecurity

There isn't one fixed hex — the primary button background is a theme-resolving token in the design system, not a static colour, so the actual value depends on which palette/theme is active: - **Light**: `#222222` (`oak-black`) - **Dark**: `#ffffff` (`oak-white`) - **High-contrast**: `#000000` (`oak-black-true`) - **Colour-safe**: same as light/dark (no separate override) Don't hardcode any of these — use the token/class instead, so it keeps resolving correctly across all four themes: - CSS: `...

  • 8 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 11, 2026
ai-agents

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned September 11, 2026

npx -y skills add oaknational/oak-open-curriculum-ecosystem --skill artefacts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Artefacts?

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

Security grade badge for Artefacts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/oaknational-artefacts-ffa255b8/badge)](https://www.skillsdirectory.com/skills/oaknational-artefacts-ffa255b8)

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
There isn't one fixed hex — the primary button background is a theme-resolving token in the design system, not a static colour, so the actual value depends on which palette/theme is active:

- **Light**: `#222222` (`oak-black`)
- **Dark**: `#ffffff` (`oak-white`)
- **High-contrast**: `#000000` (`oak-black-true`)
- **Colour-safe**: same as light/dark (no separate override)

Don't hardcode any of these — use the token/class instead, so it keeps resolving correctly across all four themes:

- CSS: `background: var(--bg-btn-primary);` (already applied by the `.oak-btn` class)
- Component: `<OakButton variant="primary">`

If you genuinely need one literal number for a single fixed context (e.g. a static export that can't reference the token), tell me which theme it's for and I'll give you just that one value.

Files in this skill

  • case-1-with-skill-rationale.md5.1 KB
  • case-1-with-skill.html24.7 KB
  • case-1-without-skill-rationale.md3.2 KB
  • case-1-without-skill.html12.2 KB
  • case-2-with-skill.md4.3 KB
  • case-2-without-skill.md4.8 KB
  • case-3-with-skill.md819 B
  • case-3-without-skill.md292 B

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.

Comments

Loading comments…

Newsletter

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