Bring in latest repo-consistency agent and apply template improvements from TemplateDotNetTool#25
Conversation
… TemplateDotNetTool Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com> Agent-Logs-Url: https://github.com/demaconsulting/ReviewMark/sessions/1ac7f038-065a-41da-8e89-1a36e85c95fa
|
@copilot Are you sure you got all the changes - you didn't seem to pick up that the linting files have been converted to yaml files. Didn't you analyze the PRs from the template project and assemble a full list of changes to apply? What else did you miss? |
…at conversions, lint script rewrite Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com> Agent-Logs-Url: https://github.com/demaconsulting/ReviewMark/sessions/42beae80-b9d8-4be1-ad38-c556f57170b4
|
@copilot Please fix the linting issues |
There was a problem hiding this comment.
Pull request overview
Aligns this repository with the latest TemplateDotNetTool “repo-consistency” patterns by migrating linting configuration to YAML, updating lint tooling dependencies, refreshing agent definitions, and improving cross-platform linting setup.
Changes:
- Migrates cspell and markdownlint-cli2 configuration from JSON/JSONC to YAML and updates documentation references.
- Reworks
lint.sh/lint.batto install Node + Python tooling and run the full lint suite in one entrypoint. - Updates/renames GitHub agent definition files to the
.agent.mdconvention and adds new agents.
Reviewed changes
Copilot reviewed 22 out of 23 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| pip-requirements.txt | Adds pinned Python dependency for yamllint. |
| package.json | Adds cspell and markdownlint-cli2 devDependencies. |
| lint.sh | Rewritten “single entrypoint” lint script (Node + venv + dotnet format). |
| lint.bat | Windows equivalent of the rewritten lint script. |
| CONTRIBUTING.md | Updates spell-check guidance wording (but example now needs YAML alignment). |
| AGENTS.md | Adds Code Review agent and updates lint-config file references. |
| .yamllint.yaml | Expands ignore list for common artifact/vendor directories. |
| .markdownlint-cli2.yaml | New YAML config replacing JSONC, plus expanded ignore globs. |
| .markdownlint-cli2.jsonc | Removed old markdownlint-cli2 JSONC config. |
| .gitignore | Ignores .venv/. |
| .github/agents/test-developer.agent.md | Updates agent front matter to new format. |
| .github/agents/technical-writer.agent.md | Updates agent front matter to new format. |
| .github/agents/software-developer.agent.md | Updates agent front matter to new format. |
| .github/agents/requirements.agent.md | Updates agent front matter to new format. |
| .github/agents/repo-consistency.agent.md | Adds new repo-consistency agent definition. |
| .github/agents/repo-consistency-agent.md | Removes old repo-consistency agent file. |
| .github/agents/code-review.agent.md | Adds new code-review agent definition. |
| .github/agents/code-quality.agent.md | Adds new code-quality agent definition. |
| .github/agents/code-quality-agent.md | Removes old code-quality agent file. |
| .gitattributes | Normalizes line endings (LF by default; CRLF for .bat/.cmd). |
| .cspell.yaml | New YAML cspell config replacing JSON, with expanded ignores. |
| .cspell.json | Removed old cspell JSON config. |
| .config/dotnet-tools.json | Bumps demaconsulting.buildmark tool version. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…ow, add spell check policy to AGENTS.md Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com> Agent-Logs-Url: https://github.com/demaconsulting/ReviewMark/sessions/3150f0bf-4a5f-4a48-a324-6ed80d75870a
Fixed in 51f247c. The CI failure was two lines in |
…and technical-writer agent Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com> Agent-Logs-Url: https://github.com/demaconsulting/ReviewMark/sessions/81812042-1ec3-4213-a9b5-de4ea286f9c1
Replaces the verbose repo-consistency agent with the latest simplified version from TemplateDotNetTool, then applies the improvements identified by running that agent against the 20 most recently merged template PRs.
Agent updates
.agent.mdnaming convention (e.g.repo-consistency.agent.md,code-quality.agent.md, etc.)repo-consistency.agent.md— replaced ~300-line verbose agent with the new 3-step simplified version: fetch recent PRs, determine intent, apply with translationcode-quality.agent.md— replaced minimal stub with comprehensive version covering quality gates, lint script maintenance, and cross-agent coordinationcode-review.agent.md— new file: simplified formal review agent (checklist download → elaborate → review → report)technical-writer.agent.md— updated.cspell.jsonreference to.cspell.yamlInfrastructure updates
.gitattributes— new file enforcing LF line endings for all text files (CRLF for.bat/.cmd); critical for consistent SHA256 fingerprints across platformsdotnet-tools.json— bumpsbuildmark0.4.0 → 0.4.1Linting infrastructure overhaul
.cspell.json→.cspell.yaml— converted from JSON to YAML format with header comments, extendedignorePathsusing specific glob patterns, and added vendored third-party path exclusions.markdownlint-cli2.jsonc→.markdownlint-cli2.yaml— converted from JSONC to YAML format with header comments and extendedignoreswith glob patterns and third-party exclusionslint.sh/lint.bat— rewritten to usenpm install+ Python venv approach (installs cspell and markdownlint-cli2 frompackage.json, installs yamllint frompip-requirements.txt); accumulates errors and reports all failures rather than stopping on firstpackage.json— addedcspell9.7.0 andmarkdownlint-cli20.21.0 as dev dependenciespip-requirements.txt— new file pinningyamllint==1.38.0.gitignore— added.venv/exclusionbuild.yaml— replaced three separate linter actions (markdownlint-cli2-action, cspell-action, yamllint-action) with Node.js 24 + Python 3.14 setup steps and a singlebash ./lint.shstepDocumentation updates
AGENTS.md— updated linting config file references to.cspell.yaml/.markdownlint-cli2.yaml; added spell check word list policy (never add misspelled words; propose genuine technical terms for review)CONTRIBUTING.md— updated spell check section to reflect new policy and YAML config format, including a YAML example snippet for.cspell.yaml; fixed line-length violations (MD013)Type of Change
Pre-Submission Checklist
Before submitting this pull request, ensure you have completed the following:
Build and Test
dotnet build --configuration Releasedotnet test --configuration Releasedotnet run --project src/DemaConsulting.ReviewMark --configuration Release --framework net10.0--no-build -- --validateCode Quality
dotnet format --verify-no-changesQuality Checks
Please run the following checks before submitting:
cspell "**/*.{md,cs}"markdownlint "**/*.md"yamllint .Testing
Documentation
Additional Notes
No production code changes — all changes are to agent definitions, configuration files, and tooling infrastructure. All linting checks pass.
💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.