spryker-ci
Run continuous integration tools and fix issues.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Run continuous integration tools and fix issues.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | spryker-ci |
| description | Run continuous integration tools and fix issues. |
Use this skill to systematically run continuous integration tools and fix errors in the Spryker documentation.
Run SprykerCI:
Results for issues: When there is issue output:
Verify: Run the full SprykerCI execution path again
1. Run SprykerCI see commands to run in the Commands section
1.a Vale linter
1.b Markdown linter
1.c Sidebar checker
2. Present Issue #1:
- What: [what has failed]
- Why: [explanation]
- Fix: [proposed solution]
3. User approves → Apply fix
4. Run SprykerCI for this module again to verify success
9. Present Issue #2...
10. Continue until all errors/tests presented and approved
11. Run SprykerCI again to verify success
When a code block shows the contents of a file, the file path must be displayed as bold text above the code block, separated by an empty line. It must NOT be placed as a comment inside the code block, or use non-bold file path display style, or miss an empty line after the file path before the code block.
Wrong:
```php
// config_default.php
$config[OmsConstants::PROCESS_LOCATION] = [
```
Correct:
**config_default.php**
```php
$config[OmsConstants::PROCESS_LOCATION] = [
```
Wrong:
`config_default.php`
```php
$config[OmsConstants::PROCESS_LOCATION] = [
```
Correct:
**config_default.php**
```php
$config[OmsConstants::PROCESS_LOCATION] = [
```
Wrong:
**`config_default.php**
```php
$config[OmsConstants::PROCESS_LOCATION] = [
```
Correct:
**config_default.php**
```php
$config[OmsConstants::PROCESS_LOCATION] = [
```
Detection: Look for code blocks where the first line is a comment containing only a file path (e.g., // filename.ext, # filename.ext, <!-- filename.ext -->). Extract the file path, move it above the code block as **<file path>**, add an empty line, and remove the comment line from inside the code block.
Detection: Look for code blocks with a preceding line containing a file path not surrounded by **. Extract the file path, and replace the line with **<file path>**, ensure a single empty line between it and the code block.
Reporting: If the section doesn't have a filename mentioned in it or before it, report as a warning.
When there is a page missing in the sidebar the issues shows fileName.md to be missing. To fix this use the same path to be added and replace md with html.
To get the title read the file that was mentioned to be missing, get the title from it and present it to the user for verification.
Run Vale
vale $(find docs/ _includes/pbc/ -type f -name "*.md" ! -path "*/202311.0/*" ! -path "*/202404.0/*") --minAlertLevel=error
Run Markdown Linter
npx markdownlint-cli2 "docs/**/*.md" "_includes/pbc/**/*.md" "#node_modules"
Run Sidebar checker
./_scripts/sidebar_checker/sidebar_checker.sh