ワンクリックで
add-module
Scaffold a new home-manager module — user program, wired into the appropriate profile (desktop, terminal, bastian).
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Scaffold a new home-manager module — user program, wired into the appropriate profile (desktop, terminal, bastian).
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-module |
| description | Scaffold a new home-manager module — user program, wired into the appropriate profile (desktop, terminal, bastian). |
| metadata | {"when_to_use":"add home module, add user program, new home-manager module, add hm module"} |
modules/homeManagerModules/<name>.nix:{
flake.homeModules.<name> = { config, lib, pkgs, ... }: {
programs.<name> = { enable = lib.mkEnableOption "Enable <description>"; };
config = lib.mkIf config.programs.<name>.enable {
home.packages = with pkgs; [ ];
};
};
}
modules/home-configurations.nix:
modules/homeManagerModules/profiles/desktop.nixmodules/homeManagerModules/profiles/terminal.nixbastianModules.<host> listmodules/homeManagerModules/profiles/bastian.nix (home.packages)bastian.nix uses home.packages, terminal/desktop use self.homeModules.<name> — wrong profile = no effectstylix.targets.<name>.enable = false if doing own themingls modules/homeManagerModules/<name>.nix && grep -r "homeModules.<name>" modules/home-configurations.nix modules/homeManagerModules/profiles/