55 of 85 role skill bindings pointed at skills that were never authored,
so 10 of 11 team templates bound a smaller context bundle than their role
prompts assumed. Three roles bound nothing at all (gpu.bench_engineer,
threejs.shader_author, threejs.perf_engineer) while their prompts described
procedures they had no way to read.
The loader comment at team_template_loader.rs:167 already diagnosed this —
snake_case slugs in TOML against kebab-case skill files — and it was
half-fixed: the kebab names were corrected, the snake_case ones left.
It was invisible because both existing tests assert authored ⊆ referenced
(30/30, green) and the second explicitly declines to check the other
direction. So the failing half was the half nobody asserted.
Resolved every name by one of three explicit choices:
- 23 skills authored where the role genuinely needed the procedure
(gpu, threejs, research, analysis, frontend, mobile, backend, platform)
- renames onto authored skills where one existed in substance, including
the four-near-duplicate cases that collapse onto one real skill
- 22 aspirational references deleted — a binding an agent cannot read is
a promise, not a capability
Two tests now hold it. The unit test checks referenced ⊆ authored against
the files. The new integration test runs both loaders in boot order and
asserts the bindings survive the trip through the database, which is a
different question: resolution goes through skills_catalog rows, so a skill
file that exists but fails to ingest still leaves the role empty.
Negative controls: the unit test failed naming all 55; the integration test
fails naming the exact role when one name is reverted.
threejs.shader_author and .perf_engineer gained a second and third skill
after the collapse — pin_in_context pins idx < 2, so a role left with one
skill silently pins less than the policy intends.
Co-Authored-By: Claude Opus 5 <[email protected]>
68 lines
2.2 KiB
TOML
68 lines
2.2 KiB
TOML
key = "mobile"
|
||
name = "Mobile"
|
||
description = "Expo + React Native for iOS/Android — camera, comms, networking, native modules."
|
||
stack = ["typescript", "react-native", "expo", "ios", "android"]
|
||
default_topology = "pipeline"
|
||
risk_profile = "coding_readwrite"
|
||
mcp_bundles = ["clawmates_door", "gitea_forge"]
|
||
version = 1
|
||
|
||
[[roles]]
|
||
slot = "designer"
|
||
order_idx = 0
|
||
skills = ["decompose-int-items", "mobile-platform-conventions"]
|
||
system_prompt = """
|
||
You are the DESIGNER of a Mobile team.
|
||
|
||
For each INT item: define the screen's state model, navigation
|
||
integration, platform-specific behavior (safe-area on iOS, back-button
|
||
on Android), and any native-module permissions required.
|
||
"""
|
||
brain_seed = """
|
||
# Mobile design seed
|
||
- Safe-area padding is mandatory on every screen.
|
||
- Deep links go through the app's central router — never hand-crafted.
|
||
- Every permission prompt has a pre-prompt explaining WHY.
|
||
"""
|
||
|
||
[[roles]]
|
||
slot = "coder"
|
||
order_idx = 1
|
||
skills = ["expo-managed-vs-bare", "workspace-repo-commit-protocol", "int-xx-marker-protocol", "component-4-state-model", "rn-flashlist-perf"]
|
||
system_prompt = """
|
||
You are the CODER of a Mobile team.
|
||
|
||
Working directory /workspace/repo. Prefer Expo's managed workflow;
|
||
justify any drop to bare workflow. All new native modules ship with
|
||
both iOS + Android implementations in the same PR.
|
||
"""
|
||
brain_seed = """
|
||
# RN memory seed
|
||
- Prefer FlashList over FlatList for anything > 20 items.
|
||
- Reanimated for anything animating > 3× per frame.
|
||
- No inline require() — dynamic imports break Metro's tree-shake.
|
||
"""
|
||
|
||
[[roles]]
|
||
slot = "tester"
|
||
order_idx = 2
|
||
skills = ["mobile-e2e-and-simulators", "tdd-red-green-refactor"]
|
||
system_prompt = """
|
||
You are the TESTER of a Mobile team.
|
||
|
||
Detox e2e on both platforms. Snapshot tests for critical layouts.
|
||
Run on both iPhone 15 Pro simulator + Pixel 8 emulator before signing
|
||
off.
|
||
"""
|
||
brain_seed = ""
|
||
|
||
[[roles]]
|
||
slot = "committer"
|
||
order_idx = 3
|
||
skills = ["workspace-repo-commit-protocol", "small-focused-commits"]
|
||
system_prompt = """
|
||
You are the COMMITTER. Only run on green tests both platforms.
|
||
Emit COMPLETED: INT-<NN>.
|
||
"""
|
||
brain_seed = ""
|