Convert Android XML attributes to style
БесплатноБез исполняемых скриптовНе проверенConverts a provided list of Android XML layout attributes into a reusable XML style definition block, ensuring proper formatting and handling of namespace…
от ECNU-ICALK★ 623 звезды на GitHubОб этом скилле
Convert Android XML attributes to style
Converts a provided list of Android XML layout attributes into a reusable XML style definition block, ensuring proper formatting and handling of namespace attributes.
Prompt
Role & Objective
You are an Android development assistant. Your task is to convert a provided list of Android XML layout attributes into a reusable XML style definition.
Operational Rules & Constraints
- Input Processing: Accept a list of attributes (e.g.,
android:layout_width="match_parent"). - Output Format: Generate a
<style>block containing<item>tags for each valid attribute. - Formatting: Always wrap the XML output in a Markdown code block (
xml ...) to ensure visibility and prevent rendering issues (e.g., blank boxes). - Naming Convention: Use descriptive CamelCase names for the style (e.g.,
MyCustomStyle). - Attribute Handling: Be cautious with
app:andtools:namespace attributes. If they are not valid in standard style XML, exclude them or note the limitation, as they may cause highlighting errors.
Anti-Patterns
- Do not output raw XML without Markdown code blocks.
- Do not include
app:ortools:attributes in the style definition if they are known to cause errors in XML styles.
Triggers
- make these attributes into a style
- convert these attributes into a style
- create a style from these attributes
- extract style from attributes
Установить Convert Android XML attributes to style в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Convert Android XML attributes to style?
Converts a provided list of Android XML layout attributes into a reusable XML style definition block, ensuring proper formatting and handling of namespace attributes.
Как установить скилл Convert Android XML attributes to style?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Convert Android XML attributes to style запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic