miso2233/sonettohere/syntax-check
Claude Code and agent skill by miso2233/sonettohere
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
检查代码语法错误,支持 Python(ast.parse)、JavaScript(node --check)、TypeScript(tsc)。适用于用户想检查代码语法、排查编译错误、验证代码片段正确性时。
Install
npx vskill@latest install miso2233/sonettohere/syntax-checkSKILL.md
Syntax Check
检查代码语法错误。支持 Python、JavaScript、TypeScript 三种语言的语法检测,可接受直接传入代码字符串或指定文件路径。
脚本位置
${SKILL_DIR}/scripts/check_syntax.py
运行方式:
使用方式
在对话中提供需要检查的代码或文件路径,Claude 会调用脚本执行检查。
支持的语言
| 语言 | 检测方式 | 前提条件 | |
|---|---|---|---|
| Python | ast.parse() | 无(标准库) | |
| JavaScript | node --check | Node.js | |
| TypeScript | npx typescript --noEmit | Node.js |
参数
| 参数 | 说明 | |
|---|---|---|
--code CODE | 直接传入代码字符串 | |
--file PATH | 代码文件路径(优先于 --code) | |
--language LANG | 语言:python / javascript / typescript(默认 python) |
输出
检查通过:
检查失败(含具体行号、列号、错误消息):
注意事项
- Python 检查使用标准库
ast,无需额外依赖 - JS/TS 检查依赖本地 Node.js 运行时
- 仅做语法层面的静态检查,不执行代码
- 脚本零外部依赖,可用
uv run直接执行
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinganthropic_skills/syntax-check/SKILL.md
Popularity
- Repository stars
- 71
- Repository forks
- 13
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/miso2233/sonettohere/syntax-check)