Extracts methods from the monolithic RoseauGateway/RoseauRepository into a dedicated gateway/repository pair within the same folder. Use this when moving domain-specific methods out of roseau.gateway into their own gateway.
Installation
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Extracts methods from the monolithic RoseauGateway/RoseauRepository into a dedicated gateway/repository pair within the same folder. Use this when moving domain-specific methods out of roseau.gateway into their own gateway.
Extract Roseau Gateway Skill
Refactors the monolithic RoseauGateway / RoseauRepository by moving a group of related methods into a new, dedicated gateway + repository pair. The new files stay in the same referentiel/roseau/ folder.
When to Use
roseau.gateway.ts and roseau.repository.ts contain methods that belong to a specific domain (e.g. transmission, conformite, bilan)
You want to reduce the size of the monolithic gateway and improve separation of concerns
The methods being extracted share a common domain concept
E2e tests that manually build a TestingModule with MasaProvider need the new gateway provider. Search for tests that provide RoseauGateway alongside MasaProvider:
For tests using useClass: RoseauGatewayTestMock pattern -- only update if MasaProvider is also in that test module's providers. If MasaProvider is not present, no change needed.
Unit tests that mock MasaProvider directly (with useValue) need no changes -- the public API of MasaProvider is unchanged.