Skip to content

[Feature] Add "Copy Prompt" action to reported issues for AI fix workflows #3

Description

@apvarun

Why:
When viewing audit reports (both in the proposed online interactive demo #2 and the generated local reports), we should add a "Copy Prompt" button next to each discovered issue.

When a scan surfaces an error (e.g., an unclosed tag, missing security headers, or accessibility issues), clicking "Copy Prompt" would copy a pre-formatted LLM prompt to the user's clipboard (e.g., "Fix this specific code snippet...").

This simplifies the gap between finding a bug and fixing it, allowing developers to quickly feed the issue into ChatGPT, Claude, or Cursor to generate a fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions