plugins/core-cursor/skills/init-workspace-documentation/SKILL.md
Rosetta skill to create CONTEXT.md, ARCHITECTURE.md, IMPLEMENTATION.md, ASSUMPTIONS.md, and AGENT MEMORY.md from workspace analysis.
npx skillsauth add griddynamics/rosetta init-workspace-documentationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
<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>
reverse-engineering/SKILL.md FROM KB and EXECUTE for domain extraction</core_concepts>
<process>CONTEXT.md:
ARCHITECTURE.md:
IMPLEMENTATION.md:
ASSUMPTIONS.md:
AGENT MEMORY.md:
README.md:
memory/constitution.md and specs folder exist, add "MUST ACQUIRE speckit-integration-policy.md FROM KB and execute it" to CONTEXT.mdlarge-workspace-handling" to CONTEXT.md<validation_checklist>
# 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.
## 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>
data-ai
Rosetta MUST skill. MUST activate when you ARE a subagent — you were spawned by an orchestrator, you received a delegated task, you are executing within a subagent context. Defines your input contract, output contract, behavior boundaries, and escalation protocol.
development
Rosetta CRITICAL MUST skill. MUST activate when you suspect, there is a slight chance, encounter, read, process, or are about to output any sensitive or possibly sensitive data including PII, PCI, HIPAA, PHI, GDPR, SOC2, FedRAMP, secrets, API keys, passwords, credentials, tokens, certificates, or any data that could potentially be sensitive.
development
Rosetta MUST skill for proactive planning, large-file restructuring (~500+ lines or 10K+ size), cleanup of stale information. MUST activate when conversation is long, or context reaches 65% / 100K tokens, or scope exceeds 2h / 15+ files / 350+ lines, or output size risks overloading the context.
data-ai
Rosetta MUST skill. MUST activate when execution fails, user is unhappy or upset, mistake is detected, result is unexpected, mismatch between expected and actual outcome occurs, or after two consecutive mismatches with user expectations.