From core
Extracts recurring coding and architectural patterns from CODEMAP into reusable templates in docs/PATTERNS/ (INDEX.md, per-module files, CHANGES.md).
How this command is triggered — by the user, by Claude, or both
Slash command
/core:init-workspace-flow-patternsThe summary Claude sees in its command listing — used to decide when to auto-load this command
<init_workspace_flow_patterns> <description_and_purpose> Extract recurring code structures into explicit reusable pattern templates. Without them, agents reinvent conventions per task. Proof: docs/PATTERNS/ contains INDEX.md, per-module files, and CHANGES.md referenced by downstream coding tasks. </description_and_purpose> <workflow_context> - Phase 5 of 8 in init-workspace-flow - Input: CODEMAP, source code - Output: docs/PATTERNS/ (INDEX.md, per-module files, CHANGES.md) - Prerequisite: Phase 3 complete (CODEMAP exists) </workflow_context> <phase_steps> 1. Read state and CODEMAP 2. Acq...
<init_workspace_flow_patterns>
<description_and_purpose> Extract recurring code structures into explicit reusable pattern templates. Without them, agents reinvent conventions per task. Proof: docs/PATTERNS/ contains INDEX.md, per-module files, and CHANGES.md referenced by downstream coding tasks. </description_and_purpose>
<workflow_context>
<phase_steps>
<read_state step="5.1">
agents/init-workspace-flow-state.md<acquire_skills step="5.2">
init-workspace-patterns/SKILL.md FROM KB
</acquire_skills><execute_extraction step="5.3" subagent="built-in" role="Senior pattern analyst extracting reusable conventions" subagent_recommended_model="claude-sonnet-4-6, gpt-5.4-medium, gemini-3.1-pro-preview">
init-workspace-patterns<update_state step="5.4">
agents/init-workspace-flow-state.md<validation_checklist>
</init_workspace_flow_patterns>
npx claudepluginhub griddynamics/rosetta --plugin rosetta/neo-patternExtracts reusable architectural patterns from specified code areas or types, analyzes effectiveness and consistency, searches memory for similars, suggests improvements with confidence scores.
/workflowIdentifies top example files for a specified design pattern in the codebase, analyzes implementations, extracts conventions, and provides guidance. Supports --brief and --full modes.
/discover-patternsAnalyzes specified codebase path or scope to discover patterns, anti-patterns, code smells, and refactoring opportunities, producing a catalog and roadmap.
/map-codebaseSurveys project and generates missing CLAUDE.md, ARCHITECTURE.md, CODE-PATTERNS.md for SoloFlow agent shared context. Idempotent; supports skip flags.
/design-patternsAnalyzes target codebase or feature for architectural debt, detects anti-patterns, recommends design patterns (GoF, SOLID, Clean Arch, DDD, CQRS), and generates refactored code with migration plan.
/code-analysisAnalyzes existing codebase for <feature-name> [--auto] to extract patterns, interfaces, flows, and conventions.