adhoc-flow
Workflow for the rest of tasks: lightweight documentation, build, track, synchronize, etc.
Workflow for onboarding an external private library so AI can use it without source access.
> /plugin marketplace add griddynamics/rosetta > /plugin install rosetta@rosetta
How it fires
How this command gets triggered: by you, by Claude, or both.
/external-lib-flowContext preview
What this command does when you run it.
Workflow for onboarding an external private library so AI can use it without source access.
name: external-lib-flow description: "Workflow for onboarding an external private library so AI can use it without source access." tags: ["workflow"] baseSchema: docs/schemas/workflow.md
1. File: `{project-name}.xml` (compressed codebase, unmodified Repomix output) 2. File: `{project-name}-onboarding.md` (brief Learning Flow with reference)
**Phase 0: Prerequsites** 1. All Rosetta prep steps MUST be FULLY completed 2. USE SKILL `load-project-context`, `orchestration`, `hitl` 3. MUST ALWAYS use todo tasks ledger, ASAP. Phases are sequential. Independent tasks can run in parallel.
**Phase 1: Discovery** 1. Ask project path 2. Auto-detect project name 3. Auto-detect version number 4. Auto-detect tech stack
**Phase 2: Analysis** 1. Package with compression enabled 2. Analyze README for usage 3. Extract main entry points 4. Generate Learning Flow summary
**Phase 3: Publishing** 1. Upload compressed XML as-is 2. Create brief onboarding document 4. Confirm both document IDs 5. Cleanup temporary files
**Phase 4: Verification** 1. Search by project name 2. Verify tags present 3. Display Learning Flow 4. Confirm AI onboarded
Make sure to have todo tasks for each step! Do not skip steps!
Ask or confirm user for project path with helpful suggestions. Auto-detect all metadata from project files to minimize user questions.
1. Ask user: "What project path to onboard?"
2. Validate path exists and is accessible 3. Auto-detect project name:
4. Auto-detect version:
5. Auto-detect tech stack:
6. Inform user of detected metadata: "{project-name} v{version}, tech: {tags}"
Use Repomix to package codebase with compression enabled (Tree-sitter). Generate Learning Flow summary by analyzing README and project structure. Keep XML small and focused on usage understanding. Make sure to exclude any tests projects or demo projects, to keep only the target project.
1. Use `mcp_repomix_pack_codebase` (or repomix cli):
2. Read project README if exists:
3. Identify main entry points:
4. Generate Learning Flow structure (3-5 words per point):
5. Format Learning Flow as Markdown using example below:
# {Project Name} Onboarding
**File**: {project-name}.xml
## Learning Flow
### Phase 1: Setup
- Install dependencies
- Configure environment
### Phase 2: Usage
- Start development server
- Run tests
### Phase 3: Key Components
- API Routes: FastAPI
- Database: PostgreSQL6. If README not found or Learning Flow extraction fails:
Repo: griddynamics/rosetta
Workflow for the rest of tasks: lightweight documentation, build, track, synchronize, etc.
Phase 6 Execution & Report Analysis of api-aqa-flow (USER INTERACTION REQUIRED)
Phase 3 Gap & Requirements Clarification of api-aqa-flow (USER INTERACTION REQUIRED)
Phase 0 Project Config Loading of api-aqa-flow (USER INTERACTION CONDITIONALLY REQUIRED)