Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 3.03 KB

File metadata and controls

50 lines (38 loc) · 3.03 KB

STAF Playwright — AI handbook index (VS Code / GitHub Copilot)

There is only one copy of the rules: the markdown under AI/ at the repository root.

  • Cursor also loads project skills from .cursor/skills/*/SKILL.md. Those files are stubs: they tell the agent to read the matching file under AI/. They do not re-state the rules—so nothing is duplicated.
  • Visual Studio Copilot uses custom agents in .github/agents/*.agent.md (UI, API, contract, QA orchestrator) plus .github/copilot-instructions.md.

Canonical files (attach in chat or open side-by-side)

Instructions

File Use when
AI/instructions/system-prompt.md Default QA-architect behavior and non-negotiables
AI/instructions/generation-rules.md What to generate (tests, pages, data) and how
AI/instructions/debugging-rules.md Failed runs, flakes, root-cause analysis
AI/instructions/qa-orchestrator-lifecycle.md Work-item / PBI lifecycle, STLC, ADO/Jira MCP, report layout
AI/instructions/work-item-report-templates.md Markdown templates for QA/work-items/.../0107 reports
AI/instructions/ai-setup.md Cursor vs VS Code vs VS — what loads automatically
AI/instructions/QUICK_START.md 5-minute task entry (UI, API, page, orchestrator)

Skills

File Use when
AI/skills/ui-testing.md UI tests, Pages/*, POM, BaseTest
AI/skills/api-testing.md API tests, ApiClient, TestBaseAPI
AI/skills/db-testing.md DB validation and helpers
AI/skills/test-data.md Runsettings, testdata.json, env overrides
AI/skills/reporting.md ReportResult / ReportResultAPI, HTML reports
AI/skills/framework-rules.md Layout, naming, atomic tests, parallel safety
AI/skills/qa-orchestrator.md PBI/User Story orchestration, phase reports, MCP fetch

Cursor ↔ VS Code ↔ Visual Studio parity

Editor How rules are discovered
Cursor .cursor/rules/staf-playwright-framework.mdc (always) + file-scoped rules + Skills from .cursor/skills/ (stubs → AI/) · .cursor/skills/MASTER.md
VS Code (Copilot) .github/copilot-instructions.md + you attach or open files from AI/ (use this index) · .vscode/README.md
Visual Studio (Copilot) .github/copilot-instructions.md + custom agents in .github/agents/ · MCP: .mcp.json

Repo-level entry points

File Purpose
AGENTS.md Cross-tool agents summary (Cursor, Copilot, VS)
.github/copilot-instructions.md Copilot quick rules + workflows
.cursor/cursor.rules Cursor global consistency rules

Copy-paste prompts and editor-specific steps: README.md — AI-assisted automation (repository root).