gongchengcangku
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "gongchengcangku" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-95937aa03a62b9c92fefcff9250c8c014238d765a99e72a884c175e472b5dc55. Verify the upstream source and version against https://skillhub.cn/skills/user_601fc39c/gongchengcangku before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
A reusable pattern library for reducing engineering entropy, founded on the first principle “repo entropy = reinventing the wheel + noise inflation + lack of navigational docs.” Core capabilities: deduplicative induction, soft isolation (_TRASH_), root-cause .gitignore, document world model (README architecture navigation), and fork-detection plus merge checklists for dual-repo scenarios. Intended to reduce entropy in projects suffering from multi-end/multi-directory drift, scattered scripts, frontend node_modules noise inflation, or lacking README navigation. Trigger phrases: clean repo, denoise, soft-isolate, add gitignore, add README, merge dual repos, repo entropy governance. The library synthesizes lessons from evolutionary strategy gene patterns pattern-034 and pattern-019.
Introduction source: third_party · user_601fc39c · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: 工程熵治理
version: 1.0.0
license: MIT
description: |
以"仓库熵增 = 重复造轮子 + 噪声膨胀 + 无导航文档"为第一性原理,提供可复用的工程熵减模式库。
核心能力:归纳去重、软隔离(_TRASH_)、根因 .gitignore、文档世界模型(README 架构导航)、双库分叉识别与合并清单。
用途:给任何"多端/多目录熵增""散落脚本泛滥""前端 node_modules 噪声膨胀""无 README 导航"的工程做熵减。
触发词:清理仓库、降噪、软隔离、加 gitignore、补 README、双库合并、仓库熵治理。
组合:结晶自进化策略引擎基因库 pattern-034 + pattern-019 导入一致性教训。🧹 工程熵治理
第一性原理:工程熵增来自三类根因——① 重复造轮子(同构脚本 48 变体 / 平行传话层);
② 噪声膨胀(缺 .gitignore 致 node_modules+*.map 占 95% 文件);③ 无导航文档
(多端项目无 README 等于 AGI 无地图)。治理不是"删文件",而是"先软化再治根因"。
熵减的最高杠杆 = 归纳去重 → 软隔离(TRASH) → 根因 gitignore → 文档世界模型,而非直接硬删。
快速上手
| 症状 | 怎么说 | 我做什么 |
|---|---|---|
| 根目录一堆散落脚本 | 清理仓库 |
归纳去重 + 软隔离 TRASH |
| 前端仓库几十万文件 | 降噪 |
补 .gitignore 隔离 node_modules |
| 多端项目无从下手 | 补 README |
写架构图 + 目录导航表(文档世界模型) |
| 两个库功能重复 | 双库合并 |
给 E3 合并可执行清单 |
| 清理怕删错 | 软隔离 |
移入 TRASH 可逆,确认后清空 |
熵治模式库(结晶自基因库)
E1 归纳去重(pattern-001/034)
- 场景:同一类任务 48 个变体脚本散落;两个 agent 库各实现一套传话层。
- 做法:归纳推理把同构脚本 → 3 个核心文件(公共库 + 工具集 + 策略匹配);双库重叠面 grep 列出后抽公共层。
- 经验:去重前先确认"是否真同构"——靠文件结构/接口签名比对,不靠肉眼。
E2 软隔离(pattern-034)
- 场景:要删冗余备份 / 散落脚本 / 性能报告,但直接删不可逆、风险高。
- 做法:先
mv入_TRASH_/(backup/scripts/reports 子目录)零风险,确认无引用后清空;README 存档"被删清单"保可追溯。 - 经验:① 清理不可逆操作必须软隔离而非直接删(安全原则③可逆);② 清空前必须在 README 记录被删清单,否则丧失可追溯性;③ README 描述必须区分"现状 vs 规划",避免文档超前失真。
E3 根因 gitignore(pattern-034)
- 场景:
hermes-web-ui43771 文件中 95% 是node_modules+*.map噪声。 - 做法:为前端目录生成
.gitignore(node_modules/、dist/、*.map、.env),从度量上消除噪声膨胀。 - 经验:前端膨胀的根因九成是缺
.gitignore,而非代码本身——先隔离噪声再评估本质(pattern-011 精神:无度量无优化)。
E4 文档世界模型(pattern-034)
- 场景:多端架构无统一入口,AGI/新人无法导航。
- 做法:根目录
README.md用架构图 + 目录导航表串联各端,标注共享"传话层"范式与快速开始。 - 经验:文档即世界模型——多端项目无 README 等于 AGI 无导航;README 应含架构图 + 目录角色表 + 共享范式标注。
E5 双库分叉识别与合并(pattern-034)
- 场景:
霁浏览器Agent与hermes-agent双库分叉,传话层范式并行进化、基因库分裂。 - 做法:识别为高价值长周期项,给可执行清单——① grep 两库同名/同义范式模块列重叠面;② 以"传话层通用 helper"为迁移单元先抽公共层;③ 每迁移一个即跑两库单测 + import 闭合审计;④ 保留薄封装向后兼容;⑤ 迁移进度 = 已统一 helper / 重叠面总数(可度量)。
- 经验:双库分叉是进化熵增的隐蔽源头——基因库会在平行代码库各自生长,必须识别并规划合并主干。
通用执行协议(结晶 SOP)
1. 扫描熵增点 → 2. 归纳去重评估 → 3. 软隔离(_TRASH_) → 4. 根因 gitignore → 5. 文档世界模型 → 6. 双库分叉规划
- 可逆优先:任何删除类操作走
_TRASH_软隔离,确认无引用再清。 - 治根因不治现象:噪声膨胀先补
.gitignore,别去数文件;重复代码先抽公共层,别逐文件改。 - 文档即地图:多端项目无论代码多好,无 README 即无 AGI 导航能力。
安全原则(继承自进化引擎)
- 透明 — 清理清单让用户在 README 可见
- 可控 — 软隔离可随时还原
- 可逆 —
_TRASH_是必走步骤,非可选项 - 渐进 — 先快赢(清理/ gitignore/ README),长周期项(双库合并)留待后续
- 导入一致性 — 合并双库时凡移动/重命名符号必做全仓 import 闭合审计(pattern-019)
反模式(pitfall)
- 直接硬删:跳过
_TRASH_直接rm导致误删不可还原,违反可逆原则。 - 文档超前失真:README 把"规划中"写成"已实现",使 AGI 据错误世界模型决策。
- 只数噪声不补 gitignore:清完又涨,根因未治。
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决工程实践中常见痛点:重复代码、噪声膨胀、文档缺失
- 目标用户明确:多端/多目录工程维护者
- 提供可复用的工程熵减模式库,具有广泛适用性
Highlights
- 触发词覆盖全面:清理仓库、降噪、软隔离、加 gitignore、补 README、双库合并、仓库熵治理
- 边界清晰,不易误触或漏触
Highlights
- 六步执行协议清晰完整
- 快速上手表格直观易懂
- 各模式具体做法详实,含经验总结
- frontmatter完整规范
Highlights
- 软隔离_TRASH_机制确保操作可逆
- 安全原则明确:透明、可控、可逆、渐进、导入一致性
- 覆盖主要异常场景,可靠性高
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.