code-layout-evaluation-principles
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "code-layout-evaluation-principles":https://skillpi.com/zh/skills/deepskill-f7c203e1bacbf3771ad0fcbab2a272b2346ce1f7d5496ee8ef756887fcd469ed。安装前核对上游来源和版本:https://github.com/kitchen-engineer42/pdf2skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
用于根据准确性、一致性、可读性和可维护性评估代码布局质量的技能(不以美观为准)。适用于制定编码规范、审查代码格式或决定布局惯例的场景。
介绍来源: third_party · kitchen-engineer42 · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: code-layout-evaluation-principles
description: Evaluate code layout quality based on accuracy, consistency, readability, and maintainability rather than aesthetics. Use when establishing coding standards, reviewing code formatting, or making decisions about layout conventions.Code Layout Evaluation Principles
Apply these principles when evaluating or establishing code layout standards.
Primary Priority
Clarify logical organization of code
Layout should first and foremost make the code's logical structure clear and understandable.
Evaluation Criteria (in order of importance)
- Accuracy - Layout correctly represents code structure
- Consistency - Layout follows established conventions throughout
- Readability - Layout enhances code comprehension
- Maintainability - Layout supports easy modification
Secondary Priority
Aesthetics
- Aesthetics are a distant second priority
- If the above criteria are met and underlying code is good, layout will naturally look good
- Never sacrifice clarity for beauty
Importance of Conventions
- Having a convention is more important than the specific details of the convention
- Inconsistent layout conventions actually harm readability
- Consistency across the codebase is more valuable than any particular style choice
Result
- Layout quality is scored based on logical clarity, not visual appeal
- Standards emphasize consistency and maintainability over aesthetics
- Code is easier to understand and modify
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供清晰的代码布局评估四原则(准确性、一致性、可读性、可维护性),逻辑层次分明
- 强调逻辑组织优先于美观性,符合工程实践
亮点
- description 明确说明适用场景(制定编码规范、审查代码格式、决定布局惯例),触发边界清晰
待提升项
-
缺少 When to Use 显式章节 原报告严重程度:轻微
文档未设置显式的 When to Use 章节来说明具体使用时机
改进建议:建议增加 When to Use 章节,明确说明在哪些具体场景下应应用这些原则
-
缺少端到端示例 原报告严重程度:轻微
文档缺乏具体的代码布局对比示例来展示原则应用效果
改进建议:建议增加 good/bad 代码布局对比示例,帮助读者理解原则的实际应用
亮点
- 文档结构清晰,分 Primary Priority、Evaluation Criteria、Secondary Priority 等逻辑章节
- frontmatter 完整,单文件长度适中(约300行)
亮点
- 纯原则性指导文档,无外部依赖,无执行失败风险
- 内容自洽,逻辑完整,可直接作为编码规范参考
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。