원클릭으로
add-feature
Scaffold a new NixOS feature module with enable/disable toggles — self-contained, opt-in system services.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Scaffold a new NixOS feature module with enable/disable toggles — self-contained, opt-in system services.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
After `nix flake update`, sync `input_rev` and `input_hash` metadata in all flake-input skill files to match new `flake.lock`.
Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.
Tests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be configured.
Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies.
Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch.
Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity.
| name | add-feature |
| description | Scaffold a new NixOS feature module with enable/disable toggles — self-contained, opt-in system services. |
| metadata | {"when_to_use":"add feature, new feature module, create feature, add nixos module, scaffold feature"} |
modules/nixosModules/features/<name>.nix:{
flake.nixosModules.<name> = { config, lib, pkgs, ... }:
let cfg = config.<name>; in
{
options.<name>.enable = lib.mkEnableOption "Enable <description>";
config = lib.mkIf cfg.enable { /* service config */ };
};
}
self.nixosModules.<name>lib.mkIf cfg.enableflake.nixosModules.<name> (ssh.nix → self.nixosModules.ssh)<name>.enable = trueself.nixosModules.sops, declare sops.secrets."..." = {}options.<name>.port, etc.nix eval .#nixosModules.<name> --json 2>&1 | head -3 && grep -r "self.nixosModules.<name>" modules/nixosModules/hosts/