Skip to content

Conversation

Copy link

Copilot AI commented Jan 4, 2026

Summary

Adds .github/copilot-instructions.md to provide GitHub Copilot with repository-specific context following best practices from https://gh.io/copilot-coding-agent-tips.

Contents:

  • Project overview: InvokeAI's role as AI image generation platform with key tech stack (Python 3.11-3.12, FastAPI, React/TypeScript, PyTorch, Stable Diffusion)
  • Repository structure: Directory layout and module responsibilities
  • Development setup: Prerequisites, installation commands for backend (uv) and frontend (pnpm), common dev commands
  • Code conventions:
    • Python: Ruff linting/formatting (replaces black/flake8/isort), mypy strict typing, absolute imports only
    • TypeScript: ESLint, Prettier, functional components, Redux Toolkit
  • Architecture: Invocation system (DAG-based nodes), services pattern, Redux state management
  • Testing: pytest (backend with fast/slow markers), Vitest (frontend, colocated)
  • Common tasks: Adding invocations/services, updating OpenAPI types, frontend development workflows
  • Build commands, contributing guidelines, platform support notes

All information cross-referenced against existing docs (docs/contributing/), configuration files (pyproject.toml, package.json, .nvmrc), and Makefile.

Related Issues / Discussions

N/A

QA Instructions

Review .github/copilot-instructions.md for accuracy against repository documentation and configuration files.

Merge Plan

N/A

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • ❗Changes to a redux slice have a corresponding migration
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • gh.io
    • Triggering command: /usr/bin/curl curl -s REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>✨ Set up Copilot instructions</issue_title>
<issue_description>Configure instructions for this repository as documented in Best practices for Copilot coding agent in your repository.

</issue_description>

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


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 3 commits January 4, 2026 18:15
Co-authored-by: lstein <111189+lstein@users.noreply.github.com>
Co-authored-by: lstein <111189+lstein@users.noreply.github.com>
Co-authored-by: lstein <111189+lstein@users.noreply.github.com>
Copilot AI changed the title [WIP] Set up Copilot instructions for the repository Add GitHub Copilot instructions for repository Jan 4, 2026
Copilot AI requested a review from lstein January 4, 2026 18:22
@lstein lstein changed the base branch from main to lstein-master January 4, 2026 18:25
@lstein lstein marked this pull request as ready for review January 4, 2026 18:25
Copy link
Owner

@lstein lstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I trust copilot to write something helpful for itself

@lstein lstein merged commit 488ced1 into lstein-master Jan 4, 2026
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.

✨ Set up Copilot instructions

2 participants