跳到正文
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 的隐私权政策和服务条款。

同一仓库的技能

ci

免费

Reference for the `odu` runner — how to invoke a full pipeline, a single recipe, or a platform-pinned node, and how to attach to a live run, from a project whose CI odu runs. Trigger when the user asks to "run CI", "run the pipeline", "re-run a check", or names a specific recipe by `<recipe>@<platform>`.

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

srid/drishti282026年10月16日 更新

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

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

srid/drishti282026年10月16日 更新

do

免费

Do a task end-to-end — implement, PR, CI loop, ship. ONLY invoke when the user explicitly types `/do` or `$do`; never auto-select from a natural-language request, even one that sounds like an end-to-end task.

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

srid/drishti282026年10月16日 更新

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/drishti282026年10月16日 更新

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/drishti282026年10月16日 更新

forge-pr

免费

Write engaging PR titles and descriptions for any forge (GitHub today; Bitbucket planned). Use when creating or updating PRs. Leads with narrative paragraphs and reaches for lists, tables, and diagrams when content is genuinely structured.

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

srid/drishti282026年10月16日 更新

查看 srid 的全部技能

报告此技能的问题