Validates and improves Spryker documentation with Vale, markdownlint, style guide checks, and automated link formatting. Enforces quality standards for docs.spryker.com.
This skill helps you work with the Spryker documentation repository (https://docs.spryker.com) by automating validation, enforcing style standards, and improving documentation quality.
When asked to validate, build, or review documentation changes, follow this sequence:
Run this command to identify all modified markdown files compared to master:
```bash
git diff master..HEAD --name-only | grep '.md'
```
For each changed file, run both validation tools:
**Vale (prose linting):**
```bash
vale --minAlertLevel=error path/to/file.md
```
**Markdownlint (markdown syntax):**
```bash
markdownlint-cli2 path/to/file.md
```
If vale or markdownlint-cli2 are not installed, prompt the user to install them according to OS requirements.
Check that all relative internal links follow this format:
```markdown
[link text](/docs/section/file.html)
```
**Rules:**
**Example:**
Fix any links that do not match this pattern.
Review the content for adherence to Spryker documentation standards:
#### Tone of Voice
Ensure the tone is:
**Required tone elements:**
#### Grammar and Sentence Structure
Check for:
Suggest improved sentence structures for better readability.
#### Writing Style and Markup
**Spelling:**
**Markdown Formatting:**
- `{% info_block infoBox "Info" %}...{% endinfo_block %}` instead of `> [!NOTE]`
- `{% include %}`
- `{% info_block warningBox "Warning" %}`
Present all suggestions in a numbered list. Each item MUST include:
1. **Original markdown code** - The current text/code
2. **New markdown code** - The improved version
3. **Summary of the change** - Brief explanation of what was changed and why
**ONLY show amendments - do not list items with no changes.**
**Example format:**
```
1. **Original:** `This is the old text.`
**New:** `This is the improved text.`
**Summary:** Changed passive voice to active voice for clarity.
```
**User:** "Build the docs"
**Assistant actions:**
1. Run `git diff master..HEAD --name-only | grep '.md'` to find changed files
2. For each file, run vale and markdownlint-cli2
3. Report all errors with specific fixes
4. Check internal link formatting
5. Review against documentation standards
6. Present all amendments in the required format
**User:** "Validate the integration guide"
**Assistant actions:**
1. Identify the integration guide file
2. Run vale and markdownlint-cli2 on it
3. Check internal links
4. Review tone, grammar, and style
5. Present numbered list of specific amendments
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/spryker-documentation-helper/raw