mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-06-10 18:23:12 +08:00
ci: remove copilot code-review surface
This commit is contained in:
4
.vscode/settings.json
vendored
4
.vscode/settings.json
vendored
@@ -7,10 +7,6 @@
|
||||
{ "file": ".github/copilot-instructions.md" },
|
||||
{ "text": "Always write tests before implementation (TDD). Use Arrange-Act-Assert structure. Target 80%+ coverage. Write descriptive test names that explain the behavior under test, not just the function name." }
|
||||
],
|
||||
"github.copilot.chat.reviewSelection.instructions": [
|
||||
{ "file": ".github/copilot-instructions.md" },
|
||||
{ "text": "Review for: (1) security issues — hardcoded secrets, missing input validation, injection risks, (2) code quality — mutation, deep nesting, large functions, (3) error handling — swallowed errors, missing boundary validation, (4) test coverage gaps." }
|
||||
],
|
||||
"github.copilot.chat.commitMessageGeneration.instructions": [
|
||||
{ "text": "Use conventional commit format: <type>: <description>. Types: feat, fix, refactor, docs, test, chore, perf, ci. Keep the subject line under 72 characters. Focus on WHY the change was made, not WHAT changed." }
|
||||
]
|
||||
|
||||
@@ -1533,10 +1533,9 @@ ECC bietet **GitHub-Copilot-Unterstützung** für VS Code über das native Instr
|
||||
| Komponente | Datei | Zweck |
|
||||
|-----------|------|---------|
|
||||
| Kern-Instructions | `.github/copilot-instructions.md` | Stets geladene Rules: Coding-Style, Sicherheit, Testing, Git-Workflow |
|
||||
| VS-Code-Einstellungen | `.vscode/settings.json` | Aufgabenspezifische Instruction-Dateien für Codegenerierung, Testgenerierung, Review und Commit-Nachrichten |
|
||||
| VS-Code-Einstellungen | `.vscode/settings.json` | Aufgabenspezifische Instruction-Dateien für Codegenerierung, Testgenerierung und Commit-Nachrichten |
|
||||
| Plan-Prompt | `.github/prompts/plan.prompt.md` | Phasenweise Implementierungsplanung |
|
||||
| TDD-Prompt | `.github/prompts/tdd.prompt.md` | Red-Green-Improve-Zyklus |
|
||||
| Code-Review-Prompt | `.github/prompts/code-review.prompt.md` | Qualitäts- und Sicherheitsreview |
|
||||
| Security-Review-Prompt | `.github/prompts/security-review.prompt.md` | Tiefe, OWASP-orientierte Sicherheitsanalyse |
|
||||
| Build-Fix-Prompt | `.github/prompts/build-fix.prompt.md` | Systematische Behebung von Build- und CI-Fehlern |
|
||||
| Refactor-Prompt | `.github/prompts/refactor.prompt.md` | Beseitigung von totem Code und Vereinfachung |
|
||||
@@ -1549,16 +1548,16 @@ Die eingecheckte `.vscode/settings.json` aktiviert `chat.promptFiles`, sodass VS
|
||||
So verwendest du die Workflow-Prompts in Copilot Chat:
|
||||
1. Öffne das Copilot-Chat-Panel in VS Code.
|
||||
2. Klicke auf das **Büroklammer-/Anhängen-Symbol** und wähle **Prompt...**, oder tippe `/` und wähle einen Prompt.
|
||||
3. Wähle den Prompt aus (z. B. `plan`, `tdd`, `code-review`).
|
||||
3. Wähle den Prompt aus (z. B. `plan`, `tdd`, `security-review`).
|
||||
|
||||
### Wie es funktioniert
|
||||
|
||||
GitHub Copilot in VS Code liest zwei Dateitypen automatisch:
|
||||
|
||||
- **`.github/copilot-instructions.md`** — Instructions auf Repository-Ebene, die in jede Copilot-Chat-Anfrage injiziert werden. Enthält ECCs Kern-Coding-Standards, Sicherheits-Checkliste, Testanforderungen und Git-Workflow.
|
||||
- **`.github/prompts/*.prompt.md`** — wiederverwendbare Prompt-Dateien, die Nutzer bei Bedarf aufrufen. Jeder Prompt führt Copilot durch einen bestimmten ECC-Workflow (plan → TDD → review → ship).
|
||||
- **`.github/prompts/*.prompt.md`** — wiederverwendbare Prompt-Dateien, die Nutzer bei Bedarf aufrufen. Jeder Prompt führt Copilot durch einen bestimmten ECC-Workflow wie Planung, TDD, Security-Review, Build-Fix oder Refactor.
|
||||
|
||||
Die **`.vscode/settings.json`** fügt aufgabenspezifische Instruction-Overlays hinzu, sodass Copilot je nachdem, ob du Code generierst, Tests schreibst, eine Auswahl reviewst oder eine Commit-Nachricht entwirfst, den richtigen Kontext erhält.
|
||||
Die **`.vscode/settings.json`** fügt aufgabenspezifische Instruction-Overlays hinzu, sodass Copilot für Codegenerierung, Testgenerierung und Commit-Nachrichten den richtigen Kontext erhält.
|
||||
|
||||
### Feature-Abdeckung
|
||||
|
||||
@@ -1568,7 +1567,7 @@ Die **`.vscode/settings.json`** fügt aufgabenspezifische Instruction-Overlays h
|
||||
| Sicherheits-Checkliste | Stets aktiv + `security-review`-Prompt |
|
||||
| Testing / TDD | Stets aktiv + `tdd`-Prompt |
|
||||
| Implementierungsplanung | `plan`-Prompt |
|
||||
| Code-Review | `code-review`-Prompt |
|
||||
| Code-Review | Externes PR-Review über CodeRabbit + Greptile |
|
||||
| Behebung von Build-Fehlern | `build-fix`-Prompt |
|
||||
| Refactoring | `refactor`-Prompt |
|
||||
| Commit-Nachrichten-Format | Aufgabenspezifische Instruction in `settings.json` |
|
||||
@@ -1588,7 +1587,7 @@ ECC ist das **erste Plugin, das jedes große KI-Coding-Tool ausreizt**. So vergl
|
||||
| Feature | Claude Code | Cursor IDE | Codex CLI | OpenCode | GitHub Copilot |
|
||||
|---------|------------|------------|-----------|----------|----------------|
|
||||
| **Agents** | 60 | Gemeinsam (AGENTS.md) | Gemeinsam (AGENTS.md) | 12 | Nicht verfügbar |
|
||||
| **Commands** | 75 | Gemeinsam | Instruction-basiert | 35 | 6 Prompts |
|
||||
| **Commands** | 75 | Gemeinsam | Instruction-basiert | 35 | 5 Prompts |
|
||||
| **Skills** | 232 | Gemeinsam | 10 (natives Format) | 37 | Über Instructions |
|
||||
| **Hook-Events** | 8 Typen | 15 Typen | Noch keine | 11 Typen | Keine |
|
||||
| **Hook-Skripte** | 20+ Skripte | 16 Skripte (DRY-Adapter) | Nicht verfügbar | Plugin-Hooks | Nicht verfügbar |
|
||||
|
||||
@@ -1215,10 +1215,9 @@ ECC proporciona **soporte para GitHub Copilot** para VS Code mediante el sistema
|
||||
| Componente | Archivo | Propósito |
|
||||
|------------|---------|-----------|
|
||||
| Instrucciones principales | `.github/copilot-instructions.md` | Reglas siempre cargadas: estilo de código, seguridad, pruebas, flujo de git |
|
||||
| Configuración de VS Code | `.vscode/settings.json` | Archivos de instrucciones por tarea para generación de código, pruebas, revisión y mensajes de commit |
|
||||
| Configuración de VS Code | `.vscode/settings.json` | Archivos de instrucciones por tarea para generación de código, pruebas y mensajes de commit |
|
||||
| Prompt de plan | `.github/prompts/plan.prompt.md` | Planificación de implementación por fases |
|
||||
| Prompt de TDD | `.github/prompts/tdd.prompt.md` | Ciclo Rojo-Verde-Mejorar |
|
||||
| Prompt de revisión de código | `.github/prompts/code-review.prompt.md` | Revisión de calidad y seguridad |
|
||||
| Prompt de revisión de seguridad | `.github/prompts/security-review.prompt.md` | Análisis de seguridad profundo alineado con OWASP |
|
||||
| Prompt de corrección de build | `.github/prompts/build-fix.prompt.md` | Resolución sistemática de errores de build y CI |
|
||||
| Prompt de refactorización | `.github/prompts/refactor.prompt.md` | Limpieza de código muerto y simplificación |
|
||||
@@ -1231,7 +1230,7 @@ El `.vscode/settings.json` confirmado habilita `chat.promptFiles` para que VS Co
|
||||
Para usar los prompts de flujo de trabajo en Copilot Chat:
|
||||
1. Abre el panel de Copilot Chat en VS Code.
|
||||
2. Haz clic en el icono de **clip / adjuntar** y selecciona **Prompt...**, o escribe `/` y elige un prompt.
|
||||
3. Selecciona el prompt (por ejemplo, `plan`, `tdd`, `code-review`).
|
||||
3. Selecciona el prompt (por ejemplo, `plan`, `tdd`, `security-review`).
|
||||
|
||||
---
|
||||
|
||||
@@ -1242,7 +1241,7 @@ ECC es el **primer plugin que maximiza todas las principales herramientas de cod
|
||||
| Característica | Claude Code | Cursor IDE | Codex CLI | OpenCode | GitHub Copilot |
|
||||
|----------------|-----------------------|------------|-----------|----------|----------------|
|
||||
| **Agentes** | 63 | Compartidos (AGENTS.md) | Compartidos (AGENTS.md) | 12 | N/A |
|
||||
| **Comandos** | 79 | Compartidos | Basados en instrucciones | 35 | 6 prompts |
|
||||
| **Comandos** | 79 | Compartidos | Basados en instrucciones | 35 | 5 prompts |
|
||||
| **Skills** | 249 | Compartidas | 10 (formato nativo) | 37 | Mediante instrucciones |
|
||||
| **Eventos de Hook** | 8 tipos | 15 tipos | Ninguno aún | 11 tipos | Ninguno |
|
||||
| **Scripts de Hook** | 20+ scripts | 16 scripts (adaptador DRY) | N/A | Hooks de plugin | N/A |
|
||||
|
||||
Reference in New Issue
Block a user