Skip to content

Feat/quality analyst agent#17

Open
deepankar-sajwan wants to merge 4 commits intomainfrom
feat/quality-analyst-agent
Open

Feat/quality analyst agent#17
deepankar-sajwan wants to merge 4 commits intomainfrom
feat/quality-analyst-agent

Conversation

@deepankar-sajwan
Copy link
Copy Markdown
Collaborator

@deepankar-sajwan deepankar-sajwan commented Apr 11, 2026

Summary

  • Adds a new quality-analyst-agent that generates structured, requirement-driven test plans from GitHub issues, PRs, or plain-text requirements
  • Supports selective test generation via --type flag (manual, functional, performance, security, accessibility, usability, reliability, all)
  • Follows the same agent conventions as business-analyst and implementation-executor (rich description with examples, color, memory: project, Persistent Agent Memory section)

Changes

  • claude/agents/quality-analyst/quality-analyst.md — agent definition with 7 test sections (A–G), step-by-step generation process, code diff scanning, risk summaries, and agent rules
  • claude/agents/quality-analyst/README.md — setup guide, --type reference table, and usage examples

Test plan

  • Agent generates a full test plan (all sections) from a GitHub issue
  • --type manual generates only Section A and appends a skipped sections note
  • --type performance,security generates only Sections C and D
  • Agent posts the plan as a GitHub comment when GitHub context is available
  • Agent saves the plan to docs/test-plans/ when no GitHub context is provided
  • Unrecognised --type value prints the supported values table and stops

🤖 Generated with Claude Code

Adds a Claude Code subagent that generates requirement-driven test plans
with a --type argument to generate only the sections needed.

Supported --type values:
  manual        → Section A: happy path, edge cases, boundary inputs, roles
  functional    → Section B: acceptance criteria, business rules, data integrity
  performance   → Section C: baseline time, data volume, concurrency, pagination
  security      → Section D: auth/IDOR, input sanitisation, data exposure, CSRF
  accessibility → Section E: keyboard nav, screen reader, contrast, responsive
  usability     → Section F: design system, error messaging, confirmations
  reliability   → Section G: network failure, logging, i18n, compliance
  all           → All sections A-G (default when --type is omitted)

Comma-separated multi-section support: --type manual,security

The agent performs static code analysis before generating test cases to
auto-assign priorities (HIGH/MEDIUM/LOW) based on detected risk signals.
Code analysis is skipped for manual/accessibility/usability-only runs.

Also updates root README.md to list the new recipe.
@deepankar-sajwan deepankar-sajwan self-assigned this Apr 11, 2026
@deepankar-sajwan
Copy link
Copy Markdown
Collaborator Author

deepankar-sajwan commented Apr 16, 2026

@rathorevaibhav can you review the PR

@deepankar-sajwan deepankar-sajwan requested review from rathorevaibhav and removed request for pokhiii April 21, 2026 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant