All authors

Claude Skills by ncaq
github.com/ncaq78 skills0 installs393 views
- Himarihimari is ncaq's rio-like custom Haskell Prelude. Import it with a single `import Himari`, never `import Himari.Prelude` or other submodules directly, and minimize other imports by using what Himari already re-exports. Use when writing or reviewing Haskell code in a project that depends on the himari package.Votes: 0GitHub stars: 3
- Dependency ReviewerInternal reviewer of the `/kyosei` skill that investigates dependency additions, removals, and version changes in a changeset and their impact on the project. Launched by `/kyosei` with the review-info path JSON as its argument. Do not invoke directly; use the `/kyosei` skill instead.Votes: 0GitHub stars: 3
- Security ReviewerInternal reviewer of the `/kyosei` skill that looks for exploitable security vulnerabilities in a changeset. Launched by `/kyosei` with the review-info path JSON as its argument. Do not invoke directly; use the `/kyosei` skill instead.Votes: 0GitHub stars: 3
- Log AnalyzerExtract key information from verbose command output. Use when you want to keep main conversation context lean.Votes: 0GitHub stars: 3
- MisuzuRespond to PR review comments semi-automatically. Fetches all review threads and comments, splits them into logical units, fixes and commits one unit at a time, then replies and resolves review threads. Use when the user wants to address PR review feedback or respond to review comments.Votes: 0GitHub stars: 3
- Nix Store ScanNever scan /nix/store without limits, such as shell wildcard/glob expansion or recursive search over the whole store, because it contains hundreds of thousands of entries and can crash the agent process via OOM. Resolve the exact store path with nix commands first and operate scoped to that single path, or cap depth and result count like fd --max-depth 1 --max-results. Use when searching, listing, or accessing files under /nix/store.Votes: 0GitHub stars: 3
- Prefer Builtin UpdateUse the builtin Edit tool (or Write for new files and full rewrites) instead of sed, awk, perl, or Python one-liners or cat heredocs when modifying or creating files, do not run sed or awk at all, and do not run inline scripts such as `python3 -c` or `node -e`. Use when editing, creating, or rewriting file contents, or when about to run sed, awk, or an inline script.Votes: 0GitHub stars: 3
- Prefer JqPrefer jq over Python or other general-purpose scripting languages for reading, filtering, or transforming JSON. Use when extracting values from JSON, parsing an API response, or writing anything that would otherwise reach for Python's json module or a `node -e` one-liner.Votes: 0GitHub stars: 3
- Prefer YqPrefer yq over Python or ad-hoc text substitution for reading or transforming YAML, XML, TOML, and CSV. Assumes mikefarah/yq, whose syntax differs from the Python-based kislyuk/yq. Use when reading or rewriting configuration files in those formats from the command line.Votes: 0GitHub stars: 3
- SurveyInternal skill for the `/research` skill. Use when dispatched from the `/research` skill with a single subquery. Do NOT invoke directly; use the `/research` skill instead.Votes: 0GitHub stars: 3
- Avoid ForAvoid for loops (C-style, for...of, for...in) in TypeScript/JavaScript. Prefer higher-order Array methods like map, filter, find, some, every, reduce. Use when writing or reviewing loops or iteration over arrays, objects, Map, Set, or String.Votes: 0GitHub stars: 3
- Prefer Specific MethodPrefer the most specific built-in method over general-purpose ones in TypeScript/JavaScript. Use includes over indexOf, some over filter().length, find over filter()[0], flatMap over map().flat(), at(-1) over length-based access, startsWith/endsWith/includes over indexOf on strings, structuredClone over JSON round-trip. Use when writing or reviewing code that searches, tests, transforms arrays, objects, or strings.Votes: 0GitHub stars: 3
- Variable NamingVariable naming conventions for TypeScript/JavaScript. Prefer camelCase even for constants and avoid UPPER_SNAKE_CASE. Use when naming or reviewing variables or constants.Votes: 0GitHub stars: 3
- SopsGuidelines for handling secrets encrypted with sops. Never let decrypted plaintext reach the conversation; let sops decrypt and pass secrets to other processes via `exec-env` or `exec-file` instead, and leave editing to the user. Use when a repository contains `.sops.yaml`, a `secrets/` directory, sops-encrypted YAML/JSON/dotenv files, or an `.envrc` that loads secrets via sops.Votes: 0GitHub stars: 3
- General ReviewerInternal reviewer of the `/kyosei` skill that looks for correctness and maintainability problems, performance regressions, test gaps, and documentation mismatches in a changeset. Launched by `/kyosei` with the review-info path JSON as its argument. Do not invoke directly; use the `/kyosei` skill instead.Votes: 0GitHub stars: 3
- Explain SettingAdd environment variables, flags, and configuration options only when you can explain what concrete problem each one solves. Do not add settings on your own merely because they are conventional or seem safer to have; propose them with the reason and let the user decide. Use when adding environment variables, command-line flags, or configuration options to code, scripts, CI, or environment definitions.Votes: 0GitHub stars: 3
- Generate GitignoreGenerate `.gitignore` content from GitHub's official templates with `gh repo gitignore view <template>` instead of hand-writing it, and record the command used in a comment. Use when creating a `.gitignore` or adding ignore patterns for a language or toolchain to an existing one.Votes: 0GitHub stars: 3
- ApplicativeWrite Haskell code in applicative style with <$>, <*>, <*, and *> when steps do not depend on earlier results, and use do or >>= only where a later step needs an earlier result. Use when writing or reviewing Haskell parsers, FromJSON instances, or code that builds a record from several effectful values.Votes: 0GitHub stars: 3
- LoggerReport progress and status through a MonadLogger logger instead of writing directly with putStrLn, and keep standard output only for results like file paths or JSON. Use when writing or reviewing Haskell code that prints progress, status messages, or debug output.Votes: 0GitHub stars: 3
- Low LevelAvoid low-level operations in Haskell such as Foreign modules, GHC.Foreign, and library Internal modules, and avoid choosing raw ByteString paths just for speed. Use public high-level APIs with simple high-level concurrency, and consult with measurements before going low-level for speed. Use when writing or optimizing Haskell code for performance, file system traversal, or concurrency.Votes: 0GitHub stars: 3
- Main ModuleDefine the executable entry point main only in the file that cabal's main-is points to (app/Main.hs for a single executable), keep library modules free of main, and expose a function such as run for Main.hs to call. Use when writing or reviewing Haskell executables, cabal executable stanzas, or where to put main.Votes: 0GitHub stars: 3
- MegaparsecParse complex text such as command output, delimited or escaped fields, and numbers with units by writing megaparsec parsers instead of hand-written splitting with breakOn, span, or manual recursion. Use when writing or reviewing Haskell code that parses or extracts values from structured text.Votes: 0GitHub stars: 3
- Module SplitSplit Haskell code into small modules, with one module per validated type and exception types in dedicated modules separate from the code that throws them. Use when creating Haskell modules, defining exception types or validated newtypes, or reviewing module structure.Votes: 0GitHub stars: 3
- Module List OrderSort lists that enumerate Nix modules, such as `imports` and the `modules` argument of `lib.nixosSystem`, in lexicographic order, and re-sort an existing unsorted list when touching it. Lists whose order changes the evaluated result are excluded. Use when adding, removing, or rewriting entries in a list of Nix modules.Votes: 0GitHub stars: 3
- Nix Run MaintenancePackage recurring multi-step maintenance, such as regenerating lockfiles or hashes for dependencies, as a single `nix run .#<name>` script in the flake instead of a written procedure. The script stops after generating and formatting files and never commits. Use when proposing a multi-step maintenance procedure or adding a maintenance script to a Nix flake.Votes: 0GitHub stars: 3
- Systemd Dynamic UserRun systemd services with `DynamicUser` unless there is a concrete reason to give them a fixed user, and create static users with fixed UIDs and GIDs only when such a reason exists. Use when defining or modifying systemd services in NixOS, or when about to add a system user for a service.Votes: 0GitHub stars: 3
- Update Pinned RevisionWhen checking dependencies pinned to a specific revision (flake inputs or fetchers pinned by commit hash, GitHub Actions pinned by commit SHA, model revisions, and so on) for updates, advance them to the latest revision even if the files you use have not changed, and replace redirected repository names with their canonical names. Use when updating or auditing dependencies pinned to a commit hash or revision.Votes: 0GitHub stars: 3
- Type AnnotationWrite type annotations in Python even for small or throwaway-looking scripts. Annotate function parameters and return values, class attributes, and module-level constants, and spell out the element types of generic containers such as dict and tuple. Use when writing or reviewing Python code.Votes: 0GitHub stars: 3