[Bug] android-cli, r8-analyzer: broken code blocks and escaped commands in skill markdown
Los mantenedores suelen responder en 4 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 75/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- markdown, shell
- Área
- documentation
Línea de trabajo
El issue señala líneas específicas en SKILL.md, interact.md, journeys.md y REFLECTION-GUIDE.md dentro de los directorios devtools/android-cli y performance/r8-analyzer. Comience viendo los archivos markdown sin procesar en las líneas enlazadas para ver los bloques de código rotos y los caracteres escapados. La solución implica editar el markdown para restaurar los bloques de código delimitados correctamente, corregir la sintaxis de los comandos de shell (eliminando barras invertidas adicionales) y arreglar el formato de las reglas de ProGuard. Verifique los cambios revisando la vista previa renderizada y asegurándose de que los comandos se copien correctamente.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Affected Skill
devtools/android-cli, performance/r8-analyzer
Description
Several code examples in these two skills are broken in the raw markdown, which is what an agent reads. Some of them no longer work when copied.
android-cli, since the 2026-09-15 update:
- SKILL.md#L33-L36: the install commands contain
\|and\&\&, and the Windows paths became%TEMP%\\i.cmd. Run as written,curl -fsSL .../install.sh \| bashpasses|andbashto curl as extra URLs, and nothing gets installed:curl: (6) Could not resolve host: | curl: (6) Could not resolve host: bash - interact.md#L77-L83, journeys.md#L3-L16 and journeys.md#L49-L50: fenced blocks became single-backtick spans (
`json,`xml), so they render inline, and the journey XML lost its indentation.
r8-analyzer, references/REFLECTION-GUIDE.md, throughout the file:
- The fences are either backslash-escaped (
\`\`\`proguardor\`\`\`kotlinat L18, L35, L54, L68, L93, L129) or reduced to single backticks (L13, L29, L50, L75, L88, L109, L117), so none of the examples render as code blocks. - L20-L21 and L39-L40:
<init>is missing from the keep rules, which read-keep class \* implements com.example.library.StartupTask { (); }instead of{ <init>(); }. - L54: the rule is on the same line as its comment,
# Keep the annotation itself -keep @interface com.example.library.ReflectiveExecutor, so the-keepbecomes part of the comment when copied. L68 puts the start of the Kotlin example on the label line the same way, and L136-L139 runs# No manual rule neededinto the note text. - Wildcards and comment markers are backslash-escaped (
class \*,/\* skip feature \*/), so copied rules keep the backslashes.
Separately, section 3 describes the rules incorrectly. The comment at L56 says "Keep members of any class annotated with this specific annotation", but the rule at L57-L59 keeps the annotated members of any class. The rules also leave out -keepattributes RuntimeVisibleAnnotations, which the keep rule examples include for the same pattern so the annotation can be read at runtime.
Expected Behavior
Install commands and keep rules keep valid syntax when copied, and code examples render as code blocks.
Actual Behavior
The install commands and keep rules fail or change meaning when copied, and the code examples render as inline text.
Steps to Reproduce
Open the raw files at the linked lines.
Suggested Fix
Restore the fences, the plain |, && and *, the single \ in the Windows paths, and <init>(); in the keep rules. In section 3, fix the comment and add -keepattributes RuntimeVisibleAnnotations.
The android-cli items still present after the 2026-10-21 update are tracked in https://issuetracker.google.com/issues/576082217.
- Lenguaje dominante
- Kotlin
- Estrellas
- 10.7k
- Forks
- 708
- Merge medio
- 8 d 4 h
- PR fusionados (30 d)
- 10
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de android/skills
-
[Feature] 3D and AR on phones (Filament, ARCore, SceneView): current APIs instead of 2022-era codeAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 4 días
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 78/100
android/skills#261 · 1 reacción ·
Los mantenedores suelen responder en 4 días
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
android/skills#241 · 2 comentarios ·
Los mantenedores suelen responder en 4 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 4 días
-
[Feature] Add fused-location skill for foreground FLP, Android 12 permissions, and update lifecycleAbierto
Dificultad 2/5 Medio día Aptitud para principiantes 82/100
Los mantenedores suelen responder en 4 días
Todos los issues de android/skills
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
emm3000/myGame#2175 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
MetrolistGroup/Metrolist#5426 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
🐛 Type:Bug 📥 State:Awaiting Assignment 🚨 Priority: P0 - Critical
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
backend
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
digitalfabrik/entitlementcard#3330 ·
Los mantenedores suelen responder en 2 días