依据WCAG 2.2设计和检查Web、iOS及Android界面,核查读屏标签、键盘操作、配色对比度和操作目标尺寸,使界面支持辅助技术。
- 为纯图标按钮添加说明
- 检查键盘操作与模态框焦点
- 检查对比度与操作目标尺寸
在向Codex或Cursor分发技能前,检查配置字段、可执行代码中Claude专用的变量,以及源技能与分发副本是否一致,找出妨碍使用的内容。
Lint ECC skills for Codex/Cursor-safe frontmatter and Claude-only substitutions before a skill PR.
skill-host-compat检查技能中可能妨碍其在Codex或Cursor中使用的内容。检查范围包括SKILL.md开头的YAML配置、可执行Shell代码中Claude专用的变量,以及源技能与分发副本的对应关系。它可发现Codex副本不允许使用的配置字段,以及目录名与技能名不一致等问题。
适合在新增或修改技能后使用,也适合在向.agents/skills/或.cursor/skills/复制技能时检查兼容性。如果CI报告兼容性问题,也可用它整理需要修复的位置。
--inventory查看警告数量。”--strict-checklist,将检查清单中的警告也视为失败。”适用于包含scripts/ci/validate-skill-host-compat.js的项目,该脚本使用Node.js运行。检查对象是技能与分发目标的兼容性,不包括其在Claude中的运行质量。源技能与分发副本之间仍需手动同步。
本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。
AI 仅根据 SKILL.md 的内容,从 4 个方面进行了评估。星标数和热度不计入评估。
总分按每项 A=25 分、B=15 分、C=5 分相加。 由 AI(OpenAI Codex)于 2026年10月19日 评估。仅供参考,安装前请同时查看原文。
安装前可以查看交给 AI 代理的指令内容。
Run the same host-compat gate CI uses on skills/ before opening a skill PR.
The check is for Codex and Cursor copies, not Claude-only runtime quality.
skills/.agents/skills/ or .cursor/skills/validate-skill-host-compat.js findingsCanonical skills live in skills/. Codex loads .agents/skills/. Cursor loads a
smaller .cursor/skills/ subset. CONTRIBUTING documents that sync as manual.
validate-skills.js only checks that SKILL.md exists and that name /
description are usable YAML. tests/ci/codex-skill-surface.test.js only
sees .agents/skills/. This script is the cross-tree gate:
bash / sh / zsh fences
in Codex/Cursor projections (${CLAUDE_SESSION_ID}, ${CLAUDE_SKILL_DIR}, ${CLAUDE_PLUGIN_ROOT},
${CLAUDE_PROJECT_DIR}, $ARGUMENTS) fail. Codex leaves those tokens
as literal text. In a Codex copy, rewrite ${CLAUDE_PROJECT_DIR} to
$(pwd) or an explicit path.name, description, metadata, license,
and allowed-tools. origin: ECC may stay on the canonical skills/
copy and must be stripped on the Codex copy.agents/openai.yaml that has a skills/ directory must
have .agents/skills/<name>/. Cursor copies are optional; when present,
name: must match the directory.--strict-checklist.validate-skills.js frontmatter WARN default is unchanged (#1663).
From the repo root:
node scripts/ci/validate-skill-host-compat.js
Print counts without failing:
node scripts/ci/validate-skill-host-compat.js --inventory
Promote checklist warnings:
node scripts/ci/validate-skill-host-compat.js --strict-checklist
Slash command:
/skill-host-compat
/skill-host-compat --inventory
Codex and Cursor projections must resolve Claude-only substitutions in executable blocks. Canonical Claude-scoped examples remain valid. POSIX $1 and ${1} parameters are ambiguous and require review rather than failing this gate. This fence is the
forbidden pattern:
echo "${CLAUDE_SESSION_ID}"
ls "${CLAUDE_SKILL_DIR}"
node "${CLAUDE_PLUGIN_ROOT}/scripts/setup.js" $ARGUMENTS
cd "${CLAUDE_PROJECT_DIR}"
Do not add version: or origin: to a Codex copy under .agents/skills/.
Do not treat a passing validate-skills.js run as Codex-safe. Do not require
every skills/ entry to have a Cursor copy.
origin: ECC if the CONTRIBUTING template calls for it.origin, version, and argument-hint on the Codex copy.npx, ecc, or a resolved
root). Rewrite ${CLAUDE_PROJECT_DIR} in Codex copies to $(pwd) or an
explicit path. Keep valid Claude-scoped forms in canonical instructions; resolve host variables in the target projection.npm test when the change is a new skill.--inventory to see checklist warning volume without failing the tree.skill-comply — runtime behavioral traces, not host-portabilityskill-stocktake — holistic audit of installed ~/.claude/skillsskill-scout — search existing skills before creating a new one还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
依据WCAG 2.2设计和检查Web、iOS及Android界面,核查读屏标签、键盘操作、配色对比度和操作目标尺寸,使界面支持辅助技术。
从指令、记忆、工具执行和界面显示等十二个层面排查人工智能代理故障,依据代码和日志梳理原因,按严重程度列出问题并提出修复方案。
用实际开发任务比较多个编程智能体,记录成功率、可获取的API费用、耗时和重复运行的稳定性,为工具选型及更新后的性能评估提供数据。
设计和调整AI智能体使用的工具、输入与返回格式,明确出错后的恢复、重试和停止条件,管理上下文信息量,并以完成率、重试次数和成功任务成本评估改进。
根据错误信息和执行环境,分析AI代理反复失败或重复操作的原因。通过小范围、可撤销的恢复操作检验假设,并将结果与依据整理成可供交接的报告。
在AI代理反复失败或重复操作时,记录错误与环境前提、排查原因,采取影响有限的恢复操作,并汇总结果和证据,为有依据的重试与交接提供支持。