Repository navigation
📚 docs(skill): 同步语义增强工作流与实际 AI 工具 - #94
Merged
Merged
Conversation
Owner
Author
|
问题复核:当前仓库的 |
Owner
Author
|
契约同步:Skill 现在按实际 handler schema 描述 |
Owner
Author
|
验证记录:新增 2 项 Skill 契约测试,检查阶段 3 不再声明跳过,并检查 AI 参数、返回字段和用户确认要求;全量 |
ZhaoXingPeng
force-pushed
the
fix/93-skill-ai-workflow
branch
from
September 7, 2026 00:39
0619009 to
017c8ea
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联 Issue
Closes #93
背景(Situation)
MCP 已提供并测试
ai_summarize_schema、ai_infer_business_names、ai_recommend_template和ai_metrics,但java-codegen-from-dbSkill 仍标注阶段 4 工具未实现,并要求跳过语义增强。按 Skill 执行的客户端因此无法使用已存在的能力,文档与工具 schema 不一致。任务(Task)
同步语义增强工作流与当前 MCP schema,保留规则优先和无 API key 路径,并把结果展示和用户确认作为进入代码生成的前置条件。
行动(Action)
prefer_llm可选语义。验证(Verification)
环境:Windows 11,Python 3.12.12。
PYTHONPATH=src python -m pytest tests/unit/ -q:631 passed。ruff check src tests与git diff --check:通过。实验与证据(Evidence)
用无 API key 的规则优先输入执行 Skill 契约,工具名称、必填参数和
prefer_llm=false均与当前注册表一致;生成阶段只有在确认结果后才可继续。未执行真实 LLM 调用,也没有性能基准,因此不作质量或速度结论。兼容性、风险与回滚