You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/AGENT_COLLABORATION.md
+76-34Lines changed: 76 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,20 @@
2
2
3
3
## Overview
4
4
5
-
This guide provides comprehensive information for AI agents (GitHub Copilot, ChatGPT Codex, CodeRabbit, etc.) working on the Bleedy project. It clarifies technical constraints, communication patterns, and best practices for effective collaboration.
5
+
This guide provides comprehensive information for AI copilots (GitHub Copilot Agent, ChatGPT Codex, Gemini Code Assist, Claude Code, Google Jules, CodeRabbit, etc.) working on the Bleedy project. It clarifies technical constraints, communication patterns, and best practices for effective collaboration regardless of the host platform.
|**ChatGPT Codex**|`report_progress` (GitHub-managed) | Limited outbound HTTP; GitHub REST available via MCP | Confirm branch context before each commit; Codex dashboards expect concise status notes. |
13
+
|**Gemini Code Assist**|`apply_patch` + Google git proxies | Google-hosted sandbox with curated allow list | Paste explicit command outputs; document skipped steps that violate policy. |
14
+
|**Claude Code**|`commit` / `open_pr` helpers | Anthropic secure proxy with audited HTTP access | Provide structured diffs and mention safety blocks when they trigger. |
15
+
|**Google Jules**|`submit` workflow with auto-commit | Google-aligned HTTP allow list and strict logging | Provide deterministic QA commands and reproducible steps. |
16
+
|**Other / Unknown Agents**| Varies | Assume restricted | Ask which tools are available before running niche commands. |
17
+
18
+
> **Tip:** When instructions conflict, follow the stricter platform rule (for example, if Gemini disallows a network call that Copilot allows, skip it and note the limitation in your response).
6
19
7
20
## Table of Contents
8
21
@@ -21,9 +34,9 @@ All AI agents operate in sandboxed environments with specific limitations:
21
34
22
35
#### Network Access
23
36
24
-
-**Cannot access external HTTP/HTTPS URLs**- This includes GitHub.com URLs, even for this repository
25
-
-**Workaround**: Paste review comments or specific content directly into PR/issue comments
26
-
-**Note**: Some agents may have internal APIs for GitHub operations (use MCP tools when available)
37
+
-**Limited outbound HTTP/HTTPS access is available**– agents can usually contact public APIs (including GitHub) when authenticated tooling is configured.
38
+
-**Prefer repository-provided tools** – use MCP helpers or curated scripts before resorting to ad-hoc `curl`/`wget` calls.
39
+
-**Mind rate limits** – cache responses when practical and avoid unnecessary polling.
27
40
28
41
#### Git Operations
29
42
@@ -42,9 +55,10 @@ All AI agents operate in sandboxed environments with specific limitations:
42
55
- ✅ Read and modify files in the repository
43
56
- ✅ Run commands via bash/shell tools
44
57
- ✅ Use `report_progress` to commit and push changes
45
-
- ✅ Access GitHub API via MCP tools (if available)
58
+
- ✅ Access GitHub API via MCP tools or authenticated CLI clients when available
46
59
- ✅ Create and modify issues/PRs (via tools, not direct git)
47
60
- ✅ Run builds, tests, and linters locally
61
+
- ✅ Leverage the `npm run qa` helper to execute lint/build/test in one command
48
62
49
63
## Communication Patterns
50
64
@@ -210,7 +224,7 @@ When working on tasks:
210
224
211
225
### Issue: "I cannot access the review comments at [GitHub URL]"
212
226
213
-
**Solution**: This is expected due to sandbox limitations. Ask the user:
227
+
**Solution**: Some environments restrict outbound HTTP/HTTPS access. If you receive a denial, ask the user:
214
228
215
229
```markdown
216
230
I cannot access external URLs from my sandboxed environment. Could you please paste the specific review comments here? This will allow me to address them directly.
@@ -327,48 +341,75 @@ I don't have access to changes made by other agents unless they're in the curren
327
341
328
342
### GitHub Copilot Agent
329
343
330
-
- Has access to GitHub MCP tools for repository operations
331
-
- Can read issues, PRs, and comments via API
332
-
- Uses `report_progress` for committing changes
333
-
- Cannot access external URLs (HTTP/HTTPS)
344
+
- Uses GitHub MCP to expose `report_progress`, git history lookups, and limited GitHub REST calls.
345
+
- Prefers incremental commits—summarize staged changes before invoking `report_progress`.
346
+
- Can run authenticated `gh` commands when configured; announce if the CLI is unavailable.
347
+
348
+
### ChatGPT Codex
349
+
350
+
- Operates through GitHub's Codex integration with opinionated status dashboards.
351
+
-`report_progress` is available, but Codex expects concise summaries (≤5 bullet points) per commit.
352
+
- Outbound HTTP is constrained to GitHub domains—ask users to paste external artifacts.
353
+
354
+
### Gemini Code Assist
355
+
356
+
- Relies on `apply_patch` and Google-managed git proxies instead of direct `git commit`.
357
+
- Command execution is audited; paste exact outputs (trimmed for relevance) in your response body.
358
+
- Flag skipped commands explicitly when policy prevents execution.
359
+
360
+
### Claude Code
361
+
362
+
- Provides `commit` and `open_pr` helpers that require a final diff summary.
363
+
- Anthropic's proxy logs all outbound HTTP—note when a call may trigger safety review.
364
+
- If a safety filter blocks an action, include the filter message verbatim and propose a compliant alternative.
334
365
335
-
### ChatGPT Codex Connector
366
+
### Google Jules
336
367
337
-
- Operates through GitHub integration
338
-
- Can create commits and interact with GitHub
339
-
- Provides task tracking via Codex dashboard
340
-
- May have different tool availability
368
+
- Automates commits through a `submit` workflow; group related changes into one submission unless the user asks otherwise.
369
+
- Emphasizes deterministic QA: list the exact commands you ran and any you intentionally skipped.
370
+
- Jules integrates with Google issue trackers—reference issue IDs when available.
341
371
342
-
### CodeRabbit
372
+
### CodeRabbit (Review Agent)
343
373
344
-
- Provides automated code reviews
345
-
- Can be triggered with `@coderabbitai review full`
346
-
- Focuses on code quality and best practices
347
-
- Can suggest improvements and identify issues
374
+
- Provides automated code reviews and can be triggered with `@coderabbitai review full` in PR threads.
375
+
- Focuses on code quality, performance, and best practices—respond inline to each thread it opens.
348
376
349
377
### Other Agents
350
378
351
-
- May have varying capabilities
352
-
- Always check available tools before starting
353
-
- Document any unique limitations discovered
354
-
- Update this guide with new findings
379
+
- Capabilities vary; confirm available tools with `help`/`tools` commands before starting.
380
+
- Document unique limitations discovered during a session for future contributors.
381
+
- Update this guide via PR when you discover durable differences.
355
382
356
383
## Repository-Specific Guidelines
357
384
358
385
### Before Making Changes
359
386
360
387
1. Run `npm install` (patches are applied automatically)
361
-
2. Verify current state: `npm run build && npm run lint`
362
-
3. Review existing code style and patterns
363
-
4. Check for related issues or PRs
388
+
2. Confirm branch context with `git status -sb` and `git branch --show-current`
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# Copilot Instructions for Bleedy
2
2
3
+
> Multi-agent context: For cross-platform conventions covering ChatGPT Codex, Gemini Code Assist, Claude Code, and Google Jules, see [`.github/AGENT_COLLABORATION.md`](./AGENT_COLLABORATION.md) and the [Agent Toolkit Quickstart](../docs/AGENT_TOOLKIT.md).
4
+
3
5
## Project Overview
4
6
5
7
**Bleedy** is a web application for adding bleed margins to images, built with Vue 3, Vite, TypeScript, and PyScript. It allows users to upload images and automatically add professional bleed margins using Python image processing in the browser.
@@ -82,6 +84,16 @@ npm run lint
82
84
- Configuration in `eslint.config.js` uses modern ES modules format
83
85
- Automatically ignores `dist/`, `dist-ssr/`, and `node_modules/` folders
84
86
87
+
#### Unified QA Helper
88
+
89
+
```bash
90
+
npm run qa
91
+
```
92
+
93
+
- Executes ESLint, Vite build, and Vitest in sequence with helpful logging
94
+
- Pass `--with-typecheck` to include the slower Vue TypeScript checks when they are required
95
+
- Additional flags like `--skip-tests` are available for documentation-only updates
96
+
85
97
#### Prettier
86
98
87
99
```bash
@@ -263,9 +275,9 @@ This repository supports collaboration between multiple AI agents (GitHub Copilo
0 commit comments