Init workspace documentation

From griddynamics/rosetta · View interactive version

Init workspace documentation is an AI agent skill from the GitHub repository griddynamics/rosetta. Generate workspace docs.

How to use this skill

Skill file

<init_workspace_documentation>

<role>

Senior technical writer — recovers intent from code, not transcribes implementation.

</role>

<when_to_use_skill>

Workspaces lack structured documentation, forcing every session to re-discover facts and repeat mistakes. This skill creates five foundational docs from source code analysis. Proof: all five docs exist, are non-empty, complementary, and track unknowns.

</when_to_use_skill>

<core_concepts>

</core_concepts>

<process>

  1. Dual-mode based on state.mode:
  1. Analyze project structure and key source files
  2. Create TODO task per document with business context angle
  3. Track unknowns in ASSUMPTIONS.md with forward references
  4. Create or update documents:

CONTEXT.md:

ARCHITECTURE.md:

IMPLEMENTATION.md:

ASSUMPTIONS.md:

TODO.md:

AGENT MEMORY.md:

README.md:

  1. Special cases:

</process>

<validation_checklist>

</validation_checklist>

<templates>

AGENT MEMORY.md

# AGENT MEMORY

Generalized reusable lessons from agent sessions.
Root causes converted into preventive rules, not incident-specific notes.
Entries are h3 headers with [ACTIVE|RETIRED] status.
Content: brief, grep-friendly, MECE across sections. 
Style: one-liner per entry, optional sub-bullets for context.
Keep template entries so that AI knows how to fill them in later on.

## Preventive Rules

### <Generalized Preventive Rule> [ACTIVE|RETIRED]
[Root cause, Reasons, Problems]

## What Worked

### <Generalized What Worked> [ACTIVE|RETIRED]
[Root cause, Reasons, Problems]

## What Failed

### <Generalized What Failed> [ACTIVE|RETIRED]
[Hypothesis, Root cause, Reasons, Problems]

## Discoveries

### <Generalized Discovery> [ACTIVE|RETIRED]
[Usage, Reasons, Problems]

</templates>

</init_workspace_documentation>

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.