By rcosteira79
Claude Code plugin that writes tests for Android feature branches — driven by the user story + ACs, adhering to your project's existing conventions, and never using mocks. Three subagents cooperate: architect (project discovery), mason (test generation), physician (failure triage).
npx claudepluginhub rcosteira79/test-pharaohWrites tests for code introduced on an Android branch, driven by the branch's user story and ACs. Adheres to the project's existing conventions; never generates mock-based tests.
Write tests for Android feature branches from your user story + acceptance criteria. Adheres to your project's existing conventions. Never uses mocks.
You, the Pharaoh, command. The scribe records your decree; the architect surveys the land; the masons lay the stones; the physician tends the cracks. The work is a pyramid of tests.
PATH (the plugin builds a small signature-extractor JAR the first time you invoke it)/plugin marketplace add rcosteira79/test-pharaoh
/plugin install test-pharaoh@test-pharaoh
The first /test-scribe invocation performs a one-time ~30s build of the bundled signature extractor. Subsequent runs skip it. Plugin updates trigger a rebuild on the next run.
In your Android repo, on a branch with your feature changes:
/test-scribe
You can invoke it bare and the scribe will prompt you, or pass the inputs inline with the command. The scribe takes:
Then:
TEST_PLAN.md with traceability markers (AC-N → test name).TEST_PLAN.md; then an explicit, standalone go-signal before any code is generated. (Generic approvals like "looks good" don't unlock generation. If your ACs contain user-interaction signals, the scribe also asks at this gate whether to include the instrumented tier.)(class × tier) units.All artefacts (plan, run log, diagnosis, signature extracts) are written under .claude/test-pharaoh/runs/<timestamp>/ so you can inspect or resume manually.
| Role | Name | Does |
|---|---|---|
| Commander | You, the Pharaoh | Commission the work. Rule on the three gates. |
| Coordinator | test-scribe | Record your decree. Commission the build. Report. |
| Surveyor | architect | Reads libs.versions.toml, module configs, existing fakes, mock-library usage, error-wrapper conventions, instrumented-tier framework, and the project's test-naming style. Never touches class bodies. |
| Builder | mason | One (class × tier) per invocation. Hand-written fakes only. Sees signatures, never bodies. |
| Healer | physician | Triages Gradle failures. Mechanical → patch and retry. Substantive → escalate to the Pharaoh. |
@Test per visual variant (light/dark/RTL/large-font/tablet).Deterministic test floors for Retrofit, Apollo, Room, DataStore, Hilt, Coroutines/Flow, RxJava2, WorkManager, Compose, Roborazzi, Navigation 3, and ViewModel/StateFlow. The scribe merges catalog-stock cases with your AC-derived ones.
If the architect detects a framework without a catalog entry, the plan is annotated UNKNOWN: no catalog — AC + contract only. Contributions welcome.
MIT
7-day visitors to each marketplace page
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Official marketplace for gstack — AI engineering workflow skills, code review, QA browser automation, and shipping tools for Claude Code.
Storybook plugins for Claude Code.