init-workspace-context
FeaturedClassify workspace mode.
AI & Automation 324 stars
60 forks Updated 2 days ago Apache-2.0
Install
Quality Score: 93/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
<init_workspace_context>
<role>
Workspace initialization classifier — fast, precise, zero-waste.
</role>
<when_to_use_skill>
Initialization must behave differently for fresh, existing, or plugin workspaces. Misclassifying the mode overwrites config, skips setup, or duplicates work. First skill in the init flow — runs before all others. Also generates or updates `gain.json` with SDLC tooling configuration collected from the user.
</when_to_use_skill>
<core_concepts>
- All Rosetta prep steps MUST be FULLY completed, load-context skill loaded and fully executed
- Three modes: install (no files per `bootstrap_rosetta_files`), upgrade (some files per `bootstrap_rosetta_files` exist), plugin (LLM context already contains "RUNNING AS A PLUGIN")
- `gain.json` is the single source of truth for SDLC tooling; it wins in conflicts with other files
</core_concepts>
<process>
1. Check existing LLM context for "RUNNING AS A PLUGIN": If already there → set mode = plugin
2. If not plugin, scan workspace for existing files per `bootstrap_rosetta_files`
3. Any found → mode = upgrade; none �� mode = install
4. Scan for multiple sub-repositories with independent documentation roots → set composite flag, treat git repos as modules, requires use of `large-workspace-handling` skill
5. Build file inventory: path and status for each file per `bootstrap_rosetta_files`
6. Generate or update repository root `gain.json` — follow the `gain_json_generation` section below
7. Return: mode (install|upgrade...
Details
- Author
- griddynamics
- Repository
- griddynamics/rosetta
- Created
- 5 months ago
- Last Updated
- 2 days ago
- Language
- TypeScript
- License
- Apache-2.0
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Featured
init-workspace-documentation
Generate workspace docs.
324 Updated 2 days ago
griddynamics AI & Automation Featured
init-workspace-verification
Verify init completeness.
324 Updated 2 days ago
griddynamics AI & Automation Featured
init-workspace-discovery
Discover tech stack.
324 Updated 2 days ago
griddynamics