Real Skill packageSource verifiedClawHub registry

First-Principles Clean Code Audit

第一性原理 clean code 审计法。从单根前提「代码是写给人看的」推导出两根判据—— A. 理解成本(读起来费不费劲)/ B. 修改风险(改起来怕不怕),用红/黄/绿三档给代码打分, 并明确允许「有意的、注释了的、范围可控的技术债」暂时存在。专用于审计你自己的 WorkBuddy Skill 脚本或其他 Python 代码,产出带证据(文件:行)的可勾选报告。 触发词:「用第一性原理审代码」「理解成本/修改风险」「clean code 审计」「审计我的 Skill 脚本」 「按红黄绿审代码」「clean code 审计样例」。注意:本 skill 只做可读性/可维护性的第一性原理审计, 不做通用 PR/MR 审查(那用 code-review-assistant 或 critical-code-reviewer), 不替代 clean-code 的写代码规范手册,也不做 lint/格式化(那用 project-code-standard)。 First-Principles Clean Code Audit. Derives two criteria from one root premise — "code is…

Identity and source

Publisher attributionElisabeth15501registry owner unverified by skillvetai
Functional categorySoftware Developmentautomatically inferred · 60% rule confidence
Package forminstruction with code14 recorded files
Canonical sourceClawHub registryclawhub:elisabeth15501:skill-clean-audit
Open canonical source ↗

Platform declarations

These states come from the source or distribution context. None of the entries below are SkillVetAI compatibility test results.

OpenClawnative officialProvenance: registry distribution

Independent structural checks

These checks parse the fixed package against dated platform rules. They do not execute the Skill or verify task behavior.

Claude Codeissues found
Checker 0.1.0 · agent-skills-2026-08-13+claude-code-docs-2026-08-13 · 10/7/2026.claude/skills/skill-clean-audit
1 structural issue
  • error: description exceeds the 1,024-character Agent Skills limit. SKILL.md

Runtime, accounts, dependencies, permissions, network behavior and task quality remain untested.

OpenAI Codexissues found
Checker 0.1.0 · agent-skills-2026-08-13+codex-docs-2026-08-13 · 10/7/2026.agents/skills/skill-clean-audit
1 structural issue
  • error: description exceeds the 1,024-character Agent Skills limit. SKILL.md

Runtime, accounts, dependencies, permissions, network behavior and task quality remain untested.

OpenClawissues found
Checker 0.1.0 · agent-skills-2026-08-13+openclaw-docs-2026-08-13 · 10/7/2026skills/skill-clean-audit
1 structural issue
  • error: description exceeds the 1,024-character Agent Skills limit. SKILL.md

Runtime, accounts, dependencies, permissions, network behavior and task quality remain untested.

Installation and inspection

This command is recorded from the source ecosystem and resolves the registry's latest release. The fixed release shown on this page should be inspected before adoption.

clawhub install @elisabeth15501/skill-clean-audit
clawhub inspect @elisabeth15501/skill-clean-audit --version 1.4.0

Security evidence

SkillVetAI static result: no findings detected

This automated, non-executing scan is bound to this release hash. It is not a safety certification and may contain false positives or false negatives.

Status
completed
Coverage
full text content
Files
14 / 14 inspected as text
Checked
10/7/2026, 7:01:33 PM
Scanner
0.1.3
Policy
1.0.3
2 inferred permission indicators
  • network access — automatically inferred
  • filesystem write — automatically inferred
1 dependency and API indicators
  • api: clawhub.ai
External clawhub result: clean

This is registry-supplied evidence for the recorded release, not an independent SkillVetAI scan. Check the canonical source for the full report, scanner versions, scope, and current moderation state.

Evidence checked
10/7/2026, 6:23:36 PM
Release binding
Matches this record
  • vt: clean
  • skillspector: suspicious
  • llm: clean

Recorded files

The catalog stores hashes and an inventory summary for change detection. It does not republish the package contents.

Package content hashsha256:349bccf5fced08e236049dcadfeb6de9273de4596ccfbda01abdf1d75417ffdf
Show up to 14 recorded paths
  • assets/clean_code_checklist.en.html
  • assets/clean_code_checklist.html
  • CHANGELOG.md
  • README.en.md
  • references/clean_code_audit_sample_complex.en.md
  • references/clean_code_audit_sample_complex.md
  • references/clean_code_audit_sample.en.md
  • references/clean_code_audit_sample.md
  • references/faq.en.md
  • references/faq.md
  • references/smells_crosswalk.md
  • scripts/metric_probe.py
  • skill-card.md
  • SKILL.md

Source changelog

v1.4.0 (2026-10-08): Guard against progressive-disclosure regression. New Execution Model section: this is a methodology-type skill whose core action is judgment (human reasoning, not pre-encodable), so the absent end-to-end script is a design decision, not a gap; metric_probe.py is an optional accelerator (hints only, never grades). Added a main-file line budget (<=215 target / 250 cap) and pushed the artifact-mapping table, metric definitions and exception details down into references/faq.md. Added a which-file-to-read routing table (zh/en). Tightened the requires wording to 'explicitly exempted after assessment' with trip conditions. Removed advertising-law absolute terms ('the only') flagged by the publish gate. FAQ expanded to 9 questions in both languages. Fixed a threshold inconsistency (>2000 vs >500) between FAQ and SKILL.md.

Release security diff

mediumCompared fixed releases 1.3.0 and 1.4.0; 0 finding and 1 permission indicators were added.

Both fixed releases were scanned under the current scanner and policy, so finding, permission and dependency changes are available.

Permission escalation detected
Change reasons and limitations
  • permission surface changed
  • dependency surface changed
  • file surface changed
  • content hash changed

Observed release history

These older immutable releases were observed by prior successful syncs. They remain recorded when a newer release becomes current.

1.3.010/4/2026sha256:a3711dbf9e2c939e3028ab5ff315ec2e5b71a267d2d388f8d074b8158b5807cf
1.1.09/24/2026sha256:aa0420f1608bb2814ba6dc490fa839d74f2c31ad6eade147b1ee7beab6998ea5