[ANDROAPP-7640] Add test-flow-architect agent and supporting skills#4884
Open
rohit-wa wants to merge 1 commit into
Open
[ANDROAPP-7640] Add test-flow-architect agent and supporting skills#4884rohit-wa wants to merge 1 commit into
rohit-wa wants to merge 1 commit into
Conversation
29a60a4 to
14ead56
Compare
5 tasks
…kills Introduce the `test-flow-architect` Claude Code agent plus three new skills under `.claude/`, and extend the existing `android-testing` skill with per-component test-tag pattern documentation. The agent reads Zephyr test cases via the Atlassian MCP, surveys existing flows on Confluence, decides whether new cases extend an existing flow or need a new one, claims a dedicated DHIS2 program on the testing server (per-flow), drafts a flow-plan.md for review, and — only after explicit user approval — hands off to the `android-testing` skill to generate Kotlin Robot/Test files. New files: - .claude/agents/test-flow-architect.md - .claude/skills/test-flow-planner/SKILL.md - .claude/skills/zephyr-test-fetcher/SKILL.md - .claude/skills/confluence-workflow-reader/SKILL.md Updated: - .claude/skills/android-testing/SKILL.md — document the `INPUT_<COMPONENT_NAME>_FIELD` testTag convention and link to the design-system docs/source so authors can locate tags for non-text inputs (checkboxes, dropdowns, dialogs, pickers, etc.). Hard rules baked in: - Always ask the user which DHIS2 testing instance to target — the slug changes per cycle, never reuse a base URL from a prior session. - Plan mode is read-only against Zephyr, Confluence, and the testing server. - Confluence writes require explicit "approved, publish" from the user. - Default is one program per flow; sharing allowed only when the new cases extend an existing flow's workflow. - Never modify Antenatal Care or Information Campaign programs (used by legacy tests). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
14ead56 to
3bf10fe
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the
test-flow-architectClaude Code agent plus three new skills under.claude/, and extends the existingandroid-testingskill with per-component test-tag pattern documentation.The agent automates the QA workflow: reads Zephyr test cases via the Atlassian MCP, surveys existing flows on Confluence, decides whether new cases extend an existing flow or need a new one, claims a dedicated DHIS2 program on the testing server (per-flow), drafts a
flow-plan.mdfor review, and — only after explicit user approval — hands off to theandroid-testingskill to generate Kotlin Robot/Test files.Jira: ANDROAPP-7640
Files
New (4):
.claude/agents/test-flow-architect.md— the agent prompt and workflow.claude/skills/test-flow-planner/SKILL.md— flow-grouping heuristics +flow-plan.mdschema + program-reservation procedure.claude/skills/zephyr-test-fetcher/SKILL.md— Atlassian-MCP-based Zephyr fetcher (read-only).claude/skills/confluence-workflow-reader/SKILL.md— Confluence reader for existing flow precedentsUpdated (1):
.claude/skills/android-testing/SKILL.md— document theINPUT_<COMPONENT_NAME>_FIELDtestTag convention and link to the design-system docs/source so test authors can locate tags for non-text inputs.Key behaviours enforced
Testissues.How to invoke
In plan mode the agent will: ask which DHIS2 instance to target, fetch the Zephyr cases, check existing flow plans on Confluence, grep the repo for reusable Robots, and produce a
flow-plan.mdending withApprove to implement?.Test plan
Approve to implement?without writing Kotlin or mutating the server.android-testingskill.android-testingSKILL.md guidance helps locate the correct testTag for at least one non-text design-system input (e.g. checkbox or dropdown).🤖 Generated with Claude Code