Source profileQuality 93/100

event4u-app/agent-config/src/skills/copilot-config/SKILL.md

copilot-config

Tune the GitHub Copilot AI — `copilot-instructions.md`, PR-review patterns, suggestion behavior, output verbosity. NOT for dev-environment setup (use `devcontainer`).

Source repository stars
7
Declared platforms
0
Static risk flags
0
Last source update
2026-07-28
Source checked
2026-07-28

Decision brief

What it does—and where it fits

Tune the GitHub Copilot AI — `copilot-instructions. md`, PR-review patterns, suggestion behavior, output verbosity.

Best for

  • Editing .github/copilot-instructions.md to improve Copilot behavior
  • Dealing with Copilot PR review comments (via /fix-pr-comments)
  • Analyzing Copilot's review patterns to identify recurring false positives

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/copilot-config"
Safe inspection promptEditorial

Inspect the Agent Skill "copilot-config" from https://github.com/event4u-app/agent-config/blob/0adf49a8ae84b0ff6e2de8759eea43257e020eff/src/skills/copilot-config/SKILL.md at commit 0adf49a8ae84b0ff6e2de8759eea43257e020eff. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Procedure: Configure Copilot

    1. Inspect current Copilot config — Read .github/copilot-instructions.md (if any) and the What Copilot Can and Cannot Read table below to confirm Copilot Code Review vs. Chat scope. 2. Decide self-contained scope — Identify which rules must live in copilot-instructions.md (PR-re…

    Inspect current Copilot config — Read .github/copilot-instructions.md (if any) and the What Copilot Can and Cannot Read table below to confirm Copilot Code Review vs. Chat scope.Decide self-contained scope — Identify which rules must live in copilot-instructions.md (PR-review-relevant) vs. .augment/ (agent-only).Apply changes — Edit copilot-instructions.md with coding-standards, review-comment rules, and any new conventions; keep it self-contained.
  2. 02

    PR Review Comment Rules

    Copilot is configured with strict comment behavior rules:

    Check if it already commented on the same line/concernCheck if another reviewer already raised the same pointSkip if a duplicate would be created
  3. 03

    Improving Copilot Instructions

    When updating .github/copilot-instructions.md:

    Each section starts with ✅ {Title}Rules are bullet points, concise and actionableCode examples use ✅ Correct / ❌ Wrong pattern
  4. 04

    When to use

    Use this skill when: - Editing .github/copilot-instructions.md to improve Copilot behavior - Dealing with Copilot PR review comments (via /fix-pr-comments) - Analyzing Copilot's review patterns to identify recurring false positives - Tuning Copilot's code suggestions for the pro…

    Editing .github/copilot-instructions.md to improve Copilot behaviorDealing with Copilot PR review comments (via /fix-pr-comments)Analyzing Copilot's review patterns to identify recurring false positives
  5. 05

    Configuration File

    .github/copilot-instructions.md — the single source of truth for Copilot behavior.

    .github/copilot-instructions.md — the single source of truth for Copilot behavior.

Permission review

Static risk signals and limitations

No configured static risk pattern was detected

This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score93/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars7SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
event4u-app/agent-config
Skill path
src/skills/copilot-config/SKILL.md
Commit
0adf49a8ae84b0ff6e2de8759eea43257e020eff
License
MIT
Collected
2026-07-28
Default branch
main
View the original SKILL.md

Copilot Skill

When to use

Use this skill when:

  • Editing .github/copilot-instructions.md to improve Copilot behavior
  • Dealing with Copilot PR review comments (via /fix-pr-comments)
  • Analyzing Copilot's review patterns to identify recurring false positives
  • Tuning Copilot's code suggestions for the project

Do NOT use when:

  • Augment-specific behavior (use Augment rules and skills)
  • Writing application code

Procedure: Configure Copilot

  1. Inspect current Copilot config — Read .github/copilot-instructions.md (if any) and the What Copilot Can and Cannot Read table below to confirm Copilot Code Review vs. Chat scope.
  2. Decide self-contained scope — Identify which rules must live in copilot-instructions.md (PR-review-relevant) vs. .augment/ (agent-only).
  3. Apply changes — Edit copilot-instructions.md with coding-standards, review-comment rules, and any new conventions; keep it self-contained.
  4. Verify — Open a draft PR, confirm Copilot reads the new rules; for Chat, ask Copilot to summarize the active instructions.

Configuration File

.github/copilot-instructions.md — the single source of truth for Copilot behavior.

What Copilot Can and Cannot Read

ContextCopilot Code Review (PR bot)Copilot Chat (IDE)
.github/copilot-instructions.md✅ Reads automatically✅ Reads automatically
.augment/rules/❌ Cannot access✅ Can read if referenced
.augment/skills/❌ Cannot access✅ Can read if referenced
.augment/guidelines/❌ Cannot access✅ Can read if referenced
AGENTS.md❌ Cannot access✅ Can read if referenced
agents/❌ Cannot access✅ Can read if referenced

Key implication: copilot-instructions.md must be self-contained for PR reviews. It cannot reference .augment/ files and expect Copilot Code Review to follow them. For Copilot Chat users, a hint at the top of the file points to .augment/ for deeper context.

What Copilot Controls

AreaHow
Code suggestionsFollows coding standards, PHP 8.2 patterns, Laravel conventions
PR reviewsReviews only modified lines + direct dependencies
Comment behaviorDeduplication rules, reply handling, scope control
LanguageEnglish code comments, bilingual PR comments (EN + DE)

Relationship to .augment/

copilot-instructions.md and .augment/ serve different audiences:

copilot-instructions.md.augment/
AudienceGitHub Copilot (bot + chat)Augment Agent
ScopeCoding standards, review rulesFull agent infrastructure
Self-contained?Yes (must be)Yes (skills reference each other)
DuplicationIntentional — Copilot can't read .augment/No duplication needed

When updating coding rules, check if both files need the change:

  • Architecture/coding rules → update both (Copilot needs them self-contained)
  • Agent workflows/commands → only .augment/ (Copilot doesn't use these)
  • PR review behavior → only copilot-instructions.md (Augment uses /fix-pr-* commands)

PR Review Comment Rules

Copilot is configured with strict comment behavior rules:

Deduplication

Before creating a comment, Copilot must:

  1. Check if it already commented on the same line/concern
  2. Check if another reviewer already raised the same point
  3. Skip if a duplicate would be created

Reply Handling

Developer responseCopilot action
Accepted suggestionAcknowledge briefly or resolve
Rejected with reasonAccept the decision, do NOT re-raise
Asked a questionAnswer with analysis and examples
Dismissed without explanationMove on, do NOT re-raise

Key Principle

One comment per concern per location. Never duplicate, never re-raise rejected suggestions.

Handling Copilot Bot Comments (as Augment Agent)

When the user asks to fix Copilot's PR review comments (via /fix-pr-comments):

1. Evaluate Each Comment

For each Copilot comment, determine:

CategoryAction
Valid and actionableFix the code as suggested
Valid but already handledReply explaining it's already addressed (e.g., by ECS/Rector)
False positiveReply explaining why the suggestion doesn't apply
Style nitpickReply that ECS/Rector handles this automatically
Out of scopeReply that the comment is outside the PR's change scope

2. Reply Format

When replying to Copilot comments on behalf of the user:

{English explanation}

---

🇩🇪 {German translation}

3. Common False Positives

Copilot frequently suggests things that conflict with project conventions:

Copilot suggestsProject conventionResponse
Add null !== $var with is_string()is_string() already excludes nullFalse positive — redundant check
Register events manuallyLaravel 11 uses event discoveryNot needed since Laravel 11
Use float for moneyUse Math helper classProject uses BCMath via Math::*()
Add PHPDoc repeating signatureOnly add PHPDoc when types are insufficientRedundant documentation
Suggest array() syntaxShort syntax [] enforced by ECSAuto-fixed by ECS
Add final to mocked classesClasses mocked by Mockery can't be finalWould break tests

Improving Copilot Instructions

When updating .github/copilot-instructions.md:

Structure

  • Each section starts with ## ✅ {Title}
  • Rules are bullet points, concise and actionable
  • Code examples use ✅ Correct / ❌ Wrong pattern
  • Keep sections focused — one concern per section

When to Add New Rules

TriggerAction
Copilot repeatedly makes the same wrong suggestionAdd to "Known Issues" section
New project convention introducedAdd to the relevant section
Copilot ignores scope controlStrengthen "Code Review Scope" section
Copilot creates duplicate commentsStrengthen "Comment Behavior" section

When NOT to Add Rules

  • Don't add rules for things ECS/Rector auto-fix (Copilot doesn't need to know)
  • Don't add rules that duplicate AGENTS.md content (Copilot doesn't read AGENTS.md)
  • Don't add overly specific rules for one-off situations

Relationship to Other Tools

ToolRoleConfig
CopilotIDE suggestions + PR reviews.github/copilot-instructions.md
AugmentAgent workflows + deep analysis.augment/ + agents/
GreptilePR review bot (if enabled)Separate config
ECSCode style auto-fixecs.php (project root)
RectorCode refactoring auto-fixrector.php (project root)
PHPStanStatic analysisphpstan.neon (project root)

Copilot and Augment complement each other:

  • Copilot handles real-time suggestions and automated PR reviews
  • Augment handles complex workflows, deep analysis, and multi-step tasks

Related

  • File: .github/copilot-instructions.md — Copilot configuration
  • Command: /fix-pr-comments — fix all review comments (bot + human)
  • Skill: code-review — PR review process and conventions

Output format

  1. Updated copilot-instructions.md or related config file
  2. Summary of changes and which Copilot behavior is affected

Gotcha

  • copilot-instructions.md is for GitHub Copilot, NOT for Augment — don't mix audiences.
  • Don't duplicate .augment/ content into copilot-instructions.md — it bloats the file and causes drift.
  • Copilot reads the ENTIRE instructions file on every request — keep it under 500 lines.

Do NOT

  • Do NOT let Copilot generate code that violates project coding standards.
  • Do NOT accept Copilot review comments without verifying them against the codebase.

Auto-trigger keywords

  • GitHub Copilot
  • copilot instructions
  • PR review
  • copilot behavior