跳到正文
cccskills
免费在 GitHub 公开

nix-justfile

Conventions for writing justfile recipes in Nix-based projects.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md691 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Justfile in Nix projects

Doc comments

Every recipe must have a doc comment (# line above the recipe name).

Devshell detection

Use a nix_shell variable to auto-detect whether we're inside nix develop:

nix_shell := if env('IN_NIX_SHELL', '') != '' { '' } else { 'nix develop -c' }

Prefix commands that need devshell tools (node, trunk, cargo-watch, etc.) with {{nix_shell}}. Recipes that invoke nix directly (build, run, flake commands) don't need it.

Legibility

Long chained commands should use multiline \ continuations.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Review code for quality, simplicity, and common mistakes before declaring work complete.

中文简介正在准备中。当前显示原文说明。

srid/haskell-flake2412026年10月18日 更新

do

免费

Do a task end-to-end — implement, PR, CI loop, ship

中文简介正在准备中。当前显示原文说明。

srid/haskell-flake2412026年10月18日 更新

elegance

免费

Iteratively study and apply elegant coding patterns. Each iteration - understand the code, research what simple and elegant code looks like, apply learnings, verify with CI. Use as a standalone refactoring pass or when the user asks to make code more elegant, simple, or idiomatic.

中文简介正在准备中。当前显示原文说明。

srid/haskell-flake2412026年10月18日 更新

Audit code for correctness and rigor — logic errors, silent error swallowing, wishful thinking, and unjustified fallbacks. This is not a style review; it's a logic review. Use when you want a focused correctness audit separate from the full code-police pass.

中文简介正在准备中。当前显示原文说明。

srid/haskell-flake2412026年10月18日 更新

forge-pr

免费

Write engaging PR titles and descriptions for any forge (GitHub today; Bitbucket planned). Use when creating or updating PRs. Avoids boring bullet lists; uses narrative paragraphs with bold/italic for emphasis.

中文简介正在准备中。当前显示原文说明。

srid/haskell-flake2412026年10月18日 更新

hickey

免费

Evaluate code (especially LLM-generated) for structural simplicity using Rich Hickey's "Simple Made Easy" framework. Use this skill whenever reviewing a PR, diff, or code snippet for accidental complexity — particularly when the code was generated by an AI coding assistant and line-by-line review isn't feasible. Also use when the user asks about complecting, simplicity vs. easiness, structural coupling, or concept deduplication. Trigger on phrases like "is this simple", "does this complect", "review for complexity", "structural analysis", or any reference to Hickey, Simple Made Easy, or grey-box review.

中文简介正在准备中。当前显示原文说明。

srid/haskell-flake2412026年10月18日 更新

查看 srid 的全部技能

报告此技能的问题