Community程式設計與開發github.com

peterruiter/claude-build-framework

檢查每個設定檔所需的所有工具都已安裝且版本夠新(git、GitHub CLI、Node.js、npm,以及設定檔自身的工具,例如 .NET SDK、PowerShell 7、Azure CLI、Power Platform CLI、LocalDB、k6),並針對任何缺少的工具給出精確的每個作業系統的安裝命令。在 new-project 和 quality-gate 開始時自動執行。當使用者說「檢查我的工具」、「我需要安裝什麼」、「我的機器準備好了嗎」,或者命令失敗顯示「未識別」/「找不到命令」時使用。

claude-build-framework 是什麼?

這個技能是 Claude Build Framework 的一部分,旨在自動驗證開發環境是否符合每個專案設定檔(profile)的要求。它會檢查常用的開發工具如 git、GitHub CLI、Node.js、npm,以及特定設定檔所需的工具(如 .NET SDK、Azure CLI 等),確保它們已安裝且版本不低於最低要求。當檢測到工具缺失或版本過舊時,它會提供針對當前作業系統(Windows、macOS 或 Linux)的精確安裝命令和文件連結。此技能在 `new-project` 和 `quality-gate` 階段自動觸發,也可以由使用者透過「檢查我的工具」等關鍵字手動喚起,幫助開發者快速診斷環境問題並遵循最佳實踐。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/peterruiter/claude-build-framework/tree/HEAD/skills/check-tools

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

檢查工具

  1. 選取設定檔:參數中指定的,否則使用專案 CLAUDE.md 中命名的設定檔,否則詢問 (列出 ${CLAUDE_PLUGIN_ROOT}/profiles/ 中的資料夾)。可以同時檢查多個設定檔, 例如 dataverse-solution power-platform-pcf dataverse-plugins。
  2. 執行 node "${CLAUDE_PLUGIN_ROOT}/scripts/check-prereqs.mjs" <profile ...>。
    • 結束碼 0:所有必要工具都已就緒(仍可能列出選用工具)。
    • 結束碼 1:缺少必要工具或版本低於最低要求。
    • Node.js 缺失(命令本身失敗):給出適用該作業系統的 Node.js 安裝命令並停止。
  3. 以簡短表格報告:工具、找到的版本、需求版本、狀態。然後,僅針對缺失或 版本過舊的工具,給出適用此作業系統的安裝命令和文件連結。
  4. 除非擁有者要求,否則不要自行安裝系統範圍的工具;待他們安裝完成後,請他們 開啟新的終端機(PATH)並再次執行檢查。

每個設定檔的清單位於 ${CLAUDE_PLUGIN_ROOT}/profiles/<profile>/prerequisites.json; 框架自身的清單位於 ${CLAUDE_PLUGIN_ROOT}/prerequisites.json。要新增工具,請加入一個條目,包含 id、name、command、args、pattern(版本在第 1 組)、可選的 min、required、why、 適用於 windows/macos/linux 的 install 和 docs;自我測試會檢查每個條目。

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

peterruiter/claude-build-framework

Full accessibility pass to WCAG 2.2 AA - axe-core through Playwright over every main page in light and dark at 1440/390 (and 320 for reflow), probes for skip link, one h1, lang, visible and unobscured focus, 24px targets and sideways scrolling, a keyboard script for dialogs/drawers/tabs, manual checks (text spacing, zoom, dragging alternatives, accessible authentication), contract tests for shared components and theme contrast, fixes, known limitations with reasons and an accessibility statement page. Use when the user asks for an "accessibility pass", "WCAG", "a11y audit", "screen reader", or before the first public release.

peterruiter/claude-build-framework

Write one complete agent brief from the framework's template for a single piece of work (feature, fix, polish, translation, accessibility or security item), with context, scope, reserved migration slot, scratch database, ports, file ownership, the standing rules (all configured languages, WCAG 2.2 AA, light and dark, privacy, data residency, What's new, no AI attribution), the gate and the report format. Use when the user or the plan-wave skill needs a brief, or says "write a brief", "brief an agent", "delegate this".

peterruiter/claude-build-framework

Build a sync from a SaaS product to customers' Dynamics 365 / Dataverse environments and Customer Insights - Journeys (multi-tenant app with admin consent and an application user, Web API upserts, contact matching, leads, timeline notes, custom triggers, marketing lists, deep links), tested against a stand-in and a marked sandbox. Use when the owner asks for a Dynamics 365, Dataverse, Power Platform or Customer Insights - Journeys integration.

peterruiter/claude-build-framework

Apply, switch or regenerate a project's design system (the one source of colours, fonts, logos, chart, email, document and video styles for every output), check its contrast in light and dark, and add a new design system to the framework from a Claude Design System artifact. Uses scripts/design-system.mjs to generate tokens.css, tokens.ts, a Fluent UI theme, a model-driven app theme, email and chart palettes, the video-tour brand block and an Office theme mapping. Use when the user says "design system", "apply the brand", "use our house style", "switch theme", "rebrand", "regenerate the tokens", "check contrast", or "add a design system".

相關技能