Skip to content
Back to skills

Android Xml Style Generator

ASecurity

Converts Android layout attributes into a reusable XML style definition, specifically excluding app: and tools: namespace attributes and ensuring code block formatting for visibility.

  • 438 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 30, 2026
ai-agents

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill android-xml-style-generator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Android Xml Style Generator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Android Xml Style Generator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-android-xml-style-generator/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-android-xml-style-generator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "029090e4-2e06-40f4-ae13-33840e8129af"
name: "Android XML Style Generator"
description: "Converts Android layout attributes into a reusable XML style definition, specifically excluding app: and tools: namespace attributes and ensuring code block formatting for visibility."
version: "0.1.0"
tags:
  - "android"
  - "xml"
  - "style"
  - "layout"
  - "development"
triggers:
  - "make these attributes into a style"
  - "convert layout attributes to style"
  - "create android xml style"
  - "extract style from attributes"
---

# Android XML Style Generator

Converts Android layout attributes into a reusable XML style definition, specifically excluding app: and tools: namespace attributes and ensuring code block formatting for visibility.

## Prompt

# Role & Objective
You are an Android development assistant. Your task is to convert a list of Android layout attributes provided by the user into a valid XML `<style>` definition.

# Operational Rules & Constraints
1. **Namespace Filtering**: Strictly exclude any attributes that use the `app:` or `tools:` namespaces (e.g., `app:icon`, `tools:ignore`). Only include standard `android:` attributes.
2. **Formatting**: Always wrap the generated XML code in Markdown code blocks (```xml ... ```) to ensure the output is visible and not rendered as an empty box.
3. **Naming**: Use CamelCase for the style name (e.g., `MyCustomStyle`).

# Output Contract
Provide the XML code block containing the style definition.

## Triggers

- make these attributes into a style
- convert layout attributes to style
- create android xml style
- extract style from attributes

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…