code-layout-evaluation-principles

A skill to evaluate code layout quality based on accuracy, consistency, readability, and maintainability (not aesthetics). Applicable to creating coding standards, reviewing code formatting, or deciding layout conventions.

Last repository push
GitHub Stars
140
Forks
36
Issues / PRs
1

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 "code-layout-evaluation-principles" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-f7c203e1bacbf3771ad0fcbab2a272b2346ce1f7d5496ee8ef756887fcd469ed. Verify the upstream source and version against https://github.com/kitchen-engineer42/pdf2skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

A skill to evaluate code layout quality based on accuracy, consistency, readability, and maintainability (not aesthetics). Applicable to creating coding standards, reviewing code formatting, or deciding layout conventions.

0 Downloads

Introduction source: third_party · kitchen-engineer42 · 0.0.1 Reference

SkillPi interpretation

Tasks
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.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
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)

  1. Accuracy - Layout correctly represents code structure
  2. Consistency - Layout follows established conventions throughout
  3. Readability - Layout enhances code comprehension
  4. 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

Current listing version

0.0.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value65/100

Highlights

  • 提供清晰的代码布局评估四原则(准确性、一致性、可读性、可维护性),逻辑层次分明
  • 强调逻辑组织优先于美观性,符合工程实践
Trigger Precision85/100

Highlights

  • description 明确说明适用场景(制定编码规范、审查代码格式、决定布局惯例),触发边界清晰
Structure and Standards75/100

Areas to improve

  • 缺少 When to Use 显式章节 Reported severity: Minor

    文档未设置显式的 When to Use 章节来说明具体使用时机

    Recommendation: 建议增加 When to Use 章节,明确说明在哪些具体场景下应应用这些原则

  • 缺少端到端示例 Reported severity: Minor

    文档缺乏具体的代码布局对比示例来展示原则应用效果

    Recommendation: 建议增加 good/bad 代码布局对比示例,帮助读者理解原则的实际应用

Highlights

  • 文档结构清晰,分 Primary Priority、Evaluation Criteria、Secondary Priority 等逻辑章节
  • frontmatter 完整,单文件长度适中(约300行)
Execution Reliability90/100

Highlights

  • 纯原则性指导文档,无外部依赖,无执行失败风险
  • 内容自洽,逻辑完整,可直接作为编码规范参考
Evidence Verifiability (mean of the first four)79/100

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.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

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.