Summary
Add a GitHub Actions workflow that lints all markdown files on push and pull requests. This ensures consistent formatting across agent definitions, documentation, and templates.
Suggested Approach
- Create `.github/workflows/lint-markdown.yml`
- Use markdownlint-cli2 or markdownlint-cli
- Add a `.markdownlint.json` config file at the repo root with sensible defaults
- The workflow should:
- Trigger on push to `main` and on pull requests
- Lint all `.md` files in the repository
- Report violations clearly in the PR checks
Suggested Config
```json
{
"default": true,
"MD013": false,
"MD033": false,
"MD041": false
}
```
- MD013 (line length): disabled because agent definitions can have long lines
- MD033 (inline HTML): disabled to allow HTML in templates
- MD041 (first line heading): disabled because YAML frontmatter comes first in templates
Acceptance Criteria
Summary
Add a GitHub Actions workflow that lints all markdown files on push and pull requests. This ensures consistent formatting across agent definitions, documentation, and templates.
Suggested Approach
Suggested Config
```json
{
"default": true,
"MD013": false,
"MD033": false,
"MD041": false
}
```
Acceptance Criteria