/ 目录 / 演练场 / luxembourg-accessibility-skillset
● 社区 geoffreycrofte ⚡ 即开即用

luxembourg-accessibility-skillset

作者 geoffreycrofte · geoffreycrofte/luxembourg-accessibility-skillset

Six skills covering Luxembourg's RAWeb (136 web criteria) and RAAM (108 mobile criteria) accessibility standards — both code generation and audit.

A skillset that makes Claude Code conform to Luxembourg's official accessibility frameworks: RAWeb 1.1 for web (HTML/CSS/JS across 17 themes) and RAAM 1.1 for mobile (iOS SwiftUI/UIKit, Android Compose/XML, React Native, Flutter). Each has a -code and -audit sub-skill. RAPDF is planned. All criteria target Level AA conformance and align with EN 301 549 and WCAG 2.1.

为什么要用

核心特性

实时演示

实际使用效果

luxembourg-accessibility-skillset-skill.replay ▶ 就绪
0/0

安装

选择你的客户端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "luxembourg-accessibility-skillset-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/geoffreycrofte/luxembourg-accessibility-skillset",
        "~/.claude/skills/luxembourg-accessibility-skillset"
      ],
      "_inferred": true
    }
  }
}

打开 Claude Desktop → Settings → Developer → Edit Config。保存后重启应用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "luxembourg-accessibility-skillset-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/geoffreycrofte/luxembourg-accessibility-skillset",
        "~/.claude/skills/luxembourg-accessibility-skillset"
      ],
      "_inferred": true
    }
  }
}

Cursor 使用与 Claude Desktop 相同的 mcpServers 格式。项目级配置优先于全局。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "luxembourg-accessibility-skillset-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/geoffreycrofte/luxembourg-accessibility-skillset",
        "~/.claude/skills/luxembourg-accessibility-skillset"
      ],
      "_inferred": true
    }
  }
}

点击 Cline 侧栏中的 MCP Servers 图标,然后选 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "luxembourg-accessibility-skillset-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/geoffreycrofte/luxembourg-accessibility-skillset",
        "~/.claude/skills/luxembourg-accessibility-skillset"
      ],
      "_inferred": true
    }
  }
}

格式与 Claude Desktop 相同。重启 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "luxembourg-accessibility-skillset-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/geoffreycrofte/luxembourg-accessibility-skillset",
        "~/.claude/skills/luxembourg-accessibility-skillset"
      ]
    }
  ]
}

Continue 使用服务器对象数组,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "luxembourg-accessibility-skillset-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/geoffreycrofte/luxembourg-accessibility-skillset",
          "~/.claude/skills/luxembourg-accessibility-skillset"
        ]
      }
    }
  }
}

加入 context_servers。Zed 保存后热重载。

claude mcp add luxembourg-accessibility-skillset-skill -- git clone https://github.com/geoffreycrofte/luxembourg-accessibility-skillset ~/.claude/skills/luxembourg-accessibility-skillset

一行命令搞定。用 claude mcp list 验证,claude mcp remove 卸载。

使用场景

实战用法: luxembourg-accessibility-skillset

Audit a public-sector website against RAWeb before a submission deadline

👤 Luxembourg agencies and vendors required to meet RAWeb ⏱ ~90 min intermediate

何时使用: You have a deadline and need a structured audit before publication.

前置条件
  • Skillset cloned to ~/.claude/skills/ — git clone https://github.com/geoffreycrofte/luxembourg-accessibility-skillset ~/.claude/skills/luxembourg-accessibility-skillset
步骤
  1. Point at the code
    Use raweb-audit to evaluate src/pages/contact.tsx against all 17 themes. Level AA.✓ 已复制
    → Per-criterion pass/fail with line references
  2. Fix the failures
    For each failed criterion, apply the raweb-code pattern to fix it.✓ 已复制
    → Diffs that resolve specific criteria without new regressions

结果: An RAWeb-conformant page with a paper trail of what changed.

注意事项
  • Fixing a11y by hand can break existing semantics — Always re-run raweb-audit after edits — criteria interact
搭配使用: github · filesystem

Generate accessible mobile screens (SwiftUI / Compose) from the start

👤 Mobile engineers building for Luxembourg public sector ⏱ ~45 min intermediate

何时使用: New feature — don't want to bolt a11y on later.

步骤
  1. Describe the screen
    Use raam-code — SwiftUI login screen with form, errors, and biometric option. RAAM Level AA.✓ 已复制
    → Code with proper accessibility labels, traits, dynamic type, VoiceOver hints
  2. Self-audit
    Now raam-audit this same file. Anything missed?✓ 已复制
    → Clean report or small residual fixes

结果: Accessible-by-default mobile code that passes a later audit.

组合

与其他 MCP 搭配,撬动十倍杠杆

luxembourg-accessibility-skillset-skill + github

Open a PR that applies audit fixes with per-criterion commits for traceability

Run raweb-audit, fix the failures, and open a PR with one commit per criterion.✓ 已复制
luxembourg-accessibility-skillset-skill + filesystem

Audit and fix a whole src/ tree in one pass

Audit every .tsx file under src/pages and fix everything that fails RAWeb AA.✓ 已复制

工具

此 MCP 暴露的能力

工具输入参数何时调用成本
raweb-code component intent + pattern (form / table / nav / modal) Writing new web code 0
raweb-audit file path or code block Before submission or PR review 0
raam-code screen intent + framework (SwiftUI/Compose/RN/Flutter) Writing new mobile screens 0
raam-audit file path or code block + framework Pre-release mobile audit 0

成本与限制

运行它的成本

API 配额
None
每次调用 Token 数
Audits can be large on big files — budget accordingly
费用
Free — skills are local files
提示
Audit file-by-file rather than whole repo if you hit context limits.

安全

权限、密钥、影响范围

凭据存储: No credentials — pure prompts
数据出站: None — code stays local

故障排查

常见错误与修复

Skill not invoked — Claude uses generic WCAG advice

Name the sub-skill explicitly ('raweb-audit', 'raam-code'). Plain WCAG prompts won't route to RAWeb.

验证: ls ~/.claude/skills/luxembourg-accessibility-skillset/
SKILL.md frontmatter wrong in one sub-skill

Each sub-skill has its own SKILL.md; inspect the specific folder.

验证: head ~/.claude/skills/luxembourg-accessibility-skillset/raweb-audit/SKILL.md
Wrong trigger keywords — audit runs for the wrong standard

Be explicit: 'raam-audit' (mobile) vs 'raweb-audit' (web).

替代方案

luxembourg-accessibility-skillset 对比其他方案

替代方案何时用它替代权衡
axe-core / LighthouseYou want browser-runtime WCAG checksRuntime vs source-level; no Luxembourg-specific framing
Deque skillsYou want enterprise-grade a11y tooling with reporting dashboardsPaid; not an agent skill

更多

资源

📖 阅读 GitHub 上的官方 README

🐙 查看未解决的 issue

🔍 浏览全部 400+ MCP 服务器和 Skills