Skip to content

Add GitHub Actions workflow to run Jetpack Compose performance skill - #1733

Merged
riggaroo merged 2 commits into
mainfrom
riggaroo/compose-performance-skill-workflow
Oct 15, 2026
Merged

riggaroo merged 2 commits into
mainfrom
riggaroo/compose-performance-skill-workflow

Conversation

@riggaroo

Copy link
Copy Markdown
Collaborator

Summary

Adds a new GitHub Actions workflow (.github/workflows/compose_performance_skill.yml) to run the Jetpack Compose performance skill on Kotlin files in android/compose-samples using the Android CLI (android skills add) and google-github-actions/run-gemini-cli.

Details

  • Triggers:
    • pull_request when any **/*.kt file (or .github/workflows/compose_performance_skill.yml) is modified.
    • workflow_dispatch with an optional pr_number input (audits the PR's changed .kt files when provided, or audits all **/*.kt files across the repository when omitted).
  • Workflow Steps:
    1. Checks out android/compose-samples with full history (fetch-depth: 0).
    2. Installs the Android CLI and runs android skills add --agent=gemini --project=. jetpack-compose-performance to install the skill into .agents/skills/jetpack-compose-performance.
    3. Collects the target .kt files into .gemini/target_files.txt.
    4. Invokes google-github-actions/run-gemini-cli (v0.1.22) using secrets.GEMINI_API_KEY to audit the target Kotlin files against the skill and its references/**/*.md files.
    5. Posts the structured Markdown review findings as a comment on the pull request (and outputs them to the GitHub Actions job summary).
  • Updates .gitignore to ignore .gemini/ and .agents/ directories.

@riggaroo
riggaroo marked this pull request as ready for review October 14, 2026 13:24
@riggaroo
riggaroo requested a review from a team as a code owner October 14, 2026 13:24
@riggaroo
riggaroo requested a review from AjeshRPai October 14, 2026 13:24
@riggaroo
riggaroo merged commit 0c2267c into main Oct 15, 2026
9 checks passed
@riggaroo
riggaroo deleted the riggaroo/compose-performance-skill-workflow branch October 15, 2026 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants