[GitHub] Add GitHub Copilot instructions for Kratos Multiphysics#14334
Open
loumalouomega wants to merge 1 commit intomasterfrom
Open
[GitHub] Add GitHub Copilot instructions for Kratos Multiphysics#14334loumalouomega wants to merge 1 commit intomasterfrom
loumalouomega wants to merge 1 commit intomasterfrom
Conversation
Member
|
nah I prefer @loumalouomega as our default LLM !!! |
Member
Author
But I don't have @loumalouomega to myself (Pablo doesn't know C++ yet), so I use Copilot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Description
Adds
.github/copilot-instructions.md— a comprehensive set of repository-specific instructions for GitHub Copilot and other coding agents working in Kratos Multiphysics.What's included
The file is structured in two parts: a Project Overview with technical context, and Instructions with actionable rules for agents and contributors.
Project Overview sections
kratos/core,applications/scaffold (includingcustom_python/,cpp_tests/, fast suite fixtures),scripts/, andexternal_libraries/.KRATOS_EXPECT_*macros,KratosUnittest, Google Benchmark, GitHub Actions.scripts/standard_configure.*as templates,build/configure.*as local customized copies, key CMake options and environment variables (KRATOS_BUILD_TYPE,KRATOS_SOURCE,KRATOS_APPLICATIONS, etc.).PascalCasemethods,m/r/pprefixes), Python (PEP 8), pybind11 binding patterns.KratosUnittest.TestCasefor Python,KRATOS_TEST_CASE_IN_SUITE+KratosCoreFastSuitefor C++,KRATOS_EXPECT_*vsKRATOS_CHECK_*distinction, test factory patterns, benchmark conventions.ci.yml,nightly_build.yml), Ubuntu gcc/clang matrix.ModelPart,Model,Node,Element,Condition,Process,Variable,ConstitutiveLaw,ProcessInfo,DataCommunicator,Kernel,Parameters.Instruction sections
external_libraries/off-limits by default)Build,MPI Build,Run Tests,Run C++ Test Suite, etc.)GLOB_RECURSE→Corelib → pybind module →kratos_add_gtests→ install)Validation
Content cross-referenced against:
CMakeLists.txt(C++20 standard, build options)scripts/standard_configure.sh/.bat(build flow, env vars)build/configure.bat(local build config).vscode/tasks.json(all task labels).github/workflows/ci.ymlandnightly_build.yml(CI structure)applications/StructuralMechanicsApplication/(application scaffold, test patterns, binding patterns)kratos/testing/testing.h,kratos/includes/expect.h,kratos/includes/checks.h(test macros)CONTRIBUTING.md(branch naming convention)🆕 Changelog