Skip to content
Back to skills

Android Harness

ASecurity

Use when working on this Android app architecture, Compose or XML UI, Room, performance, or daily checkout facts.

  • 8 stars
  • 0 votes
  • 2 copies
  • 10 views
  • Added September 3, 2026
developmentpythonkotlindebugginggitdatabaseperformance

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned November 22, 2026

npx -y skills add rabee-elkholy/android-agent-harness --skill android-harness --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Android Harness?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Android Harness
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rabee-elkholy-android-harness/badge)](https://www.skillsdirectory.com/skills/rabee-elkholy-android-harness)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: android-harness
description: Use when working on this Android app architecture, Compose or XML UI, Room, performance, or daily checkout facts.
version: 1.0.0
kernel-major: 1
disable-slash-command: true
---

# Android harness (domain knowledge)

Deterministic architecture facts are derived during setup into `.agents/project-context/`.

## Authoritative Truth Resolution Hierarchy
1. **Current source evidence**, when inspected directly in checkout files.
2. **Generated project facts**: `.agents/project-context/project-facts.json` and rendered views (`architecture.md`, `ui.md`, `persistence.md`, `conventions.md`).
3. **Developer notes**: `.agents/project-context/project-notes.md` (domain intent & unresolved conventions). Developer notes clarify ambiguities or override generic assumptions, but may NOT contradict deterministic source facts.
4. **Generic Android guidelines**: Kit-owned reference rules below.

## Harness Execution Boundary
During normal Android application tasks, installed harness engine source under `.agents/scripts/**` is an implementation detail. Do not inspect or recursively read harness Python implementation before executing a documented harness command. Use the documented public command contract and its output directly.

Harness source inspection is allowed only when:
1. a documented harness command fails unexpectedly;
2. its output violates the documented contract;
3. Doctor reports harness corruption/inconsistency;
4. the developer explicitly asks to inspect, debug, or modify the harness itself.

Application source inspection remains unaffected. For documented commands, see [Public Command Contract](./references/command-contract.md).

## Task Guidance & Routing
- **Harness Public Command Contract**: [Command Contract & Operations](./references/command-contract.md).
- **Context Management Actions**: Updating project context, recording architectural conventions, or adding/editing/removing domain notes is an administrative action, not an Android code task. Do NOT run change_classifier, review_policy, or assemble. Never paste the developer's raw conversational phrasing verbatim: clarify any ambiguity first, then structure, detail, and translate the rule into clear, self-contained English before running `python .agents/harness.py context note "<structured-english-note>"` (`--replace "<old>"` / `--remove "<old>"`) or `context instruct` (`--supersedes <id>` / `--remove <id>`).
- **Active Architecture Contract**: If the active task contains an architecture contract, read `task-architecture-brief.md` in the task directory after project graph discovery and before editing source:
  - **PRESERVE / REFACTOR**: follow local family; no implicit modernization.
  - **NEW**: follow preferred new-code family; surrounding legacy code is only a compatibility boundary.
  - **MIGRATE**: perform only the approved source -> target transition inside approved scope.
- **Architecture / DI / ViewModel**: Read `../../project-context/architecture.md`, then [Architecture & Patterns](./references/architecture-guidelines.md).
- **UI / Layout / Theming**: Read `../../project-context/ui.md`, then [UI Layout & Theming](./references/ui-layout-and-theming.md).
- **Database / Persistence**: Read `../../project-context/persistence.md`, then [Database & Persistence](./references/database-and-persistence.md).
- **Conventions & Capabilities**: Read `../../project-context/conventions.md`.
- **Performance & Optimization**: [Performance & Optimization](./references/performance-and-optimization.md).
- **Test Quality Guidelines**: [Test Quality Guidelines](./references/test-quality-guidelines.md).
- **Daily work notes**: [Daily work notes](./references/daily-scenarios.md).
- **Automated skills**: [Automated skills](./references/automated-skills.md).

PM Tracker (when enabled): `.agents/workflows/pm-tracker.md`. Mutate only on explicit developer confirmation (recorded via `pm authorize`).

## Related skills

- [**Kotlin Coroutines Expert**](../kotlin-coroutines-expert/SKILL.md)
- [**Systematic Debugging**](../systematic-debugging/SKILL.md)
- [**Compose Inspector**](../compose-inspector/SKILL.md)
- [**Gradle Build Optimizer**](../gradle-build-optimizer/SKILL.md)
- [**Git PR Automator**](../git-pr-automator/SKILL.md): commit **message** format only

Files in this skill

  • SKILL.md1.6 KB
  • references/architecture-guidelines.md1.2 KB
  • references/automated-skills.md2.3 KB
  • references/daily-scenarios.md922 B
  • references/database-and-persistence.md2.5 KB
  • references/performance-and-optimization.md4.7 KB
  • references/test-quality-guidelines.md2.4 KB
  • references/ui-layout-and-theming.md876 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.