react-tests
Skill0 starsChanged 4 months agoNo licenceView on GitHub
Генерирует тесты для одного файла фронтенда (React) по конвенциям проекта из справочника `react-tests-index`: раннер, расположение и скелет файла, кастомный render и провайдеры, селекторы, user-event, моки. Спрашивает тип теста (компонент / хук / чистая функция) и показывает список кейсов на подтверждение, затем пишет тестовый файл рядом по конвенции проекта, запускает раннер на этом файле и чинит СВОИ ошибки (лимит 3 попытки). Исходный код не трогает: расхождение «ожидание ≠ фактическое поведение» не подгоняет, а помечает skip + TODO как возможный баг. Срабатывает на: "напиши тесты на компонент", "покрой компонент тестами", "тесты для хука", "react testing library тесты", "unit тесты фронта".
In this repository18 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- code-reviewerSkill
- quick-code-reviewSkill
- explain-codeSkill
- insomnia-testsSkill
- brainstormingSkill
- executing-plansSkill
- reviewing-plansSkill
- writing-plansSkill
- playwright-e2eSkill
- playwright-fixturesSkill
- swagger-jsdocSkill
- swagger-jsonSkill
- swagger-verifySkill
- swagger-ymlSkill
- node-tests-indexSkill
- node-testsSkill
- react-tests-indexSkill
The file
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

