diff --git a/.github/agents/github-maintenance-agent.md b/.github/agents/github-maintenance-agent.md index f4fd6b420..a5ff4520e 100644 --- a/.github/agents/github-maintenance-agent.md +++ b/.github/agents/github-maintenance-agent.md @@ -27,7 +27,7 @@ My `github-maintenance-agent`: Validate GitHub Actions workflows: ```bash # Check YAML syntax -yamllint .github/workflows/*.yml +yamllint -c .github/.yamllint .github/workflows/*.yml ``` Test issue template rendering: @@ -41,12 +41,7 @@ gh issue create --web ``` .github/ ├── agents/ # Agent definitions -│ ├── cds-extractor-agent.md -│ ├── cap-modeling-agent.md -│ ├── ui5-modeling-agent.md -│ ├── xsjs-modeling-agent.md -│ ├── dependency-upgrade-agent.md -│ └── github-maintenance-agent.md +│ └── *.md # Individual agent definition files ├── instructions/ # Middle-layer instructions │ ├── extractors_cds_tools_ts.instructions.md │ ├── javascript_cap_ql.instructions.md diff --git a/.github/prompts/github_maintenance.prompt.md b/.github/prompts/github_maintenance.prompt.md index c4e23fa43..650ffd25b 100644 --- a/.github/prompts/github_maintenance.prompt.md +++ b/.github/prompts/github_maintenance.prompt.md @@ -122,7 +122,7 @@ When updating `.github/workflows/*.yml`: actionlint .github/workflows/*.yml # Or use yamllint -yamllint .github/workflows/*.yml +yamllint -c .github/.yamllint .github/workflows/*.yml # Test in PR before merging ``` diff --git a/.github/prompts/ui5_framework_codeql_dev.prompt.md b/.github/prompts/ui5_framework_codeql_dev.prompt.md index 8d657e847..a6ef1c968 100644 --- a/.github/prompts/ui5_framework_codeql_dev.prompt.md +++ b/.github/prompts/ui5_framework_codeql_dev.prompt.md @@ -1,4 +1,3 @@ -```prompt # UI5 Framework CodeQL Query Development Guidelines for developing CodeQL security queries that detect vulnerable code patterns in SAPUI5 applications. @@ -165,4 +164,3 @@ const fragment = await Fragment.load({ - [UI5 Library Modeling Prompt](ui5_framework_codeql_lib.prompt.md) - Library implementation details - [UI5 Testing Prompt](ui5_framework_codeql_test.prompt.md) - Test case development - [CodeQL Test Commands](codeql_test_commands.prompt.md) - Testing workflow -``` diff --git a/.github/prompts/ui5_framework_codeql_lib.prompt.md b/.github/prompts/ui5_framework_codeql_lib.prompt.md index 7468644ed..2245c15d2 100644 --- a/.github/prompts/ui5_framework_codeql_lib.prompt.md +++ b/.github/prompts/ui5_framework_codeql_lib.prompt.md @@ -1,4 +1,3 @@ -```prompt # UI5 Framework CodeQL Library Modeling Guidelines for developing CodeQL library models (`.qll` files) that define sources, sinks, and taint steps for SAPUI5 security analysis. @@ -264,4 +263,3 @@ module UI5LogInjection implements DataFlow::ConfigSig { - [UI5 Query Development Prompt](ui5_framework_codeql_dev.prompt.md) - Query file structure - [UI5 Testing Prompt](ui5_framework_codeql_test.prompt.md) - Test case development - [UI5 Framework Development](ui5_framework_development.prompt.md) - General UI5 context -``` diff --git a/.github/prompts/ui5_framework_codeql_test.prompt.md b/.github/prompts/ui5_framework_codeql_test.prompt.md index 92ddb942b..86a5fb221 100644 --- a/.github/prompts/ui5_framework_codeql_test.prompt.md +++ b/.github/prompts/ui5_framework_codeql_test.prompt.md @@ -1,4 +1,3 @@ -```prompt # UI5 Framework CodeQL Unit Testing Guidelines for creating unit tests for UI5 CodeQL queries and library models. @@ -287,4 +286,3 @@ Each alert on separate line in `#select`: - [UI5 Library Modeling Prompt](ui5_framework_codeql_lib.prompt.md) - Library implementation - [CodeQL Test Commands](codeql_test_commands.prompt.md) - Command reference - [Test-Driven Development](test_driven_development.prompt.md) - TDD workflow -```