Skip to content

Reference

Salman Ashraf edited this page May 29, 2026 · 1 revision

Reference

Input field reference and output format reference for all agent types.


Input Format Reference

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.

Common Fields

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

Output Format Reference

Code Review Agents (Android Code Reviewer, iOS Swift Reviewer)

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 Analyzer Agents (Android, iOS)

## 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
...

Edge Cases

  • Other places the same root cause can hide
  • Related code paths to harden

Testing Checklist

  • Specific reproducible test step
  • Another test step

Prevention Tips

  • Architectural practice or lint rule that prevents recurrence

---

### React Native Performance Optimizer

PERFORMANCE AUDIT

File: Component: Architecture: Old Bridge / New Architecture (JSI/Fabric) Issues Found: N High Impact: N Medium Impact: N Low Impact: N

FINDINGS (ranked by impact)

[HIGH] Impact : Problem : Refactored :

<corrected TypeScript>

[MEDIUM] / [LOW] ...

BRIDGE / JSI OVERHEAD

Synchronous bridge calls detected: Yes / No

ANIMATION SAFETY

Animations running on JS thread: Yes / No

FLATLIST / FLASHLIST AUDIT

Issues found: N →

ESTIMATED IMPROVEMENT

Before: ~N renders per interaction After : ~N renders per interaction


---

### Accessibility Auditor

ACCESSIBILITY AUDIT

File: Platform: Issues Found: N Critical: N High: N Medium: N Low: N

FINDINGS

[CRITICAL] Element : TalkBack / VoiceOver announces: <current — what screen reader says> Should announce : WCAG : <criterion, e.g. 1.1.1 Non-text Content> Fix :

SCREEN READER ASSESSMENT

TalkBack / VoiceOver compatibility: PASS / PARTIAL / FAIL →

TOUCH TARGET AUDIT

All targets ≥ 48dp (Android) / 44pt (iOS): Yes / No

DYNAMIC CONTENT

State changes announced: Yes / No / N/A

OVERALL VERDICT: PASS / NEEDS WORK / INACCESSIBLE


---

### Security Scanner

SECURITY SCAN REPORT

File: Platform: Focus: Vulnerabilities Found: N Critical: N High: N Medium: N Low: N

FINDINGS (ranked by severity)

[CRITICAL] — Location : Exploitable : Fix :

<corrected code>

OWASP COVERAGE SUMMARY

| OWASP Category | Status | | M1–M10 ... | Checked / Not applicable |

RECOMMENDED NEXT STEPS


---

### Generator Agents (Widget Generator, Screen Builder, BLoC Builder, Shader Generator)

Each returns complete, compilable code in labelled file sections:

File: <path/FileName.ext>

<complete file content>

File: <path/AnotherFile.ext>

...

Usage Example / Material Setup / DI Registration

...

Dependencies / pubspec.yaml additions / Gradle deps


---

### Release Notes Generator

[USER-FACING — App Store / Play Store] (character count / limit)

What's New in

Bug Fixes


[DEVELOPER CHANGELOG]

Features / Fixes / Performance / Internal


[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]]

Mobile Dev Skill Agents

Home


Getting Started

Reference

Community


Repository github.com/salmanashraf/mobile-dev-skills

Version: v1.0.0 · MIT License

Clone this wiki locally