init-workspace-discovery

Rosetta skill to produce TECHSTACK, CODEMAP, DEPENDENCIES from workspace analysis.

8 stars

Best use case

init-workspace-discovery is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Rosetta skill to produce TECHSTACK, CODEMAP, DEPENDENCIES from workspace analysis.

Teams using init-workspace-discovery should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/init-workspace-discovery/SKILL.md --create-dirs "https://raw.githubusercontent.com/griddynamics/rosetta/main/instructions/r2/core/skills/init-workspace-discovery/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/init-workspace-discovery/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How init-workspace-discovery Compares

Feature / Agentinit-workspace-discoveryStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Rosetta skill to produce TECHSTACK, CODEMAP, DEPENDENCIES from workspace analysis.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

<init_workspace_discovery>

<role>
Senior workspace cartographer — fast, factual technical inventory.
</role>

<when_to_use_skill>

Without factual inventory of tech stack, structure, and dependencies, subsequent phases operate blind. Use during workspace initialization or when TECHSTACK, CODEMAP, or DEPENDENCIES are missing or stale.

</when_to_use_skill>

<process>

1. All Rosetta prep steps MUST be FULLY completed, load-context skill loaded and fully executed
2. Read existing TECHSTACK, CODEMAP, DEPENDENCIES — update if present, create if missing
3. Detect languages, frameworks, build tools, package managers, runtime environments → write TECHSTACK
4. Existing documentation may be stale or incomplete, prioritize source code artifacts over pre-existing documents
5. Generate CODEMAP via shell commands (no pseudo graphics), 3-4 levels deep
   - Perform basic discovery yourself with few commands
   - Enumerate git repositories yourself
   - Markdown headers = workspace-relative path + recursive children count + <10 words description
   - List only immediate children files and only with file names
   - List target repository source code, static assets, and documentation files based on tech stack
   - Exclude noise/caches/build/binary files, files excluded by .gitignore
   - Implement as a single shell script in `agents/TEMP/` folder
   - Use `git ls-files --cached --others --exclude-standard` in each repository or fallback to find/ls/etc with filters
6. List direct dependencies (project, package, version) → write DEPENDENCIES
7. Preserve human-added sections in existing files
8. Update (or create only if missing) .gitignore in git root folder by adding lines according to bootstrap_rosetta_files
   Minimal set must be present:
   ```
   ...
   # Rosetta
   agents/TEMP/
   refsrc/
   !refsrc/INDEX.md
   ```

</process>

<files>

# DEPENDENCIES.md

- MUST create, use, and maintain flat list of direct project dependencies (project, package, version)

# TECHSTACK.md

- MUST create, use, and maintain project stack and key stack decisions

# CODEMAP.md

- MUST create, use, and maintain list folders and files within the code base
- Contains 3-4 levels deep folder structure
- Markdown headers = workspace-relative path + recursive children count + <10 words description
- Lists only immediate children files and only with file names

</files>

<pitfalls>

- Keep only current state — no deltas, no changelogs, no update reasons, no changes explanations, no summaries, the shorter the better.

</pitfalls>

<references>

Example scripts provided (think if you want to use it, as those are very large, 20K each, use ACQUIRE FROM KB command to load):

- `init-workspace-discovery/scripts/codemap.ps1.txt` 
- `init-workspace-discovery/scripts/codemap.sh.txt` 

NOTE: `.txt` extension is added to avoid execution or treating as executable.

</references>

</init_workspace_discovery>

Related Skills

large-workspace-handling

8
from griddynamics/rosetta

Rosetta skill to partition large workspaces or folders (100+ files recursively) into scoped subagent tasks when single-agent context is insufficient.

init-workspace-verification

8
from griddynamics/rosetta

Rosetta skill to verify workspace initialization completeness and run catch-up for missed artifacts.

init-workspace-shells

8
from griddynamics/rosetta

Rosetta skill to generate IDE/CodingAgent shell files from KB schemas.

init-workspace-rules

8
from griddynamics/rosetta

Rosetta skill to create local cached agent rules configured for IDE/OS/project context.

init-workspace-patterns

8
from griddynamics/rosetta

Rosetta skill to extract recurring coding and architectural patterns from workspace code into reusable templates.

init-workspace-documentation

8
from griddynamics/rosetta

Rosetta skill to create CONTEXT.md, ARCHITECTURE.md, IMPLEMENTATION.md, ASSUMPTIONS.md, and AGENT MEMORY.md from workspace analysis.

init-workspace-context

8
from griddynamics/rosetta

Rosetta skill to classify workspace initialization mode and build existing file inventory.

operation-manager

8
from griddynamics/rosetta

Rosetta skill for reliable execution: plan creation, tracking, and execution coordination via local JSON files.

load-workflow

8
from griddynamics/rosetta

Rosetta MUST skill to select, load, and activate the best-matching workflow for the current request, inject its phases into the execution plan, and restore state when resuming.

load-context-instructions

8
from griddynamics/rosetta

Detect active execution mode and load Rosetta bootstrap instructions accordingly.

gitnexus-setup

8
from griddynamics/rosetta

Use when directly requested to install GitNexus.

gitnexus-cli

8
from griddynamics/rosetta

GitNexus CLI reference for npx commands — analyze, status, clean, wiki, list — with flags, effects, and when to run each.