Логотип Tdd

Tdd

Організація
Shelpuk-AI-Technology-Consulting
tdd

Використовуйте для всіх завдань із програмування. Дотримуйтеся суворого процесу TDD: активуйте Serena, спочатку проведіть дослідження, уточніть і підтвердьте вимоги, створіть REQUIREMENTS.md для кожного завдання в .requirements/<datetime>_<feature_name>/, перевірте API за допомогою вебпошуку, а потім реалізуйте рішення невеликими кроками, перевіряючи кожен тестами.

Огляд

ВидавецьShelpuk-AI-Technology-Consulting
Репозиторійagent-skill-tdd
Назва навичкиtdd
Зірки
31
Форки
1
Файли в пакеті
Лише інструкції
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

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

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

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

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

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

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

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

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

1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Working Agreement

This skill is intentionally always-on for coding tasks. Follow it exactly unless the user explicitly opts out.

Non-negotiables

  1. Serena first: Start by activating the Serena project (if the Serena tools exist in the environment). If activation fails for reasons outside your control, continue without Serena and say why.
  2. Investigate before changing anything: Understand the current state (application state, execution results, user input, logs) before proposing edits.
  3. No requirement changes without confirmation: If requirements are unclear, ask clarifying questions. Before you change/add/interpret requirements, get explicit confirmation.
  4. Create a per-task REQUIREMENTS.md before implementation:
    • Create/use root .requirements/.
    • For each task, choose a short snake_case feature name using lowercase ASCII letters, digits, and underscores only (for example, update_github_authentication).
    • Create a folder named <datetime>_<feature_name> using UTC datetime format YYYYMMDDTHHMMSSZ (for example, 20260301T143210Z_update_github_authentication).
    • If the folder already exists, append a numeric suffix (_01, _02, and so on) to avoid collisions. Example: .requirements/20260301T143210Z_update_github_authentication_01/.
    • Write the task requirements file to .requirements/<datetime>_<feature_name>/REQUIREMENTS.md using the mandated structure (below).
  5. Use up-to-date docs: When you rely on an API/package/technology detail, use Kindly Web Search (if available) to confirm signatures, version behavior, breaking changes, and deprecations.
  6. Smallest possible steps (TDD): Implement one small change at a time and test each change (unit → integration → smoke as appropriate) before proceeding.

Per-task REQUIREMENTS.md Structure (Mandated)

For each task, write REQUIREMENTS.md to .requirements/<datetime>_<feature_name>/REQUIREMENTS.md with:

  1. As Is: current behavior/state (what exists today).
  2. To Be: desired behavior/state after the change.
  3. Requirements: functional requirements (numbered).
  4. Acceptance Criteria: for every functional requirement, add explicit acceptance criteria.
  5. Testing Plan: test strategy + cases (TDD best practices).
  6. Implementation Plan: the smallest sequential code changes; for each change, include how you’ll test it.

Workflow (Step-by-step)

1) Investigate

  • Inspect the repository structure, relevant code paths, current behavior, and existing tests.
  • Run the smallest commands needed to confirm the current state (build/test, smoke, reproducer), when applicable.
  • Summarize findings briefly.

2) Clarify + confirm requirements

  • Ask clarifying questions where anything is ambiguous (scope, UX, edge cases, compatibility, performance).
  • Propose the requirements in concrete, testable language.
  • Ask for explicit confirmation before finalizing requirements or changing them.

3) Create task requirements folder + REQUIREMENTS.md

  • Ensure .requirements/ exists at repository root.
  • Choose a concise snake_case <feature_name> (lowercase ASCII letters, digits, and underscores only).
  • Generate UTC <datetime> in format YYYYMMDDTHHMMSSZ.
  • Create .requirements/<datetime>_<feature_name>/.
  • If that folder already exists, append _01, _02, and so on, until you get a unique folder name.
  • Write .requirements/<datetime>_<feature_name>/REQUIREMENTS.md before implementation.
  • First, write the "As Is" section explaining the current state of the system.
  • Then, write the "To Be" section, describing in detail how the system should behave after the necessary changes.
  • Then write the "Requirements" section describing functional requirements.
  • Use Kindly Web Search to get up-to-date documentation and information on packages, functions, APIs, and other technologies you plan to use.
  • Record useful Kindly Web Search findings to Serena memories for future use.
  • Then go over the "Requirements" section once again, and for every functional requirement, you add acceptance criteria.
  • Then you add the "Testing Plan" section. You list there the testing plan for this new feature, following the test-driven development (TDD) best practices.
  • Write the "Implementation Plan" section. The Implementation Plan describes the feature implementation order and attributes every feature to the tests from the Testing Plan that should validate it. Now, this is super important! In the "Implementation Plan", you always describe the smallest possible changes that need to be implemented one after the other to implement the requirements. For every change, you describe how to test it.

4) Validate assumptions

  • Use Kindly Web Search to verify any API or dependency assumptions.
  • Update the current task's .requirements/<datetime>_<feature_name>/REQUIREMENTS.md if assumptions change (and re-confirm requirements when needed).

5) Review with Lad MCP

  • Review your system design in the current task's requirements file with system_design_review tool of the Lad MCP Server. Explain the requirements. Provide as much context as you can.
  • Review Lad's feedback and consider whether it is worth taking into account. Then, if necessary, update the current task's requirements file to incorporate this feedback.
  • Keep reviewing the current task's requirements file with Lad until it stops providing useful feedback.

6) Implement with TDD and review with Lad

  • Follow the Implementation Plan in order.
  • Follow Test-Driven Development (TDD) best practices. Implement tests first. Implement feature next. Make sure the tests pass.
  • After each test is implemented, review the test implementation with Lad MCP Server code_review tool. Implement the suggestions that are worthy of consideration.
  • After each step: run the smallest relevant tests first; expand to broader tests when confidence is needed.
  • Keep diffs minimal and focused; avoid unrelated refactors.
  • Use Lad MCP Server code_review tool to review each of your code changes. Implement the suggestions that are worthy of consideration.
  • Keep reviewing your code with Lad until it stops providing useful feedback.
  • Record useful implementation comments and design information to Serena memories for future use.

Workflow Activity Diagram (PlantUML)

This diagram explains the same workflow as above in PlantUML format.

plantuml
@startuml
start

:Activate Serena project;
if (Serena activation succeeds?) then (yes)
  :Proceed with Serena-enabled workflow;
else (no)
  :Continue without Serena;
  :State why activation failed;
endif

:Investigate repository structure and current behavior;

repeat
  :Clarify scope and requirements;
  :Ask questions when requirements are unclear;
  :Propose concrete, testable requirements;
repeat while (Requirements confirmed?) is (no)

:Ensure .requirements/ exists;
:Choose <feature_name> and UTC <datetime>;
:Create .requirements/<datetime>_<feature_name>/;
if (Task folder exists?) then (yes)
  :Append _01, _02, ... until unique;
endif
:Write REQUIREMENTS.md (As Is/To Be/Requirements/AC/Testing/Plan);
:Use Kindly Web Search for API/dependency assumptions;
:Record useful web findings to Serena memory;

while (Assumptions changed?) is (yes)
  :Update current task REQUIREMENTS.md;
  :Re-confirm requirements if needed;
  :Re-check assumptions with web search;
endwhile (no)

repeat
  :Run Lad system_design_review on requirements;
  :Apply useful requirements feedback;
repeat while (More useful design feedback?) is (yes)

repeat
  :Pick next smallest implementation step;
  :Write or update tests first;
  :Review test implementation with Lad code_review;
  :Apply worthwhile test feedback;
  :Implement code change;
  :Run smallest relevant tests;
  :Review code change with Lad code_review;
  :Apply worthwhile code feedback;
repeat while (Implementation plan remaining?) is (yes)

:Record useful implementation notes to Serena memory;
stop
@enduml

Serena memories (when supported)

When Serena memory tools are available, store important information as short memories:

  • project_overview.md: what the repo is, key architectural facts.
  • suggested_commands.md: build/test/lint/smoke commands.
  • style_and_conventions.md: coding conventions, patterns, gotchas.
  • bugs.md: notable bugs + fixes (date, cause, prevention) when applicable.

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

Що робить навичка ШІ Tdd?

Використовуйте для всіх завдань із програмування. Дотримуйтеся суворого процесу TDD: активуйте Serena, спочатку проведіть дослідження, уточніть і підтвердьте вимоги, створіть REQUIREMENTS.md для кожного завдання в .requirements/<datetime>_<feature_name>/, перевірте API за допомогою вебпошуку, а потім реалізуйте рішення невеликими кроками, перевіряючи кожен тестами.

Навіщо використовувати Tdd у TypingMind?

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

Як встановити Tdd у TypingMind?

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

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

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

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

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

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

Так. На GitHub цю навичку публікує Shelpuk-AI-Technology-Consulting за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

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

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

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

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

Усі

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

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