By rcosteira79
Writes 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.
Discovers an Android project's profile: frameworks (from libs.versions.toml), per-module test-runner configs, fake infrastructure, mock usage, fixture conventions, and error-wrapper conventions. Writes results to .claude/test-pharaoh/project-profile.json. Invoked by the /test-scribe orchestrator when no profile exists or the version-catalog hash has changed.
Generates tests for a single (class × tier) work unit. Consumes signature extract + relevant catalog entries + plan excerpt + project profile + existing tests/fakes. Forbidden from reading the body of the class under test. Writes test files to the appropriate source set and returns a summary.
Triages Gradle/test run failures into mechanical (fixable via patch) vs substantive (requires human). Returns a structured patch or an escalation payload.
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).(class × tier) units.| 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. 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
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub rcosteira79/test-pharaoh --plugin test-pharaohModern R development skills for Claude Code - tidyverse patterns, rlang metaprogramming, Bayesian inference, performance optimization, and more
Unity Development Toolkit - Expert agents for scripting/refactoring/optimization, script templates, and Agent Skills for Unity C# development
Comprehensive .NET development skills for modern C#, ASP.NET, MAUI, Blazor, Aspire, EF Core, Native AOT, testing, security, performance optimization, CI/CD, and cloud-native applications
Complete collection of battle-tested Claude Code configs from an Anthropic hackathon winner - agents, skills, hooks, and rules evolved over 10+ months of intensive daily use
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Complete creative writing suite with 10 specialized agents covering the full writing process: research gathering, character development, story architecture, world-building, dialogue coaching, editing/review, outlining, content strategy, believability auditing, and prose style/voice analysis. Includes genre-specific guides, templates, and quality checklists.