[Bug] android-cli, r8-analyzer: broken code blocks and escaped commands in skill markdown
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 75/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- markdown, shell
調査の方向性
この issue は、devtools/android-cli および performance/r8-analyzer ディレクトリ内の SKILL.md、interact.md、journeys.md、REFLECTION-GUIDE.md の特定の行を指しています。まず、リンクされた行の生のマークダウンファイルを表示して、壊れたコードブロックとエスケープされた文字を確認してください。修正には、適切なフェンスで囲まれたコードブロックを復元し、シェルコマンドの構文を修正し(余分なバックスラッシュを削除)、ProGuard ルールのフォーマットを修正するためにマークダウンを編集することが含まれます。変更を確認するには、レンダリングされたプレビューをチェックし、コマンドが正しくコピーされることを確認してください。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Kotlin
- スター
- 10.7k
- フォーク
- 708
- 平均マージ
- 8日 4時間
- マージ済み PR(30日)
- 10
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
android/skills のほかの issue
-
[Feature] 3D and AR on phones (Filament, ARCore, SceneView): current APIs instead of 2022-era codeオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 4 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
android/skills#261 · リアクション 1 件 ·
メンテナーはふだん 4 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
android/skills#241 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 4 日以内に返信
-
[Feature] Add fused-location skill for foreground FLP, Android 12 permissions, and update lifecycleオープン
難易度 2/5 半日 初心者へのやさしさ 82/100
メンテナーはふだん 4 日以内に返信
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
MetrolistGroup/Metrolist#5426 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
🐛 Type:Bug 📥 State:Awaiting Assignment 🚨 Priority: P0 - Critical
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
micronizationlab/glafira-ai-hub#785 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
sorsama/deepseek-harness-mobile#154 ·
メンテナーはふだん 1 日以内に返信
-
0. Needs triage enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信