Skip to main content
在 Manus 中运行任何 Skill
一键导入
GitHub 仓库

www.napochaan.com

www.napochaan.com 收录了来自 napolab 的 11 个 skills,并提供仓库级职业覆盖和站内 skill 详情页。

已收集 skills
11
Stars
3
更新
2026-07-17
Forks
0
职业覆盖
3 个职业分类 · 已分类 100%
仓库浏览

这个仓库中的 skills

branching-modeled-state-with-switch
软件开发工程师

Use when writing TypeScript that branches on a value carrying a modeled state — a discriminated union, a status/kind/type tag, or any state-machine state — to choose behavior or a return value, or when adding a variant to such a union. Also when reaching for an if/else-if chain, an assertNever helper, or a lookup map to consume a tagged union.

2026-07-17
chaining-neverthrow-results
软件开发工程师

Use when composing or chaining neverthrow Result / ResultAsync values — sequencing multi-step operations where each step can fail, recovering from a specific error, or deciding where to turn a Result into a plain value or HTTP response. Also when reaching for .match mid-pipeline, _unsafeUnwrap, isErr()+.value unwrapping, safeTry / yield*, or a try/catch around Result-returning code.

2026-07-17
explicit-primitive-conversion
软件开发工程师

Use when converting a value to a number, string, or boolean in TypeScript, or annotating a primitive type — about to write Number(x), String(x), Boolean(x), unary +x, !!x, .filter(Boolean), or a : Number / : String / : Boolean type annotation.

2026-07-17
modeling-errors-as-classes
软件开发工程师

Use when defining an error type, an error channel for a Result/ResultAsync, or a failure that crosses a throw / RxJS Observable / IPC boundary — anything you would otherwise model as an object union like `{ name: 'XError'; message: string }`.

2026-07-17
precise-type-modeling
软件开发工程师

Use when authoring or converting TypeScript — defining a type / interface / function signature, typing arguments or state, deciding between optional fields and a union, or about to reach for any, unknown, Record<string, unknown>, an index signature, or an as cast. The minimum modeling rules for making code TypeScript.

2026-07-17
prefix-match-processor
软件开发工程师

Use when branching keys off the prefix of a string (startsWith, namespaced name families like "file.", "edit.", "edit.image.") and the number of prefix branches is growing, when a prefix if-chain is becoming hard to test or extend per-family, or when adding several new prefix families to an existing dispatcher.

2026-07-17
switch-pattern
软件开发工程师

Convert `if`-based discriminated-value matching (HTTP status codes, event/action `type` fields, mode strings) to exhaustive `switch` statements. Use when refactoring existing code to the project style or when reviewing a file for `if (x === ...) / if (x !== ...)` clusters that should be flattened to switch.

2026-07-17
staging-deploy-seed
网络与计算机系统管理员

Runbook for deploying and seeding the staging Cloudflare environment (stg.napochaan.com) with required env vars and recovery steps. Use when deploying to staging, running seed:export / seed:import / payload migrations against staging, or when hitting "Select which Cloudflare account" prompts (exit code 13) or "D1_ERROR: no such column". Triggers on "stg に deploy", "staging に反映", "seed:export to stg", "seed:import".

2026-06-11
file-colocation
网页开发工程师

Use when creating pages, layouts, or components in this Next.js App Router + Panda CSS project. Triggers on "create page", "add component", "new route", "build section", or any file creation task under src/app/ or src/components/.

2026-06-05
rsc-first
软件开发工程师

Use when building Next.js App Router pages or components. Triggers on "create page", "build component", "add feature", "new route", or any UI implementation task in this project. Ensures Server Components by default with fine-grained client islands.

2026-06-05
smart-commit
软件开发工程师

This skill should be used when the user asks to "commit", "smart commit", "split commit", "論理的にコミット", "diff を見てコミット", "変更をコミット", or wants to logically analyze staged/unstaged changes and create well-structured Conventional Commits. Dispatches a Sonnet subagent to review diffs, group related changes, and produce split commits.

2026-06-05