/uitkit:testing:fr:mock-gen [module-path-or-interface-name]from uitkit
Generates type-safe mocks and stubs for a given module, class, or interface, detecting the project's mocking framework (Jest, pytest, Go, TypeScript) and placing files per project conventions.
Ships in uitkit. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Générer les mocks et les stubs pour : $ARGUMENTS
Localisez la cible — trouvez le fichier de module, la classe ou l'interface nommée dans $ARGUMENTS. Lisez-le complètement pour comprendre la surface complète : toutes les fonctions exportées, les méthodes de classe et leurs signatures de type.
Détectez l'approche de mocking du projet :
jest.fn(), jest.mock(), mocks manuels dans __mocks__/unittest.mock.MagicMock, fixtures pytest-mockmockeryanyGénérez des mocks qui :
any à moins que l'original n'en utilise)Générez une factory ou fixture correspondante qui retourne un mock pré-configuré adapté aux scénarios de test courants. Nommez-la make<Name>Mock ou suivez la convention de nommage du projet.
Placez le mock au bon endroit selon les conventions du projet (__mocks__/, mocks/, testutil/, etc.). Si le projet n'a pas de convention, placez-le adjacent au fichier source.
Écrivez un exemple de test démontrant comment importer et utiliser le mock, y compris comment affirmer les appels reçus.
Sortie : le fichier de mock et le test d'exemple. Aucune méthode placeholder.
7-day visitors to each command page
500 commands in this plugin
/ai-engineering:agent-scaffoldAgent ScaffoldScaffold a multi-step Claude agent with tool use, memory, and a defined stopping condition/ai-engineering:de:agent-scaffoldAgent ScaffoldEinen mehrstufigen Claude-Agent mit Tool-Use, Memory und einer definierten Stoppbedingung aufbauen/ai-engineering:de:eval-harnessEval HarnessGenerieren Sie ein Test-Harness zur Evaluierung eines LLM-Prompts oder einer Chain anhand eines Datensatzes/ai-engineering:de:mcp-server-genMcp Server GenGeneriere einen vollständig konfigurierten MCP-Server, der Tools, Ressourcen oder Prompts für eine bestimmte Domäne verfügbar macht/ai-engineering:de:prompt-improveGefundene ProblemeKritik und Umformulierung eines Prompts für Klarheit, Spezifität und Token-Effizienz/ai-engineering:de:rag-setupRag SetupScaffold a production-ready RAG pipeline for a given data source and stackClaude Code refuses to install this plugin
.claude-plugin/plugin.json: agents: Invalid input, skills: Invalid input
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
Other plugins' commands for the same job