/ 目錄 / 演練場 / luxembourg-accessibility-skillset
● 社群 geoffreycrofte ⚡ 即開即用

luxembourg-accessibility-skillset

作者 geoffreycrofte · geoffreycrofte/luxembourg-accessibility-skillset

六項技能,涵蓋盧森堡 RAWeb(136 項網頁標準)與 RAAM(108 項行動裝置標準)無障礙規範——同時支援程式碼生成與稽核。

一套讓 Claude Code 符合盧森堡官方無障礙框架的技能組:RAWeb 1.1 適用於網頁(HTML/CSS/JS,涵蓋 17 個主題),RAAM 1.1 適用於行動裝置(iOS SwiftUI/UIKit、Android Compose/XML、React Native、Flutter)。每個標準各有 -code-audit 子技能。RAPDF 規劃中。所有標準目標為 AA 等級符合性,並與 EN 301 549 及 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

在提交期限前,針對 RAWeb 稽核公部門網站

👤 須符合 RAWeb 規範的盧森堡政府機關與供應商 ⏱ ~90 min intermediate

何時使用: 您有截止期限,需要在上線前進行結構化稽核。

前置條件
  • 技能組已複製至 ~/.claude/skills/ — git clone https://github.com/geoffreycrofte/luxembourg-accessibility-skillset ~/.claude/skills/luxembourg-accessibility-skillset
步驟
  1. 指定目標程式碼
    Use raweb-audit to evaluate src/pages/contact.tsx against all 17 themes. Level AA.✓ 已複製
    → 依標準逐條列出通過/未通過,並附上行號參照
  2. 修正未通過項目
    For each failed criterion, apply the raweb-code pattern to fix it.✓ 已複製
    → 能解決特定標準且不引入新問題的差異比較

結果: 一個符合 RAWeb 規範的頁面,並留有變更的書面記錄。

注意事項
  • 手動修正無障礙問題可能破壞現有語意結構 — 每次編輯後務必重新執行 raweb-audit——各項標準之間會相互影響
搭配使用: github · filesystem

從一開始就生成無障礙的行動裝置畫面(SwiftUI / Compose)

👤 為盧森堡公部門開發行動應用程式的工程師 ⏱ ~45 min intermediate

何時使用: 開發新功能時——不想事後才補無障礙設計。

步驟
  1. 描述畫面需求
    Use raam-code — SwiftUI login screen with form, errors, and biometric option. RAAM Level AA.✓ 已複製
    → 程式碼含有適當的無障礙標籤、特性、動態字型及 VoiceOver 提示
  2. 自我稽核
    Now raam-audit this same file. Anything missed?✓ 已複製
    → 乾淨的報告,或僅剩少量待修正項目

結果: 預設符合無障礙規範的行動裝置程式碼,能通過後續稽核。

組合

與其他 MCP 搭配,撬動十倍槓桿

luxembourg-accessibility-skillset-skill + github

建立 PR,以每個標準一筆提交的方式套用稽核修正,便於追蹤記錄

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

一次稽核並修正整個 src/ 目錄樹

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

工具

此 MCP 暴露的能力

工具輸入參數何時呼叫成本
raweb-code component intent + pattern (form / table / nav / modal) 撰寫新的網頁程式碼時 0
raweb-audit file path or code block 提交前或 PR 審查前 0
raam-code screen intent + framework (SwiftUI/Compose/RN/Flutter) 撰寫新的行動裝置畫面時 0
raam-audit file path or code block + framework 行動裝置發布前稽核 0

成本與限制

運行它的成本

API 配額
每次呼叫 Token 數
稽核大型檔案時 token 用量可能較高——請預先規劃預算
費用
免費——技能為本地端檔案
提示
若遇到上下文限制,請逐一稽核個別檔案,而非一次處理整個儲存庫。

安全

權限、密鑰、影響範圍

憑證儲存: 無需憑證——純提示詞運作
資料出站: 無——程式碼保留在本地端

故障排查

常見錯誤與修復

Skill not invoked — Claude uses generic WCAG advice

請明確指定子技能名稱('raweb-audit'、'raam-code')。一般 WCAG 提示詞不會路由至 RAWeb。

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

每個子技能有各自的 SKILL.md;請檢查對應的資料夾。

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

請明確指定:'raam-audit'(行動裝置)vs 'raweb-audit'(網頁)。

替代方案

luxembourg-accessibility-skillset 對比其他方案

替代方案何時用它替代權衡
axe-core / Lighthouse您需要在瀏覽器執行期進行 WCAG 檢查執行期檢查 vs 原始碼層級分析;無盧森堡特定規範框架
Deque skills您需要具備報表儀表板的企業級無障礙工具付費方案;非代理工具技能

更多

資源

📖 閱讀 GitHub 上的官方 README

🐙 查看未解決的 issue

🔍 瀏覽全部 400+ MCP 伺服器和 Skills