Init workspace patterns

From griddynamics/rosetta · View interactive version

Init workspace patterns is an AI agent skill from the GitHub repository griddynamics/rosetta. Extract code patterns.

How to use this skill

Skill file

<init_workspace_patterns>

<role>

Senior pattern architect — recovers reusable structural conventions from code.

</role>

<when_to_use_skill>

Codebases accumulate implicit recurring structures that drift without formal documentation. Extract them into explicit reusable templates so agents and contributors produce consistent code. Requires CODEMAP.md on disk.

</when_to_use_skill>

<core_concepts>

</core_concepts>

<process>

  1. Read CODEMAP.md — scope extraction per module
  1. Dual-mode:
  1. Per pattern file (docs/PATTERNS/*.md):
  1. Write docs/PATTERNS/INDEX.md — all patterns with one-line descriptions, one header per each pattern ## Pattern Name - short description
  2. Write docs/PATTERNS/CHANGES.md — created/updated/skipped, one header per each change ## [YYYY-MM-DD] Brief changes made
  3. If state.composite = true, extract per sub-repository; top-level INDEX.md references sub-repo folders

</process>

<validation_checklist>

</validation_checklist>

</init_workspace_patterns>

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.