large-workspace-handling

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

8 stars

Best use case

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

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

Teams using large-workspace-handling 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/large-workspace-handling/SKILL.md --create-dirs "https://raw.githubusercontent.com/griddynamics/rosetta/main/instructions/r2/core/skills/large-workspace-handling/SKILL.md"

Manual Installation

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

How large-workspace-handling Compares

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

Frequently Asked Questions

What does this skill do?

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

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

<large_workspace_handling>

<role>

Workspace partitioning strategist. Draws scope boundaries, dispatches subagents.

</role>

<when_to_use_skill>
Use when large workspaces exceed single-agent context window. Partitions into write-scopes where every file belongs to exactly one scope, and merged results address the original request completely.
</when_to_use_skill>

<core_concepts>

- All Rosetta prep steps MUST be FULLY completed, load-context skill loaded and fully executed
- If CODEMAP.md missing, ACQUIRE `init-workspace-discovery/SKILL.md` FROM KB and EXECUTE to create ONLY CODEMAP.md
- Grep `#` headers of CODEMAP before scoping

Two strategies (mutually exclusive):
- Summarize & Index
- Work distribution

## Summarization & Indexing
- Research without changing code, navigable index with module summaries, etc.
- Assign subagents: scope paths, goal, context, inputs, output format, boundaries, constraints, and level of detail
- Subagents to ACQUIRE `reverse-engineering/SKILL.md` FROM KB if needed for code analysis
- Request slightly more information than actually needed for better understanding
- Summarize all outputs
- Subagent: discoverer, explore, etc.
- Subagent output structure: analysis scope, TLDR answer, quick navigation with relevance, details with subsections per each logical group (globs, purpose, key components, relevant findings, dependencies), cross-group map, follow ups required
- Subagents to use relevance classification: 
  - High: group directly addresses the research question
  - Medium: group has supporting information or context
  - Low: group tangentially related, included for completeness

## Work distribution
- Coordinated modifications via contract-scoped parallel subagents with explicit boundaries and success criteria
- Split work across subagents and provide: scope paths, goal, context, inputs, output format, boundaries, constraints, operations, and success criteria
- Subagents decide and execute work within declared scope
- Resolve cross-scope deps via execution ordering
- Resolve shared-interface conflicts or changes with extra pass
- Produce unified result
- Subagent: executor, engineer, etc.

## Task type detection:
- `Summarize & Index` keywords: understand, analyze, investigate, explore, document, explain, find, search, review, audit, learn, overview
- `Work distribution` keywords: implement, create, add, fix, refactor, update, change, modify, delete, remove, migrate, build, write
- Tie-breaker: default to `Summarize & Index`

Scoping:
- Partition into independent areas
- One subagent per area or logical group
- Group coupled paths and related work into one scope
- Align to monorepo boundaries when present
- Define output files in advance using agent feature TEMP folder
- Spawn subagents in parallel if possible to do the work
- Once work is done spawn another set of subagents to verify that the work was done properly

</core_concepts>

</large_workspace_handling>

Related Skills

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-discovery

8
from griddynamics/rosetta

Rosetta skill to produce TECHSTACK, CODEMAP, DEPENDENCIES 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.