Commit Graph

10 Commits

Author SHA1 Message Date
Michael Sitarzewski 0f6553d005 fix: normalize CRLF in email-strategist + guard linter against CRLF
marketing/marketing-email-strategist.md (#509) landed with CRLF line
endings, which violate .gitattributes (*.md text eol=lf) and broke
./scripts/lint-agents.sh — head -1 saw "---\r" and reported a confusing
"missing frontmatter opening ---" on a file that visibly starts with ---.

- Normalize that file to LF (content-neutral; 0 non-whitespace changes).
- Add a CRLF guard to lint-agents.sh that fails fast with a clear,
  actionable message instead of the misleading frontmatter error.

Thanks @hedonnn for the Email Marketing Strategist agent — great content;
just needed the line endings normalized.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 19:34:09 -05:00
Guillaume Bolivard 060c2076bc fix: align local linter scope with CI workflow (#546)
Removes strategy/ from lint-agents.sh AGENT_DIRS so the local linter no longer errors on the frontmatter-less NEXUS docs, matching the CI workflow's scope.

Thanks to @GuillaumeBld for the fix.
2026-06-02 18:04:42 -05:00
Ryanba 3d574c9aac docs: align agent linting with OpenClaw section split (#230)
Fixes OpenClaw section classification in lint script — correctly routes Learning & Memory section.
2026-04-11 23:25:50 -05:00
Michael Sitarzewski e73f4019ae fix: add finance/ to scripts, CI, README, and CONTRIBUTING.md (#437)
Adds finance/ to AGENT_DIRS in all 3 scripts, CI workflow trigger paths, CONTRIBUTING.md category list, and README.md division roster. Also fixes duplicate sales entry in lint-agents.sh.
2026-04-11 01:14:35 -05:00
everforge 618582cdcc fix: align agent lint with convert.sh and CI (#333)
Expands CI lint workflow to trigger on academic/ changes. Hardens lint-agents.sh with file existence checks and portable word-count handling (macOS/BSD compatibility).
2026-04-10 18:46:45 -05:00
Alon Kolyakov 37e5c521c9 refactor: sync agent directory lists across all scripts (#253)
Syncs agent directory lists (academic/, sales/, strategy/) across all three scripts: lint-agents.sh, convert.sh, install.sh. Refactors install.sh to use shared AGENT_DIRS constant, eliminating duplication. Closes #242.
2026-04-10 18:46:28 -05:00
Michael Sitarzewski 74e756be57 Support nested agent directories and add game-development category
- Add game-development to AGENT_DIRS in convert.sh, lint-agents.sh,
  install.sh, and the CI workflow
- Remove maxdepth 1 from find commands so nested subdirectories
  (e.g., game-development/unity/) are discovered
- Update CI git diff globs to **/*.md for recursive matching
- Remove strategy from lint AGENT_DIRS (playbooks, not agents)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 09:06:47 -05:00
Michael Sitarzewski 1707291599 Add paid-media category to scripts and CI workflow
Prepares infrastructure for the upcoming Paid Media Division (PR #83).
Registers paid-media in convert.sh, lint-agents.sh, install.sh, and
the lint-agents GitHub Actions workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 08:18:35 -05:00
jiangnan 2ded8e99a8 Address review feedback on CI lint workflow
- Fix ((errors++)) causing early exit under set -e
- Fix command injection in workflow by using env variable
- Add strategy/ directory to lint paths and AGENT_DIRS
2026-03-06 06:03:35 +08:00
jiangnan 976c08e4c3 Add CI workflow to validate agent file format
Adds a lint script and GitHub Actions workflow that checks agent
markdown files for required YAML frontmatter fields (name, description,
color) and recommends standard sections. Only changed files in PRs
are validated to avoid blocking on pre-existing issues.
2026-03-06 04:37:53 +08:00