본문으로 건너뛰기
Skillpedia
인터페이스 (UI/UX)48k · #3846

avalonia-layout-zafiro

하는 일

Avalonia 앱의 사용자 화면을 보기 좋고 관리하기 쉽게 만드는 방법을 안내합니다. 똑똑한 컴포넌트와 공통 스타일을 활용해 반복을 줄이고 코드를 단순하게 만드는 데 초점을 맞춥니다.

사용하는 경우

  • ✓Avalonia 프로젝트를 새로 시작해 좋은 구조를 잡고 싶을 때.
  • ✓앱의 화면 스타일을 정리하거나 개선해야 할 때.
  • ✓특정 화면의 레이아웃을 정리하는 데 어려움이 있을 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/avalonia-layout-zafiro/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/avalonia-layout-zafiro/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Avalonia 앱의 시각 스타일을 쉽게 재사용할 수 있도록 어떻게 정리하면 좋을까요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 Avalonia에서 레이아웃을 정리하는 방법에 대한 지침을 읽습니다. 미리 만들어진 컴포넌트와 공통 스타일을 쓰는 데 초점을 맞춥니다. 코드 반복을 피하고 화면을 구성하는 가장 좋은 방법을 제안합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Avalonia Layout with Zafiro.Avalonia

Master modern, clean, and maintainable Avalonia UI layouts. Focus on semantic containers, shared styles, and minimal XAML.

🎯 Selective Reading Rule

Read ONLY files relevant to the layout challenge!


📑 Content Map

File Description When to Read
themes.md Theme organization and shared styles Setting up or refining app themes
containers.md Semantic containers (HeaderedContainer, EdgePanel, Card) Structuring views and layouts
icons.md Icon usage with IconExtension and IconOptions Adding and customizing icons
behaviors.md Xaml.Interaction.Behaviors and avoiding Converters Implementing complex interactions
components.md Generic components and avoiding nesting Creating reusable UI elements

🔗 Related Project (Exemplary Implementation)

For a real-world example, refer to the Angor project: /mnt/fast/Repos/angor/src/Angor/Avalonia/Angor.Avalonia.sln


✅ Checklist for Clean Layouts

  • Used semantic containers? (e.g., HeaderedContainer instead of Border with manual header)
  • Avoided redundant properties? Use shared styles in axaml files.
  • Minimized nesting? Flatten layouts using EdgePanel or generic components.
  • Icons via extension? Use {Icon fa-name} and IconOptions for styling.
  • Behaviors over code-behind? Use Interaction.Behaviors for UI-logic.
  • Avoided Converters? Prefer ViewModel properties or Behaviors unless necessary.

❌ Anti-Patterns

DON'T:

  • Use hardcoded colors or sizes (literals) in views.
  • Create deep nesting of Grid and StackPanel.
  • Repeat visual properties across multiple elements (use Styles).
  • Use IValueConverter for simple logic that belongs in the ViewModel.

DO:

  • Use DynamicResource for colors and brushes.
  • Extract repeated layouts into generic components.
  • Leverage Zafiro.Avalonia specific panels like EdgePanel for common UI patterns.

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
자주 묻는 질문

‘시맨틱 컨테이너’는 무엇인가요?

헤더나 사이드 패널처럼 명확한 역할을 이미 가진 UI 구성 요소입니다. 일반 요소를 하나하나 직접 설정하지 않아도 됩니다.

‘중복 속성’은 왜 피해야 하나요?

같은 색과 크기 같은 시각 설정을 여러 곳에 반복하면 코드가 커지고 수정하기 어려워집니다. 공통 스타일을 쓰면 이 문제가 해결됩니다.

‘안티 패턴’은 무엇인가요?

겉으로는 잘 되는 것처럼 보이지만 나중에 유지보수 어려움이나 성능 문제를 일으키는 흔한 관행입니다. 이 지침은 피해야 할 것을 보여 줍니다.

상세 정보

작성자의 원본 설명

Guidelines for modern Avalonia UI layout using Zafiro.Avalonia, emphasizing shared styles, generic components, and avoiding XAML redundancy.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#3846
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬