SkillsGrove
SkillsGrove/Documents bureautiques/EchoYue-lp/echo-agent/semantic-contract

semantic-contract

Installation

$npx skills add https://github.com/EchoYue-lp/echo-agent --skill semantic-contract
$git clone --depth 1 https://github.com/EchoYue-lp/echo-agent.git /tmp/echo-agent && mkdir -p ~/.claude/skills && cp -r /tmp/echo-agent/.agents/skills/semantic-contract ~/.claude/skills/semantic-contract
Installe pour moi cette Agent Skill : https://github.com/EchoYue-lp/echo-agent/tree/3413d64dae23353c6d02c546ac374deded855827/.agents/skills/semantic-contract — lis d’abord son SKILL.md et ses scripts, et ne l’installe dans mon dossier de compétences qu’après avoir vérifié qu’elle est sûre.

Résumé

Description d’origine · MIT提供语义材料版本 1 的唯一对象、引用、状态、风险视角和结构校验合同;仅在其它语义 Skill 要读写语义对象, 或用户要求检查语义材料格式与合同漂移时使用,不负责普通代码审查。
Le SKILL.md ci-dessous est reproduit depuis EchoYue-lp/echo-agent (commit 3413d64) sous licence MIT. Le texte est inchangé ; seules les métadonnées d’en-tête du fichier sont omises, les images sont affichées sous forme de liens et les fichiers très longs sont tronqués. Copyright 2025-2026 echo-agent contributors. Licence : LICENSE. Seul le fichier d’instructions est affiché ; consultez le dépôt d’origine pour les éventuels scripts.

语义材料合同

本 Skill 是当前仓库语义对象格式的唯一入口。它不判断业务行为是否正确,也不创建运行时存储或调度器。 结构校验需要 uv,或已安装 PyYAML 的 Python 3.9 及以上版本;环境不满足时报告缺口,不跳过校验。

输入

  • 仓库根绝对路径;
  • 操作:读取合同、校验现有 semantic/,或运行校验器自测;
  • 可选的另一个合同文件绝对路径,用于跨仓一致性检查。

工作流

  1. 需要创建、更新或解释语义对象时,读取 references/semantic-artifact-contract.md。
  2. 需要校验磁盘材料时,在本 Skill 根目录运行 uv run scripts/verify_semantic.py --root <仓库根绝对路径>。
  3. 修改校验器后运行 uv run scripts/verify_semantic.py --self-test。
  4. 同时修改两个仓库的合同后,对两个合同文件做字节一致性检查;不一致时不得继续写对象。

输出

返回合同版本、校验范围、错误列表、退出码和不能证明的内容。结构通过只代表材料可解析且引用完整, 不代表行为正确、审查充分或仓库没有缺陷。

Voir le texte intégral de la licence (MIT)
MIT License

Copyright (c) 2025-2026 echo-agent contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.