/otter:otter-schematicsfrom otter
Guides creation of Angular artifacts in Otter workspaces using schematics. Ensures consistent code generation for components, libraries, services, and fixtures.
Ships in otter. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Otter (@o3r/) is an Angular framework extension.
When creating or modifying components, libraries, or services, Otter schematics must be used instead of manually creating file structures.
This ensures consistent code generation and prevents ad-hoc layouts that drift from conventions.
If a schematic exists for the artifact type, use it. Manual file creation is only acceptable when no schematic covers the case.
Use the @o3r/mcp MCP server to discover available schematics for the project and their options.
If the MCP server is not available, invoke the otter-mcp-setup skill to guide installation, then re-run this skill.
Preview before committing to a run: ng g <schematic> --dry-run lists the files that would be created or modified, and --help lists the current options.
A schematic may fail or be unavailable — a version mismatch, a workspace the generator does not recognise, a broken install. Do not hand-write the files from memory, and do not invent a layout. Read what the schematic would have done and reproduce it:
collection.json maps each schematic name to a factory; the factory's directory holds the rules and the templates.This is the same approach the otter-migration agent uses for migration schematics: read the bundled code, then apply the equivalent changes.
After running a schematic, verify:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub amadeusitgroup/otter --plugin otter11 skills in this plugin
/logic-component-shapeDecision tree for single component versus container/presenter, which componentStructure to generate, and which componentType to declare. Invoked by `logic-placement` and `logic-review`, not directly./logic-placementDecide where new logic belongs — component shape, logic layer, and store variant — when designing a component, service, or store in an Angular/Otter workspace. Use `logic-review` to assess existing code./logic-reviewReview existing components, services, or stores for misplaced logic — presenter leaks, componentType mismatches, wrong store variants. Use `logic-placement` when designing something new./logic-state-layerDecision tree for whether logic belongs in the component class, a service, or an NgRx store, including service scope and where API calls go. Invoked by `logic-placement` and `logic-review`, not directly./logic-store-typeDecision tree for which NgRx store variant to generate — entity or simple, sync or async. Invoked by `logic-placement` and `logic-review` once a store is justified, not directly; it does not decide whether a store is warranted./otter-mcp-setupThis skill should be used when the `@o3r/mcp` MCP server is not available and needs to be installed, or when the user asks to "install otter mcp", "setup otter mcp", or "configure otter mcp server".Other plugins' skills for the same job