一键导入
test-model
Use when validating model integrity—element references are valid, relationships are typed correctly, views render without errors, syntax is correct.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when validating model integrity—element references are valid, relationships are typed correctly, views render without errors, syntax is correct.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when working with `.c4`/`.likec4` files or LikeC4 CLI/config questions where exact DSL/CLI syntax is required, especially for strict command/snippet-first answers, validate/export flags, predicates `*`/`_`/`**`, deployment snippets, dynamic views, or relationship extension matching.
Use when planning, reviewing, or correcting a LikeC4 model and you need to decide the right top-down design order (C1→C2→C3), whether C3 detail is warranted, or when to hand off from structural modeling to deployment or dynamic-view skills.
Use when editing `likec4.config.json`, include paths, image aliases, or splitting one project into a small set of focused LikeC4 files without redesigning the whole workspace.
Use when creating or modifying LikeC4 elements (systems, containers, components, nodes) with proper naming conventions, required metadata, and correct C4 hierarchy placement.
Use when connecting LikeC4 elements and you need to choose the exact logical or deployment relationship kind, place technology in the right field, or decide whether a connection belongs in the model or only in deployment.
Use when documenting a LikeC4 use case, temporal flow, or async behavior as a dynamic view, especially when order matters more than structure.
| name | test-model |
| description | Use when validating model integrity—element references are valid, relationships are typed correctly, views render without errors, syntax is correct. |
Validate the model at the right depth.
Default to quick validation unless the prompt asks for a full audit.
| Mode | Use when | Output |
|---|---|---|
| Quick validation | a narrow sanity check, a small edit, or a single suspicious file/view | short checklist + likely issues + next checks |
| Full validation | before commit, after structural changes, or when multiple files were touched | end-to-end validation report |
Run this small sequence first:
instanceOf targetsinstanceOf points to a real model containercalls / async / reads / writes / usesUse read-project-summary to confirm:
Use search-element or read-element to confirm:
instanceOf targets are real containersUse find-relationships to confirm:
Use open-view to confirm:
Use Context7 only if local files and specs still leave a syntax doubt.
Every view must show what contains the focus.
❌ api -[calls]-> service
✅ api -[calls]-> service 'Fetches data'
❌ include **
✅ include system.*
❌ webApp -[https]-> api
✅ webApp -[calls]-> api { technology 'HTTPS' }
Do an offline validation pass:
projects/shared/SPEC_CHEATSHEET.md and projects/shared/spec-*.c4read-project-summary, find-relationships, open-view)instanceOfReturn either: