Логотип Test Like Corbin

Test Like Corbin

Спільнота
crutchcorn
test-like-corbin

Choose, write, and review tests using Corbin Crutchley's testing preferences. Use when deciding whether a change needs tests, adding regression coverage, choosing test boundaries, or setting up a test suite. Favor user-centered integration tests and narrow tests for complex internal logic; avoid routine coverage expansion for its own sake.

Add to TypingMind

Огляд

Видавецьcrutchcorn
Репозиторійskills
Назва навичкиtest-like-corbin
Зірки
56
Форки
0
Файли в пакеті
4
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 4

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: crutchcorn. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Test Like Corbin у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/crutchcorn/skills/tree/main/test-like-corbin
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/crutchcorn/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/test-like-corbin .claude/skills/test-like-corbin
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Test Like Corbin в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Test Like Corbin, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Test Like Corbin не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Test Like Corbin

Protect behavior that matters to users without making implementation details expensive to change. Apply these preferences within the requested work; do not migrate an existing test suite just to match a preferred tool.

Decide whether a new test earns its place

Write a new test only when it addresses a real user-facing problem, prevents a particularly nasty internal regression, or the user specifically requests tests.

  • Do not add tests merely because a file changed or a coverage metric is low.
  • Do not test interfaces expected to change soon. Prefer a stable user outcome around them when one exists.
  • For complex internal behavior, identify the meaningful invariant or failure before choosing a narrow unit test.
  • Small, reversible changes do not automatically need new tests. Run relevant existing checks and inspect the result when those provide sufficient confidence.
  • Do not introduce screenshot tests unless the user specifically requests them.

For boundary choices or examples of coverage to add or skip, read references/test-decisions.md.

Choose the smallest useful integration

Prefer integration tests over end-to-end tests, including integration tests that run in a browser. Use end-to-end coverage when the behavior genuinely depends on connecting the deployed or full-system pieces.

  • For UI behavior, render the relevant page or flow and interact as a user would: navigate, fill labeled controls, submit, and observe the result. Assert visible outcomes and accessible behavior rather than component markup, CSS classes, or internal state.
  • For backend behavior, exercise the application boundary with the real participating code and assert the response or meaningful persisted effects.
  • Keep unit tests narrowly scoped to particularly complex logic or internal regressions whose important cases would be difficult to exercise clearly through an integration test.
  • Choose cases that would catch the actual problem. Avoid asserting a restatement of the implementation or every intermediate helper call.

A browser test is not automatically an end-to-end test: a page using the real UI and application code with HTTP intercepted at its boundary can be an integration test.

Do not test UI in headless or logic tests

Keep headless and logic tests focused on user-facing behavior. Use the accessibility tree and user-facing text as finders: roles, accessible names, labels, and visible text. Use attributes only in rare cases when those finders cannot reliably identify the relevant element; this exception never permits class or style checks.

Never assert the presence, absence, or value of CSS classes, inline styles, or computed styles as a source of truth for UI correctness. These assertions couple tests to implementation details without validating the rendered appearance. Assert the observable behavior instead, such as an accessible error message appearing after an invalid submission.

Validate styling through screenshot testing when automated visual coverage is warranted. Reserve it primarily for stabilized design-system components whose appearance is an established contract. Avoid screenshot coverage for fast-evolving product UI by default; use visual inspection and tests of stable user outcomes there.

Make cases readable

Prefer explicit, named test cases over loops that hide the scenarios being exercised. A little duplication is useful when it lets readers understand a case and its failure without tracing shared control flow. Use parameterized cases when a concise table makes equivalent inputs and expected outcomes clearer; do not abstract tests merely to remove repeated lines.

Keep real behavior inside the boundary

Avoid mocks wherever practical. If isolation requires a substitute, put it at a genuine external boundary.

  • Use MSW for intercepted fetch requests and openapi-msw when an OpenAPI contract is available. Keep application request handling and consumption real.
  • Use a disposable database with real queries rather than mocking repositories, ORM methods, or query builders. Ensure the substitute preserves the database behavior the test is meant to cover.
  • Do not mock child components, internal hooks, application services, or helpers merely to make a test easier to write.
  • Treat every boundary substitution as a limit on what the test demonstrates. If the bug lies across that boundary, include the real dependency in the test instead.

Use the preferred tooling when choosing a setup

  • Use Vitest for JavaScript/TypeScript tests on both frontend and backend.
  • Use Vitest Browser Mode with Playwright for frontend tests.
  • Use the project's existing setup when extending it; changing runners or adding a new testing layer is a separate scope decision.
  • Before writing version-sensitive configuration, identify the installed or intended versions and consult current official documentation, including the Vitest Browser Mode setup guide for frontend setup. Make this a prerequisite, not a fallback after configuration fails. When tools are unavailable, explicitly include documentation verification before applying the setup in your plan and label any configuration example as unverified.

Verify the coverage

For a regression, confirm that the new test exposes the original failure when practical, then passes with the fix. Run the relevant existing tests and required checks. In the handoff, state the protected behavior, what ran, and any material boundary the test does not cover. If no new test is warranted, briefly explain why when that decision is relevant to the request.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Test Like Corbin?

Choose, write, and review tests using Corbin Crutchley's testing preferences. Use when deciding whether a change needs tests, adding regression coverage, choosing test boundaries, or setting up a test suite. Favor user-centered integration tests and narrow tests for complex internal logic; avoid routine coverage expansion for its own sake.

Навіщо використовувати Test Like Corbin у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Test Like Corbin — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Test Like Corbin у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/crutchcorn/skills/tree/main/test-like-corbin. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Test Like Corbin?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Test Like Corbin?

Зі скількома забажаєте. У TypingMind ви можете використовувати Test Like Corbin із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Test Like Corbin?

На GitHub цю навичку публікує crutchcorn. Умови ліцензування дивіться в репозиторії. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі
Логотип openclaw

Slack E2e

openclaw
ОрганізаціяПопулярне

Тестуйте Slack за допомогою користувачів OAuth або QA-ботів із орендованими через Convex обліковими даними; перевіряйте облікові дані, тестуйте повідомлення, якими ви керуєте, підтверджуйте роботу Gateway і розрізняйте докази з API та взаємодію з реальним клієнтом Slack.

82.2K
391K
Файлів: 4
Відкрити
Логотип openclaw

Telegram E2e Userbot

openclaw
ОрганізаціяПопулярне

Перевіряйте поведінку OpenClaw Telegram, яку бачать користувачі, на Test Server Telegram із командними обліковими даними, отриманими через Convex; проходьте сценарії від імені реального користувача та фіксуйте повідомлення, редагування, видалення, реакції, індикатор набору тексту й розширений…

82.2K
391K
Файлів: 45
Відкрити
Логотип affaan-m

Module Regression

affaan-m
СпільнотаПопулярне

Govern cross-module regression in large repositories with a REGRESSION.md ledger that records each module's downstream consumers and executable acceptance command. After a change, run the changed…

41.4K
277.3K
Файлів: 2
Відкрити
Логотип affaan-m

Test Collaboration

affaan-m
СпільнотаПопулярне

Inventory and govern a project's test assets. Connect requirements, business rules, risks, bugs, and cross-boundary contracts to stable TEST-IDs and executable evidence in the repository's existing…

41.4K
277.3K
Файлів: 2
Відкрити

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇