Skip to content

fix: simplify SKILL.md frontmatter for Claude Code App upload (#3)#17

Open
cjxzdzh wants to merge 1 commit into
op7418:mainfrom
cjxzdzh:fix/Claude-Code-App-upload-format
Open

fix: simplify SKILL.md frontmatter for Claude Code App upload (#3)#17
cjxzdzh wants to merge 1 commit into
op7418:mainfrom
cjxzdzh:fix/Claude-Code-App-upload-format

Conversation

@cjxzdzh

@cjxzdzh cjxzdzh commented May 18, 2026

Copy link
Copy Markdown

Summary

Fixes #3 — SKILL.md could not be uploaded directly to Claude Code App due to frontmatter format issues.

Changes

  1. Convert description from multiline | YAML syntax to single line — Claude Code App requires a single-line description
  2. Remove allowed-tools field — not supported by Claude Code App
  3. Remove metadata field — not supported by Claude Code App

Before

```yaml

name: humanizer-zh
description: |
去除文本中的 AI 生成痕迹。适用于编辑或审阅文本...
allowed-tools:

  • Read
  • Write
  • Edit
  • AskUserQuestion
    metadata:
    trigger: 编辑或审阅文本,去除 AI 写作痕迹
    source: 翻译自 blader/humanizer

```

After

```yaml

name: humanizer-zh
description: Use when editing or reviewing text to remove AI writing patterns and make it sound more natural and human-written.

```

Validation

  • YAML parses correctly ✓
  • Description is single-line ✓
  • No allowed-tools field ✓
  • No metadata field ✓
  • All other content preserved unchanged

- Convert description from multiline | YAML syntax to single line
- Remove allowed-tools field (not supported by Claude Code App)
- Remove metadata field (not supported by Claude Code App)

Fixes op7418#3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

无法直接在 Claude Code App 中上传,格式还是稍微有点问题

1 participant