Skip to content

Instantly share code, notes, and snippets.

View Benjaminsson's full-sized avatar

Johan Benjaminsson Benjaminsson

View GitHub Profile
@Benjaminsson
Benjaminsson / SKILL.md
Created May 5, 2026 13:27
a11y-audit — Claude Code skill for WCAG 2.1 AA audits (findings only, with optional Claude Preview runtime verification)

name: a11y-audit description: > Produce a structured WCAG 2.1 Level AA accessibility audit report from source code or a Figma export. Findings only — no fixes. Use this skill when the user asks for an "accessibility audit", "a11y audit", "WCAG audit", "WCAG report", "accessibility report", "a11y report", or invokes "/a11y-audit". Distinct from the accessibility skill, which runs automated axe-core / jsx-a11y scans; this skill produces a human-readable audit document with severity tiers, file paths, verbatim code snippets, WCAG citations, and reproduction steps. The two skills complement each other — pair them for full coverage.

@Benjaminsson
Benjaminsson / standardize-repo-skill.md
Created March 4, 2026 15:10
Claude Code skill: Standardize CI, commitlint, and commit tooling for an Advisa repo
name standardize-repo
description Standardize CI, commitlint, and commit tooling for an Advisa repo
disable-model-invocation true

Standardize CI, commitlint, and commit tooling

Migrate this repo to use Sambla Group shared CI workflows, add commitlint for commit message enforcement, and add commit message tooling for Claude Code, Codex, and GitHub Copilot. The tooling derives the Jira ticket ID from the branch name when possible (e.g. UCL-804 from UCL-804-Derive-jira-id-in-skill), falling back to asking the developer only when the branch name doesn't contain a Jira ID.

@Benjaminsson
Benjaminsson / conventional-commits.md
Last active January 14, 2026 10:05 — forked from Zekfad/conventional-commits.md
Conventional Commits Cheatsheet

Conventional Commits Guidelines

This document outlines our commit message conventions. We follow Conventional Commits.


Quick Examples

feat: Add loan amount slider component
@Benjaminsson
Benjaminsson / remify.scss
Last active July 30, 2020 08:45
SASS REMify
@mixin remify($property, $sizes) {
$pixelSizes: ();
$remSizes: ();
@each $s in $sizes {
$pixelSizes: append($pixelSizes, $s * 1px);
$remSizes: append($remSizes, rem($s));
}
#{$property}: $pixelSizes;
@Benjaminsson
Benjaminsson / gist:c8cc4fb0c573dab2653c
Created June 1, 2015 12:02
Set unique class and id on body tag with Umbraco Razor
<body id="@CurrentPage.Name" class="@CurrentPage.DocumentTypeAlias.ToLower()">
@Benjaminsson
Benjaminsson / gulpfile.js
Last active April 26, 2020 20:53
Boilerplate gulpfile for Umbraco projects
'use strict';
// Load plugins
var gulp = require('gulp'),
$ = require('gulp-load-plugins')(),
browserSync = require('browser-sync'),
reload = browserSync.reload;
// Sass
gulp.task('sass:dev', function () {
@Benjaminsson
Benjaminsson / package.json
Last active November 19, 2015 13:23
My boilerplate packe.json for an Umbraco site
{
"name": "package",
"version": "1.0.0",
"private": true,
"devDependencies": {
"gulp": "~3.8.11",
"gulp-load-plugins": "~0.10.0",
"browser-sync": "~2.7.2",
"wiredep": "~2.2.2",