semantic-split

Solid

语义拆分与智能规划。将自然语言拆分为结��化需求块,三管线协同调度(正则结构分析→bge 语义匹配→bge-reranker 重排序),5W2H提取与约束标注增强语义理解,双视角推理整合为单一执行步骤,自增强闭环自动沉淀能力级 JSON 模板,10门禁钩子系统管控流程。

AI & Automation 2 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
16
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# semantic-split > 语义拆分与智能规划。三管线递进调度 + 自增强闭环沉淀。 ## 触发条件 **正向触发:** - [需求拆分] "帮我把这个需求拆开" / "拆分一下这个任务" - [语义规划] "帮我规划一下怎么做" / "整理一下思路" - [5W2H分析] "帮我分析这个需求" / "5W2H分析一下" - [JSON 管理] "管理 json 文件" / "json_manager" - [渐进匹配] "加载规则" / "匹配 json" **否定条件(不触发):** - 简单问答、闲聊、问候 - 单步任务 ## 核心能力 > 📚 **渐进式加载**:本技能采用渐进式 MD 体系,`SKILL.md` 为入口(≤230行),详细内容拆分到 `references/*.md` 按需加载。 | # | 功能 | 说明 | | --- |------| ------ | | 1 | **Pipeline B 结构分析** | 纯正则(5W2H/主语/约束/分块/注意力锚定),零外部依赖 | | 2 | **Pipeline A 语义匹配** | 正则→bge-small(embedding)→bge-reranker(CrossEncoder)| | 3 | **Pipeline C 智能体推理** | 结构分析 + 模板参考 喂给智能体 → 增强思考 → 生成步骤 | | 4 | **覆盖率阈值路由** | 正则层覆盖率≥80% 直接通过,<80% 升级到 bge 语义层 | | 5 | **自增强闭环** | 执行 → 通用化 → 保存为 JSON 模板 → 下次命中 → 0 LLM | | 6 | **模板库扫描** | 每次请求自动扫描 capabilities/ 库,命中≥0.6 则作为 few-shot 参考或直接复用 | | 7 | **10 道门禁钩子** | input_valid → b_pipeline_done → a_scan_done → decision_made → llm_generated → **focus_reasoning → divergent_reasoning → integration_reasoning** → template_saved → wp_done | | 8 | **json 管理工具** | `json_manager.py` CLI 统一管理能力级/规则级 json | > 📚 渐进式体系:`SKILL.md` 为入口,详细内容按需加载见下方索引。 ### 渐进式文件索引 | 文件名 | 分类 | 包含内容 | 审计关联 | | ----- |------| ---------- |----------| | `references/LICENSE.md` | 许可协议 | 开源许可证声明(MIT) | R-26 | | `references/changelog.md` | 版本管理 | 版本更新日志 | R-24 | | `references/attribution.md` | 版权声明 | 第三方组件与模型版权归属说明 | 无 | | `references/json_schema.md` | 参考 | 能力级/规则级 JSON 格式定义 | 无 | | `references/loading_decision_tree.md` | 参考 | 渐进加载决策流程(含自增强闭环) | 无 | | `references/pl...

Details

Author
Ldxs001
Repository
Ldxs001/workbuddy-skills
Created
2 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category