Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 16, 2026

Add concrete tool setup examples for Playwright, axe-core, and webpack-bundle-analyzer

Completed:

  • Understand repository structure and current agent instructions
  • Create a new "Tool Setup Reference" section in developer.instructions.md
  • Add Playwright configuration example with multi-browser setup
  • Add axe-core integration example with installation and usage
  • Add webpack-bundle-analyzer example with config and CLI approaches
  • Update create-agentic-workflow.md to reference these examples
  • Test the examples by creating a sample workflow
  • Run final validation (make agent-finish)

Changes Made:

1. Added Tool Setup Reference section to developer.instructions.md

  • Comprehensive Playwright browser automation examples
  • axe-core accessibility testing integration patterns
  • webpack-bundle-analyzer bundle size analysis configurations
  • Each example includes installation, configuration, and workflow integration
  • All examples are under 30 lines and copy-paste-ready

2. Updated create-agentic-workflow.md

  • Added references to tool setup examples when suggesting Playwright
  • Added accessibility testing suggestions with axe-core examples
  • Added bundle analysis suggestions with webpack-bundle-analyzer examples
  • Used emojis (💡, ♿, 📦) for better visual scanning

3. Created example-tool-setup.md workflow

  • Demonstrates practical usage of all three tools
  • Successfully compiled to .lock.yml
  • Validates that examples work correctly

4. Auto-generated changes

  • Updated specs/artifacts.md (tracked new workflow)
  • Formatted main_workflow_schema.json (prettier)
Original prompt

This section details on the original issue you should resolve

<issue_title>[plan] Add concrete tool setup examples for Playwright, axe-core, and webpack-bundle-analyzer</issue_title>
<issue_description>## Objective

Add concrete, copy-paste-ready setup examples for commonly suggested tools (Playwright, axe-core, webpack-bundle-analyzer) to the agentic-workflows agent instructions.

Context

Research identified tool selection as the weakest dimension (4.73/5.0). Multiple scenarios (FE-1, FE-3, FE-2) suggested these tools but lacked concrete configuration examples, requiring developers to research integration details themselves.

Approach

  1. Create tool setup reference section in developer.instructions.md
  2. Add Playwright configuration example:
    • Minimal playwright.config.js with multi-browser setup
    • Package.json dependencies
    • Basic test template
  3. Add axe-core integration example:
    • Package installation command
    • Import and usage pattern
    • Configuration options
  4. Add webpack-bundle-analyzer example:
    • webpack.config.js modifications
    • CLI flag examples
    • Size threshold configuration
  5. Update agent to reference these examples when suggesting tools

Files to Modify

  • Update: .github/instructions/developer.instructions.md (add tool setup reference section)
  • Create: .github/instructions/examples/playwright-setup.md (optional: separate examples file)

Acceptance Criteria

  • Playwright config includes Chromium/Firefox/Safari setup
  • axe-core example shows complete integration (install + import + usage)
  • webpack-bundle-analyzer includes both config and CLI approaches
  • Each example is under 30 lines (copy-paste-ready)
  • Agent instructions reference these examples when suggesting tools
  • Examples tested in a sample workflow

Expected Impact

Improves tool selection dimension score from 4.73 to 4.9+, addressing the main weakness identified in research.
Related to #10285

AI generated by Plan Command for discussion #10248

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

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.

[plan] Add concrete tool setup examples for Playwright, axe-core, and webpack-bundle-analyzer

3 participants