Ec Creator 标志

Ec Creator

社区
noah-1106
ec_creator

Execution Card Linter & Validator with Auto-Fix | 执行卡片检查与自动修复工具 A validation and correction tool for creating standardized Execution Cards. | 创建标准化执行卡片的验证和修正工具

概览

发布者noah-1106
代码仓库Skills_Repo
技能名称ec_creator
星标数
32
复刻数
5
附带文件
7
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 7 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 noah-1106 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Ec Creator AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/noah-1106/Skills_Repo/tree/main/skills/ec_creator
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/noah-1106/Skills_Repo.git /tmp/Skills_Repo
mkdir -p .claude/skills
cp -r /tmp/Skills_Repo/skills/ec_creator .claude/skills/ec_creator
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Ec Creator,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Ec Creator。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Ec Creator 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

EC Creator Skill | EC 创建技能

Version: 1.1.0 | Execution Card Linter & Validator with Auto-Fix | 执行卡片检查与自动修复工具

A validation and correction tool for creating standardized Execution Cards. | 创建标准化执行卡片的验证和修正工具。


What's New in v1.1.0 | v1.1.0 新特性

  • Python-based: Data-driven validation using JSON rules (no hard-coding) | 使用JSON规则的数据驱动验证(无硬编码)
  • Auto-Fix Suggestions: Returns copy-pasteable Markdown snippets for common issues | 返回可复制的Markdown片段用于常见问题
  • Real Skill Scanning: Actually checks ~/.openclaw/skills/ directory for skill existence | 实际检查 ~/.openclaw/skills/ 目录中的技能存在性
  • Enhanced Error Messages: More actionable guidance | 更具操作性的指导

What This Skill Does | 此技能功能

EC Creator transforms draft workflow descriptions into production-ready Execution Cards through automated validation and iterative correction. | EC Creator 通过自动化验证和迭代修正,将工作流草稿转换为生产就绪的执行卡片。

Core Workflow / 核心工作流:

Draft (temp_draft.md) → Lint → Fix → Validate → Standard EC (EC-XXX.md)
草稿 (temp_draft.md) → 检查 → 修复 → 验证 → 标准 EC (EC-XXX.md)

Core Functions | 核心功能

1. Structure Integrity Scan | 结构完整性扫描

Validates logical blocks are complete: | 验证逻辑块是否完整:

Block / 模块Check / 检查Error if Missing / 缺失时错误
Resource Dependencies / 资源依赖Lists required skills/tools"Agent may hallucinate unavailable tools" / "Agent可能幻觉不存在的工具"
Execution Workflow / 执行工作流Numbered step list"Non-sequential, hard to parse" / "非顺序,难以解析"
Execution Conventions / 执行约定I/O paths defined"Cross-agent collaboration fails" / "跨Agent协作失败"

2. Path Vitality Check | 路径活力检查

Scans and validates all paths in the EC: | 扫描并验证EC中的所有路径:

bash
# Checks / 检查:
- Resource paths: Do files exist? / 资源路径:文件是否存在?
- Output directories: Are they writable? / 输出目录:是否可写?
- Template references: Are they valid? / 模板引用:是否有效?

# Example Output / 示例输出:
[FAIL] Template POST_TEMPLATE.md not found in workspace / 模板未找到
[PASS] Output directory posts/ exists and is writable / 输出目录存在且可写

3. Semantic Polish | 语义润色

Keyword-based sanity checks: | 基于关键词的合理性检查:

Keywords Found / 发现的关键词Warning if Missing / 缺失时警告
"upload", "post", "send"No network/API skill in dependencies / 依赖中无网络/API技能
"read", "write", "save"No file system skill declared / 未声明文件系统技能
"error", "fail", "retry"No error handling section / 无错误处理章节
"if", "check", "validate"No input validation steps / 无输入验证步骤

Usage | 使用方式

Command Line | 命令行

bash
# Validate a draft EC / 验证EC草稿
ec_linter ExCard/temp_draft.md

# Output / 输出:
# [INFO] Scanning temp_draft.md...
# [WARN] Missing Resource Dependencies section / 缺少资源依赖章节
# [ERROR] Output path posts/ does not exist / 输出路径不存在
# [FAIL] 1 error, 1 warning found / 1个错误,1个警告

# After fixing, run again / 修复后重新运行:
ec_linter ExCard/temp_draft.md
# [PASS] All checks passed. Ready to rename to EC-XXX.md / 所有检查通过

In Agent Workflow | 在Agent工作流中

Phase 1: Observation / 阶段1:观察 Agent records successful operations in ExCard/temp_draft.md | Agent记录成功操作到 ExCard/temp_draft.md

Phase 2: Initial Structuring / 阶段2:初始结构化 Agent formats draft according to template | Agent按模板格式化草稿

Phase 3: Lint & Validate / 阶段3:检查与验证

Agent: Run ec_linter ExCard/temp_draft.md / 运行检查器
Linter: [FAIL] Missing Input conventions / 缺少输入约定
Agent: Edit file, add Input section / 编辑文件,添加输入章节
Agent: Run ec_linter again / 再次运行检查器
Linter: [PASS] / 通过

Phase 4: Activate / 阶段4:激活 Rename to EC-005-descriptive-name.md | 重命名为 EC-005-描述性名称.md


Validation Rules | 验证规则

Rule 1: Required Sections | 规则1:必需章节

Must have these Markdown H2 sections: | 必须包含以下Markdown H2章节:

  • ## Resource Dependencies / ## 资源依赖
  • ## Execution Workflow / ## 执行工作流
  • ## Execution Conventions / ## 执行约定

Rule 2: Numbered Steps | 规则2:编号步骤

Execution Workflow must use numbered list (1., 2., 3.) | 执行工作流必须使用编号列表

markdown
## Execution Workflow / ## 执行工作流
1. Read input file / 读取输入文件
2. Process data / 处理数据
3. Save output / 保存输出

Rule 3: Path Verification | 规则3:路径验证

All paths must be: | 所有路径必须:

  • Relative (not absolute) / 相对路径(非绝对路径)
  • Within workspace / 在工作空间内
  • Properly formatted / 格式正确

Rule 4: Dependency Declaration | 规则4:依赖声明

Every external tool/skill must be listed in Resource Dependencies | 每个外部工具/技能必须在资源依赖中列出

Rule 5: Error Handling | 规则5:错误处理

Must have at least one of: | 必须至少包含以下之一:

  • Error handling steps / 错误处理步骤
  • Retry logic / 重试逻辑
  • Failure recovery procedure / 故障恢复程序

Output Format | 输出格式

EC Linter Report / EC检查报告
================
File / 文件: ExCard/temp_draft.md
Status / 状态: [PASS] / [FAIL] / [WARN]

Structure Check / 结构检查:
  [✓] Resource Dependencies / 资源依赖
  [✓] Execution Workflow / 执行工作流
  [✗] Execution Conventions / 执行约定 (missing I/O paths / 缺少I/O路径)

Path Check / 路径检查:
  [✓] Input: data/input.csv
  [✗] Template: templates/missing.md (not found / 未找到)

Semantic Check / 语义检查:
  [WARN] Steps mention 'upload' but no network skill declared / 步骤提到上传但未声明网络技能
  [WARN] No error handling detected / 未检测到错误处理

Next Steps / 下一步:
  1. Add missing Execution Conventions section / 添加缺失的执行约定章节
  2. Create templates/missing.md or fix path / 创建模板或修复路径
  3. Add error handling steps or retry logic / 添加错误处理或重试逻辑

Integration with OpenExCard | 与OpenExCard集成

┌─────────────────────────────────────────┐
│     Agent observes workflow / Agent观察工作流      │
│     Records in temp_draft.md / 记录到temp_draft.md  │
└─────────────────┬───────────────────────┘
                  │
                  ▼
┌─────────────────────────────────────────┐
│   Agent formats using template / Agent使用模板格式化  │
└─────────────────┬───────────────────────┘
                  │
                  ▼
┌─────────────────────────────────────────┐
│   EC Creator Skill (ec_linter) / EC创建技能        │
│  ┌──────────────┬──────────────┐       │
│  │ Structure    │ Path         │       │
│  │ Scan / 结构  │ Vitality /   │       │
│  │    扫描      │   路径活力    │       │
│  └──────────────┴──────────────┘       │
│              │                          │
│              ▼                          │
│  ┌──────────────────────┐              │
│  │   Semantic Polish /  │              │
│  │   语义润色           │              │
│  └──────────────────────┘              │
└─────────────────┬───────────────────────┘
                  │
          [FAIL]  │  [PASS]
                  ▼
┌─────────────────┴───────────────────────┐
│  Report errors / 报告错误  │  Rename to EC-XXX.md  │
│  Agent fixes / Agent修复   │  Activate / 激活      │
│  Re-run linter / 重新运行  │                      │
└─────────────────────────────────────────┘

Installation | 安装

bash
clawhub install ec_creator

Or clone to / 或克隆到 ~/.openclaw/skills/ec_creator/


Files | 文件

ec_creator/
├── SKILL.md              # This file / 本文档
├── ec_linter.sh          # Main validation script / 主验证脚本
├── ec_linter.py          # Python validation script / Python验证脚本
├── rules/
│   ├── structure.json    # Section requirements / 章节要求
│   ├── paths.json        # Path validation rules / 路径验证规则
│   └── semantic.json     # Keyword patterns / 关键词模式
└── templates/
    └── ec_template.md    # Starter template / 起始模板

Changelog | 更新日志

  • v1.1.0 (2026-03-14):

    • Added bilingual support / 添加中英文对照
    • Structure integrity scan / 结构完整性扫描
    • Path vitality check / 路径活力检查
    • Semantic polish / 语义润色
    • Iterative validation workflow / 迭代验证工作流
  • v1.0.0 (2026-03-14): Initial release / 初始版本


Part of OpenExCard Framework | OpenExCard框架的一部分

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Ec Creator AI 技能有什么作用?

Execution Card Linter & Validator with Auto-Fix | 执行卡片检查与自动修复工具 A validation and correction tool for creating standardized Execution Cards. | 创建标准化执行卡片的验证和修正工具

为什么在 TypingMind 中使用 Ec Creator?

因为您只需安装一次,就能搭配任何模型使用。Ec Creator 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Ec Creator?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/noah-1106/Skills_Repo/tree/main/skills/ec_creator。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Ec Creator?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Ec Creator 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Ec Creator 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Ec Creator AI 技能免费吗?

是的。noah-1106 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇