ThisIsSadeghi/KMPilot
Turn Claude Code into a design-first Kotlin Multiplatform pipeline — an Android + iOS feature from one prompt, with architecture that doesn't drift. MIT.
ARCHETYPE
Orchestrator
A bench of specialised subagents. The main agent mostly delegates.
Copy this rig
# review before running: this installs third-party code
$ npx degit ThisIsSadeghi/KMPilot/.claude ./rig-kmpilot # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit ThisIsSadeghi/KMPilot/.claude/skills/bridge-swift .claude/skills/bridge-swift $ npx degit ThisIsSadeghi/KMPilot/.claude/skills/create-feature .claude/skills/create-feature $ npx degit ThisIsSadeghi/KMPilot/.claude/skills/design-ui .claude/skills/design-ui $ npx degit ThisIsSadeghi/KMPilot/.claude/skills/modify-feature .claude/skills/modify-feature $ npx degit ThisIsSadeghi/KMPilot/.claude/skills/using-design-system .claude/skills/using-design-system $ npx degit ThisIsSadeghi/KMPilot/.claude/skills/verify-ui .claude/skills/verify-ui
$ curl -fsSL --create-dirs -o .claude/agents/common.md https://raw.githubusercontent.com/ThisIsSadeghi/KMPilot/main/.claude/agents/_base/common.md $ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/ThisIsSadeghi/KMPilot/main/.claude/agents/code-quality/code-reviewer.md $ curl -fsSL --create-dirs -o .claude/agents/data-layer.md https://raw.githubusercontent.com/ThisIsSadeghi/KMPilot/main/.claude/agents/feature-development/data-layer.md $ curl -fsSL --create-dirs -o .claude/agents/integrator.md https://raw.githubusercontent.com/ThisIsSadeghi/KMPilot/main/.claude/agents/feature-development/integrator.md $ curl -fsSL --create-dirs -o .claude/agents/platform.md https://raw.githubusercontent.com/ThisIsSadeghi/KMPilot/main/.claude/agents/feature-development/platform.md $ curl -fsSL --create-dirs -o .claude/agents/ui-layer.md https://raw.githubusercontent.com/ThisIsSadeghi/KMPilot/main/.claude/agents/feature-development/ui-layer.md $ curl -fsSL --create-dirs -o .claude/agents/test-datasource.md https://raw.githubusercontent.com/ThisIsSadeghi/KMPilot/main/.claude/agents/feature-testing/test-datasource.md $ curl -fsSL --create-dirs -o .claude/agents/test-fixtures.md https://raw.githubusercontent.com/ThisIsSadeghi/KMPilot/main/.claude/agents/feature-testing/test-fixtures.md $ curl -fsSL --create-dirs -o .claude/agents/test-integration.md https://raw.githubusercontent.com/ThisIsSadeghi/KMPilot/main/.claude/agents/feature-testing/test-integration.md $ curl -fsSL --create-dirs -o .claude/agents/test-repository.md https://raw.githubusercontent.com/ThisIsSadeghi/KMPilot/main/.claude/agents/feature-testing/test-repository.md $ curl -fsSL --create-dirs -o .claude/agents/test-ui.md https://raw.githubusercontent.com/ThisIsSadeghi/KMPilot/main/.claude/agents/feature-testing/test-ui.md $ curl -fsSL --create-dirs -o .claude/agents/test-viewmodel.md https://raw.githubusercontent.com/ThisIsSadeghi/KMPilot/main/.claude/agents/feature-testing/test-viewmodel.md
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"hooks": {
"PreToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/protect-feature-files.sh"
}
]
}
]
}
} Skills (6)
Subagents (12)
| common | — |
| code-reviewer model: sonnet | Expert KMP feature reviewer. Reviews against Clean Architecture, 14 critical rules, 4 integration points. Accepts feature name as input. |
| data-layer model: sonnet | Specialized agent for implementing KMP feature data layers (models, DataSource, Repository, Ktor Resources). Focuses on Clean Architecture data layer patterns. |
| integrator model: sonnet | Specialized agent for integrating KMP features into the app (DI modules, navigation wiring, gradle configuration). Completes the 4 required integration points. |
| platform model: sonnet | Specialized agent for implementing the platform-capability layer of KMP features (device APIs like GPS/camera/BLE/biometrics behind a commonMain DataSource interface + per-platform expect/actual impls |
| ui-layer model: sonnet | Specialized agent for implementing KMP feature UI layers (UiModel, ViewModel, Screen composables, Navigation). Focuses on Jetpack Compose with X-components design system. |
| test-datasource model: sonnet | Generates DataSource tests using MockEngine. |
| test-fixtures model: sonnet | Generates test fixtures from a provided model path. |
| test-integration model: sonnet | Generates E2E Integration tests (MockEngine -> ViewModel). |
| test-repository model: sonnet | Generates Repository tests using Mokkery. |
| test-ui model: sonnet | Generates Compose UI tests. |
| test-viewmodel model: sonnet | Generates ViewModel tests using Turbine for Flow testing. |
Hooks (2)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Edit|Write | "$CLAUDE_PROJECT_DIR"/.claude/hooks/protect-feature-files.sh |
| SessionStart | compact | "$CLAUDE_PROJECT_DIR"/.claude/hooks/reinject-on-compact.sh |
Slash commands (5)
/audit-spec/coverage/health-report/review-feature/test-feature
Similar rigs
AizenvoltPrime/claude-setup
—
Pragmatist 1.2k tok ·
IvanKuzyshyn/dotfiles
Dotfiles optimized for speed, coffee, and questionable life choices. 😜
Pragmatist 3.0k tok ·
HGInsights/claude-code-setup
Production-tested Claude Code harness configuration: hooks, skills, subagents, and automated review loops
Pragmatist 1.9k tok ·
stavrespasov/claude-code-os-lite
A free, installable starter setup for Claude Code: 10 workflow commands, 2 agents, and the hook that ends --no-verify commits. MIT.
Pragmatist 101 tok ·