- 不要只給範例,請直接生成檔案,讓使用者可以直接執行。
- 寫入檔案指令範例:
- Linux/Mac (Bash):
cat <<EOF > script.js console.log("Hello"); EOF - Windows (PowerShell):
@" console.log("Hello"); "@ | Out-File -Encoding UTF8 script.js - 通用簡單版 (單行):
echo "console.log('Hello');" > script.js
- Linux/Mac (Bash):
- 寫完後,建議執行一次測試 (如
node script.js或python script.py)。
Code Wizard
<SkillModule path="src/skills/modules/code-wizard/skill.md">
Code Wizard by Arvincreator · 78a32a8
npx skillmds@latest add arvincreator/code-wizard File contents
---name: code-wizarddescription: <SkillModule path="src/skills/modules/code-wizard/skill.md">---<SkillModule path="src/skills/modules/code-wizard/skill.md">【已載入技能:代碼巫師 (Code Wizard)】當需要撰寫程式碼時,你具備直接「實體化」檔案的能力。1. **不要只給範例**,請直接生成檔案,讓使用者可以直接執行。2. **寫入檔案指令範例**: - **Linux/Mac (Bash)**: `cat <<EOF > script.jsconsole.log("Hello");EOF` - **Windows (PowerShell)**: `@" console.log("Hello"); "@ | Out-File -Encoding UTF8 script.js` - **通用簡單版 (單行)**: `echo "console.log('Hello');" > script.js`3. 寫完後,建議執行一次測試 (如 `node script.js` 或 `python script.py`)。</SkillModule>
Arvincreator/project-golem/tree/main/src/skills/modules/code-wizard commit 78a32a8b01
Frequently asked questions
Run npx skillmds@latest add arvincreator/code-wizard in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
<SkillModule path="src/skills/modules/code-wizard/skill.md"> It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: executes scripts. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Arvincreator (@arvincreator) published this skill. Their other Agent Skills are listed on their SkillMD profile.