/ 디렉터리 / 플레이그라운드 / skill-arkts-syntax-assistant
● 커뮤니티 SummerKaze ⚡ 바로 사용

skill-arkts-syntax-assistant

제작: SummerKaze · SummerKaze/skill-arkts-syntax-assistant

Claude Code skill for ArkTS — OpenHarmony's stricter TypeScript. Covers syntax, TS→ArkTS migration, perf patterns, and compilation errors.

ArkTS is the default language for OpenHarmony apps: TypeScript with stricter static typing and a ban on dynamic object mutation. skill-arkts-syntax-assistant teaches Claude the constraints: declarations/types/functions/classes/modules, TypeScript→ArkTS migration gotchas, performance best practices (memory, loops, arrays, exceptions), and compilation error diagnosis. Auto-activates on ArkTS-related questions.

왜 쓰나요

핵심 기능

라이브 데모

실제 사용 모습

skill-arkts-syntax-assistant-skill.replay ▶ 준비됨
0/0

설치

클라이언트 선택

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "skill-arkts-syntax-assistant-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/SummerKaze/skill-arkts-syntax-assistant",
        "~/.claude/skills/skill-arkts-syntax-assistant"
      ],
      "_inferred": true
    }
  }
}

Claude Desktop → Settings → Developer → Edit Config 열기. 저장 후 앱 재시작.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "skill-arkts-syntax-assistant-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/SummerKaze/skill-arkts-syntax-assistant",
        "~/.claude/skills/skill-arkts-syntax-assistant"
      ],
      "_inferred": true
    }
  }
}

Cursor는 Claude Desktop과 동일한 mcpServers 스키마 사용. 프로젝트 설정이 전역보다 우선.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "skill-arkts-syntax-assistant-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/SummerKaze/skill-arkts-syntax-assistant",
        "~/.claude/skills/skill-arkts-syntax-assistant"
      ],
      "_inferred": true
    }
  }
}

Cline 사이드바의 MCP Servers 아이콘 클릭 후 "Edit Configuration" 선택.

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "skill-arkts-syntax-assistant-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/SummerKaze/skill-arkts-syntax-assistant",
        "~/.claude/skills/skill-arkts-syntax-assistant"
      ],
      "_inferred": true
    }
  }
}

Claude Desktop과 같은 형식. Windsurf 재시작 후 적용.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "skill-arkts-syntax-assistant-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/SummerKaze/skill-arkts-syntax-assistant",
        "~/.claude/skills/skill-arkts-syntax-assistant"
      ]
    }
  ]
}

Continue는 맵이 아닌 서버 오브젝트 배열 사용.

~/.config/zed/settings.json
{
  "context_servers": {
    "skill-arkts-syntax-assistant-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/SummerKaze/skill-arkts-syntax-assistant",
          "~/.claude/skills/skill-arkts-syntax-assistant"
        ]
      }
    }
  }
}

context_servers에 추가. 저장 시 Zed가 핫 리로드.

claude mcp add skill-arkts-syntax-assistant-skill -- git clone https://github.com/SummerKaze/skill-arkts-syntax-assistant ~/.claude/skills/skill-arkts-syntax-assistant

한 줄 명령. claude mcp list로 확인, claude mcp remove로 제거.

사용 사례

실전 활용법: skill-arkts-syntax-assistant

Migrate a TypeScript module to ArkTS without fighting the compiler

👤 Devs porting existing TS code to OpenHarmony ⏱ ~45 min intermediate

언제 쓸까: You pasted TS into an ArkTS file and the compiler erupted.

사전 조건
  • Skill cloned — git clone https://github.com/SummerKaze/skill-arkts-syntax-assistant ~/.claude/skills/skill-arkts-syntax-assistant
흐름
  1. Paste the errors
    Use skill-arkts-syntax-assistant — here's the TS file and the ArkTS compile errors. What's incompatible?✓ 복사됨
    → Errors explained with ArkTS's stricter rules, not generic TS advice
  2. Get a compliant rewrite
    Rewrite the file to be ArkTS-valid while preserving behavior.✓ 복사됨
    → Rewrite with typed declarations and no dynamic object mutations

결과: A clean ArkTS port with a note on why each change was needed.

함정
  • Dynamic property access patterns are everywhere in the original — Skill will refactor to typed interfaces — accept the added verbosity
함께 쓰기: filesystem

Diagnose a specific ArkTS compilation error

👤 HarmonyOS devs stuck on a specific error ⏱ ~10 min beginner

언제 쓸까: Compiler message is cryptic and the docs don't explain.

흐름
  1. Share error + code
    skill-arkts-syntax-assistant — error: <paste>. Code: <paste>.✓ 복사됨
    → Root cause explained in ArkTS terms + correct pattern

결과: A fix plus understanding of why the rule exists.

Review a hot loop for ArkTS-specific performance issues

👤 HarmonyOS app developers tuning performance ⏱ ~20 min intermediate

언제 쓸까: Component is janky; you suspect allocation or typing pitfalls.

흐름
  1. Show the code
    skill-arkts-syntax-assistant — perf review this loop. Memory and allocation patterns.✓ 복사됨
    → Specific allocations flagged + array/object alternatives

결과: A measurably faster version or a clear 'this is already fine' verdict.

조합

다른 MCP와 조합해 10배 효율

skill-arkts-syntax-assistant-skill + filesystem

Batch-migrate a whole directory of TS files to ArkTS

For every .ts file under src/utils, apply the ArkTS migration and save as .ets.✓ 복사됨
skill-arkts-syntax-assistant-skill + github

Open a PR with migration diffs chunked by file

After migration, open a PR with one commit per migrated file.✓ 복사됨

도구

이 MCP가 노출하는 것

도구입력언제 호출비용
migrate_ts_file TS file path + compile errors Porting TS code 0
diagnose_error error text + code snippet Stuck on a specific compiler error 0
perf_review code + suspect area Tuning HarmonyOS component perf 0

비용 및 제한

운영 비용

API 쿼터
None
호출당 토큰
Moderate — pattern examples loaded when needed
금액
Free — skills are local files
Migrate file-by-file rather than whole-repo to keep context manageable.

보안

권한, 시크릿, 파급범위

자격 증명 저장: No credentials — pure prompts
데이터 외부 송신: None

문제 해결

자주 발생하는 오류와 해결

Skill not invoked — Claude applies generic TS fixes that fail in ArkTS

Say 'ArkTS' explicitly; 'TypeScript' alone won't activate this skill.

확인: ls ~/.claude/skills/skill-arkts-syntax-assistant/SKILL.md
SKILL.md frontmatter wrong

Re-clone; description drives auto-activation.

확인: head ~/.claude/skills/skill-arkts-syntax-assistant/SKILL.md
Wrong trigger keywords — compile error not resolved

Include the exact compiler message in the prompt, not a paraphrase.

대안

skill-arkts-syntax-assistant 다른 것과 비교

대안언제 쓰나단점/장점
Vanilla TypeScript skillsYou're not targeting HarmonyOSMisses ArkTS's stricter rules
OpenHarmony official docsYou want authoritative reference material, not a chat interfaceNo interactive diagnosis

더 보기

리소스

📖 GitHub에서 공식 README 읽기

🐙 열린 이슈 보기

🔍 400+ MCP 서버 및 Skills 전체 보기