원클릭으로
onboard
Analyze project and save context as Cortex memories (stack, architecture, database, testing)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Analyze project and save context as Cortex memories (stack, architecture, database, testing)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Merge PR and move Cortex task to done
Create PR and move Cortex task to review
Start working on a task - creates branch, enters worktree and moves to progress
Start a brainstorming session to explore ideas before committing to a plan. Use when the solution isn't clear, there are multiple approaches, or you need to explore trade-offs.
Use this skill for ALL coding work. Enforces task tracking, memory usage, and proper workflow using Cortex MCP tools. MUST be used when implementing features, fixing bugs, or any development work.
Execute the 3-agent workflow (research → implement → verify) for coding tasks. Use for ALL feature implementations, bug fixes, and code changes. Spawns autonomous agents that research, implement, and verify changes.
| name | onboard |
| description | Analyze project and save context as Cortex memories (stack, architecture, database, testing) |
Analyze the current project and save comprehensive context as Cortex memories.
$ARGUMENTS
--refresh: Update existing memories instead of creating new ones--only <type>: Analyze only specific aspect (stack, architecture, database, testing)--dry-run: Show what would be saved without actually savingAnalyze this project and generate memories for each aspect below. Use the tools available to explore the codebase.
Check for these files to identify the stack:
| File | Stack |
|---|---|
go.mod | Go |
mix.exs | Elixir |
package.json | Node.js |
requirements.txt / pyproject.toml | Python |
Cargo.toml | Rust |
Gemfile | Ruby |
implementation:project:stack)Gather:
Save as:
mcp__cortex__memory(action="save",
type="implementation",
title="project:stack",
content="..."
)
architecture:project:structure)Gather:
Save as:
mcp__cortex__memory(action="save",
type="architecture",
title="project:structure",
content="..."
)
implementation:project:database)If database exists, gather:
Detection by stack:
priv/repo/migrations/, lib/**/schemas/gorm: tagsprisma/schema.prisma**/entities/*.tsdb/schema.rb*/models.py.db filesSave as:
mcp__cortex__memory(action="save",
type="implementation",
title="project:database",
content="..."
)
testing:project:testing)Gather:
Save as:
mcp__cortex__memory(action="save",
type="testing",
title="project:testing",
content="..."
)
context:project:overview)Create a summary with:
Save as:
mcp__cortex__memory(action="save",
type="context",
title="project:overview",
content="..."
)
# Stack: [Language] [Version]
## Framework
[Framework name and version]
## Package Manager
[npm/go mod/mix/pip/cargo]
## Key Dependencies
- [dep1]: [purpose]
- [dep2]: [purpose]
...
## Build Commands
- Build: `[command]`
- Run: `[command]`
- Install deps: `[command]`
# Architecture: [Pattern Name]
## Directory Structure
[tree output, 2-3 levels]
## Layers/Modules
- [layer1]: [purpose]
- [layer2]: [purpose]
## Entry Points
- [file]: [description]
# Database: [Type] + [ORM]
## Connection
- Config: [file path]
- Repo/Connection: [module/class name]
## Schema Overview ([N] tables)
### [Entity Group 1]
- table1 (field1, field2, field3)
- FK: field_id -> other_table
- table2 (...)
### [Entity Group 2]
...
## Relationships
[ASCII diagram or description]
## Key Indexes
- table.field (unique/index)
...
## Commands
- Migrate: `[command]`
- Rollback: `[command]`
- Create migration: `[command]`
# Testing: [Framework]
## Location
- Tests: [path pattern]
- Fixtures: [path]
- Mocks: [path or approach]
## Commands
- Run all: `[command]`
- Run single: `[command]`
- With coverage: `[command]`
## CI/CD
- Platform: [GitHub Actions/GitLab CI/etc]
- Config: [file path]
# [Project Name]
[One paragraph description]
## Stack
- Language: [lang] [version]
- Framework: [framework]
- Database: [db]
## Quick Start
```bash
[clone]
[install]
[run]
[cmd1]: [description][cmd2]: [description]
### Step 4: Output
After saving memories, show:
🔍 Analisando projeto...
📁 Detectado: Linguagem: [lang] [version] Framework: [framework] Banco: [database]
💾 Memórias salvas: ✓ context:project:overview ✓ architecture:project:structure ✓ implementation:project:stack ✓ implementation:project:database (se existir) ✓ testing:project:testing
🎉 Onboarding completo! O Claude Code agora conhece seu projeto.
Dica: Use "cx memory search 'como testar'" para verificar.
### Step 5: Handle Flags
**If `--refresh`:**
- Check existing memories with `mcp__cortex__memory(action="list")`
- Update content instead of creating duplicates
**If `--only <type>`:**
- Only analyze and save the specified aspect
- Valid types: stack, architecture, database, testing, overview
**If `--dry-run`:**
- Show what would be saved
- Do NOT call `mcp__cortex__memory(action="save")`
- Format output as preview
## Notes
- Be thorough but concise in memory content
- Focus on information useful for coding tasks
- Include actual file paths and commands
- For database, prioritize understanding relationships
- Adapt to the specific stack found