Token导航 LogoToken导航

Agent Skill · 研究检索

eae-adapter(EAE 适配器)

eae-adapter 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

eae-adapter 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 46,747。

总安装 766周安装 31GitHub Stars 公开资料未说明下载 241核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:eae-adapter(EAE 适配器)
来源仓库:https://github.com/sapiencezk/eae-skills
仓库路径:skills/eae-adapter
安装命令:
npx skills add sapiencezk/eae-skills --skill "eae-adapter"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add sapiencezk/eae-skills --skill "eae-adapter"

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

eae-adapter 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。适用于系统集成、接口适配或跨平台兼容场景,支持基于关键词的任务匹配。通过 npx skills add 命令从 GitHub 仓库安装,支持多宿主平台集成。

安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/eae-adapter

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add sapiencezk/eae-skills --skill "eae-adapter";命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

eae-adapter 怎么安装?

在终端执行 npx skills add sapiencezk/eae-skills --skill "eae-adapter"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

eae-adapter 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

eae-adapter 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

eae-adapter 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

eae-adapter 用的人多吗?

公开数据是累计安装 766 次,近一周安装 31 次,下载 241 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

eae-adapter 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
eae-adapter

EAE 适配器 · 本页

766—需要联网MIT未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
eae-adapter
description
>
license
MIT
compatibility
Designed for EcoStruxure Automation Expert 25.0+, Python 3.8+, PowerShell (Windows)
metadata
version
2.0.0
author
Claude
domain
industrial-automation
parent-skill
eae-skill-router
user-invocable
true
platform
EcoStruxure Automation Expert
standard
IEC-61499

EAE Adapter Creation

Create or modify Adapter types for reusable bidirectional interfaces.

CRITICAL RULE: ALWAYS use this skill for ANY operation on Adapter files. - Creating new Adapters - Modifying existing Adapters (adding events, variables, service sequences) - NEVER directly edit .adp files outside of this skill

Adapter = Bidirectional Interface Pattern

  • Socket side: sees interface as defined
  • Plug side: sees interface reversed
  • Used for standard communication patterns

Adapter Key Differences:

  • Uses <AdapterType> root element (NOT FBType)
  • Uses .adp extension (NOT .fbt)
  • Uses Standard="61499-1" (NOT 61499-2)
  • Has <Service> element defining communication sequences

Quick Start

User: Create an adapter for request/response communication
Claude: [Creates IEC61499/MyAdapter.adp with service sequences]

Triggers

  • /eae-adapter
  • /eae-adapter --register-only - Register existing Adapter (used by eae-fork orchestration)
  • "create adapter"
  • "modify adapter"
  • "add event to adapter"
  • "create interface adapter"
  • "socket plug interface"

Register-Only Mode (for eae-fork Orchestration)

When called with --register-only, this skill skips file creation and only performs dfbproj registration. This mode is used by eae-fork to complete the fork workflow after file transformation.

/eae-adapter --register-only {AdapterName} {Namespace}

What --register-only does:

  1. Registers in dfbproj - Adds ItemGroup entries for Adapter visibility

What --register-only does NOT do:

  • Create IEC61499 files (.adp, etc.) - already done by eae-fork
  • Update namespaces - already done by eae-fork

Usage

# Register a forked Adapter
python ../eae-skill-router/scripts/register_dfbproj.py IMyAdapter SE.ScadapackWWW --type adapter

# Verify registration
python ../eae-skill-router/scripts/register_dfbproj.py IMyAdapter SE.ScadapackWWW --type adapter --verify

Modification Workflow

When modifying an existing Adapter:

  1. Read the existing .adp file to understand current structure
  2. Identify what needs to be added/changed
  3. Generate new hex IDs for any new Events or VarDeclarations
  4. Update the InterfaceList (events, variables) if needed
  5. Update the Service element with new ServiceSequences if needed
  6. Ensure service transactions match the new events/data

Files Generated

FilePurpose
{Name}.adpMain adapter (NOT .fbt!)
{Name}.doc.xmlDocumentation

Note: No .meta.xml for adapters.

Location: IEC61499/


Critical Rules

RuleValue
Root Element<AdapterType> (NOT FBType)
DOCTYPE<!DOCTYPE AdapterType SYSTEM "../LibraryElement.dtd">
Standard<Identification Standard="61499-1" />
Extension.adp (NOT .fbt)
Service ElementRequired

Adapter Template

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE AdapterType SYSTEM "../LibraryElement.dtd">
<AdapterType Name="{AdapterName}" Namespace="{YourNamespace}"
             GUID="{NEW-GUID}" Comment="Adapter Interface">
  <Identification Standard="61499-1" />
  <VersionInfo Organization="{Org}" Version="0.0" Author="{Author}"
               Date="{MM/DD/YYYY}" Remarks="Initial" />
  <CompilerInfo />
  <InterfaceList>
    <EventInputs>
      <Event ID="{HEX-ID}" Name="REQ" Comment="Request from Socket">
        <With Var="REQD" />
      </Event>
      <Event ID="{HEX-ID}" Name="RSP" Comment="Response from Socket">
        <With Var="RSPD" />
      </Event>
    </EventInputs>
    <EventOutputs>
      <Event ID="{HEX-ID}" Name="CNF" Comment="Confirmation from Plug">
        <With Var="CNFD" />
      </Event>
      <Event ID="{HEX-ID}" Name="IND" Comment="Indication from Plug">
        <With Var="INDD" />
      </Event>
    </EventOutputs>
    <InputVars>
      <VarDeclaration ID="{HEX-ID}" Name="REQD" Type="STRING[15]"
                      Comment="Request Data from Socket" />
      <VarDeclaration ID="{HEX-ID}" Name="RSPD" Type="STRING[15]"
                      Comment="Response Data from Socket" />
    </InputVars>
    <OutputVars>
      <VarDeclaration ID="{HEX-ID}" Name="CNFD" Type="STRING[15]"
                      Comment="Confirmation Data from Plug" />
      <VarDeclaration ID="{HEX-ID}" Name="INDD" Type="STRING[15]"
                      Comment="Indication Data from Plug" />
    </OutputVars>
  </InterfaceList>
  <Service RightInterface="PLUG" LeftInterface="SOCKET">
    <ServiceSequence Name="request_confirm">
      <ServiceTransaction>
        <InputPrimitive Interface="SOCKET" Event="REQ" Parameters="REQD" />
        <OutputPrimitive Interface="PLUG" Event="REQ" Parameters="REQD" />
      </ServiceTransaction>
      <ServiceTransaction>
        <InputPrimitive Interface="PLUG" Event="CNF" Parameters="CNFD" />
        <OutputPrimitive Interface="SOCKET" Event="CNF" Parameters="CNFD" />
      </ServiceTransaction>
    </ServiceSequence>
    <ServiceSequence Name="indication_response">
      <ServiceTransaction>
        <InputPrimitive Interface="PLUG" Event="IND" Parameters="INDD" />
        <OutputPrimitive Interface="SOCKET" Event="IND" Parameters="INDD" />
      </ServiceTransaction>
      <ServiceTransaction>
        <InputPrimitive Interface="SOCKET" Event="RSP" Parameters="RSPD" />
        <OutputPrimitive Interface="PLUG" Event="RSP" Parameters="RSPD" />
      </ServiceTransaction>
    </ServiceSequence>
  </Service>
</AdapterType>

Socket vs Plug

SideSees Interface AsUsage
SocketAs definedProvider/Server side
PlugReversedConsumer/Client side

Example in FBNetwork

<!-- Socket adapter (provider) -->
<AdapterDeclaration Name="ServerPort" Type="MyAdapter" Namespace="MyLib" IsPlug="false" />

<!-- Plug adapter (consumer) -->
<AdapterDeclaration Name="ClientPort" Type="MyAdapter" Namespace="MyLib" IsPlug="true" />

Service Sequences

The <Service> element defines communication patterns:

Request-Confirm Pattern

Client sends request, server confirms:

<ServiceSequence Name="request_confirm">
  <ServiceTransaction>
    <InputPrimitive Interface="SOCKET" Event="REQ" Parameters="REQD" />
    <OutputPrimitive Interface="PLUG" Event="REQ" Parameters="REQD" />
  </ServiceTransaction>
  <ServiceTransaction>
    <InputPrimitive Interface="PLUG" Event="CNF" Parameters="CNFD" />
    <OutputPrimitive Interface="SOCKET" Event="CNF" Parameters="CNFD" />
  </ServiceTransaction>
</ServiceSequence>

Indication-Response Pattern

Server sends indication, client responds:

<ServiceSequence Name="indication_response">
  <ServiceTransaction>
    <InputPrimitive Interface="PLUG" Event="IND" Parameters="INDD" />
    <OutputPrimitive Interface="SOCKET" Event="IND" Parameters="INDD" />
  </ServiceTransaction>
  <ServiceTransaction>
    <InputPrimitive Interface="SOCKET" Event="RSP" Parameters="RSPD" />
    <OutputPrimitive Interface="PLUG" Event="RSP" Parameters="RSPD" />
  </ServiceTransaction>
</ServiceSequence>

Standard Event Names

EventDirectionPurpose
REQSocket → PlugRequest
CNFPlug → SocketConfirmation
INDPlug → SocketIndication
RSPSocket → PlugResponse

dfbproj Registration

<ItemGroup>
  <None Include="{Name}.doc.xml">
    <DependentUpon>{Name}.adp</DependentUpon>
  </None>
</ItemGroup>
<ItemGroup>
  <Compile Include="{Name}.adp">
    <IEC61499Type>Adapter</IEC61499Type>
  </Compile>
</ItemGroup>

Using Adapters in FBs

In InterfaceList

<InterfaceList>
  <!-- ... events and vars ... -->
  <AdapterDeclarations>
    <AdapterDeclaration ID="{HEX-ID}" Name="DataPort" Type="MyAdapter"
                        Namespace="MyLib" IsPlug="false" Comment="Data interface" />
  </AdapterDeclarations>
</InterfaceList>

Connecting Adapters

In FBNetwork, adapter connections use special syntax:

<AdapterConnections>
  <Connection Source="$FB1.DataPort" Destination="$FB2.DataPort" />
</AdapterConnections>

Common Rules

See common-rules.md for:

  • ID generation
  • dfbproj registration patterns

Troubleshooting

IssueSolution
Adapter won't loadUse .adp extension, not .fbt
Standard errorUse Standard="61499-1", not 61499-2
Missing ServiceAdapters require <Service> element
Wrong root elementUse <AdapterType>, not <FBType>

Example: Command Adapter

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE AdapterType SYSTEM "../LibraryElement.dtd">
<AdapterType Name="CommandAdapter" Namespace="MyLibrary"
             GUID="a1b2c3d4-e5f6-7890-abcd-ef1234567890" Comment="Command interface">
  <Identification Standard="61499-1" />
  <VersionInfo Organization="MyOrg" Version="1.0" Author="Claude"
               Date="01/16/2026" Remarks="Initial" />
  <CompilerInfo />
  <InterfaceList>
    <EventInputs>
      <Event ID="1111111111111111" Name="CMD" Comment="Command from controller">
        <With Var="CommandCode" />
        <With Var="Parameter" />
      </Event>
    </EventInputs>
    <EventOutputs>
      <Event ID="2222222222222222" Name="DONE" Comment="Command completed">
        <With Var="Result" />
        <With Var="ErrorCode" />
      </Event>
    </EventOutputs>
    <InputVars>
      <VarDeclaration ID="3333333333333333" Name="CommandCode" Type="INT" />
      <VarDeclaration ID="4444444444444444" Name="Parameter" Type="REAL" />
    </InputVars>
    <OutputVars>
      <VarDeclaration ID="5555555555555555" Name="Result" Type="REAL" />
      <VarDeclaration ID="6666666666666666" Name="ErrorCode" Type="INT" />
    </OutputVars>
  </InterfaceList>
  <Service RightInterface="PLUG" LeftInterface="SOCKET">
    <ServiceSequence Name="execute_command">
      <ServiceTransaction>
        <InputPrimitive Interface="SOCKET" Event="CMD" Parameters="CommandCode,Parameter" />
        <OutputPrimitive Interface="PLUG" Event="CMD" Parameters="CommandCode,Parameter" />
      </ServiceTransaction>
      <ServiceTransaction>
        <InputPrimitive Interface="PLUG" Event="DONE" Parameters="Result,ErrorCode" />
        <OutputPrimitive Interface="SOCKET" Event="DONE" Parameters="Result,ErrorCode" />
      </ServiceTransaction>
    </ServiceSequence>
  </Service>
</AdapterType>

Validation

After creating an Adapter, validate it:

python ../eae-skill-router/scripts/validate_block.py --type adapter MyAdapter.adp

Generate IDs:

python ../eae-skill-router/scripts/generate_ids.py --hex 8 --guid 1

Integration with Validation Skills

Naming Validation

Use eae-naming-validator to ensure compliance with SE Application Design Guidelines:

Key Naming Rules for Adapter:

  • Adapter name: IPascalCase with uppercase 'I' prefix (e.g., IPv, IAnalogValue, IMotorControl)
  • Events: SNAKE_CASE (e.g., REQ, CNF, IND, RSP)
  • Variables: PascalCase (e.g., CommandCode, Parameter, Result)

Validate naming before creation:

# Validate adapter name (must have 'I' prefix)
python ../eae-naming-validator/scripts/validate_names.py \
  --app-dir IEC61499 \
  --artifact-type Adapter \
  --name IMyAdapter

Reference: EAE_ADG EIO0000004686.06, Section 1.5 (Adapter Naming Convention)


Best Practices from EAE ADG

1. Naming Conventions (SE ADG Section 1.5)

Adapter Naming:

  • ALWAYS use IPascalCase with uppercase 'I' prefix
  • The 'I' denotes "Interface" (socket/plug pattern)
  • Examples: IPv, IAnalogValue, IMotorControl, ICommandInterface

Variable Naming:

  • Use PascalCase for all adapter variables: CommandCode, Parameter, Result
  • Use descriptive names (avoid Data1, Var1)
  • Include data types in complex names: PositionValue, ErrorCode, StatusText

Event Naming:

  • Use standard IEC 61499 event names: REQ, CNF, IND, RSP
  • For custom events, use SNAKE_CASE: START_COMMAND, ABORT_REQUEST
  • Avoid generic names: E1, DO1, OUTPUT

Reference: EAE_ADG EIO0000004686.06, Section 1.5

2. Service Sequence Design

Communication Patterns:

  • Use Request-Confirm for client-initiated operations
  • Use Indication-Response for server-initiated notifications
  • Keep service sequences simple (2-4 transactions typical)
  • Document the protocol flow in comments

Service Transaction Guidelines:

  • Always pair InputPrimitive with OutputPrimitive
  • Match Parameters in both Socket and Plug sides
  • Use semantic names for ServiceSequence (e.g., execute_command, not seq1)

3. Adapter Reusability

Design for Reuse:

  • Keep adapters generic (avoid application-specific logic)
  • Use standard data types (BOOL, INT, REAL, STRING)
  • Define clear interface contracts in comments
  • Provide example usage in .doc.xml

When to Create New Adapter:

  • Standardize repeated communication patterns
  • Define reusable interfaces across FB types
  • Separate concerns between provider and consumer
  • Enable plug-and-play component replacement

Anti-Patterns

1. Naming Anti-Patterns

❌ Missing 'I' Prefix

<!-- BAD: Adapter without 'I' prefix -->
<AdapterType Name="MotorControl" ...>

✅ Correct IPascalCase

<!-- Correct: Adapter with uppercase 'I' prefix -->
<AdapterType Name="IMotorControl" ...>

❌ Lowercase 'i' Prefix

<!-- BAD: Lowercase 'i' -->
<AdapterType Name="iMotorControl" ...>

❌ Generic Variable Names

<!-- BAD: Non-descriptive variable names -->
<VarDeclaration Name="Data1" Type="INT" />
<VarDeclaration Name="Value" Type="REAL" />

✅ Descriptive Variable Names

<VarDeclaration Name="CommandCode" Type="INT" />
<VarDeclaration Name="PositionValue" Type="REAL" />

2. Structure Anti-Patterns

❌ Wrong Root Element

<!-- BAD: Using FBType instead of AdapterType -->
<FBType Name="IMyAdapter" ...>

✅ Correct Root Element

<AdapterType Name="IMyAdapter" ...>

❌ Wrong Standard

<!-- BAD: Using 61499-2 -->
<Identification Standard="61499-2" />

✅ Correct Standard

<!-- Adapters use 61499-1 -->
<Identification Standard="61499-1" />

❌ Wrong File Extension

IMyAdapter.fbt    ❌ Wrong extension

✅ Correct File Extension

IMyAdapter.adp    ✅ Correct extension

❌ Missing Service Element

<AdapterType Name="IMyAdapter" ...>
  <InterfaceList>...</InterfaceList>
  <!-- Missing <Service> element! -->
</AdapterType>

✅ Service Element Required

<AdapterType Name="IMyAdapter" ...>
  <InterfaceList>...</InterfaceList>
  <Service RightInterface="PLUG" LeftInterface="SOCKET">
    <ServiceSequence Name="request_confirm">...</ServiceSequence>
  </Service>
</AdapterType>

3. Service Sequence Anti-Patterns

❌ Unmatched Parameters

<!-- BAD: Parameters don't match -->
<ServiceTransaction>
  <InputPrimitive Interface="SOCKET" Event="REQ" Parameters="Data1,Data2" />
  <OutputPrimitive Interface="PLUG" Event="REQ" Parameters="Data1" />  <!-- Missing Data2! -->
</ServiceTransaction>

✅ Matched Parameters

<ServiceTransaction>
  <InputPrimitive Interface="SOCKET" Event="REQ" Parameters="Data1,Data2" />
  <OutputPrimitive Interface="PLUG" Event="REQ" Parameters="Data1,Data2" />
</ServiceTransaction>

❌ Overly Complex Service Sequences

<!-- BAD: 10+ ServiceTransaction elements in one sequence -->
<ServiceSequence Name="complex_protocol">
  <!-- Too many steps - hard to understand and maintain -->
</ServiceSequence>

✅ Simple, Clear Service Sequences

<!-- Keep sequences simple (2-4 transactions) -->
<ServiceSequence Name="request_confirm">
  <ServiceTransaction>...</ServiceTransaction>
  <ServiceTransaction>...</ServiceTransaction>
</ServiceSequence>

4. Reusability Anti-Patterns

❌ Application-Specific Adapter

<!-- BAD: Too specific to one application -->
<AdapterType Name="ILine3Tank5Valve2Control" ...>

✅ Generic, Reusable Adapter

<!-- Generic valve control interface -->
<AdapterType Name="IValveControl" ...>

❌ Using Custom Data Types in Adapters

<!-- BAD: Reduces reusability -->
<VarDeclaration Name="Config" Type="MyCustomConfig" Namespace="MyApp" />

✅ Using Standard Data Types

<!-- Better: Use standard types or SE.App2Base types -->
<VarDeclaration Name="ConfigCode" Type="INT" />

Verification Checklist

Before committing your Adapter:

Naming (run eae-naming-validator):

  • [ ] Adapter name uses IPascalCase with uppercase 'I' prefix
  • [ ] All variables use PascalCase
  • [ ] Events use SNAKE_CASE or standard names (REQ, CNF, IND, RSP)

Structure:

  • [ ] Root element is <AdapterType> (NOT <FBType>)
  • [ ] File extension is .adp (NOT .fbt)
  • [ ] Uses Standard="61499-1" (NOT 61499-2)
  • [ ] <Service> element is present with at least one ServiceSequence

Service Sequences:

  • [ ] All InputPrimitive/OutputPrimitive pairs have matching Parameters
  • [ ] ServiceSequence names are descriptive (not seq1, seq2)
  • [ ] Sequences are simple (2-4 transactions typical)

Reusability:

  • [ ] Adapter name is generic (not application-specific)
  • [ ] Uses standard data types (BOOL, INT, REAL, STRING)
  • [ ] Interface contract documented in comments

Registration:

  • [ ] Registered in .dfbproj with IEC61499Type="Adapter"
  • [ ] .doc.xml file created and registered as DependentUpon

Validation:

  • [ ] python scripts/validate_adapter.py {Name}.adp passes
  • [ ] python ../eae-skill-router/scripts/validate_block.py --type adapter {Name}.adp passes

Scripts

Validate Adapter

Validate adapter files against EAE rules and SE ADG naming conventions:

# Validate a single adapter
python scripts/validate_adapter.py IEC61499/IMotorControl.adp

# Validate all adapters in directory
python scripts/validate_adapter.py IEC61499/

# JSON output for CI/CD
python scripts/validate_adapter.py IEC61499/ --json

# Strict mode (treat warnings as errors)
python scripts/validate_adapter.py IEC61499/ --strict

Validates:

  • Root element is AdapterType (NOT FBType)
  • Standard is "61499-1" (NOT 61499-2)
  • File extension is .adp
  • IPascalCase naming with uppercase 'I' prefix
  • GUID is present
  • Service element and ServiceSequence consistency
  • Event and variable naming conventions

Exit codes:

  • 0 - All validations passed
  • 1 - Error running validation
  • 10 - Validation warnings (non-blocking)
  • 11 - Validation errors (blocking)

Related Skills

SkillWhen to Use
eae-naming-validatorValidate adapter naming compliance (IPascalCase)
eae-basic-fbCreate FBs that use adapters
eae-composite-fbCreate composite FBs with adapter connections
eae-catCreate CAT blocks with adapters

Templates

平台分布

Claude Code

28.72%
按下载量换算69

OpenCode

23.86%
按下载量换算58

windsurf

17.61%
按下载量换算42

trae

12.03%
按下载量换算29

Cursor

8.11%
按下载量换算20

Codex

2.85%
按下载量换算7

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills