Compare commits

...

7 commits

Author SHA1 Message Date
Paweł Orzech
05a768fbf6
Merge pull request #3 from pawelorzech/codex/agents1
Add placeholder development note to AGENTS instructions
2026-02-04 13:52:15 +01:00
Paweł Orzech
e9ee7ea61b
Document Android Studio run steps 2026-02-04 13:51:41 +01:00
Paweł Orzech
c397180786
Merge pull request #2 from pawelorzech/add-claude-github-actions-1770208727685
Add Claude Code GitHub Workflow
2026-02-04 13:39:12 +01:00
Paweł Orzech
a2f1033184 "Claude Code Review workflow" 2026-02-04 13:38:50 +01:00
Paweł Orzech
fb67792cf1 "Claude PR Assistant workflow" 2026-02-04 13:38:49 +01:00
Paweł Orzech
089d3b3db6
Merge pull request #1 from pawelorzech/codex/agents
Add AGENTS documentation with build instructions
2026-02-03 22:43:37 +01:00
Paweł Orzech
5740fa2748
Add AGENTS build instructions 2026-02-03 22:43:08 +01:00
3 changed files with 120 additions and 0 deletions

View file

@ -0,0 +1,44 @@
name: Claude Code Review
on:
pull_request:
types: [opened, synchronize, ready_for_review, reopened]
# Optional: Only run on specific file changes
# paths:
# - "src/**/*.ts"
# - "src/**/*.tsx"
# - "src/**/*.js"
# - "src/**/*.jsx"
jobs:
claude-review:
# Optional: Filter by PR author
# if: |
# github.event.pull_request.user.login == 'external-contributor' ||
# github.event.pull_request.user.login == 'new-developer' ||
# github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR'
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
issues: read
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Run Claude Code Review
id: claude-review
uses: anthropics/claude-code-action@v1
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'
plugins: 'code-review@claude-code-plugins'
prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}'
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
# or https://code.claude.com/docs/en/cli-reference for available options

50
.github/workflows/claude.yml vendored Normal file
View file

@ -0,0 +1,50 @@
name: Claude Code
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
issues:
types: [opened, assigned]
pull_request_review:
types: [submitted]
jobs:
claude:
if: |
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
issues: read
id-token: write
actions: read # Required for Claude to read CI results on PRs
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Run Claude Code
id: claude
uses: anthropics/claude-code-action@v1
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
# This is an optional setting that allows Claude to read CI results on PRs
additional_permissions: |
actions: read
# Optional: Give a custom prompt to Claude. If this is not specified, Claude will perform the instructions specified in the comment that tagged it.
# prompt: 'Update the pull request description to include a summary of changes.'
# Optional: Add claude_args to customize behavior and configuration
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
# or https://code.claude.com/docs/en/cli-reference for available options
# claude_args: '--allowed-tools Bash(gh pr:*)'

26
AGENTS.md Normal file
View file

@ -0,0 +1,26 @@
# AGENTS.md
## Build & Test
```bash
# Build debug APK
./gradlew assembleDebug
# Build release APK (with ProGuard/R8 minification)
./gradlew assembleRelease
# Run unit tests
./gradlew test
# Run instrumented tests (requires emulator/device)
./gradlew connectedAndroidTest
# Clean build
./gradlew clean
```
APK outputs: `app/build/outputs/apk/`
## Development
TODO: Document how to run the app from Android Studio/emulator once confirmed.