com um clique
dotfiles
dotfiles contém 60 skills coletadas de BastianAsmussen, com cobertura ocupacional por repositório e páginas de detalhe dentro do site.
Skills neste repositório
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.
Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks, or when you need to configure rules files and context for a project.
Guides systematic root-cause debugging. Use when tests fail, builds break, behavior doesn't match expectations, or you encounter any unexpected error. Use when you need a systematic approach to finding and fixing the root cause rather than guessing.
Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when deciding whether to maintain or sunset existing code.
Records decisions and documentation. Use when making architectural decisions, changing public APIs, shipping features, or when you need to record context that future engineers and agents will need to understand the codebase.
Subjects every non-trivial decision to a fresh-context adversarial review before it stands. Use when correctness matters more than speed, when working in unfamiliar code, when stakes are high (production, security-sensitive logic, irreversible operations), or any time a confident output would be cheaper to verify now than to debug later.
Builds production-quality UIs. Use when building or modifying user-facing interfaces. Use when creating components, implementing layouts, managing state, or when the output needs to look and feel production-quality rather than AI-generated.
Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, or when you need to organize work across multiple parallel streams.
Refines raw ideas into sharp, actionable concepts through structured divergent and convergent thinking. Use when an idea is still vague, when you need to stress-test assumptions before committing to a plan, or when you want to expand options before converging on one. Triggers on "ideate", "refine this idea", or "stress-test my plan".
Delivers changes incrementally. Use when implementing any feature or change that touches more than one file. Use when you're about to write a large amount of code at once, or when a task feels too big to land in one step.
Extracts what the user actually wants instead of what they think they should want. Achieves this through one-question-at-a-time interview until ~95% confidence about the underlying intent. Use when an ask is underspecified ("build me X" without "for whom" or "why now"), when the user explicitly invokes ("interview me", "grill me", "are we sure?", "stress-test my thinking"), or when you catch yourself silently filling in ambiguous requirements before any plan, spec, or code exists.
Instruments code so production behavior is visible and diagnosable. Use when adding logging, metrics, tracing, or alerting. Use when shipping any feature that runs in production and you need evidence it works. Use when production issues are reported but you can't tell what happened from the available data.
Optimizes application performance. Use when performance requirements exist, when you suspect performance regressions, or when Core Web Vitals or load times need improvement. Use when profiling reveals bottlenecks that need fixing.
Breaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible.
Hardens code against vulnerabilities. Use when handling user input, authentication, data storage, or external integrations. Use when building any feature that accepts untrusted data, manages user sessions, or interacts with third-party services.
Prepares production launches. Use when preparing to deploy to production. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.
Grounds every implementation decision in official documentation. Use when you want authoritative, source-cited code free from outdated patterns. Use when building with any framework or library where correctness matters.
Creates specs before coding. Use when starting a new project, feature, or significant change and no specification exists yet. Use when requirements are unclear, ambiguous, or only exist as a vague idea.
Drives development with tests. Use when implementing any logic, fixing any bug, or changing any behavior. Use when you need to prove that code works, when a bug report arrives, or when you're about to modify existing functionality.
Discovers and invokes agent skills. Use when starting a session or when you need to discover which skill applies to the current task. This is the meta-skill that governs how all other skills are discovered and invoked.
Scaffold a new NixOS feature module with enable/disable toggles — self-contained, opt-in system services.
Scaffold a new home-manager module — user program, wired into the appropriate profile (desktop, terminal, bastian).
Scaffold a custom Nix package derivation — `perSystem.packages` entry + additions overlay registration as `pkgs.<name>`.
Full quality check — formatting, static analysis, dead code, flake validation, and skill pin verification.
In-depth multi-step autonomous research — investigating complex questions, multi-source synthesis across web docs and codebase.
Use this skill when the user needs to configure disk partitioning in NixOS — declaratively define GPT, LUKS, LVM, Btrfs, and tmpfs layouts. Applies when setting up disks, formatting, or provisioning hosts with nixos-anywhere, even if the user doesn't say "disko".
Use this skill when the user needs to configure an EGG XM2/OP1 gaming mouse on NixOS — adjust CPI, polling rate, lift-off distance, and debounce through a GUI tool. Applies even if the user says "gaming mouse config" or "mouse settings" without naming the tool.
Use this skill when the user needs ergonomic Nix CLI shortcuts with auto-retry — shorter, smarter alternatives to raw `nix` subcommands. Applies when discussing `ns`, `nb`, `nr`, `nd`, or "nix helper tools", even without mentioning "eh".
Use this skill when the user needs to manage Firefox extensions declaratively — add, update, or audit version-pinned, hash-locked XPI derivations. Applies when working on browser extensions, even if the user doesn't say "firefox-addons" or "XPI".
Use this skill when the user needs to understand or modify the flake module system that orchestrates the entire configuration — `mkFlake`, `perSystem`, flake modules. Applies when discussing how modules plug together, system-scoped config, or the flake framework itself.
Parallelize independent subtasks — bulk refactors, multi-host changes, "do all of these". Maximize throughput with concurrent subagents.
Use this skill when the user needs to manage pre-commit hooks that enforce formatting, linting, and static analysis before every commit. Applies when discussing `nixfmt`, `deadnix`, `statix`, `flake-checker`, or hook configuration, even if they don't say "pre-commit" or "git-hooks".
Use this skill when the user needs to manage user-level configuration declaratively — programs, dotfiles, services, and profiles that span multiple hosts. Applies when adding user programs, wiring modules into profiles, or setting up standalone home-manager configs.
Use this skill when the user is surprised that a new `.nix` file was automatically discovered, or needs to understand why files under `modules/` are auto-imported as flake-parts modules. Applies when discussing module discovery, auto-import, or file placement conventions.
Use this skill when the user needs to work with UEFI Secure Boot on NixOS — signing UKIs, managing sbctl keys, or configuring the boot chain integrity. Applies when discussing Secure Boot, `systemd-boot`, or bootloader hardening, even if the user doesn't say "lanzaboote".