-
Notifications
You must be signed in to change notification settings - Fork 1
Reference
Input field reference and output format reference for all agent types.
Most agents use a consistent key-value format:
FIELD_NAME: single-line value
MULTI_LINE_FIELD:
<content starts on the next line
and can span many lines>
Multi-line content fields (CODE, CRASH_LOG, GIT_LOG, DESCRIPTION) always go last.
| Field | Used In | Required | Notes |
|---|---|---|---|
PLATFORM |
All agents | Yes |
Android, iOS, Flutter, React Native, Unity, Unreal
|
APP_VERSION |
Crash analyzers | Yes | Correlate findings with release history |
OS_VERSION |
Crash analyzers | No | Narrows OS-specific bugs |
DEVICE |
Crash analyzers | No | Narrows OEM-specific bugs |
USER_ACTION |
Crash analyzers | Recommended | Critical for lifecycle crash diagnosis |
KOTLIN_VERSION |
Android agents | Yes |
2.0 enables K2 compiler rules |
SWIFT_VERSION |
iOS agents | Yes |
6.0 enables strict concurrency checks |
COMPOSE_VERSION |
Android Compose agents | Yes | Set none for View/XML UI |
SWIFTUI |
iOS Swift reviewer | Yes |
true or false
|
FILE_PATH |
Code review agents | Yes | Agents infer architectural layer from the path |
SECURITY_FOCUS |
Security scanner | Yes |
all or specific: secrets, storage, network, webview, permissions, crypto
|
RENDER_PIPELINE |
Unity shader generator | Yes |
urp, hdrp, or builtin
|
TARGET_PLATFORM |
Unity shader generator | Yes |
mobile or desktop
|
PATTERN |
Flutter BLoC builder | Yes |
cubit or bloc
|
ARCH |
RN performance optimizer | Yes |
new (JSI/Fabric) or old (Bridge) |
CODE |
Code review agents | Yes | The Kotlin/Swift/Dart/TypeScript source |
CRASH_LOG |
Crash analyzers | Yes | Full logcat, Crashlytics export, .crash file |
RELATED_CODE |
Crash analyzers | No | Kotlin/Swift code at the crash site — improves output significantly |
GIT_LOG |
Release notes generator | Yes | Output of git log v1.0.0..HEAD --oneline
|
DESCRIPTION |
Generator agents | Yes | Plain-English description |
REVIEW SUMMARY
==============
File: <path>
Layer: <inferred: ViewModel / Repository / UseCase / Composable / etc.>
Issues Found: N
Critical: N Warning: N Info: N
FINDINGS
--------
[CRITICAL] Line N — <Issue title>
Problem : <what is wrong and why it matters>
Fix : <corrected code snippet>
[WARNING] Line N — <Issue title>
Problem : <what is wrong>
Fix : <corrected approach>
[INFO] Line N — <Issue title>
Problem : <suggestion>
Fix : <improvement>
<Additional sections vary by agent — e.g. COROUTINE SAFETY, MEMORY SAFETY>
OVERALL VERDICT: PASS / NEEDS WORK / REWRITE
## Crash Summary
2–3 sentences: crash type, location, severity, reproducibility.
## Root Cause
Precise technical explanation — not just what line crashed but why that state was reached.
## Why This Happens
Plain-English explanation suitable for any developer on the team.
## Risk Level
CRITICAL / HIGH / MEDIUM / LOW
Reproducibility: Always / Intermittent / Rare / Unknown
## Recommended Fix
Step-by-step — every step is a concrete code change, not vague advice.
## Updated Code
```<language>
// Before — problematic code annotated
...
// After — corrected code with inline comments
...
- Other places the same root cause can hide
- Related code paths to harden
- Specific reproducible test step
- Another test step
- Architectural practice or lint rule that prevents recurrence
---
### React Native Performance Optimizer
File: Component: Architecture: Old Bridge / New Architecture (JSI/Fabric) Issues Found: N High Impact: N Medium Impact: N Low Impact: N
[HIGH] Impact : Problem : Refactored :
<corrected TypeScript>[MEDIUM] / [LOW] ...
Synchronous bridge calls detected: Yes / No
Animations running on JS thread: Yes / No
Issues found: N →
Before: ~N renders per interaction After : ~N renders per interaction
---
### Accessibility Auditor
File: Platform: Issues Found: N Critical: N High: N Medium: N Low: N
[CRITICAL] Element : TalkBack / VoiceOver announces: <current — what screen reader says> Should announce : WCAG : <criterion, e.g. 1.1.1 Non-text Content> Fix :
TalkBack / VoiceOver compatibility: PASS / PARTIAL / FAIL →
All targets ≥ 48dp (Android) / 44pt (iOS): Yes / No
State changes announced: Yes / No / N/A
OVERALL VERDICT: PASS / NEEDS WORK / INACCESSIBLE
---
### Security Scanner
File: Platform: Focus: Vulnerabilities Found: N Critical: N High: N Medium: N Low: N
[CRITICAL] — Location : Exploitable : Fix :
<corrected code>
| OWASP Category | Status | | M1–M10 ... | Checked / Not applicable |
---
### Generator Agents (Widget Generator, Screen Builder, BLoC Builder, Shader Generator)
Each returns complete, compilable code in labelled file sections:
<complete file content>
...
...
---
### Release Notes Generator
[USER-FACING — App Store / Play Store] (character count / limit)
What's New in
Bug Fixes
[DEVELOPER CHANGELOG]
[QA NOTES] Risk Areas This Release:
- :
Deprecated / Removed:
---
### CI/CD Pipeline Generator
Returns complete YAML files for each pipeline type (PR check, staging, production), plus:
- **Secrets Reference table** — every secret with source and where to set it
- **Setup Guide** — numbered steps to configure from scratch
---
[[Home]] · [[Using Agents]] · [[Platform Guide]] · [[Contributing]]
Getting Started
Reference
Community
Repository github.com/salmanashraf/mobile-dev-skills
Version: v1.0.0 · MIT License