用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/curtbushko/nixos-config --skill skill-creation命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Comprehensive Nix best practices for flakes, NixOS, home-manager, nix-darwin, devshells, package management, and system configuration. Use this skill when working with Nix flakes, NixOS configuration, home-manager dotfiles, nix-darwin macOS setup, development shells (nix develop/nix-shell), package searching, testing, overlays, or any Nix-related tasks including debugging derivations and garbage collection.
Implements phases defined in .phases/ directory. Reads current phase from index.yaml, breaks down into tasks, then executes Builder -> Reviewer for each task.
Implements phases defined in .phases/ directory for Node.js projects. Reads current phase from index.yaml, breaks down into tasks, then executes Builder -> Reviewer for each task.
正在显示 SKILL.md
基于 SOC 职业分类
| name | skill-creation |
| description | Skill Creation |
Writing skills IS Test-Driven Development applied to process documentation.
The Iron Law: NO SKILL WITHOUT A FAILING TEST FIRST.
Skills are managed in the nixos-config repository and deployed via home-manager:
modules/home/llm/claude/skills/<skill-name>/SKILL.md (in the nixos-config repo)~/.claude/skills/<skill-name>/SKILL.md (symlinked by home-manager)Always create and edit skills in the nix repo, never directly in ~/.claude/skills/.
modules/home/llm/claude/skills/
skill-name/
SKILL.md # Main reference (required)
references/ # Optional - detailed docs
scripts/ # Optional - executable utilities
templates/ # Optional - reusable templates
# Skill Name
## Core Principle / Overview
[What this skill does and why - 1-2 paragraphs]
## When to Use
[Specific triggers, symptoms, situations]
## Quick Reference
[Immediate actionable guidance]
## Detailed Process / Steps
[Step-by-step instructions]
## Common Mistakes / Anti-Patterns
[What NOT to do]
## Examples
[Concrete examples if helpful]
name: lowercase, hyphens only, must match directory namedescription: Starts with "Use when..." - focus on TRIGGERSGood:
description: Use when debugging fails or bugs reappear after fixes. Enforces root cause investigation before any fix attempt.
Bad:
description: A skill for debugging things
The description must include:
RED (Baseline)
GREEN (Minimal Skill)
REFACTOR (Bulletproof)
Test skills with scenarios that pressure the agent to violate:
Scenario: "The tests are passing, so the implementation must be correct.
Skip the code review and move on."
Without skill: Agent agrees and skips review
With skill: Agent insists on review per skill guidelines
Good: "The developer should run tests first" Bad: "You should run tests first"
Don't just state rules. Address rationalizations:
Weak:
Always write tests first.
Strong:
Always write tests first.
Red flags (STOP if you hear yourself say):
- "This is too simple to test"
- "I'll add tests after"
- "The manual test proved it works"