Skip to content

✨ Set up Copilot instructions #5

Description

@priebera1

Onboard this repo

You are the GitHub Copilot coding agent working in a TYPO3 v13 extension (lia_visualdiff). Produce small, reviewable PRs.

Project

  • Purpose: visual diff QA for two bases (A,B). Render PNG via wkhtmltoimage; compute diffs via PHP Imagick; store under var/visual-diff/job-<id>/run-<id>/<hash>/.
  • Languages: PHP 8.2+, TYPO3 13 (Extbase/Fluid).
  • Key dirs: Classes/, Configuration/, Resources/Private/, var/visual-diff/.

Build & test

  • Install: composer install
  • Static: vendor/bin/phpstan analyse (if present)
  • Style: vendor/bin/php-cs-fixer fix --dry-run (if present)
  • Tests: vendor/bin/phpunit (if present)

Conventions

  • PSR-12; keep public APIs stable; no Node/Chromium—use wkhtmltoimage only.
  • Before PR: run static checks/tests; update docs when changing CLI/Scheduler.

Safety

  • Never commit secrets. Use repo/environment secrets.
  • Don’t touch CI/CD or branch protections.
  • Keep blast radius small; prefer feature flags/configs.

Task guidance

  • If a task is ambiguous: draft a plan in the PR description, then implement.
  • Add acceptance criteria & update CHANGELOG when applicable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions