dotfiles: Skill for Claude Code

.claude/skills/android-design-guidelines/SKILL.md

android-design-guidelines is a skill for Claude Code from ahonn/dotfiles. It costs 55 tokens per session (9,077 once invoked), scanned A, a copy of android-design-guidelines, MIT.

Android interface guidance for apps built with Jetpack Compose or XML layouts. It covers Material Design 3, Android's visual design system, including themes, navigation, and accessibility.

In plain words
What is it for?
Use it when building or reviewing Android screens, configuring Material You themes, adding Compose components, setting up navigation, or checking accessibility.
Why use it?
It helps avoid interfaces that conflict with Android conventions or work poorly with platform features such as dynamic colors and accessibility settings.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is ahonn/dotfiles's own configuration. It tells Claude Code how to work on dotfiles itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything dotfiles configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ahonn/dotfiles. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ahonn/dotfiles/master/.claude/skills/android-design-guidelines/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ahonn/dotfiles

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for android-design-guidelines

README.md
[![agentmods](https://agentmods.dev/badge/skills/ahonn/dotfiles/android-design-guidelines/github.svg)](https://agentmods.dev/skills/ahonn/dotfiles/android-design-guidelines)
Your own site
<a href="https://agentmods.dev/skills/ahonn/dotfiles/android-design-guidelines"><img src="https://agentmods.dev/badge/skills/ahonn/dotfiles/android-design-guidelines/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for android-design-guidelines

Your own site · 80×15
<a href="https://agentmods.dev/skills/ahonn/dotfiles/android-design-guidelines"><img src="https://agentmods.dev/badge/skills/ahonn/dotfiles/android-design-guidelines.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,077 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.09077
Opus 5.5 $0.00022 $0.03631
Sonnet 5.5 $0.00011 $0.01815
Haiku 4.5 $0.00006 $0.00908

Measured 8d ago against content hash 403458e7700c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

android-design-guidelines scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to android-design-guidelines — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/android-design-guidelines/SKILL.md · 1,052 lines

How it starts

The opening of the file, as written. The whole thing — 1,052 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Android Platform Design Guidelines — Material Design 3

1. Material You & Theming [CRITICAL]

1.1 Dynamic Color

Enable dynamic color derived from the user's wallpaper. Dynamic color is the default on Android 12+ and should be the primary theming strategy.

// Compose: Dynamic color theme
@Composable
fun AppTheme(
    darkTheme: Boolean = isSystemInDarkTheme(),
    dynamicColor: Boolean = true,
    content: @Composable () -> Unit
) {
    val colorScheme = when {
        dynamicColor && Build.VERSION.SDK_INT >= Build.VERSION_CODES.S -> {
            val context = LocalContext.current
            if (darkTheme) dynamicDarkColorScheme(context)
            else dynamicLightColorScheme(context)
        }
        darkTheme -> darkColorScheme()
        else -> lightColorScheme()
    }
    MaterialTheme(
        colorScheme = colorScheme,
        typography = AppTypography,
        content = content
    )
}
<!-- XML: Dynamic color in themes.xml -->
<style name="Theme.App" parent="Theme.Material3.DayNight.NoActionBar">
    <item name="dynamicColorThemeOverlay">@style/ThemeOverlay.Material3.DynamicColors.DayNight</item>
</style>

Rules:

  • R1.1: Always provide a fallback static color scheme for devices below Android 12.
  • R1.2: Never hardcode color hex values in components. Always reference color roles from the theme.
  • R1.3: Test with at least 3 different wallpapers to verify dynamic color harmony.

1.2 Color Roles

Material 3 defines a structured set of color roles. Use them semantically, not aesthetically.

Role Usage On-Role
primary Key actions, active states, FAB onPrimary
primaryContainer Less prominent primary elements onPrimaryContainer
secondary Supporting UI, filter chips onSecondary
secondaryContainer Navigation bar active indicator onSecondaryContainer
tertiary Accent, contrast, complementary onTertiary
tertiaryContainer Input fields, less prominent accents onTertiaryContainer
surface Backgrounds, cards, sheets onSurface
surfaceVariant Decorative elements, dividers onSurfaceVariant
error Error states, destructive actions onError
errorContainer Error backgrounds onErrorContainer
outline Borders, dividers —
outlineVariant Subtle borders —
inverseSurface Snackbar background inverseOnSurface

Read the full file on GitHub · 1,052 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 1,052 lines · 55 tokens per session scan A 403458e7700c

Subscribe to this mod's changes

android-design-guidelines is a skill published in the GitHub repository ahonn/dotfiles (65 stars, last pushed 6d ago), licensed MIT. It adds 55 tokens to every session and 9,077 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to android-design-guidelines, differing in 0 lines, and is treated as a copy.

Related

android-design-guidelines compared with skills from other repositories

android-design-guidelines next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
android-design-guidelinesahonn/dotfilesSkill656d agoMITA55Claude Code
omp-tui-extension-uxmagic3007/dotfilesSkill11todayMITA76Claude Code, Codex
style-brandurmzd/dotfilesSkill62d agoApache-2.0A159Claude Code, Codex
manage-themeurmzd/dotfilesSkill62d agoApache-2.0A187Claude Code
Mobile UX CoreMte90/dotfilesSkill5211d agononeA27Claude Code, Codex
codingryota2357/dotfilesSkill22todaynoneA38Codex
scientific-schematicsmagic3007/dotfilesSkill11todayMITA68Claude Code