skills/japanese-test-conventions/SKILL.md
Use when writing or editing tests. Tests should be ordered by near-normal, normal, then abnormal cases where applicable, and test names must be Japanese behavior descriptions from a reviewer/user perspective.
npx skillsauth add lilpacy/dotfiles japanese-test-conventionsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
it("準正常系: <条件> のとき <期待する振る舞い>", () => {});
it("正常系: <条件> のとき <期待する振る舞い>", () => {});
it("異常系: <条件> のとき <期待する振る舞い>", () => {});
NG: 正常系: preset と project 候補をマージした rank source を返す
OK: 正常系: 既存ラベルは preset と一緒に候補へ表示される
NG: 正常系: row 群から自由入力ランク候補を軸ごとに収集できる
OK: 正常系: 一覧で使われている自由入力ラベルを軸ごとに再利用できる
NG: 正常系: server 候補と client 行データ候補をマージできる
OK: 正常系: 同じ画面で追加したラベルも重複なく候補へ残る
NG: 正常系: ランク値と null をセル値へ相互変換できる
OK: 正常系: 入力したラベルは trim され、空入力は未設定として扱われる
development
Use when searching the web or reading online documentation. Prefer DuckDuckGo for search and read documents through npx curl.md instead of raw HTML.
development
GoF/オブジェクト指向デザインパターンを関数型プログラミング(pure functions, higher-order functions, ADT, composition, immutability, effect boundaries)でシンプルに整理・設計・リファクタリングする。Strategy/Factory/Adapter/ObserverなどGoF全23パターンのFP置き換え、適用判断、具体事例を提示する必要があるときに使う。
tools
Use when committing, pushing, or preparing PRs. Defines the user's commit workflow, message style discovery, review handoff, and branch/worktree push requirements.
tools
Use for code implementation, bug fixes, refactors, and test additions. Enforces the user's development style: YAGNI, TDD, clear contracts, separation of concerns, no unsolicited fallback or backward-compatibility helpers, and maintainable code structure.