ワンクリックで
onboard
Project setup - scan codebase, create Cal structure, generate or improve CLAUDE.md
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Project setup - scan codebase, create Cal structure, generate or improve CLAUDE.md
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
SwiftUI iOS/macOS 27 delta reference (WWDC 2026) — Apple-authored references vendored from Xcode 27's exported agent skills, plus Cal SDK-verified extras. Use for any SwiftUI work targeting SDK 27. Use when a SwiftUI view using @State fails to compile with "used before being initialized", "invalid redeclaration of synthesized property", or "extraneous argument label" errors after an SDK update (@State became a macro in SDK 27 — the obvious fix of reordering init assignments is WRONG; consult references/state-macro.md first); when @ViewBuilder/@ContentBuilder code hits ambiguous overloads in overlay/background or type-check regressions; when adding drag-to-reorder to any container via reorderable()/reorderContainer; when working with AsyncImage caching or AsyncImage(request:); when adding swipe actions to rows outside List via swipeActionsContainer(); when controlling toolbar overflow (visibilityPriority, ToolbarOverflowMenu, toolbarMinimizeBehavior); when presenting alert/confirmationDialog from an optional i
iOS/macOS/iPadOS 27 framework reference (WWDC 2026). Corrects stale model knowledge about App Intents, App Schemas, Foundation Models, and Siri AI. Invoke when building or reviewing iOS 27 / WWDC 2026 features, or when a model assumes iOS 26 / SiriKit is current.
Apple Liquid Glass (iOS 26, refined in 27) design system reference. Invoke when building UI, reviewing visual design, or implementing glass effects, background extension, tab bar minimize, typography, spacing, animations, or accessibility.
Advance the pipeline - find and execute next step
Scan codebase for small code hygiene wins — TODOs, dead code, naming issues. General-purpose tool for any project.
Context preservation - route learnings to cal.md (permanent) or memories/ (ephemeral)
| name | onboard |
| description | Project setup - scan codebase, create Cal structure, generate or improve CLAUDE.md |
Purpose: Set up Cal for a new project or improve an existing setup.
Glob for common patterns to understand the project:
package.json → Node.js/JavaScript
tsconfig.json → TypeScript
Cargo.toml → Rust
pyproject.toml → Python
go.mod → Go
Package.swift → Swift
next.config.js → Next.js
vite.config.ts → Vite
supabase/ → Supabase
prisma/ → Prisma
Report what was detected:
## Codebase Overview
**Languages:** [detected]
**Frameworks:** [detected]
**Database:** [detected]
**Structure:** [key directories]
If CLAUDE.md does not exist: Generate an optimized CLAUDE.md with:
If CLAUDE.md exists: Scan it and suggest improvements:
Present suggestions to user for approval. Do not overwrite without confirmation.
Produce docs/ARCHITECTURE.md — module boundaries, key abstractions, and data flow.
Process:
Output format:
# Architecture Map
## Modules
| Module | Purpose | Key Files |
|--------|---------|-----------|
| [name] | [what it does] | [paths] |
## Data Flow
[description or ASCII diagram showing how data moves between modules]
## Integration Points
| System | Purpose | Location |
|--------|---------|----------|
| [name] | [why] | [where in code] |
Overwrites existing file if present (codebase is source of truth).
Produce docs/GLOSSARY.md — domain terms mapped to code locations.
Process:
Output format:
# Domain Glossary
| Term | Definition | Code Location | Related |
|------|-----------|---------------|---------|
| [term] | [what it means in this domain] | [file:line] | [related terms] |
Overwrites existing file if present.
Produce docs/DEPENDENCIES.md — external dependencies with purpose.
Process:
Package.swift, package.json, Podfile, Cargo.toml, pyproject.toml, go.mod, GemfileOutput format:
# Dependencies
| Dependency | Version | Purpose | License |
|-----------|---------|---------|---------|
| [name] | [version] | [what it's used for] | [if known] |
Overwrites existing file if present.
Create the cal/ directory if it doesn't exist:
cal/
├── cal.md # Permanent learnings journal
├── agents.md # Team roster
├── analysis.md # Analysis mode protocols
├── memories/ # Ephemeral session context
├── OOD.md # Code principles
├── DESIGN.md # Visual design system
├── PREFERENCES.md # Infrastructure stack
└── analyses/ # Analysis journals
Only create files that don't already exist. Never overwrite existing cal/ files.
Also create:
ideas/
└── hopper.md # Idea parking lot (unstructured)
Create .claude/rules/ with Cal behavioral rules if they don't exist:
coordinator.md — Dispatch behavior + approval gatestone-awareness.md — Frustration/joy detectionsquirrel.md — Drift/scope creep detectiondelta.md — Wrong assumption detectionCreate .claude/agents/ with default team if they don't exist:
coder.md — Implementation agent (Sonnet)reviewer.md — Code review agent (Opus)architect.md — Architecture advisor (Opus)Based on detected patterns:
| Pattern Detected | Agent Suggested | Why |
|---|---|---|
| TypeScript | typescript-checker | Type verification |
| Supabase | supabase-validator | RLS and schema validation |
| Large codebase | atomizer | Extraction and size limits |
| Security-sensitive | security-auditor | Security scanning |
Create the two tracking boards on the repo's GitHub Project:
scripts/gh-board.sh ensure-boards
This creates:
If boards already exist, this is a no-op. If gh CLI is not authenticated or no remote exists, warn and skip — boards are optional for Cal to function.
Report board status:
Boards: created Epics, Features (new)Boards: already exist (idempotent)Boards: skipped (gh not configured) (graceful failure)Offer to set up a user profile at ~/.claude/cal/USER-PROFILE.md:
Running /cal:onboard again:
After onboarding:
## Onboarding Complete
**Project:** [name]
**Stack:** [detected]
**Created:** [list of new files]
**CLAUDE.md:** [generated / improved / unchanged]
**Architecture Map:** [generated / updated]
**Domain Glossary:** [generated / updated]
**Dependencies:** [generated / updated]
**Agents:** [list]
**Boards:** [created / already exist / skipped]
**Next:** Run /cal:next to start working