Logo Dev Tooling Setting Up

Dev Tooling Setting Up

Tổ chức
shopwareLabs
dev-tooling-setting-up

Use this skill when the user just installed the dev-tooling plugin and needs to configure it for a Shopware project, asks "help me set up dev-tooling" or for guidance on configuring the PHP and JavaScript tool chains, or when dev-tooling MCP tools fail with missing-config errors. Also use when reconfiguring the environment type (native, Docker, Docker Compose, Vagrant, DDEV) for the PHP and JS MCP servers. Checks prerequisites (jq), creates .mcp-php-tooling.json and .mcp-js-tooling.json, validates that the three MCP servers (PHP — PHPStan, ECS, Rector, PHPUnit; Administration JS; Storefront JS) connect, and walks through optional plugin scope setup.

Tổng quan

Nhà phát hànhshopwareLabs
Kho mãai-coding-tools
Tên kỹ năngdev-tooling-setting-up
Sao
45
Bản fork
7
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được shopwareLabs công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Dev Tooling Setting Up trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/shopwareLabs/ai-coding-tools/tree/main/plugins/plugin-setup/skills/dev-tooling-setting-up
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/shopwareLabs/ai-coding-tools.git /tmp/ai-coding-tools
mkdir -p .claude/skills
cp -r /tmp/ai-coding-tools/plugins/plugin-setup/skills/dev-tooling-setting-up .claude/skills/dev-tooling-setting-up
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Dev Tooling Setting Up trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Dev Tooling Setting Up ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Dev Tooling Setting Up không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Plugin Setup

Interactive setup assistant. Read references/plugin-setup.md for all plugin-specific details including prerequisites, configuration files, validation steps, and post-setup instructions.

Workflow

Phase 1: Detect Current State

Read the plugin setup guide reference file. It contains all plugin-specific information organized in standard sections.

For each prerequisite listed under ## Prerequisites:

  1. Run its check command (the Check field) via Bash
  2. Record the result: installed (with version) or missing

For each config file listed under ## Configuration Files:

  1. Check if it exists at the specified location using Glob
  2. Record the result: exists or missing

Report findings to the user:

  • Installed prerequisites with versions
  • Missing prerequisites (distinguish required vs optional)
  • Existing config files
  • Missing config files

If everything is already configured, skip to Phase 5 (Configure Permissions) — permissions are always offered.

Phase 2: Fix Prerequisites

For each missing prerequisite:

  1. Tell the user what is missing, what requires it (the Required by field), and provide the install link
  2. If the prerequisite is marked as optional, ask via AskUserQuestion whether they want to install it. Skip if they decline.
  3. For required prerequisites, tell the user to install it and ask them to confirm when done
  4. After confirmation, re-run the check command to verify

If a required prerequisite cannot be installed, stop and explain which config files and features depend on it. Do not proceed to Phase 3 for config files that depend on missing prerequisites.

Phase 3: Create Config Files

For each config file from the guide that does not exist:

  1. If the file is marked Required: No, ask via AskUserQuestion whether the user wants to configure it. Skip if they decline.
  2. Read the Setup Questions section for this config file
  3. Ask each question one at a time via AskUserQuestion, presenting the options and descriptions exactly as written in the guide
  4. Skip conditional questions when their condition is not met (conditions are noted in parentheses, e.g., "only if environment = docker")
  5. Build the config JSON object from the answers
  6. Present the complete config to the user and ask for confirmation
  7. Write the file to the specified location using Write

Phase 4: Plugin Scope Setup (optional)

Read the ## Plugin Scope Setup section of the guide and walk the dialogue. Skip this phase entirely if the user answers No to the gate question.

Phase 5: Configure Permissions

Pre-approve the plugin's tools in .claude/settings.local.json so the user is not prompted on first use. Read the ## Permission Groups section of the guide. Each group bundles related tools behind a single question — never ask per individual tool.

  1. Check whether .claude/settings.local.json exists at the project root. If present, read it with Read. Otherwise treat the starting state as {"permissions": {"allow": [], "ask": [], "deny": []}}.

  2. For each group listed in the guide:

    • Skip the group if its Optional condition is not met (e.g., the related config file was not created, or a dependent feature like enable_write_server is disabled).
    • Skip the group silently if every pattern in it is already present in any of the allow, ask, or deny lists.
    • Otherwise ask via AskUserQuestion, using the group's name and description. Offer three options — allow, ask, deny — with the group's Recommended value as the default.
  3. Merge the answers into the settings:

    • Append each selected pattern to the chosen list.
    • Deduplicate: never add a pattern that already exists anywhere in allow, ask, or deny.
    • Never remove, reorder, or move existing entries between lists.
    • Preserve every other key in the file verbatim.
  4. Show the user the new entries that will be added (grouped by target list) and ask for confirmation. On confirmation, Write the updated file.

Phase 6: Validate

Read the ## Validation section of the guide. For each validation step:

  1. Run the described check or MCP tool call
  2. Report pass or fail
  3. If a check fails, diagnose the likely cause and offer to fix it (e.g., wrong container name, container not running, missing PHP extension)

Phase 7: Post-Setup

Read the ## Post-Setup section of the guide. Report the remaining steps the user must take (e.g., restarting Claude Code to load MCP servers).

Rules

  • Ask one question at a time via AskUserQuestion. Never batch multiple questions.
  • Skip phases and individual steps that are already satisfied (prerequisite installed, config file exists, permission pattern already in settings).
  • Never proceed to config file creation if a required prerequisite it depends on is missing.
  • Always show the user the complete config content before writing it.
  • When updating .claude/settings.local.json, only append new entries. Never remove, reorder, or move existing permission entries between lists.
  • If validation fails, attempt to diagnose the cause before giving up.
  • Use the exact options, descriptions, defaults, and permission groups from the plugin setup guide. Do not improvise.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Dev Tooling Setting Up làm được gì?

Use this skill when the user just installed the dev-tooling plugin and needs to configure it for a Shopware project, asks "help me set up dev-tooling" or for guidance on configuring the PHP and JavaScript tool chains, or when dev-tooling MCP tools fail with missing-config errors. Also use when reconfiguring the environment type (native, Docker, Docker Compose, Vagrant, DDEV) for the PHP and JS MCP servers. Checks prerequisites (jq), creates .mcp-php-tooling.json and .mcp-js-tooling.json, validates that the three MCP servers (PHP — PHPStan, ECS, Rector, PHPUnit; Administration JS; Storefront...

Vì sao nên dùng Dev Tooling Setting Up trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Dev Tooling Setting Up là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Dev Tooling Setting Up trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/shopwareLabs/ai-coding-tools/tree/main/plugins/plugin-setup/skills/dev-tooling-setting-up. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Dev Tooling Setting Up?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Dev Tooling Setting Up với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Dev Tooling Setting Up với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Dev Tooling Setting Up có miễn phí không?

Có. Kỹ năng này được shopwareLabs phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇