Skip to content

chore(ai-config): align Claude, Copilot and Codex setup#3128

Merged
PierreBrisorgueil merged 3 commits into
masterfrom
chore/ai-config-align
Feb 20, 2026
Merged

chore(ai-config): align Claude, Copilot and Codex setup#3128
PierreBrisorgueil merged 3 commits into
masterfrom
chore/ai-config-align

Conversation

@PierreBrisorgueil
Copy link
Copy Markdown
Contributor

Summary

  • CLAUDE.md — ajout preflight / guardrails / definition of done, commandes canoniques, stack merge workflow et tableau des skills
  • ERRORS.md — error log structuré avec règles et format d'entrées datées
  • AGENTS.md — guide Codex-specific (prompt routing, review convention) ; architecture et guardrails déféré à CLAUDE.md
  • .github/copilot-instructions.md — contrat ERRORS.md + section Available prompts référençant .github/prompts/
  • .github/prompts/*.prompt.md — 5 prompts réécrits comme playbooks autonomes pointant vers .claude/skills/*/SKILL.md
  • .github/pull_request_template.md — template PR standard avec scope, validation et guardrails checklist
  • .vscode/extensions.json + settings.json — recommandations extensions Copilot et opt-in instruction files
  • README.md — section :robot: étendue de Claude-only vers AI Setup table (Claude, Copilot, Codex)

Aligned with: pierreb-devkit/Vue#3545

Scope

  • Modules impacted: none (config/tooling only)
  • Cross-module impact: none
  • Risk level: low

Validation

  • npm run lint
  • npm test
  • No behavior change — documentation and tooling config only

Guardrails check

  • No secrets or credentials introduced
  • No risky rename/move of core stack paths
  • Changes remain merge-friendly for downstream projects
  • No behavior change — documentation and tooling config only

- CLAUDE.md — add preflight/guardrails/definition-of-done, canonical commands, stack merge workflow and skills table
- ERRORS.md — structured AI error log with rules and dated entries format
- AGENTS.md — Codex-specific guide (prompt routing, review convention); full context deferred to CLAUDE.md
- .github/copilot-instructions.md — preflight contract + available prompts section referencing .github/prompts/
- .github/prompts/*.prompt.md — 5 playbook stubs pointing to .claude/skills/*/SKILL.md
- .github/pull_request_template.md — standard PR template with scope, validation and guardrails checklist
- .vscode/extensions.json + settings.json — Copilot extension recommendations and instruction files opt-in
- README.md — expand 🤖 section from Claude-only to full AI Setup table (Claude, Copilot, Codex)
Copilot AI review requested due to automatic review settings February 19, 2026 12:46
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.07%. Comparing base (bffa019) to head (3f2d4a3).
⚠️ Report is 7 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3128   +/-   ##
=======================================
  Coverage   88.07%   88.07%           
=======================================
  Files          51       51           
  Lines        1115     1115           
  Branches      213      213           
=======================================
  Hits          982      982           
  Misses        118      118           
  Partials       15       15           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Aligns the repository’s AI tooling setup (Claude Code, GitHub Copilot, OpenAI Codex) by adding shared guardrails/preflight guidance, structured AI error logging, and standardized prompt/playbook entry points.

Changes:

  • Add core AI workflow docs (CLAUDE.md, AGENTS.md) and a structured recurring-mistakes log (ERRORS.md).
  • Add GitHub Copilot instruction file + prompt playbooks under .github/prompts/.
  • Add editor recommendations (.vscode/) and update the README + PR template to reflect the unified AI setup.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
README.md Replaces Claude-only section with a unified AI Setup table and keeps Claude skills list.
ERRORS.md Introduces a structured log format for recurring AI mistakes.
CLAUDE.md Adds Claude-focused canonical commands, guardrails, merge workflow, and DoD.
AGENTS.md Adds agent guide with Codex routing and review severity convention.
.vscode/settings.json Enables Copilot instruction files and language toggles in workspace settings.
.vscode/extensions.json Recommends Copilot extensions for VS Code users.
.github/pull_request_template.md Standardizes PR metadata + validation + guardrails checklist.
.github/prompts/verify.prompt.md Adds “Verify” prompt entry pointing to the full skill playbook.
.github/prompts/feature.prompt.md Adds “Feature” prompt entry pointing to the full skill playbook.
.github/prompts/create-module.prompt.md Adds “Create module” prompt entry pointing to the full skill playbook.
.github/prompts/update-stack.prompt.md Adds “Update stack” prompt entry pointing to the full skill playbook.
.github/prompts/naming.prompt.md Adds “Naming” prompt entry pointing to the full skill playbook.
.github/copilot-instructions.md Adds Copilot-specific guardrails, commands, prompt index, and naming rules.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
Comment thread CLAUDE.md
- README.md: clarify AI setup section — repo ships preconfigured files, each tool requires its own client/auth install
- naming/SKILL.md: align layer order with CLAUDE.md source of truth (add Routes → at the front of the chain)
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 14 out of 14 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
@PierreBrisorgueil PierreBrisorgueil merged commit 1a30a89 into master Feb 20, 2026
6 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 14 out of 14 changed files in this pull request and generated no new comments.

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.

2 participants