Skill Authoring logo

Skill Authoring

Community
Fldicoahkiin
skill-authoring

Create, validate, and maintain Claude Code Skills. Use when writing a new skill, reviewing skill structure, or debugging skill-related issues.

Overview

PublisherFldicoahkiin
Repositorycode-alchemist
Skill nameskill-authoring
Stars
34
Forks
1
Bundled files
4
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Fldicoahkiin on GitHub. Read the source before you install it.

Installation

Install the Skill Authoring AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Fldicoahkiin/code-alchemist/tree/main/.agents/skills/skill-authoring
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Fldicoahkiin/code-alchemist.git /tmp/code-alchemist
mkdir -p .claude/skills
cp -r /tmp/code-alchemist/.agents/skills/skill-authoring .claude/skills/skill-authoring
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Skill Authoring in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Skill Authoring on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Skill Authoring is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Skill Authoring Guide

编写符合 Agent Skills 规范的 Claude Code Skill。

Use This Skill When

  • 创建新的 Claude Code Skill
  • 审查现有 Skill 的结构和规范性
  • 调试 Skill 验证失败的问题
  • 理解 Skill 文件组织和最佳实践

Skill 结构

一个标准的 Skill 目录结构:

.agents/skills/<skill-name>/
├── SKILL.md              # 主文件(必需)
├── skill.lock.json       # 锁定文件(推荐)
├── evals/
│   └── evals.json        # 测试用例(推荐)
├── references/           # 参考资料(可选)
│   └── spec.md
├── scripts/              # 辅助脚本(可选)
│   └── validate.sh
└── templates/            # 模板文件(可选)
    └── snippet.md

SKILL.md 格式

Frontmatter(必需)

yaml
---
name: skill-name                          # 小写字母、数字、连字符
description: '简短描述,说明用途和触发时机。'  # 1-1024 字符,需引号
license: MIT                              # 开源许可证
metadata:
  author: Your Name
  version: 1.0.0
  tags: "tag1, tag2, tag3"
  repository: https://github.com/...
---

关键规则:

  • name:只能使用小写字母、数字、连字符
  • description:必须加引号,长度 1-1024 字符,清晰说明何时使用该 skill
  • description 是第一段 frontmatter 的 description,不要被示例代码中的 frontmatter 干扰

Body 内容

示例结构:

# Skill 标题

## When to Use / 何时使用

- 触发条件 1
- 触发条件 2

## 核心工作流

1. 步骤一
2. 步骤二
3. 步骤三

## 规则 / Patterns

### 分类一
- 规则 1
- 规则 2

### 分类二
```bash
# 代码示例
```

## Anti-Patterns(禁止做的事)

- 不要做 X
- 避免 Y

## Scope(适用范围)

Apply to:
- `path/pattern/**/*`

Do not over-apply to:
- `excluded/pattern/**/*`

验证 Skill

验证当前 Skill(自验证)

在 skill 目录下运行:

bash
bash scripts/validate_skill.sh

验证其他 Skill

验证指定路径的 skill:

bash
bash .agents/skills/skill-authoring/scripts/validate_skill.sh path/to/your-skill

重要:如果不提供路径参数,脚本只会验证它自己(skill-authoring),而不是你新建的 skill。

验证项

  • Frontmatter 格式正确
  • Name 字段合法(小写字母、数字、连字符;与目录名一致)
  • Description 长度 1-1024 字符且带引号
  • License 和 metadata 字段完整
  • H1 标题存在
  • Body 行数不超过 500(推荐)
  • evals.json 存在且合法

常见错误

错误原因修复
Description 长度异常脚本读取了示例代码中的 frontmatter使用只提取第一段 frontmatter 的 awk 命令
Name 包含非法字符使用了大写字母或下划线改为小写和连字符
缺少 H1 标题没有 # Title添加一级标题
evals.json 格式错误JSON 语法错误用 python3 -m json.tool 检查

skill.lock.json 格式

json
{
  "name": "skill-name",
  "version": "1.0.0",
  "lockfileVersion": 1,
  "skill": {
    "name": "skill-name",
    "version": "1.0.0",
    "entry": "SKILL.md",
    "files": [
      "SKILL.md",
      "scripts/helper.sh"
    ],
    "dependencies": {
      "git": ">=2.0.0"
    },
    "checksums": {
      "SKILL.md": "sha256...",
      "scripts/helper.sh": "sha256..."
    }
  },
  "generated": "2026-03-31T00:00:00Z"
}

evals.json 格式

json
{
  "skill_name": "skill-name",
  "evals": [
    {
      "id": 1,
      "prompt": "测试 prompt",
      "expected_output": "预期输出描述",
      "assertions": ["检查点 1", "检查点 2"]
    }
  ]
}

最佳实践

Do

  • 保持 body 在 500 行以内
  • 使用具体的文件路径模式
  • 提供清晰的代码示例
  • 包含 When to Use 章节
  • 声明 Anti-Patterns

Don't

  • 在 frontmatter 中放代码示例
  • 使用过长的 description
  • 遗漏 H1 标题
  • 创建没有测试用例的 skill

调试技巧

  1. 验证脚本报告 description 长度错误:

    bash
    # 手动计算真实 description 长度
    awk '/^---$/ {found++} found==1 && /^description:/ {sub(/^description:[[:space:]]*/, ""); print; exit}' SKILL.md | sed "s/^[\\\"']*//;s/[\\\"']*$//" | wc -c
  2. 检查 frontmatter 解析问题:

    bash
    # 确认只提取了第一段 frontmatter
    awk '/^---$/ {found++} found<=2' SKILL.md
  3. 生成 checksum:

    bash
    sha256sum SKILL.md

参考: https://agentskills.io/specification

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Skill Authoring AI skill do?

Create, validate, and maintain Claude Code Skills. Use when writing a new skill, reviewing skill structure, or debugging skill-related issues.

Why use Skill Authoring on TypingMind?

Because you install it once and use it with any model. Skill Authoring is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Skill Authoring in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Fldicoahkiin/code-alchemist/tree/main/.agents/skills/skill-authoring. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Skill Authoring?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Skill Authoring?

As many as you like. As long as a model supports skills, you can use Skill Authoring with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Skill Authoring AI skill free?

Yes. It is published on GitHub by Fldicoahkiin under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇