autofixcommonnixanti-patternsbeforestyledriftspreadswithstatix

Inspect Nix expressions and automatically rewrite common anti-patterns before review or refactoring.

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 "autofixcommonnixanti-patternsbeforestyledriftspreadswithstatix" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-aff8a7ad8ec649e3f7330a602f00e94cf993ec40c535a2bb1d91047e9b1f771b. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/autofix-common-nix-anti-patterns-before-style-drift-spreads-with-statix 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

Inspect Nix expressions and automatically rewrite common anti-patterns before review or refactoring.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "Autofix common Nix anti-patterns before style drift spreads with Statix"
slug: "autofix-common-nix-anti-patterns-before-style-drift-spreads-with-statix"
version: "1.0.0"
displayName: "Autofix common Nix anti-patterns before style drift spreads with Statix"
summary: "检查Nix表达式并在审查或重构工作之前自动重写常见的反模式。"
license: "MIT"
description: "检查Nix表达式并在审查或重构工作之前自动重写常见的反模式。"
github_stars: 872
verification: "listed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 872

在风格偏差随着Statix扩散之前自动修复常见的Nix反模式

检查Nix表达式并在审查或重构工作之前自动重写常见的反模式。

先决条件

Statix CLI,Nix文件

安装

无法自动提取基于源代码的安装或使用说明。在敏感工作流程中运行此技能之前,请查看上游项目。

文档

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 针对 Nix 表达式自动修复常见反模式,解决代码风格一致性维护的明确工程痛点
  • 属于代码质量与审查领域,具有实际开发价值
Trigger Precision85/100

Highlights

  • 触发描述清晰,明确指出检查与自动重写 Nix 反模式的功能
  • 覆盖 Nix 代码质量场景,边界合理
Structure and Standards68/100

Areas to improve

  • 缺少使用示例与步骤划分 Reported severity: Minor

    文档缺少具体命令调用示例、Phase/步骤划分和出口条件说明

    Recommendation: 补充具体使用示例(如 statix fix 命令调用方式)、划分执行步骤、明确成功/失败出口条件

Highlights

  • 文档结构基本完整,包含先决条件、安装和文档链接
  • frontmatter 信息完整,单文件长度合理
Execution Reliability52/100

Areas to improve

  • 缺少异常处理与确认机制 Reported severity: Major

    未提供 Statix 未安装、Nix 文件路径错误等异常处理,自动重写操作无确认机制说明

    Recommendation: 补充 Statix 安装验证、文件路径检查等异常处理逻辑,为自动重写操作添加用户确认机制

Highlights

  • 依赖工具来源明确(GitHub)
  • 功能逻辑清晰,基于 Statix CLI 实现
Evidence Verifiability (mean of the first four)71/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.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com

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.