Back to list
a-scolan

troubleshoot-errors

by a-scolan

C4 Architecture-as-Code hands-on demo with refactored microservices and legacy monolith comparison

1🍴 0📅 Jan 23, 2026

SKILL.md


name: troubleshoot-errors description: Diagnose common LikeC4 errors (element not found, unknown kinds, invalid relationships). Provides causes and solutions.

Troubleshoot LikeC4 Errors

Use this skill when resolving common LikeC4 syntax or reference errors.

Common Issues

"Element not found"

  • Cause: Using short name instead of FQN
  • Solution: Use mySystem.api not api for nested elements

"Unknown element kind"

  • Cause: Invalid or generic element kind
  • Solution: Check projects/shared/spec-*.c4 for valid kinds; use specific kinds like Container_Api not Container

"Invalid relationship kind"

  • Cause: Undefined relationship type
  • Solution: Use defined kinds: calls, async, reads, writes, uses (model) or http, https, tcp (deployment)

Diagram shows unexpected elements

  • Cause: Over-broad wildcard includes like include **
  • Solution: Use scoped wildcards: include mySystem.* or include mySystem.* ->

"instanceOf target not found"

  • Cause: Referencing non-existent or wrong element type
  • Solution: Ensure target is a Container from model, use FQN: instanceOf mySystem.api

Score

Total Score

45/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

0/5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon