一键导入
write-tests
Write tests the house way for this repo. Use when the user asks for tests, coverage, or verification of app logic or the habits data.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Write tests the house way for this repo. Use when the user asks for tests, coverage, or verification of app logic or the habits data.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | write-tests |
| description | Write tests the house way for this repo. Use when the user asks for tests, coverage, or verification of app logic or the habits data. |
node --test (built-in node:test), zero dependencies. Do not add jest/vitest/mocha.tests/*.test.js, ES modules.app/habits.js); never copy fixtures of real data into the test.describe per subject, assert from node:assert/strict.app.js is verified by hand in the browser — don't bolt on a DOM emulator for it.tests/habits.test.js for the existing pattern.node --test and show the output.基于 SOC 职业分类
Add or replace a habit card in the Claude Habits deck. Use when the user wants a new habit, card, or tip added to the app, or wants an existing one reworded or replaced.
Commit and open pull requests following team conventions. Use when the user asks to commit, push, or open a PR.
Scaffold a new UI feature or component for the card deck app following house conventions. Use when the user asks to add a UI element, widget, control, or visual feature to the app.
Review a diff against the team's checklist. Use when the user asks for a code review, diff review, or pre-merge check.